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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47d601
sub esp, 0x68
call fcn.0045a6a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov ebx, dword [esp + 4]
test ecx, ecx
jle 0x47d5dd
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x64], edx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x54], ebp
xor ebp, ebp
jmp 0x47d586
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov edx, ebx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov esi, eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
cmp ebx, esi
jge 0x47d45d
mov dword [esp + 0x38], esi
sub esi, ebx
mov dword [esp + 0x40], esi
shr esi, 0x1f
mov ebp, dword [esp + 0x40]
add ebp, esi
sar ebp, 1
lea esi, [ebp + ebx]
mov ebx, dword [esp + 0x30]
cmp esi, ebx
jae 0x47d5ee
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov eax, dword [edi + esi*4]
nop
add eax, edx
mov dword [esp], eax
call fcn.00478fd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
call fcn.004027b0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x47d448
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
jmp 0x47d3a4
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
lea ecx, [ebx + edx + 1]
mov eax, dword [esp + 0x38]
jmp 0x47d3a4
mov esi, dword [esp + 0x30]
jmp 0x47d48e
mov ecx, dword [esp + 0x34]
inc ecx
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
mov ebx, ecx
mov ecx, dword [esp + 0x28]
cmp ebx, esi
jge 0x47d552
jae 0x47d5e5
mov dword [esp + 0x34], ebx
mov eax, dword [edi + ebx*4]
nop
add eax, edx
mov dword [esp + 0x50], eax
mov dword [esp], eax
call fcn.00478fd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
cmp dword [esp + 8], ecx
jne 0x47d552
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.004028b0
movzx eax, byte [esp + 0xc]
test al, al
je 0x47d552
mov edx, dword [esp + 0x20]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x24]
cmp ebx, ebp
ja 0x47d51b
mov eax, dword [esp + 0x54]
mov esi, dword [0x7a0970]
lea edi, [eax + edx*4]
test esi, esi
jne 0x47d509
mov esi, dword [esp + 0x50]
mov dword [eax + edx*4], esi
jmp 0x47d463
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045de10
mov eax, ecx
jmp 0x47d463
lea eax, [0x60aa60]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00445150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x20]
jmp 0x47d4f0
mov edx, dword [esp + 0x2c]
inc edx
mov ebx, dword [esp + 0x28]
cmp ebx, edx
jle 0x47d5c1
mov eax, dword [esp + 0x60]
add eax, 0xc
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov ebx, dword [esp + 0x44]
mov ebp, edx
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp ebp, ebx
jae 0x47d5f7
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x5c], edi
mov edx, dword [edx + ebp*4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
jmp 0x47d3c8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x47d5cd
mov eax, ebx
mov ecx, esi
call fcn.0045de90
mov eax, esi
mov ecx, ebx
call fcn.0045de90
mov eax, ebp
mov ecx, ebx
call fcn.0045de90
nop
call fcn.0045c8b0
jmp fcn.0047d350