Function at 0x439b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46beb8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48d158]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x6c], 1
mov dword [esp + 0x1c], edi
mov byte [esp + 0x6c], 3
mov dword [esp + 0x14], edi
mov byte [esp + 0x6c], 5
mov ecx, dword [esi + 0x24]
call fcn.00421f6c
mov ebx, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x439bcd
cmp ebx, edi
je 0x439bbb
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x439bc7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, ebx
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x439c9b
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push str._D_3
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x439c9b
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1b0]
call eax
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.00438c30
mov byte [esp + 0x6c], 6
mov ecx, dword [esi + 0x24]
call fcn.0043e9f0
mov ebp, eax
mov eax, dword [esi + 0x24]
add eax, 4
mov eax, dword [eax]
lea edx, [esp + 0x54]
push edx
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
call fcn.00439390
cmp dword [esp + 0x78], 1
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
jne 0x439ccf
mov eax, ecx
sub eax, ebx
test eax, eax
jle 0x439c8d
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
test edx, edx
jg 0x439ccf
mov byte [esp + 0x6c], 5
lea ecx, [esp + 0x24]
call fcn.00438800
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x14]
call fcn.004477d0
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0x1c]
call fcn.0040878e
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0040878e
xor eax, eax
jmp 0x43a065
test byte [esp + 0x7c], 1
je 0x439d37
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x439d37
mov ebx, dword [eax]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
mov ebp, eax
mov eax, dword [esp + 0x40]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sar ebp, 1
sub eax, ebp
push eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [ebx + 0x118]
sar ebp, 1
sar eax, 1
sub eax, ebp
push eax
push ecx
call edx
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
mov eax, ecx
sub eax, ebx
cmp eax, 0x1e
jle 0x439d4e
add ebx, 0xa
sub ecx, 0xa
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
cmp edx, 0xa
jle 0x439d68
mov eax, 3
add dword [esp + 0x38], eax
sub dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
sub ecx, ebx
cmp ecx, 2
mov dword [esp + 0x20], eax
jl 0x439d9a
call fcn.0044e132
mov ecx, eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
cdq
idiv ecx
add ebx, edx
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
cmp eax, 2
jl 0x439dcc
call fcn.0044e132
mov ecx, eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
cdq
idiv ecx
add dword [esp + 0x20], edx
mov eax, dword [esp + 0x7c]
and eax, 2
mov dword [esp + 0x7c], eax
je 0x439ded
cmp dword [esp + 0x78], edi
je 0x439ded
mov edx, dword [esp + 0x20]
push edx
push ebx
push ebp
mov ecx, esi
call fcn.00437d50
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.004420c0
add esp, 8
cmp dword [esp + 0x78], edi
jne 0x439fde
cmp dword [esp + 0x7c], edi
je 0x43a025
mov esi, dword [esp + 0x74]
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x7c]
call fcn.00438ca0
mov byte [esp + 0x6c], 7
lea ecx, [esp + 0x74]
call fcn.00438450
mov bl, 8
mov byte [esp + 0x6c], bl
mov eax, dword [esp + 0x14]
cmp eax, edi
mov dword [esp + 0x7c], edi
je 0x439ea2
mov ecx, dword [eax]
lea edx, [esp + 0x74]
push edx
push eax
mov eax, dword [ecx + 0xd4]
call eax
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x439ea2
push eax
lea ecx, [esp + 0x24]
call fcn.00438d10
mov byte [esp + 0x6c], 9
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x439e95
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x60]
call eax
mov byte [esp + 0x6c], bl
lea ecx, [esp + 0x20]
call fcn.00438800
mov ecx, dword [esp + 0x74]
push ecx
lea ecx, [esp + 0x48]
call fcn.00437d20
mov byte [esp + 0x6c], 0xa
mov eax, dword [esp + 0x78]
cmp eax, edi
je 0x439f6a
mov edx, dword [eax]
mov edx, dword [edx + 0x7c]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x48]
push ecx
push str.onmousemove
push eax
call edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x48]
push edx
push str.onmouseover
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x48]
push edx
push str.onmousemove
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x48]
push edx
push str.onmousedown
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x48]
push edx
push str.onfocus
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x48]
push edx
push str.onmouseup
push eax
mov eax, dword [ecx + 0x7c]
call eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x114]
push eax
call edx
mov eax, dword [esp + 0x78]
cmp eax, edi
je 0x439fb1
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x48]
push edx
push str.onmousemove
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x7c]
push edx
lea edx, [esp + 0x48]
push edx
push 0x474588
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov byte [esp + 0x6c], bl
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x6c], 7
lea ecx, [esp + 0x74]
call fcn.004477d0
mov byte [esp + 0x6c], 6
lea ecx, [esp + 0x78]
call fcn.00438800
jmp 0x43a025
cmp dword [esp + 0x7c], edi
je 0x43a025
movzx esi, word [esp + 0x20]
movzx edx, bx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
shl esi, 0x10
or esi, edx
push esi
push edi
push 0x200
push ebp
call ebx
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push 0x201
push ebp
call ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push 0x202
push ebp
call ebx
mov byte [esp + 0x6c], 5
lea ecx, [esp + 0x24]
call fcn.00438800
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x14]
call fcn.004477d0
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0x1c]
call fcn.0040878e
mov dword [esp + 0x6c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0040878e
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc