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

Disassembly:
push 0xffffffffffffffff
push 0x4c8142
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x503870]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov dword [esi], 0x4de8e8
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [esp + 0x98], ebx
lea ebp, [esi + 0x10]
push ebp
mov dword [esi], 0x4dbbb0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00507a00
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x40]
push ecx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00507a00
mov byte [esp + 0x98], 2
push 1
push 0x4dd410
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.004e56f0
mov byte [esp + 0x98], 3
mov ebx, dword [esi + 4]
push 0x4dd414
call 0x55a5a0
lea edx, [esp + 0x74]
push edx
mov ecx, eax
call 0x559e00
mov byte [esp + 0x98], 4
lea ecx, [esp + 0x40]
push ecx
push eax
lea edi, [esp + 0x60]
call fcn.00537fe0
add esp, 8
mov byte [esp + 0x98], 3
mov edi, 0x10
cmp dword [esp + 0x8c], edi
jb 0x4f762d
mov edx, dword [esp + 0x78]
push edx
call 0x5600be
add esp, 4
mov ebx, 0xf
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
mov byte [esp + 0x98], 2
cmp dword [esp + 0x70], edi
jb 0x4f7664
mov eax, dword [esp + 0x5c]
push eax
call 0x5600be
add esp, 4
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
cmp edi, eax
jbe 0x4f768a
call 0x5846f9
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x4c], eax
jbe 0x4f76a5
call 0x5846f9
test ebx, ebx
je 0x4f76af
cmp ebx, dword [esp + 0x40]
je 0x4f76b4
call 0x5846f9
cmp edi, dword [esp + 0x14]
je 0x4f7766
test ebx, ebx
jne 0x4f76f6
call 0x5846f9
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4f76d3
call 0x5846f9
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x4f76de
mov eax, dword [eax]
push eax
call 0x58568d
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x14], eax
test edx, edx
jne 0x4f76fa
xor ecx, ecx
jmp 0x4f7702
mov eax, dword [ebx]
jmp 0x4f76c9
mov ecx, dword [ebp + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [ebp + 0x10]
mov ebx, edi
sub ebx, edx
sar ebx, 2
cmp ebx, ecx
jae 0x4f771a
mov dword [edi], eax
add edi, 4
mov dword [ebp + 0x10], edi
jmp 0x4f7739
cmp edx, edi
jbe 0x4f7723
call 0x5846f9
mov eax, dword [ebp]
push edi
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, ebp
call fcn.0050a020
mov ebx, dword [esp + 0x18]
test ebx, ebx
jne 0x4f7762
call 0x5846f9
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp edi, dword [eax + 0x10]
jb 0x4f7756
call 0x5846f9
mov eax, dword [esp + 0x50]
add edi, 0x1c
jmp 0x4f7692
mov eax, dword [ebx]
jmp 0x4f7748
push 4
call 0x56008f
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x98], 5
xor ecx, ecx
cmp eax, ecx
je 0x4f778e
lea edx, [esp + 0x28]
mov dword [eax], edx
jmp 0x4f7790
xor eax, eax
mov byte [esp + 0x98], 2
mov dword [esp + 0x28], eax
mov byte [esp + 0x98], 7
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x98], 8
push 1
mov dword [esp + 0x70], ecx
push 0x4dd410
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov byte [esp + 0x64], 0
call fcn.004e56f0
mov byte [esp + 0x98], 9
mov ebx, dword [esi + 4]
push 0x4dd41c
call 0x55a5a0
lea ecx, [esp + 0x74]
push ecx
mov ecx, eax
call 0x559e00
mov byte [esp + 0x98], 0xa
lea edx, [esp + 0x28]
push edx
push eax
lea edi, [esp + 0x60]
call fcn.00537fe0
add esp, 8
mov byte [esp + 0x98], 9
mov ebp, 0x10
cmp dword [esp + 0x8c], ebp
jb 0x4f7837
mov eax, dword [esp + 0x78]
push eax
call 0x5600be
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0x98], 8
cmp dword [esp + 0x70], ebp
jb 0x4f786b
mov ecx, dword [esp + 0x5c]
push ecx
call 0x5600be
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x34]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp eax, 2
jne 0x4f78f6
cmp dword [edi + 0x18], ebp
jb 0x4f78a3
mov edi, dword [edi + 4]
jmp 0x4f78a6
add edi, 4
push edi
call 0x58568d
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
sub ecx, edi
mov dword [esi + 0x28], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 4
cmp ecx, 1
ja 0x4f78dd
call 0x5846f9
mov edi, dword [esp + 0x34]
cmp dword [edi + 0x34], ebp
jb 0x4f78e7
mov edi, dword [edi + 0x20]
jmp 0x4f78ea
add edi, 0x20
push edi
call 0x58568d
add esp, 4
mov dword [esi + 0x2c], eax
mov byte [esp + 0x98], 2
lea edx, [esp + 0x28]
push edx
call fcn.004f7bd0
mov byte [esp + 0x98], 1
lea eax, [esp + 0x40]
push eax
call fcn.004f7bd0
mov dword [esp + 0x98], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8