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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x4e51f0]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push esi
movdqu xmmword [esp + 0x68], xmm0
mov dword [esp + 0x50], eax
movdqu xmm0, xmmword [eax]
push edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], ecx
push eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
movdqu xmmword [esp + 0x34], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov eax, dword [ecx + 4]
cmp dword [0x5149a0], eax
jne 0x486f04
cmp dword [0x51499c], 1
jne 0x486f04
mov ecx, dword [0x5149a8]
mov esi, dword [0x5149b0]
mov eax, dword [0x5149ac]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x5149a4]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
jmp 0x486f60
mov esi, edx
mov dword [0x5149a0], eax
sub esi, dword [esp + 0x34]
mov eax, edi
sub eax, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [0x5149a8], esi
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov dword [0x5149ac], esi
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov dword [0x5149a4], eax
mov eax, dword [esp + 0x58]
mov dword [0x51499c], 1
mov dword [0x5149b4], 0x1010101
mov dword [0x5149b0], esi
sub edx, dword [esp + 0x18]
sub edi, dword [esp + 0x48]
add eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], eax
lea eax, [esi + edx]
mov dword [esp + 0x18], edx
mov esi, dword [0x5149b8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
cmp esi, dword [0x5149bc]
je 0x486ff4
nop
mov eax, dword [esi]
cmp eax, dword [ecx + 4]
je 0x486fe9
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x486fe5
lea eax, [esp + 0x6c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x74]
add eax, 0x10
cmp edi, eax
jge 0x486fe5
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00487590
mov ecx, dword [esp + 0x14]
add esi, 4
cmp esi, dword [0x5149bc]
jne 0x486fa0
lea eax, [esp + 0x5c]
mov word [esp + 0x2c], 0
push eax
push dword [ecx + 4]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x64], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x6c]
sub eax, dword [esp + 0x5c]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
cdq
sub eax, edx
sar esi, 1
add esi, dword [esp + 0x5c]
sar eax, 1
add eax, dword [esp + 0x60]
push eax
push esi
call fcn.00488990
mov eax, dword [esp + 0x7c]
add esp, 8
add eax, 0x10
cmp edi, eax
jge 0x48717c
mov esi, dword [esp + 0x6c]
lea eax, [esi - 0x10]
cmp dword [esp + 0x38], eax
jle 0x48717c
mov ecx, dword [esp + 0x78]
lea eax, [ecx + 0x10]
cmp dword [esp + 0x18], eax
jge 0x48717c
mov edx, dword [esp + 0x70]
lea eax, [edx - 0x10]
cmp dword [esp + 0x3c], eax
jle 0x48717c
cmp byte [0x5149b4], 0
je 0x4870c3
mov eax, esi
sub eax, edi
add eax, 0x10
cmp eax, 0x20
ja 0x4870a8
mov byte [esp + 0x2c], 1
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x74]
sub eax, edi
add eax, 0x10
cmp eax, 0x20
ja 0x4870c3
mov byte [esp + 0x2c], 1
mov dword [esp + 0x24], 1
cmp byte [0x5149b5], 0
je 0x487102
mov edi, dword [esp + 0x38]
sub esi, edi
lea eax, [esi + 0x10]
cmp eax, 0x20
ja 0x4870e7
mov byte [esp + 0x2c], 1
mov dword [esp + 0x24], 2
mov eax, dword [esp + 0x74]
sub eax, edi
add eax, 0x10
cmp eax, 0x20
ja 0x487102
mov byte [esp + 0x2c], 1
mov dword [esp + 0x24], 3
cmp byte [0x5149b6], 0
je 0x487141
mov esi, dword [esp + 0x18]
mov eax, edx
sub eax, esi
add eax, 0x10
cmp eax, 0x20
ja 0x487128
mov byte [esp + 0x2d], 1
mov dword [esp + 0x28], 0
mov eax, ecx
sub eax, esi
add eax, 0x10
cmp eax, 0x20
ja 0x487141
mov byte [esp + 0x2d], 1
mov dword [esp + 0x28], 1
cmp byte [0x5149b7], 0
je 0x48717c
mov esi, dword [esp + 0x3c]
sub edx, esi
lea eax, [edx + 0x10]
cmp eax, 0x20
ja 0x487165
mov byte [esp + 0x2d], 1
mov dword [esp + 0x28], 2
sub ecx, esi
lea eax, [ecx + 0x10]
cmp eax, 0x20
ja 0x48717c
mov byte [esp + 0x2d], 1
mov dword [esp + 0x28], 3
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00487740
mov eax, dword [esp + 0x54]
movdqu xmm0, xmmword [esp + 0x30]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
movdqu xmmword [eax], xmm0
call fcn.0048cca9
mov esp, ebp
pop ebp
ret 8