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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e131e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x51f5a8]
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 0x45c1d7
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xff515700
cmp eax, 0xff515700
je 0x45c81f
xor esi, esi
mov dword [ebp - 0x90], esi
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 4], esi
test ecx, ecx
je 0x45c235
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 0x45c20d
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 0x45c231
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 0x45c26f
cmp edi, 0x204
je 0x45c26f
cmp edi, 0x207
je 0x45c26f
cmp edi, 0x200
je 0x45c26f
cmp edi, 0x2a3
jne 0x45c34f
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 0x45c318
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 0x45c318
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 + 0x4ee040]
comisd xmm1, xmm0
ja 0x45c318
mov edi, dword [ebp + 8]
mov byte [ebp - 0x75], 0
jmp 0x45c34f
mov edi, dword [ebp + 8]
mov byte [ebp - 0x75], 1
cmp edi, 0x200
je 0x45c32f
cmp edi, 0x2a3
jne 0x45c34f
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.0x45c367.515
movzx eax, byte [eax + 0x45c858]
jmp dword [eax*4 + 0x45c840]
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 0x45c3b0
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.0x45c367.515
xor eax, eax
cmp edi, 0x201
je 0x45c3c4
cmp edi, 0x204
sete al
inc eax
cmp byte [ebp - 0x75], 0
mov dword [ebp - 0x7c], eax
jne 0x45c3d7
cmp eax, dword [ebx + 0x74]
jne 0x45c3d7
inc dword [ebx + 0x78]
jmp 0x45c3e4
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.0x45c367.515
lea ecx, [ebp - 0x38]
call fcn.0045a160
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 0x45c429
xor al, al
jmp 0x45c434
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.0045a5d0
movss xmm0, dword [ebx + 0x3c]
lea eax, [ebp - 0x38]
push ecx
movss dword [esp], xmm0
push eax
call fcn.00442c20
push dword [ebp + 0xc]
call fcn.0046ebb0
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.0x45c367.515
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 0x20]
jne 0x45c49c
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp byte [ebx + 0x68], 0
je 0x45c4c5
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.0x45c367.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 0x45c4e4
xor edi, edi
jmp 0x45c4f5
xor eax, eax
cmp edi, 0x205
sete al
inc eax
mov dword [ebp - 0x80], eax
mov edi, eax
test esi, esi
je case.0x45c367.515
lea ecx, [ebp - 0x4c]
call fcn.0045a160
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 0x45c557
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x45c557
mov eax, dword [ecx]
push dword [ebp - 0x7c]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x45c557
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne case.0x45c367.515
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jne case.0x45c367.515
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0045a5d0
movss xmm0, dword [ebx + 0x3c]
lea eax, [ebp - 0x4c]
push ecx
movss dword [esp], xmm0
push eax
call fcn.00442c20
push dword [ebp + 0xc]
call fcn.0046ebb0
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.0x45c367.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 0x45c5f7
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.0x45c367.515
cmp byte [ebx + 0x69], 0
jne 0x45c62b
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.0x45c367.515
lea ecx, [ebp - 0x60]
call fcn.0045a160
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.0045a5d0
movss xmm0, dword [ebx + 0x3c]
lea eax, [ebp - 0x60]
push ecx
movss dword [esp], xmm0
push eax
call fcn.00442c20
push dword [ebp + 0xc]
call fcn.0046ebb0
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.0x45c367.515
cmp byte [ebx + 0x69], 0
je 0x45c6c2
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.0x45c367.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.0045a160
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.00442c20
push dword [ebp + 0xc]
call fcn.0046ebb0
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.0x45c367.515
test esi, esi
je case.0x45c367.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.0x45c367.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.0045a160
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.0045a5d0
mov eax, dword [ebp - 0x7c]
push ecx
movss xmm0, dword [eax + 0x3c]
lea eax, [ebp - 0x24]
movss dword [esp], xmm0
push eax
call fcn.00442c20
push edi
call fcn.0046ebb0
mov dword [ebp - 0x18], eax
mov edi, dword [esi]
push 0x10
call fcn.0046edb0
add esp, 0x10
xor ecx, ecx
test al, al
cmove ecx, ebx
push ecx
push 0x10
call fcn.0046edb0
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], 0x4f0354
mov dword [ebp - 4], 8
test esi, esi
je 0x45c81f
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.004b5264
mov esp, ebp
pop ebp
ret 0xc