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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47eecf
sub esp, 0x6c
call fcn.0045d030
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov ebx, dword [esp + 4]
test ecx, ecx
je 0x47ec6d
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x54], edx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x5c], ebp
xor ebp, ebp
jmp 0x47eca3
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
add eax, 0xc
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x24]
mov ebp, edx
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp ebp, ebx
jae 0x47eec5
mov dword [esp + 0x30], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], edi
mov edx, dword [edx + ebp*4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
jmp 0x47ed2a
mov esi, dword [esp + 0x34]
jmp 0x47edd8
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
lea edx, [ebp + 1]
cmp ecx, edx
jg 0x47ec86
jmp 0x47eea2
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov esi, eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x40]
cmp esi, ebx
jle 0x47ecdf
mov dword [esp + 0x3c], esi
sub esi, ebx
sar esi, 1
lea ebp, [esi + ebx]
mov ebx, dword [esp + 0x34]
cmp ebx, ebp
jbe 0x47eebc
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov eax, dword [edi + ebp*4]
nop
add eax, edx
mov dword [esp], eax
call fcn.0047d890
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
call fcn.00402620
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x47ed98
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
jmp 0x47ed04
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
lea edx, [ebx + edx + 1]
mov eax, dword [esp + 0x3c]
jmp 0x47ed04
mov ecx, dword [esp + 0x38]
inc ecx
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
jge 0x47ecf8
jae 0x47eeb3
mov dword [esp + 0x38], ebx
mov eax, dword [edi + ebx*4]
nop
add eax, edx
mov dword [esp + 0x64], eax
mov dword [esp], eax
call fcn.0047d890
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
cmp dword [esp + 8], ecx
jne 0x47ecec
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00402710
movzx eax, byte [esp + 0xc]
test al, al
je 0x47ece8
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x47ee40
mov eax, dword [esp + 0x5c]
jmp 0x47ee77
lea eax, [0x50fc60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00449cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ebp, edx
mov edx, dword [esp + 0x24]
mov esi, dword [0x61b8e0]
lea edi, [eax + edx*4]
test esi, esi
jne 0x47ee90
mov esi, dword [esp + 0x64]
mov dword [eax + edx*4], esi
jmp 0x47edad
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00460010
mov eax, ecx
jmp 0x47edad
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
jmp 0x47ec73
mov eax, ebx
mov ecx, esi
call fcn.00460090
mov eax, ebp
mov ecx, ebx
call fcn.00460090
mov eax, ebp
mov ecx, ebx
call fcn.00460090
nop
call fcn.0045ec00
jmp fcn.0047ec20