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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x5aabc9
mov al, byte [esi + 0x2d]
mov byte [esp + 0x13], 0
test al, al
jne 0x5aac93
lea edx, [esp + 0x13]
call fcn.0059e290
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
cmp al, 1
jne 0x5aab14
mov eax, dword [esi]
push 0
push ebp
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esi + 0x1c]
mov edx, edi
add ecx, 0x34
mov dword [esp + 0x38], esi
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
lea eax, [esp + 0x38]
mov ecx, dword [ecx + 0xc]
push eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x24]
xor ebx, ebx
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x5aab14
cmp ebx, dword [esp + 0x38]
je 0x5aab0b
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
add eax, 0x34
mov ecx, dword [ecx + ebx*4]
push eax
push ebp
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esi + 0x24]
inc ebx
cmp ebx, dword [eax + 0x10]
jl 0x5aaaf2
mov al, byte [esp + 0x13]
cmp al, 1
jne 0x5aabb9
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x5aabc1
mov edx, dword [esi + 0x20]
mov eax, dword [ecx]
push 1
push 0
mov ebx, dword [edx]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x78]
mov ecx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x28]
add ecx, 0x24
push eax
push ecx
mov ecx, dword [esi + 0x20]
call dword [ebx + 8]
mov edx, dword [esi]
push 0
push ebp
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], esi
add eax, 0x34
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x38]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov ebx, eax
mov eax, dword [esi + 0x24]
xor edi, edi
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x5aabb5
cmp edi, ebx
je 0x5aabac
mov eax, dword [eax + 4]
mov ecx, dword [eax + edi*4]
mov eax, dword [esi + 0x1c]
add eax, 0x34
mov edx, dword [ecx]
push eax
push ebp
call dword [edx + 0x14]
mov eax, dword [esi + 0x24]
inc edi
cmp edi, dword [eax + 0x10]
jl 0x5aab95
mov al, byte [esp + 0x13]
test al, al
je 0x5aac8c
mov byte [esi + 0x2d], al
jmp 0x5aac8c
mov al, byte [esi + 0x2d]
test al, al
jne 0x5aac88
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x5aac88
mov edx, dword [ecx]
lea eax, [esp + 0x24]
push eax
call dword [edx + 0x78]
mov ecx, dword [eax]
push 1
mov dword [esp + 0x18], ecx
push 0
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x20]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x28]
push edx
lea edx, [esp + 0x24]
push edx
call dword [eax + 8]
mov ebx, dword [esp + 0x38]
mov eax, dword [esi]
push 0
push ebx
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], esi
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x38]
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ebp, eax
mov eax, dword [esi + 0x24]
xor edi, edi
mov ecx, dword [eax + 0x10]
test ecx, ecx
jle 0x5aac88
cmp edi, ebp
je 0x5aac7f
mov ecx, dword [eax + 4]
lea eax, [esp + 0x14]
push eax
push ebx
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esi + 0x24]
inc edi
cmp edi, dword [eax + 0x10]
jl 0x5aac6a
mov byte [esi + 0x2d], 1
mov al, byte [esi + 0x2d]
test al, al
je 0x5aaca9
mov al, byte [esi + 0x2c]
test al, al
jne 0x5aaca9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8