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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47d69c
sub esp, 0x74
call fcn.0045ba70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp]
mov dword [esp + 0x58], edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x47d4c1
mov eax, dword [esp + 0x70]
add eax, 0xc
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
cmp ebx, ecx
jge 0x47d50f
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x70], eax
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov edx, dword [edx + ebx*4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
jmp 0x47d544
mov ecx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x6c]
jmp 0x47d4ab
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], esi
add esp, 0x74
ret
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
jle 0x47d5c9
mov dword [esp + 0x38], eax
sub eax, ebx
sar eax, 1
mov dword [esp + 0x4c], eax
lea esi, [eax + ebx]
mov dword [esp + 0x48], esi
mov edi, dword [ecx + esi*4]
nop
add edi, edx
mov dword [esp], edi
call fcn.0047b2f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
call fcn.00402780
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x47d5a3
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
jmp 0x47d528
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
lea ecx, [edx + ecx + 1]
mov eax, dword [esp + 0x38]
jmp 0x47d528
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov edx, dword [esp + 0x5c]
mov ebp, ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
cmp ebx, eax
jge 0x47d4ab
mov dword [esp + 0x34], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], esi
mov eax, dword [ecx + ebx*4]
nop
add eax, edx
mov dword [esp + 0x68], eax
mov dword [esp], eax
call fcn.0047b2f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 8], ecx
jne 0x47d501
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x47d4fd
mov ecx, dword [esp + 0x44]
inc ecx
mov edx, dword [esp + 0x40]
cmp edx, ecx
jb 0x47d63b
mov edi, dword [esp + 0x6c]
mov esi, edx
jmp 0x47d66d
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x66f0e0]
mov dword [esp + 0x10], eax
call fcn.00447550
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [0xe996c0]
lea ebx, [edi + ecx*4 - 4]
test edx, edx
jne 0x47d688
mov eax, dword [esp + 0x68]
mov dword [edi + ecx*4 - 4], eax
jmp 0x47d5b8
mov eax, dword [esp + 0x68]
mov edx, edi
mov edi, ebx
call fcn.0045efc0
mov edi, edx
jmp 0x47d5b8
call fcn.0045dbb0
jmp fcn.0047d470