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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x616338
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
cmp edi, ebp
je 0x4991a5
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x4991a5
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x4991a5
cmp dword [edi + 0x6e8], ebp
lea eax, [edi + 0x6e8]
jne 0x498f64
lea ecx, [edi + 0x6ec]
push ecx
push eax
call fcn.00480570
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.0056fab6
push 0x6b4b2c
lea ecx, [esp + 0x74]
mov dword [esp + 0x94], ebp
call fcn.0056fdc2
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 0x498fe9
cmp dword [0x6b4174], ebp
jne 0x498fe9
cmp dword [edi + 0x700], ebp
jg 0x498fdb
jmp fcn.00564f58
mov eax, dword [edi + 0x6fc]
mov ebx, dword [eax]
mov dword [esp + 0x18], ebx
jmp 0x498ff5
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.00464d70
mov eax, dword [esp + 0x34]
mov ecx, dword [0x6b4b6c]
add dword [esp + 0x30], 2
add eax, 2
cmp eax, ecx
mov dword [esp + 0x34], eax
jg 0x499020
mov dword [esp + 0x34], ecx
mov eax, dword [edi + 0x5cc]
cmp eax, ebp
je 0x49913e
jmp 0x499038
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x498fd6
mov ecx, dword [eax]
mov ebp, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
test ecx, 0x20000000
je 0x499098
mov eax, dword [esp + 0x28]
cmp esi, eax
je 0x499098
cmp dword [0x6b4174], 0
jne 0x499098
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 0x498fd6
cmp eax, dword [edi + 0x700]
jge 0x498fd6
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 0x4990b8
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 0x4990e9
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 0x499131
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 0x499030
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x74]
call fcn.0056fdc2
mov eax, edi
call fcn.00464220
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 0x499191
mov dword [edi + 0x730], 0
lea ecx, [esp + 0x70]
mov dword [esp + 0x90], 0xffffffff
call fcn.0056fb0a
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