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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f830d
sub esp, 0x58
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
xor edx, edx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4f80f1
add eax, 0x14
inc edx
cmp ebx, edx
jle 0x4f822a
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], eax
lea edi, [esp + 0x44]
mov esi, eax
call fcn.0046875e
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4f8127
mov esi, 1
jmp 0x4f8156
mov eax, dword [ecx]
lea edi, [esp]
lea esi, [esp + 0x44]
call fcn.0046875e
mov edx, dword [esp + 0x5c]
call eax
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4f8166
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
jmp 0x4f80ed
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
lea edi, [esp]
lea esi, [esp + 0x44]
call fcn.0046875e
mov ecx, dword [esp + 0x28]
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
cmp ebx, ebp
jb 0x4f81a5
mov edi, dword [esp + 0x34]
jmp 0x4f81eb
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x66b5e0]
mov dword [esp + 0x10], eax
call fcn.0044d800
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebx, ebp
mov ebp, eax
mov eax, dword [esp + 0x38]
lea edx, [edi + ebp*8 - 8]
mov dword [edx], ecx
mov ecx, dword [0x85d680]
lea edx, [edi + ebp*8 - 4]
test ecx, ecx
je 0x4f820f
mov ecx, edi
call fcn.00468040
mov dword [edi], eax
mov esi, dword [edx]
mov dword [edi + 4], esi
mov edi, ecx
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov esi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x64]
jmp 0x4f80ed
test esi, esi
jne 0x4f82e4
mov eax, dword [0x8327b0]
mov ecx, dword [0x8327b4]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
lea edx, [0x66f680]
mov dword [esp], edx
call fcn.0040c260
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x4f827f
mov ecx, dword [esp + 0x3c]
jmp 0x4f828a
call fcn.00468030
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x85d680]
test ecx, ecx
jne 0x4f82a3
mov ecx, dword [esp + 0x70]
jmp 0x4f82ae
call fcn.00468030
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6f1c9c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x58
ret
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x58
ret
call fcn.00466c30
jmp fcn.004f80c0