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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47a416
sub esp, 0x68
call fcn.00438ad0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test edx, edx
jle 0x47a3f4
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x64], ebp
xor ebp, ebp
jmp 0x47a39d
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov edx, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
cmp esi, edx
jge 0x47a26a
mov dword [esp + 0x38], edx
sub edx, esi
mov dword [esp + 0x44], edx
shr edx, 0x1f
mov edi, dword [esp + 0x44]
add edx, edi
sar edx, 1
mov dword [esp + 0x44], edx
lea edi, [edx + esi]
mov edx, dword [esp + 0x34]
cmp edi, edx
jae 0x47a405
mov dword [esp + 0x40], edi
mov eax, dword [ebx + edi*4]
nop
add eax, ebp
mov dword [esp], eax
call fcn.004760e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
call fcn.00402250
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x47a255
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
jmp 0x47a1b4
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
lea ecx, [ebx + edx + 1]
mov eax, dword [esp + 0x38]
jmp 0x47a1b4
mov edx, dword [esp + 0x34]
jmp 0x47a2a1
mov ecx, dword [esp + 0x3c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov edi, ebx
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x24], edi
cmp esi, edx
jge 0x47a369
jae 0x47a3fc
mov dword [esp + 0x3c], esi
mov eax, dword [ebx + esi*4]
nop
add eax, ebp
mov dword [esp + 0x5c], eax
mov dword [esp], eax
call fcn.004760e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
cmp dword [esp + 8], ecx
jne 0x47a369
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00402370
movzx eax, byte [esp + 0xc]
test al, al
je 0x47a369
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
ja 0x47a332
mov eax, dword [esp + 0x64]
lea edi, [eax + edx*4]
mov esi, dword [0xc6be00]
test esi, esi
jne 0x47a320
mov esi, dword [esp + 0x5c]
mov dword [eax + edx*4], esi
jmp 0x47a270
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00451ff0
mov eax, ecx
jmp 0x47a270
lea eax, [0x8b8ce0]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043d1d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x24]
jmp 0x47a307
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
jge 0x47a3d8
mov eax, dword [esp + 0x60]
add eax, 0xc
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x24]
mov ebx, eax
mov ebp, edx
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x60], ebx
mov edx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebp, ecx
jae 0x47a40e
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], ebx
mov ebp, dword [eax + ebp*4]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
jmp 0x47a1d6
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x68
ret
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x47a3e4
mov eax, esi
mov ecx, edx
call fcn.00452070
mov eax, edi
mov ecx, edx
call fcn.00452070
mov eax, ebp
call fcn.00452070
nop
call fcn.004507b0
jmp fcn.0047a160