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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f9a99
sub esp, 0x60
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4f9885
lea eax, [0x73b4e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044b030
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4f98d7
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
mov edi, dword [esp + 0x5c]
add edi, 0x14
inc ebx
mov dword [esp + 0x34], eax
mov eax, ecx
mov ecx, edi
mov edi, esi
mov esi, ebp
mov ebp, eax
mov eax, dword [esp + 0x34]
cmp edx, ebx
jle 0x4f9a6d
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x5c], ecx
lea edi, [esp + 0x3c]
mov esi, ecx
call fcn.00464b3e
xchg ebp, eax
test al, al
xchg ebp, eax
jbe 0x4f9909
lea ecx, [ebp - 1]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x4f98bd
mov dword [esp + 0x30], ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
call fcn.004f9750
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x4f9a3d
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x58], ebx
movzx eax, byte [esp + 0x4d]
mov byte [esp + 0x23], al
lea ecx, [0x78cc80]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x4f998d
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
jmp 0x4f999a
mov edi, eax
mov eax, dword [esp + 0x58]
call fcn.004643b0
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
movzx ecx, word [esp + 0x48]
mov word [eax + 0xc], cx
movzx ecx, word [esp + 0x4a]
mov word [eax + 0xe], cx
movzx ecx, byte [esp + 0x4c]
mov byte [eax + 0x10], cl
mov ecx, dword [esp + 0x24]
inc ecx
mov edx, dword [esp + 0x28]
cmp edx, ecx
jb 0x4f99ce
mov ebx, dword [esp + 0x50]
jmp 0x4f9a0c
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x73b4e0]
mov dword [esp + 0x10], eax
call fcn.0044b1b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov edx, esi
mov eax, dword [esp + 0x54]
mov ebp, dword [0xaab020]
lea edi, [ebx + ecx*4 - 4]
test ebp, ebp
jne 0x4f9a20
mov dword [ebx + ecx*4 - 4], eax
jmp 0x4f9a25
call fcn.004643b0
mov ebp, edx
mov esi, ecx
mov eax, ebx
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x30]
movzx ecx, byte [esp + 0x23]
jmp 0x4f98bd
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x60
ret
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
call fcn.00462fa0
jmp fcn.004f9830