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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61e318
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
cmp edi, ebp
je 0x49b745
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x49b745
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x49b745
cmp dword [edi + 0x6e8], ebp
lea eax, [edi + 0x6e8]
jne 0x49b504
lea ecx, [edi + 0x6ec]
push ecx
push eax
call fcn.00484d70
add esp, 8
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
push edi
lea ecx, [esp + 0x74]
call fcn.00577645
push 0x6bd90c
lea ecx, [esp + 0x74]
mov dword [esp + 0x94], ebp
call fcn.00577951
mov edx, dword [edi]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x188]
mov ecx, edi
call eax
imul eax, dword [edi + 0x6e4]
mov esi, dword [esp + 0x64]
sub esi, eax
mov eax, dword [esp + 0x60]
add esi, 1
cmp dword [edi + 0x700], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], eax
je 0x49b589
cmp dword [0x6bce3c], ebp
jne 0x49b589
cmp dword [edi + 0x700], ebp
jg 0x49b57b
jmp fcn.0056c8bd
mov eax, dword [edi + 0x6fc]
mov ebx, dword [eax]
mov dword [esp + 0x18], ebx
jmp 0x49b595
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ebx, ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x20], ebp
call fcn.00467240
mov eax, dword [esp + 0x34]
mov ecx, dword [0x6bd94c]
add dword [esp + 0x30], 2
add eax, 2
cmp eax, ecx
mov dword [esp + 0x34], eax
jg 0x49b5c0
mov dword [esp + 0x34], ecx
mov eax, dword [edi + 0x5cc]
cmp eax, ebp
je 0x49b6de
jmp 0x49b5d8
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x49b576
mov ecx, dword [eax]
mov ebp, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
test ecx, 0x20000000
je 0x49b638
mov eax, dword [esp + 0x28]
cmp esi, eax
je 0x49b638
cmp dword [0x6bce3c], 0
jne 0x49b638
mov esi, eax
mov eax, dword [esp + 0x20]
add eax, 1
lea ebx, [ebx + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
js 0x49b576
cmp eax, dword [edi + 0x700]
jge 0x49b576
mov edx, dword [edi + 0x6fc]
lea eax, [edx + eax*4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov ebx, eax
test cl, 1
je 0x49b658
mov ecx, dword [edi + 0x6e8]
add ecx, dword [esp + 0x1c]
mov eax, ebx
sub eax, dword [edi + 0x6ec]
lea ebx, [esi + 8]
add eax, dword [esp + 0x60]
jmp 0x49b689
mov edx, dword [ebp]
mov edx, dword [edx + 0x18]
push 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x78]
push ecx
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
add eax, ebx
lea ebx, [edx + esi]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], esi
push ecx
lea esi, [ebp + 0x30]
push esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
call dword [sym.imp.user32.dll_EqualRect]
test eax, eax
jne 0x49b6d1
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esi], edx
mov edx, dword [esp + 0x5c]
mov dword [esi + 4], eax
mov eax, dword [ebp]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov edx, dword [eax + 0x2c]
mov ecx, ebp
call edx
cmp dword [esp + 0x24], 0
mov esi, ebx
jne 0x49b5d0
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x74]
call fcn.00577951
mov eax, edi
call fcn.00466700
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.user32.dll_GetCursorPos]
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.user32.dll_ScreenToClient]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [edi]
mov edx, dword [edx + 0x1d0]
push eax
push ecx
mov ecx, edi
call edx
test eax, eax
jl 0x49b731
mov dword [edi + 0x730], 0
lea ecx, [esp + 0x70]
mov dword [esp + 0x90], 0xffffffff
call fcn.00577699
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret