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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54a8e6
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xac]
call fcn.0044f3e0
test eax, eax
je 0x4f90b1
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x5c]
push eax
add ecx, 0x244
call fcn.004d2d90
mov ebx, eax
test ebx, ebx
je 0x4f90b1
mov eax, dword [edi + 0x78]
mov esi, 1
cmp eax, esi
jne 0x4f8d49
push 0x54
call fcn.0051a8b5
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0xa4], 0
je 0x4f8cf9
mov ecx, dword [edi + 0x5c]
push ecx
mov ecx, eax
call fcn.004cef40
mov esi, eax
jmp 0x4f8cfb
xor esi, esi
mov ebp, dword [edi + 0x4c]
lea ecx, [esi + 0xc]
mov dword [esp + 0xa4], 0xffffffff
lea edx, [ebp + 0xc]
push edx
call fcn.00519af3
lea eax, [ebp + 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.00519af3
mov ecx, dword [ebp + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x4c]
add edx, 0x14
lea ecx, [esi + 0x14]
push edx
call fcn.004d2630
mov ecx, dword [esp + 0xac]
push ebx
push esi
call fcn.00451f00
jmp 0x4f90b1
lea ecx, [esp + 0x74]
call fcn.004733a0
lea ecx, [esp + 0x60]
mov dword [esp + 0xa4], esi
call fcn.004733a0
lea eax, [esp + 0x60]
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0xac], 2
call fcn.004f7da0
mov eax, dword [esp + 0x84]
mov ebp, eax
shr ebp, 2
test ebp, ebp
jg 0x4f8d9d
mov byte [esp + 0xa4], 1
mov esi, 0x54d7d0
jmp 0x4f908c
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x7c]
mov ebx, 0x7fffffff
neg esi
sbb esi, esi
mov dword [esp + 0x20], ebx
and esi, ecx
neg eax
sbb eax, eax
and eax, edx
mov dword [esp + 0x18], eax
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
jle 0x4f8e4e
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x90]
lea edx, [esp + 0x30]
push edx
call fcn.005225ac
mov eax, dword [esp + 0x30]
cmp eax, ebx
jge 0x4f8e08
mov dword [esp + 0x1c], eax
mov ebx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4f8e18
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x4f8e28
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x4f8e38
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x4f8dd8
mov ecx, dword [0x599a14]
mov edx, dword [esp + 0x20]
mov eax, dword [0x599a10]
sub edx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xac]
sub ebx, eax
cmp dword [edx + 0x198], 0
mov dword [esp + 0x1c], ebx
jle 0x4f8e89
sub ebx, eax
mov eax, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov ebx, dword [edi + 0x5c]
lea ecx, [esp + 0x48]
call fcn.004733a0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x54d914
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 3
call fcn.004733a0
test ebp, ebp
mov byte [esp + 0xa4], 4
jle 0x4f901d
mov eax, dword [esp + 0x18]
mov ebx, esi
sub eax, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
jmp 0x4f8ee3
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + ebx]
mov ecx, dword [edi + 0x4c]
lea eax, [esp + 0x2c]
push 0
push eax
push ebp
add ecx, 0x14
call fcn.004d2760
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
push ecx
push eax
push ebp
lea ecx, [esp + 0x4c]
call fcn.004d2b50
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.004d2670
mov esi, eax
add esi, 0x18
push esi
call fcn.00474320
add esi, eax
push esi
call fcn.00474320
add esp, 8
add esi, eax
mov eax, dword [ebx]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edi + 0x90]
call fcn.005225ac
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub edx, eax
mov dword [esi + 4], edx
mov eax, dword [esp + 0x34]
sub eax, ecx
lea ecx, [esp + 0x88]
mov dword [esi + 8], eax
xor eax, eax
push ecx
mov dword [esi + 0x18], eax
push ebp
mov ecx, edi
mov dword [esp + 0xa0], eax
call fcn.004f8bf0
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x90]
mov ecx, eax
shr ecx, 2
neg eax
sbb eax, eax
and eax, esi
test ecx, ecx
jle 0x4f900b
mov ebp, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp]
mov ecx, dword [edi + 0x4c]
lea edx, [esp + 0x2c]
push 0
push edx
push eax
add ecx, 0x14
call fcn.004d2760
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp]
mov esi, dword [esp + 0x44]
push ecx
push eax
push edx
lea ecx, [esp + 0x4c]
call fcn.004d2b50
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.004d2670
lea esi, [eax + 0x18]
push esi
call fcn.00474320
add esi, eax
push esi
call fcn.00474320
add esi, eax
mov eax, dword [esp + 0x1c]
add esp, 8
add ebp, 4
dec eax
mov dword [esi], 0
mov dword [esp + 0x14], eax
jne 0x4f8fa8
mov eax, dword [esp + 0x10]
add ebx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4f8edf
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x40]
push eax
call fcn.00451e80
mov esi, 0x54d7d0
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 3
mov dword [esp + 0x88], esi
call fcn.004735a0
mov dword [esp + 0x40], 0x54d7d4
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 5
mov dword [esp + 0x44], 0
call fcn.004735a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x48], esi
call fcn.004735a0
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], esi
call fcn.004735a0
lea ecx, [esp + 0x74]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x74], esi
call fcn.004735a0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 4