Anonymous New User
Joined: 10 Feb 2008 Posts: 0
|
Posted: Tue Aug 19, 2003 1:25 pm
Post subject: i called it "linking on demand"
|
|
<pre>
----------------------------------------------
[...]
push 43h
push ebx
push ebx
push ebx
push ebx
push 0FFFFFFFFh
push ecx
call vb_SetWindowPos
[...]
; --------------- S U B R O U T I N E ---------------------------------------
vb_SetWindowPos proc near
mov eax, SetWindowPos_ptr
or eax, eax
jz short todo_resolve_external_enrty_point
jmp eax
todo_resolve_external_enrty_point:
push offset struct_for_SetWindowPos
mov eax, offset DllFunctionCall
call eax ; DllFunctionCall
jmp eax
vb_SetWindowPos endp
------------------------------------------------------------------
aSetwindowpos db 'SetWindowPos',0
db 3 dup(0) ; some align
struct_for_SetWindowPos dd offset aUser32
dd offset aSetwindowpos
align 8
dd offset unk_45EDA8
dd 2 dup(0)
</pre>
|
|