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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1cc]
cmp eax, dword [ecx + 8]
jbe 0x4f7db5
sub esp, 0x24c
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00459a8b
mov ecx, dword [esp + 0x254]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x258]
mov dword [esp + 0x68], edx
lea edi, [esp + 0x3c]
lea esi, [esp + 0x64]
call fcn.00459f6e
mov ecx, dword [0x700d8c]
mov ebx, dword [0x700d88]
mov ebp, dword [esp + 0x250]
cmp ebp, ecx
jae 0x4f7dad
mov eax, dword [ebx + ebp*4]
mov dword [esp + 0x30], eax
lea ecx, [0x51dd80]
mov dword [esp], ecx
call fcn.0040b120
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
lea edi, [esp + 4]
mov dword [esp + 0x34], edi
lea esi, [esp + 0x3c]
call fcn.00459f6e
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], 1
call fcn.004f7f60
movzx eax, byte [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov dword [edx], ecx
test al, al
jne 0x4f7d9e
lea eax, [0x535c40]
mov dword [esp], eax
call fcn.0040b120
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00459a1b
lea edi, [esp + 0x200]
mov esi, dword [esp + 0x30]
call fcn.00459f78
lea edi, [esp + 0x210]
lea esi, [esp + 0x3c]
call fcn.00459f6e
mov eax, dword [esp + 0x258]
mov dword [esp + 0x224], eax
mov ecx, dword [0x73c0c0]
test ecx, ecx
jne 0x4f7d7b
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x78]
call fcn.00459b0e
lea eax, [0x525b40]
mov dword [esp], eax
call fcn.0040b120
mov eax, dword [esp + 4]
lea ecx, [0x4f94b0]
mov dword [eax], ecx
mov ecx, dword [0x73c0c0]
test ecx, ecx
jne 0x4f7d62
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x258]
mov dword [eax + 0xc], edx
mov ebx, dword [0x73c0c0]
test ebx, ebx
jne 0x4f7d4a
mov ebx, dword [esp + 0x254]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [ebx + 0x1c8], 0
mov dword [ebx + 0x1cc], 0
mov ebp, dword [0x73c0c0]
test ebp, ebp
jne 0x4f7d2c
mov dword [ebx + 0x1c4], 0
mov dword [ebx + 0x1d0], eax
jmp 0x4f7ce5
mov eax, dword [esp + 0x2c]
lea esi, [eax + 0x198]
lea edi, [esp + 0x50]
call fcn.00459f6e
lea ecx, [eax + 0x188]
mov edx, dword [esp + 0x38]
mov ebx, dword [edx]
mov dword [esp], ecx
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x50]
call fcn.00459f6e
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], 1
call fcn.004f7f60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov edx, dword [esp + 0x258]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ecx]
cmp eax, edx
jge 0x4f7d1d
mov dword [esp], ebx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004f8200
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
test eax, eax
jge 0x4f7c88
mov byte [esp + 0x25c], 0
add esp, 0x24c
ret
mov byte [esp + 0x25c], 1
add esp, 0x24c
ret
lea edi, [ebx + 0x1c4]
mov ebp, eax
xor eax, eax
call fcn.00459850
lea edi, [ebx + 0x1d0]
mov eax, ebp
call fcn.00459850
jmp 0x4f7ce5
lea edi, [eax + 8]
mov ebx, eax
mov eax, dword [esp + 0x254]
call fcn.00459850
mov eax, ebx
jmp 0x4f7c50
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.00459850
mov eax, ecx
mov ecx, dword [esp + 0x38]
jmp 0x4f7c2e
lea eax, [0x535c40]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call fcn.0040fb80
jmp 0x4f7bff
mov byte [esp + 0x25c], 1
add esp, 0x24c
ret
mov eax, ebp
call fcn.004598d0
nop
call fcn.00458300
jmp fcn.004f7ac0