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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x470b85
sub esp, 0x68
call fcn.00436470
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test edx, edx
jle 0x470b68
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], edx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x28], ebp
xor ebp, ebp
jmp 0x470b11
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
mov edx, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
cmp eax, edx
jge 0x4709df
mov dword [esp + 0x38], edx
sub edx, eax
mov dword [esp + 0x44], edx
shr edx, 0x1f
mov ebp, dword [esp + 0x44]
add edx, ebp
sar edx, 1
lea ebp, [edx + eax]
mov esi, dword [esp + 0x34]
cmp ebp, esi
jae 0x470b77
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ebp
nop
mov eax, dword [ebx + ebp*4]
nop
add eax, ecx
mov dword [esp], eax
call fcn.0046c790
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.00401ec0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4709ca
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
jmp 0x470924
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
lea ecx, [ebx + edx + 1]
mov eax, dword [esp + 0x38]
jmp 0x470924
mov edx, dword [esp + 0x34]
jmp 0x470a10
mov ecx, dword [esp + 0x3c]
inc ecx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
mov edi, eax
mov esi, edx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov eax, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x60], edi
mov dword [esp + 0x24], esi
cmp eax, edx
jge 0x470add
jae 0x470b70
mov dword [esp + 0x3c], eax
nop
mov edx, dword [ebx + eax*4]
nop
add edx, ecx
mov dword [esp + 0x5c], edx
mov dword [esp], edx
call fcn.0046c790
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
cmp dword [esp + 8], ecx
jne 0x470add
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00402010
movzx eax, byte [esp + 0xc]
test al, al
je 0x470add
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
ja 0x470aa6
mov eax, dword [esp + 0x60]
lea edi, [eax + ecx*4]
mov ebp, dword [0xb91180]
test ebp, ebp
jne 0x470a94
mov ebp, dword [esp + 0x5c]
mov dword [eax + ecx*4], ebp
jmp 0x4709e5
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044f0d0
mov eax, ecx
jmp 0x4709e5
lea eax, [0x80e3c0]
mov dword [esp], eax
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0043a950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x24]
jmp 0x470a7b
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jge 0x470b4c
mov edx, dword [esp + 0x64]
lea ebx, [edx + 0xc]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x60]
mov ecx, ebp
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], ebx
mov edx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebp, eax
jae 0x470b7e
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], ebx
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
jmp 0x47094a
mov eax, dword [esp + 0x60]
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 0x470b58
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.004708d0