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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47f7c6
sub esp, 0x7c
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x80]
test byte [eax], al
add eax, 4
mov dword [esp + 0x68], eax
mov dword [esp], eax
call fcn.0047a910
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
test byte [eax], al
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], 0
jmp 0x47f4f6
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], ecx
jg 0x47f505
jmp 0x47f5d2
mov ecx, dword [esp + 0x84]
add ecx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x47f520
jmp 0x47f7c0
cmp ecx, 0xffffffff
je 0x47f52a
cdq
idiv ecx
jmp 0x47f52c
xor edx, edx
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0047fc00
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x4c]
test byte [ecx], al
add ecx, 8
mov dword [esp + 0x64], ecx
mov dword [esp], ecx
call fcn.00480680
mov ecx, dword [esp + 4]
movzx edx, byte [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov byte [esp + 0x12], dl
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
movzx ecx, byte [esp + 0x12]
mov byte [esp + 0x11], cl
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
test ecx, ecx
jne 0x47f5b5
jmp 0x47f5c7
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x7c
ret
jmp 0x47f5c9
inc dword [esp + 0x1c]
jmp 0x47f4f6
mov eax, dword [esp + 0x80]
test byte [eax], al
add eax, 0xc
mov dword [esp + 0x60], eax
mov dword [esp], eax
call fcn.0047a140
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x84], eax
jae 0x47f5fd
jmp 0x47f617
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
mov eax, dword [esp + 0x80]
test byte [eax], al
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0047fc00
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
test byte [eax], al
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x47f657
jmp 0x47f69e
mov eax, dword [esp + 0x48]
test byte [eax], al
mov dword [eax], 0
mov ecx, dword [0x5efdd0]
test ecx, ecx
je 0x47f66f
jmp 0x47f671
jmp 0x47f67d
mov ecx, dword [eax + 4]
call fcn.004757b0
mov dword [edi], ecx
jmp 0x47f67d
mov dword [eax + 4], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov dword [esp + 0x18], 0
jmp 0x47f6a8
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x14], ecx
jg 0x47f6b7
jmp 0x47f781
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x47f6cf
jmp 0x47f7bb
cmp ecx, 0xffffffff
je 0x47f6d9
cdq
idiv ecx
jmp 0x47f6db
xor edx, edx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0047fc00
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x44]
test byte [ecx], al
add ecx, 8
mov dword [esp + 0x5c], ecx
mov dword [esp], ecx
call fcn.00480680
mov ecx, dword [esp + 4]
movzx edx, byte [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
mov byte [esp + 0x12], dl
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
movzx ecx, byte [esp + 0x12]
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
test ecx, ecx
jne 0x47f764
jmp 0x47f776
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x7c
ret
jmp 0x47f778
inc dword [esp + 0x18]
jmp 0x47f6a8
mov eax, dword [esp + 0x80]
test byte [eax], al
add eax, 0xc
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0047a180
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
call fcn.0043ad10
call fcn.0043ad10
nop
call fcn.004743b0
jmp fcn.0047f490