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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x507342
sub esp, 0x60
xor eax, eax
xor ecx, ecx
mov edx, eax
xor ebx, ebx
mov ebp, edx
mov esi, ebp
mov edi, esi
mov dword [esp + 0x5c], ebx
jmp 0x50713e
mov byte [esp + 0x22], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x5c], edi
mov edi, ecx
movzx ecx, byte [esp + 0x22]
mov ecx, edx
mov edx, esi
mov esi, ebx
mov ebx, ecx
movzx ecx, byte [esp + 0x22]
mov byte [esp + 0x22], cl
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jge 0x507319
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x38], ebp
mov ecx, dword [esp + 0x64]
lea ebx, [ecx + eax*8]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x4c], ebp
mov ebx, dword [ebx]
mov dword [esp + 0x48], ebx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x70]
mov esi, dword [edx]
call esi
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x507251
mov byte [esp + 0x23], al
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x3c]
cmp ebp, esi
jg 0x50720e
mov edx, dword [esp + 0x58]
lea edi, [edx + ebx*8]
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
lea ecx, [edx + ebx*8 + 4]
mov ebx, dword [0x9cadb0]
test ebx, ebx
jne 0x5071df
mov ebx, dword [esp + 0x4c]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x5c]
jmp 0x50711d
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov dword [esp], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040ecd0
movzx eax, byte [esp + 0x23]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x5071ce
lea eax, [0x6da480]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.004391a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
jmp 0x5071b1
movzx ebx, byte [esp + 0x22]
cmp al, bl
je 0x50719a
mov eax, dword [esp + 0x44]
lea ebp, [eax + 1]
mov esi, dword [esp + 0x40]
cmp ebp, esi
jg 0x5072d6
mov edx, dword [esp + 0x5c]
lea edi, [edx + eax*8]
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
lea eax, [edx + eax*8 + 4]
mov ecx, dword [0x9cadb0]
test ecx, ecx
jne 0x5072a7
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov eax, ebx
mov ecx, esi
mov ebx, ebp
mov edi, edx
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
jmp 0x50711d
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040ecd0
mov edx, dword [esp + 0x50]
movzx ebx, byte [esp + 0x22]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x50728e
lea ecx, [0x6da480]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.004391a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
movzx ebx, byte [esp + 0x22]
jmp 0x507271
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], edi
add esp, 0x60
ret
call fcn.0044ae20
jmp fcn.005070f0