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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x545056
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.0044cf60
test eax, eax
je 0x4f6631
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x5c]
push eax
add ecx, 0x244
call fcn.004d0370
mov ebx, eax
test ebx, ebx
je 0x4f6631
mov eax, dword [edi + 0x78]
mov esi, 1
cmp eax, esi
jne 0x4f62c9
push 0x54
call fcn.005151e5
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0xa4], 0
je 0x4f6279
mov ecx, dword [edi + 0x5c]
push ecx
mov ecx, eax
call fcn.004cc520
mov esi, eax
jmp 0x4f627b
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.00514423
lea eax, [ebp + 0x10]
lea ecx, [esi + 0x10]
push eax
call fcn.00514423
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.004cfc10
mov ecx, dword [esp + 0xac]
push ebx
push esi
call fcn.0044fa70
jmp 0x4f6631
lea ecx, [esp + 0x74]
call fcn.00470b30
lea ecx, [esp + 0x60]
mov dword [esp + 0xa4], esi
call fcn.00470b30
lea eax, [esp + 0x60]
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0xac], 2
call fcn.004f5320
mov eax, dword [esp + 0x84]
mov ebp, eax
shr ebp, 2
test ebp, ebp
jg 0x4f631d
mov byte [esp + 0xa4], 1
mov esi, 0x5477b0
jmp 0x4f660c
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 0x4f63ce
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.0051cedc
mov eax, dword [esp + 0x30]
cmp eax, ebx
jge 0x4f6388
mov dword [esp + 0x1c], eax
mov ebx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4f6398
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x4f63a8
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x4f63b8
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 0x4f6358
mov ecx, dword [0x591df4]
mov edx, dword [esp + 0x20]
mov eax, dword [0x591df0]
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 0x4f6409
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.00470b30
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x547f0c
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 3
call fcn.00470b30
test ebp, ebp
mov byte [esp + 0xa4], 4
jle 0x4f659d
mov eax, dword [esp + 0x18]
mov ebx, esi
sub eax, esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
jmp 0x4f6463
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.004cfd40
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
push ecx
push eax
push ebp
lea ecx, [esp + 0x4c]
call fcn.004d0130
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.004cfc50
mov esi, eax
add esi, 0x18
push esi
call fcn.00471ab0
add esi, eax
push esi
call fcn.00471ab0
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.0051cedc
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.004f6170
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 0x4f658b
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.004cfd40
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.004d0130
push 0
push esi
lea ecx, [esp + 0x48]
call fcn.004cfc50
lea esi, [eax + 0x18]
push esi
call fcn.00471ab0
add esi, eax
push esi
call fcn.00471ab0
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 0x4f6528
mov eax, dword [esp + 0x10]
add ebx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4f645f
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x40]
push eax
call fcn.0044f9f0
mov esi, 0x5477b0
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 3
mov dword [esp + 0x88], esi
call fcn.00470d30
mov dword [esp + 0x40], 0x5477b4
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 5
mov dword [esp + 0x44], 0
call fcn.00470d30
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x48], esi
call fcn.00470d30
mov byte [esp + 0xa4], 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], esi
call fcn.00470d30
lea ecx, [esp + 0x74]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x74], esi
call fcn.00470d30
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 4