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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5aadbd
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
movzx ebp, byte [esp + 0x9c]
xchg ebp, eax
mov byte [esp], al
xchg ebp, eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005ab030
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x38], esi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x5aada4
mov dword [esp + 0x4c], edi
xor eax, eax
lea edi, [esp + 0x6c]
call fcn.0045e87b
mov ecx, dword [esp + 0x98]
mov edi, edx
movzx edx, byte [ecx + 0x2c]
test dl, dl
je 0x5aab19
mov edx, 1
jmp 0x5aab25
mov edx, dword [esp + 0xa0]
test edx, edx
sete dl
mov byte [esp + 0x32], dl
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebx
test ebx, ebx
seta bl
test ebp, ebp
seta dl
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
or edx, ebp
test dl, dl
je 0x5aac35
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
lea edi, [esp + 0x80]
call fcn.0045e87b
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.005aa270
movzx ecx, byte [esp + 0x20]
mov byte [esp + 0x33], cl
lea edi, [esp + 0x80]
lea esi, [esp + 0xc]
call fcn.0045ed5e
lea edi, [esp + 0x58]
lea esi, [esp + 0x80]
call fcn.0045ed5e
movzx ecx, byte [esp + 0x33]
test cl, cl
je 0x5aabd4
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
jmp 0x5aac8a
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00408da0
mov eax, dword [esp + 4]
lea ecx, [0x69fc80]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x69fc6c]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.00409020
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x94
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
movzx eax, byte [esp + 0x32]
mov byte [esp + 0x10], al
call fcn.005ab3a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
test edx, edx
jne 0x5aad8b
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0x32]
mov byte [esp + 0x10], cl
call fcn.005ab3a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
test edx, edx
jne 0x5aad72
mov ecx, dword [esp + 0x98]
mov dword [ecx + 0x38], ebp
mov dword [ecx + 0x3c], edi
mov edx, dword [0x816df0]
test edx, edx
jne 0x5aacfe
mov dword [ecx + 0x34], esi
jmp 0x5aad08
lea edi, [ecx + 0x34]
mov eax, esi
call fcn.0045e5d0
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x5aad36
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x6c]
call fcn.0045ed5e
call fcn.005aa010
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
cmp eax, 2
sete al
mov byte [esp + 0x7c], al
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0x6c]
call fcn.0045ed5e
call fcn.005aadd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x94
ret
mov dword [esp + 0xa4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa8], eax
add esp, 0x94
ret
mov dword [esp + 0xa4], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa8], eax
add esp, 0x94
ret
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa8], eax
add esp, 0x94
ret
call fcn.0045d190
jmp fcn.005aaa70