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

Disassembly:
push 0xffffffffffffffff
push 0x4a4a3b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d16b0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0xa4]
mov edi, dword [sym.imp.USER32.dll_SetRect]
push 0
push 0
push 0
lea ebp, [ebx + 8]
push 0
push ebp
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
mov dword [esp + 0x48], ebp
call edi
push 0
push 0
push 0
lea eax, [ebx + 0x1c]
push 0
push eax
mov dword [ebx + 0x18], 0
call edi
lea eax, [esp + 0x38]
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x18], edi
call fcn.00434f10
mov ecx, dword [eax + 0x70]
mov edi, dword [ecx]
add eax, 0x6c
mov esi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
mov edi, edi
call fcn.00434f10
mov edx, dword [eax + 0x70]
add eax, 0x6c
test esi, esi
mov dword [esp + 0x24], edx
je 0x437f47
cmp esi, eax
je 0x437f4c
call fcn.0047f936
cmp edi, dword [esp + 0x24]
je 0x4381bb
test esi, esi
jne 0x437f5f
call fcn.0047f936
cmp edi, dword [esi + 4]
jne 0x437f69
call fcn.0047f936
cmp dword [edi + 0x10], 0
je 0x437fad
cmp edi, dword [esi + 4]
jne 0x437f79
call fcn.0047f936
mov esi, dword [edi + 0x10]
mov eax, dword [esi + 0x1f8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
add dword [esp + 0x4c], eax
mov edi, dword [sym.imp.USER32.dll_PtInRect]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x34], esi
call edi
test eax, eax
jne 0x437fc8
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
lea esi, [esp + 0x2c]
call fcn.00404c10
add dword [esp + 0x18], 1
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
jmp 0x437f30
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov dword [ebp], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx], edx
mov edx, dword [esp + 0x48]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x38]
push ecx
push edx
add esi, 0x1fc
push esi
mov dword [ebx + 4], 3
mov dword [ebp + 0xc], eax
call edi
test eax, eax
je 0x438026
mov dword [ebx + 0x18], 1
mov eax, dword [esi]
mov dword [ebx + 0x1c], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 0x20], ecx
mov edx, dword [esi + 8]
mov dword [ebx + 0x24], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x28], eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
xor ebp, ebp
add edx, 0xffffffe4
cmp ebp, 3
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
jge 0x43813a
mov eax, dword [0x4d5c6c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d5c6c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
test ebp, ebp
mov dword [esp + 0x9c], 0
jne 0x4380ee
lea eax, [esp + 0x1c]
push eax
call fcn.00434f10
mov ecx, dword [esp + 0x1c]
mov edx, eax
call fcn.00406910
test eax, eax
je 0x4380b3
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0xc], ebp
jne 0x4380b3
call fcn.004352b0
mov ebx, eax
call fcn.004134e0
test eax, eax
je 0x4380ac
call fcn.004352b0
cmp dword [eax + 0x188], ebp
jne 0x4380e7
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43817a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x43817a
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0x20]
mov esi, ebp
shl esi, 4
lea edi, [esp + esi + 0x60]
mov dword [edi], eax
mov ecx, dword [edi]
sub eax, 0x17
mov dword [esp + 0x20], eax
mov dword [esp + 0x9c], 0xffffffff
mov eax, dword [esp + 0x1c]
add ecx, 0x15
add eax, 0xfffffff0
mov dword [esp + esi + 0x68], ecx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438151
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x438151
mov esi, ebp
shl esi, 4
lea edi, [esp + esi + 0x60]
mov dword [edi], 0
mov dword [esp + esi + 0x68], 0x14
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [esp + esi + 0x64], eax
sub eax, dword [esp + 0x44]
push ecx
add eax, dword [esp + 0x50]
push edx
push edi
mov dword [esp + esi + 0x78], eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x43818d
add ebp, 1
cmp ebp, 3
jl 0x438044
mov eax, 1
jmp 0x4381bd
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], ebp
shl ebp, 4
mov ecx, dword [esp + ebp + 0x60]
mov edx, dword [esp + ebp + 0x64]
lea ebp, [esp + ebp + 0x60]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
jmp 0x4381bd
xor eax, eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4