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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54a476
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.0044ee90
test eax, eax
je 0x4f8ca1
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x5c]
push eax
add ecx, 0x244
call fcn.004d2970
mov ebx, eax
test ebx, ebx
je 0x4f8ca1
mov eax, dword [edi + 0x78]
mov esi, 1
cmp eax, esi
jne 0x4f8939
push 0x54
call fcn.0051a4c6
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0xa4], 0
je 0x4f88e9
mov ecx, dword [edi + 0x5c]
push ecx
mov ecx, eax
call fcn.004ceb20
mov esi, eax
jmp 0x4f88eb
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.00519703
lea eax, [ebp + 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.00519703
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.004d2210
mov ecx, dword [esp + 0xac]
push ebx
push esi
call fcn.004519b0
jmp 0x4f8ca1
lea ecx, [esp + 0x74]
call fcn.00473110
lea ecx, [esp + 0x60]
mov dword [esp + 0xa4], esi
call fcn.00473110
lea eax, [esp + 0x60]
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0xac], 2
call fcn.004f7990
mov eax, dword [esp + 0x84]
mov ebp, eax
shr ebp, 2
test ebp, ebp
jg 0x4f898d
mov byte [esp + 0xa4], 1
mov esi, 0x54d7d0
jmp 0x4f8c7c
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 0x4f8a3e
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.005221bc
mov eax, dword [esp + 0x30]
cmp eax, ebx
jge 0x4f89f8
mov dword [esp + 0x1c], eax
mov ebx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4f8a08
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x4f8a18
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x4f8a28
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 0x4f89c8
mov ecx, dword [0x59992c]
mov edx, dword [esp + 0x20]
mov eax, dword [0x599928]
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 0x4f8a79
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.00473110
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.00473110
test ebp, ebp
mov byte [esp + 0xa4], 4
jle 0x4f8c0d
mov eax, dword [esp + 0x18]
mov ebx, esi
sub eax, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
jmp 0x4f8ad3
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.004d2340
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
push ecx
push eax
push ebp
lea ecx, [esp + 0x4c]
call fcn.004d2730
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.004d2250
mov esi, eax
add esi, 0x18
push esi
call fcn.00474090
add esi, eax
push esi
call fcn.00474090
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.005221bc
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.004f87e0
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 0x4f8bfb
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.004d2340
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.004d2730
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.004d2250
lea esi, [eax + 0x18]
push esi
call fcn.00474090
add esi, eax
push esi
call fcn.00474090
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 0x4f8b98
mov eax, dword [esp + 0x10]
add ebx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4f8acf
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x40]
push eax
call fcn.00451930
mov esi, 0x54d7d0
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 3
mov dword [esp + 0x88], esi
call fcn.00473310
mov dword [esp + 0x40], 0x54d7d4
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 5
mov dword [esp + 0x44], 0
call fcn.00473310
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x48], esi
call fcn.00473310
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], esi
call fcn.00473310
lea ecx, [esp + 0x74]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x74], esi
call fcn.00473310
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 4