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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dde4e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x51c5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x7c], ebx
mov edi, dword [ebp + 8]
lea eax, [edi - 0x200]
cmp eax, 0xe
ja 0x459087
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xff515700
cmp eax, 0xff515700
je 0x4596cf
xor esi, esi
mov dword [ebp - 0x90], esi
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 4], esi
test ecx, ecx
je 0x4590e5
mov eax, dword [ecx]
lea edx, [ebp - 0x88]
push edx
call dword [eax]
mov esi, dword [eax]
mov byte [ebp - 4], 1
test esi, esi
je 0x4590bd
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x90], esi
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
test eax, eax
je 0x4590e1
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x75], 0
cmp edi, 0x201
je 0x45911f
cmp edi, 0x204
je 0x45911f
cmp edi, 0x207
je 0x45911f
cmp edi, 0x200
je 0x45911f
cmp edi, 0x2a3
jne 0x4591ff
call dword [sym.imp.USER32.dll_GetMessageTime]
mov ecx, dword [ebp + 0x10]
movsx edi, cx
shr ecx, 0x10
mov dword [ebp - 0x88], eax
movsx eax, cx
push 0x24
mov dword [ebp - 0x8c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebx + 0x6c]
sub eax, edi
sar ecx, 1
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x4591c8
push 0x25
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebx + 0x70]
sub eax, dword [ebp - 0x8c]
cdq
xor eax, edx
sar ecx, 1
sub eax, edx
cmp eax, ecx
jg 0x4591c8
movd xmm0, dword [ebp - 0x88]
cvtdq2pd xmm0, xmm0
subsd xmm0, qword [ebx + 0x80]
movsd qword [ebp - 0x84], xmm0
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
movsd xmm1, qword [ebp - 0x84]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4eaf80]
comisd xmm1, xmm0
ja 0x4591c8
mov edi, dword [ebp + 8]
mov byte [ebp - 0x75], 0
jmp 0x4591ff
mov edi, dword [ebp + 8]
mov byte [ebp - 0x75], 1
cmp edi, 0x200
je 0x4591df
cmp edi, 0x2a3
jne 0x4591ff
xorps xmm0, xmm0
mov dword [ebx + 0x78], 1
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
movsd qword [ebx + 0x80], xmm0
lea eax, [edi - 0x200]
cmp eax, 0xa3
ja case.0x459217.515
movzx eax, byte [eax + 0x459708]
jmp dword [eax*4 + 0x4596f0]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
test byte [ebp + 0xc], 4
movsx edx, ax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x80], edx
je 0x459260
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x5c], edx
mov byte [ebx + 0x68], 1
jmp case.0x459217.515
xor eax, eax
cmp edi, 0x201
je 0x459274
cmp edi, 0x204
sete al
inc eax
cmp byte [ebp - 0x75], 0
mov dword [ebp - 0x7c], eax
jne 0x459287
cmp eax, dword [ebx + 0x74]
jne 0x459287
inc dword [ebx + 0x78]
jmp 0x459294
mov dword [ebx + 0x78], 1
mov dword [ebx + 0x6c], ecx
mov dword [ebx + 0x70], edx
movd xmm0, dword [ebp - 0x88]
mov dword [ebx + 0x74], eax
cvtdq2pd xmm0, xmm0
movsd qword [ebx + 0x80], xmm0
test esi, esi
je case.0x459217.515
lea ecx, [ebp - 0x38]
call fcn.00457010
mov edi, dword [ebx + 0x24]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 3
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
test edi, edi
jne 0x4592d9
xor al, al
jmp 0x4592e4
mov eax, dword [edi]
push edx
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc]
call eax
test al, al
mov ecx, ebx
sete al
mov byte [ebx + 0x88], al
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00457480
movss xmm0, dword [ebx + 0x3c]
lea eax, [ebp - 0x38]
push ecx
movss dword [esp], xmm0
push eax
call fcn.0043f6c0
push dword [ebp + 0xc]
call fcn.0046b950
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push dword [ebx + 0x78]
push 0
push dword [ebp - 0x7c]
push ecx
mov ecx, esi
call dword [eax + 0x88]
jmp case.0x459217.515
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 0x20]
jne 0x45934c
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp byte [ebx + 0x68], 0
je 0x459375
mov ecx, dword [ebx + 0x24]
sub esp, 8
mov byte [ebx + 0x68], 0
mov eax, dword [ecx]
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [eax + 4]
jmp case.0x459217.515
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x7c], eax
cmp edi, 0x202
jne 0x459394
xor edi, edi
jmp 0x4593a5
xor eax, eax
cmp edi, 0x205
sete al
inc eax
mov dword [ebp - 0x80], eax
mov edi, eax
test esi, esi
je case.0x459217.515
lea ecx, [ebp - 0x4c]
call fcn.00457010
cmp byte [ebx + 0x88], 0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
je 0x459407
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x459407
mov eax, dword [ecx]
push dword [ebp - 0x7c]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x459407
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne case.0x459217.515
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jne case.0x459217.515
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00457480
movss xmm0, dword [ebx + 0x3c]
lea eax, [ebp - 0x4c]
push ecx
movss dword [esp], xmm0
push eax
call fcn.0043f6c0
push dword [ebp + 0xc]
call fcn.0046b950
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push dword [ebx + 0x78]
push 1
push edi
push ecx
mov ecx, esi
call dword [eax + 0x88]
jmp case.0x459217.515
mov eax, dword [ebp + 0x10]
movsx edi, ax
shr eax, 0x10
cmp byte [ebx + 0x68], 0
movsx edx, ax
mov dword [ebp - 0x80], edx
je 0x4594a7
mov ecx, dword [ebx + 0x24]
sub esp, 8
mov dword [ebx + 0x64], edx
sub edx, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edi
sub edi, dword [ebx + 0x58]
mov eax, dword [ecx]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call dword [eax + 8]
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x58], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x5c], eax
jmp case.0x459217.515
cmp byte [ebx + 0x69], 0
jne 0x4594db
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x10
mov dword [ebp - 0x9c], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [ebx + 0x69], 1
test esi, esi
je case.0x459217.515
lea ecx, [ebp - 0x60]
call fcn.00457010
mov eax, dword [ebp - 0x80]
mov ecx, ebx
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x5c], edi
call fcn.00457480
movss xmm0, dword [ebx + 0x3c]
lea eax, [ebp - 0x60]
push ecx
movss dword [esp], xmm0
push eax
call fcn.0043f6c0
push dword [ebp + 0xc]
call fcn.0046b950
add esp, 0xc
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x60]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x8c]
jmp case.0x459217.515
cmp byte [ebx + 0x69], 0
je 0x459572
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x10
mov dword [ebp - 0x9c], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [ebx + 0x69], 0
test esi, esi
je case.0x459217.515
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x84]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [ebp - 0x74]
call fcn.00457010
mov eax, dword [ebp - 0x84]
movss xmm0, dword [ebx + 0x3c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x80]
push ecx
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x74]
movss dword [esp], xmm0
push eax
mov byte [ebp - 4], 6
call fcn.0043f6c0
push dword [ebp + 0xc]
call fcn.0046b950
add esp, 0xc
mov dword [ebp - 0x68], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x74]
push 1
push ecx
mov ecx, esi
call dword [eax + 0x8c]
jmp case.0x459217.515
test esi, esi
je case.0x459217.515
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
push ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov ecx, dword [ebx + 0x20]
cmp eax, ecx
jne case.0x459217.515
lea eax, [ebp - 0x84]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
mov eax, edi
shr eax, 0x10
movsx ebx, ax
call fcn.00457010
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call fcn.00457480
mov eax, dword [ebp - 0x7c]
push ecx
movss xmm0, dword [eax + 0x3c]
lea eax, [ebp - 0x24]
movss dword [esp], xmm0
push eax
call fcn.0043f6c0
push edi
call fcn.0046b950
mov dword [ebp - 0x18], eax
mov edi, dword [esi]
push 0x10
call fcn.0046bb50
add esp, 0x10
xor ecx, ecx
test al, al
cmove ecx, ebx
push ecx
push 0x10
call fcn.0046bb50
add esp, 4
xor ecx, ecx
test al, al
lea eax, [ebp - 0x24]
cmovne ecx, ebx
push ecx
push eax
mov ecx, esi
call dword [edi + 0x90]
mov dword [ebp - 0x24], 0x4ed2a4
mov dword [ebp - 4], 8
test esi, esi
je 0x4596cf
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1e50
mov esp, ebp
pop ebp
ret 0xc