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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x5ae76d
sub esp, 0x90
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x24], eax
lea ecx, [0x6c7b00]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x3c], edx
xor ebx, ebx
jmp 0x5ae4e1
mov ebp, dword [esp + 0x50]
lea ecx, [ebp + 0x1c]
lea ebp, [eax + 1]
mov eax, ebx
mov edx, dword [esp + 0x3c]
mov ebx, ebp
cmp ebx, edx
jge 0x5ae642
mov dword [esp + 0x28], ebx
mov dword [esp + 0x50], ecx
lea edi, [esp + 0x74]
mov esi, ecx
call fcn.004664ba
movzx eax, byte [esp + 0x76]
mov byte [esp + 0x13], al
movzx ecx, word [esp + 0x74]
mov word [esp + 0x1d], cx
mov byte [esp + 0x1f], al
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x38], ecx
movzx edx, byte [esp + 0x1d]
mov dword [esp + 0x34], edx
movzx ebx, byte [esp + 0x1e]
mov dword [esp + 0x30], ebx
lea ebp, [0x6b2e00]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x2c], ecx
lea edx, [0x6b2e60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00465fe9
mov eax, dword [esp + 0x34]
shl eax, 0x10
mov ecx, dword [esp + 0x30]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x13]
movzx eax, al
or eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
xor edx, edx
jmp 0x5ae677
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x88]
xor eax, eax
jmp 0x5ae6f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jae 0x5ae757
imul edx, eax, 0x1c
mov ebx, dword [esp + 0x54]
lea edi, [ebx + edx]
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x5ae61b
lea esi, [esp + 0x58]
call fcn.004664ba
jmp 0x5ae4cf
lea eax, [0x6c7b00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call fcn.004115f0
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x54]
jmp 0x5ae4cf
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
lea ebx, [esi + edi*8]
mov dword [ebx], edx
lea ebx, [esi + edi*8 + 4]
movzx ebp, byte [esp + 0x13]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
lea edx, [edi + 1]
cmp edx, ecx
jge 0x5ae5d4
mov ebx, dword [eax + edx*4]
mov dword [esp + 0x20], ebx
movzx ebx, byte [esp + 0x22]
movzx ebp, word [esp + 0x20]
mov word [esp + 0x1a], bp
mov byte [esp + 0x1c], bl
mov ebp, dword [esp + 0x58]
mov esi, ebp
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x38], ebp
mov edi, edx
movzx edx, byte [esp + 0x23]
mov byte [esp + 0x13], dl
movzx edx, byte [esp + 0x1a]
shl edx, 0x10
movzx ebp, byte [esp + 0x1b]
shl ebp, 8
or ebp, edx
movzx edx, bl
or edx, ebp
mov ebx, dword [esp + 0x38]
cmp edi, ebx
jb 0x5ae662
jmp 0x5ae763
lea ebp, [edi + eax*8]
mov dword [ebp], ebx
lea ebp, [edi + eax*8 + 4]
mov edx, ebp
movzx ebp, word [esp + 0x14]
mov word [edx], bp
lea edx, [esi + 6]
inc eax
mov ebx, ecx
cmp eax, ebx
jge 0x5ae5e9
mov ebp, dword [edx]
mov ecx, ebx
movzx ebx, word [edx + 4]
mov dword [esp + 0x42], ebp
mov word [esp + 0x46], bx
movzx ebx, byte [esp + 0x44]
movzx ebp, word [esp + 0x42]
mov word [esp + 0x17], bp
mov byte [esp + 0x19], bl
mov ebp, dword [esp + 0x64]
mov esi, edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x38], edx
mov edi, ebp
movzx ebp, word [esp + 0x46]
mov word [esp + 0x14], bp
movzx ebp, byte [esp + 0x17]
shl ebp, 0x10
movzx edx, byte [esp + 0x18]
shl edx, 8
or edx, ebp
movzx ebx, bl
or ebx, edx
mov edx, dword [esp + 0x38]
cmp eax, edx
jb 0x5ae6d6
jmp 0x5ae75c
call fcn.00465e00
mov ecx, edx
call fcn.00465e00
mov eax, edi
mov ecx, ebx
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.005ae470