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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f4d22
sub esp, 0x58
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4f4af6
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4f4bf9
xor eax, eax
xor ecx, ecx
xor edx, edx
test eax, eax
jne 0x4f4bbb
mov eax, dword [0x854ea8]
mov ecx, dword [0x854eac]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], ecx
lea edx, [0x6371c0]
mov dword [esp], edx
call fcn.0040b7c0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0x87bd00]
test eax, eax
jne 0x4f4b53
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
jmp 0x4f4b5c
mov eax, dword [esp + 0x40]
call fcn.004626c0
mov ecx, dword [esp + 0x74]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x87bd00]
test ecx, ecx
jne 0x4f4b76
mov eax, dword [esp + 0x70]
mov dword [edi + 8], eax
jmp 0x4f4b88
lea ecx, [edi + 8]
mov eax, dword [esp + 0x70]
mov edx, edi
mov edi, ecx
call fcn.004626c0
mov edi, edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x6c384c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x58
ret
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x58
ret
mov esi, dword [esp + 0x3c]
add esi, 0x14
mov dword [esp + 0x2c], eax
mov eax, ecx
mov ecx, esi
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], esi
lea edi, [esp + 0x44]
mov esi, ecx
call fcn.00462e1e
test edx, edx
jne 0x4f4c23
mov ecx, 1
jmp 0x4f4c4a
mov eax, dword [edx]
lea edi, [esp]
lea esi, [esp + 0x44]
call fcn.00462e1e
call eax
movzx eax, byte [esp + 0x14]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x64]
test cl, cl
jne 0x4f4c5b
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
jmp 0x4f4d10
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
lea edi, [esp]
lea esi, [esp + 0x44]
call fcn.00462e1e
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
lea ebp, [ebx + 1]
mov edx, eax
mov eax, dword [esp + 0x24]
cmp eax, ebp
jb 0x4f4c8e
mov edi, dword [esp + 0x34]
jmp 0x4f4cd5
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], edx
lea ecx, [0x632940]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.0044b2b0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
mov eax, esi
mov esi, ebp
lea ebp, [edi + ebx*8]
mov dword [ebp], ecx
mov ecx, dword [0x87bd00]
lea ebx, [edi + ebx*8 + 4]
test ecx, ecx
jne 0x4f4cef
mov dword [ebx], edx
jmp 0x4f4d00
mov ecx, edi
mov edi, ebx
mov ebp, eax
mov eax, edx
call fcn.004626c0
mov eax, ebp
mov edi, ecx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
mov ecx, eax
mov ebp, esi
mov eax, dword [esp + 0x64]
inc ebx
cmp eax, ebx
jg 0x4f4be4
mov eax, ebp
mov edx, edi
jmp 0x4f4afc
call fcn.004612b0
jmp fcn.004f4ac0