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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54a836
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.0044f200
test eax, eax
je 0x4f9001
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x5c]
push eax
add ecx, 0x244
call fcn.004d2d00
mov ebx, eax
test ebx, ebx
je 0x4f9001
mov eax, dword [edi + 0x78]
mov esi, 1
cmp eax, esi
jne 0x4f8c99
push 0x54
call fcn.0051a826
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0xa4], 0
je 0x4f8c49
mov ecx, dword [edi + 0x5c]
push ecx
mov ecx, eax
call fcn.004ceeb0
mov esi, eax
jmp 0x4f8c4b
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.00519a63
lea eax, [ebp + 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.00519a63
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.004d25a0
mov ecx, dword [esp + 0xac]
push ebx
push esi
call fcn.00451d20
jmp 0x4f9001
lea ecx, [esp + 0x74]
call fcn.00473490
lea ecx, [esp + 0x60]
mov dword [esp + 0xa4], esi
call fcn.00473490
lea eax, [esp + 0x60]
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0xac], 2
call fcn.004f7cf0
mov eax, dword [esp + 0x84]
mov ebp, eax
shr ebp, 2
test ebp, ebp
jg 0x4f8ced
mov byte [esp + 0xa4], 1
mov esi, 0x54d7d0
jmp 0x4f8fdc
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 0x4f8d9e
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.0052251c
mov eax, dword [esp + 0x30]
cmp eax, ebx
jge 0x4f8d58
mov dword [esp + 0x1c], eax
mov ebx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4f8d68
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x4f8d78
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x4f8d88
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 0x4f8d28
mov ecx, dword [0x5999c4]
mov edx, dword [esp + 0x20]
mov eax, dword [0x5999c0]
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 0x4f8dd9
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.00473490
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.00473490
test ebp, ebp
mov byte [esp + 0xa4], 4
jle 0x4f8f6d
mov eax, dword [esp + 0x18]
mov ebx, esi
sub eax, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
jmp 0x4f8e33
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.004d26d0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
push ecx
push eax
push ebp
lea ecx, [esp + 0x4c]
call fcn.004d2ac0
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.004d25e0
mov esi, eax
add esi, 0x18
push esi
call fcn.00474410
add esi, eax
push esi
call fcn.00474410
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.0052251c
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.004f8b40
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 0x4f8f5b
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.004d26d0
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.004d2ac0
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.004d25e0
lea esi, [eax + 0x18]
push esi
call fcn.00474410
add esi, eax
push esi
call fcn.00474410
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 0x4f8ef8
mov eax, dword [esp + 0x10]
add ebx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4f8e2f
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x40]
push eax
call fcn.00451ca0
mov esi, 0x54d7d0
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 3
mov dword [esp + 0x88], esi
call fcn.00473690
mov dword [esp + 0x40], 0x54d7d4
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 5
mov dword [esp + 0x44], 0
call fcn.00473690
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x48], esi
call fcn.00473690
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], esi
call fcn.00473690
lea ecx, [esp + 0x74]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x74], esi
call fcn.00473690
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 4