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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ae44d
sub esp, 0x18
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0xac], 0
mov dword [ecx + 0xb0], 0
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5ae057
mov dword [ecx + 0xa8], 0
jmp 0x5ae064
lea edi, [ecx + 0xa8]
xor eax, eax
call fcn.0045e950
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xc0], 0
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5ae08e
mov dword [ecx + 0xb8], 0
jmp 0x5ae09b
lea edi, [ecx + 0xb8]
xor eax, eax
call fcn.0045e950
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 0
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5ae0c5
mov dword [ecx + 0xc4], 0
jmp 0x5ae0d2
lea edi, [ecx + 0xc4]
xor eax, eax
call fcn.0045e950
mov dword [ecx + 0xd4], 0
mov dword [ecx + 0xd8], 0
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5ae0fc
mov dword [ecx + 0xd0], 0
jmp 0x5ae109
lea edi, [ecx + 0xd0]
xor eax, eax
call fcn.0045e950
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x34]
mov eax, dword [edx + 0x30]
mov ebp, dword [edx + 0x38]
test ebx, ebx
je 0x5ae143
mov dword [ecx + 0xe8], ebx
mov dword [ecx + 0xec], ebp
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x5ae138
mov dword [ecx + 0xe4], eax
jmp 0x5ae143
lea edi, [ecx + 0xe4]
call fcn.0045e950
mov ebx, dword [edx + 0x40]
mov eax, dword [edx + 0x3c]
mov ebp, dword [edx + 0x44]
test ebx, ebx
je 0x5ae179
mov dword [ecx + 0xf4], ebx
mov dword [ecx + 0xf8], ebp
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x5ae16e
mov dword [ecx + 0xf0], eax
jmp 0x5ae179
lea edi, [ecx + 0xf0]
call fcn.0045e950
mov ebx, dword [edx + 0x4c]
mov eax, dword [edx + 0x48]
mov ebp, dword [edx + 0x50]
test ebx, ebx
je 0x5ae1af
mov dword [ecx + 0x100], ebx
mov dword [ecx + 0x104], ebp
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x5ae1a4
mov dword [ecx + 0xfc], eax
jmp 0x5ae1af
lea edi, [ecx + 0xfc]
call fcn.0045e950
mov ebx, dword [edx + 0x58]
mov eax, dword [edx + 0x54]
mov ebp, dword [edx + 0x5c]
test ebx, ebx
je 0x5ae1e5
mov dword [ecx + 0x10c], ebx
mov dword [ecx + 0x110], ebp
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x5ae1da
mov dword [ecx + 0x108], eax
jmp 0x5ae1e5
lea edi, [ecx + 0x108]
call fcn.0045e950
movzx eax, byte [edx]
cmp al, 6
jg 0x5ae316
cmp al, 5
je 0x5ae2de
cmp al, 6
jne 0x5ae444
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x5ae23e
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 0
call fcn.005ad4c0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5ae2d5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x70]
mov ebx, dword [edx + 0x6c]
mov ebp, dword [edx + 0x74]
test eax, eax
je 0x5ae29f
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5ae26f
movzx esi, byte [edx + 0x84]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5ae29f
movzx esi, byte [edx + 0x85]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5ae29f
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005ad660
movzx eax, byte [esp + 0x10]
test al, al
je 0x5ae296
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x5ae29f
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x7c]
mov edx, dword [edx + 0x80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.005ad820
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5ae444
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov eax, dword [edx + 0x60]
mov ebx, dword [edx + 0x64]
mov edx, dword [edx + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 1
call fcn.005ad4c0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5ae444
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp al, 7
jne 0x5ae3b3
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x5ae356
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 0
call fcn.005ad4c0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5ae3aa
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x70]
mov ebx, dword [edx + 0x6c]
mov ebp, dword [edx + 0x74]
test eax, eax
je 0x5ae444
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5ae380
movzx edx, byte [edx + 0x84]
test dl, dl
jne 0x5ae444
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005ad660
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5ae444
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
cmp al, 9
jne 0x5ae444
mov eax, dword [edx + 0x64]
mov ebx, dword [edx + 0x60]
mov ebp, dword [edx + 0x68]
test eax, eax
je 0x5ae3f3
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov byte [esp + 0x10], 0
call fcn.005ad4c0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5ae43b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x70]
mov ebx, dword [edx + 0x6c]
mov ebp, dword [edx + 0x74]
test eax, eax
je 0x5ae444
movzx esi, byte [ecx + 0x40]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5ae415
movzx edx, byte [edx + 0x84]
test dl, dl
jne 0x5ae444
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.005ad660
movzx eax, byte [esp + 0x10]
test al, al
jne 0x5ae444
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 0
add esp, 0x18
ret
mov byte [esp + 0x24], 1
add esp, 0x18
ret
call fcn.0045d540
jmp fcn.005ae010