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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov ecx, dword [eax - 4]
push ebx
push esi
lea esi, [eax - 4]
lea edx, [ecx*8]
sub edx, ecx
sub ecx, 1
push edi
mov dword [esp + 0x1c], esi
lea eax, [eax + edx*4]
mov dword [esp + 0x18], ecx
js 0x6aa801
add eax, 0x14
jmp 0x6aa618
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0x1c]
sub eax, 0x1c
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x14], eax
je 0x6aa6fa
mov dword [esp + 0x24], ebx
mov eax, 0x100ef4b8
mov ecx, 0x100ef4b4
mov dword [esp + 0x2c], ebx
lea edx, [esp + 0x60]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
lea ebx, [esp + 0x13]
mov edi, edx
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
call fcn.006e5220
test al, al
je 0x6aa682
mov eax, dword [esp + 0x70]
add dword [eax], 1
mov al, 1
push esi
mov byte [esp + 0x80], al
mov eax, dword [0x100ef808]
push 1
push eax
call dword [0x100cf260]
cmp byte [esp + 0x7c], 0
je 0x6aa6e7
mov edi, dword [esp + 0x78]
mov ecx, dword [edi + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [edi + 0x10]
cmp dword [ecx], 0
lea eax, [edi + 0x10]
jne 0x6aa6e7
mov edx, ecx
mov dword [edx], 0
mov eax, dword [edi + 8]
push 0
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x6aa6e7
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push 0
push 1
push edx
call dword [0x100cf088]
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov dword [eax + 4], 0
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
cmp esi, ebx
je 0x6aa7f2
mov eax, 0x100ef4b8
mov dword [esp + 0x34], ebx
mov edx, dword [esp + 0x34]
mov ecx, 0x100ef4b4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
call fcn.006e5fe0
call dword [0x100cf08c]
mov edx, dword [esp + 0x48]
mov edi, eax
mov eax, dword [edx]
cmp edi, eax
je 0x6aa78c
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
test edx, edx
jne 0x6aa811
mov eax, dword [esp + 0x48]
push ebx
push edi
push eax
call dword [0x100cf090]
test eax, eax
sete al
cmp al, bl
je 0x6aa811
mov ecx, dword [esp + 0x50]
mov dword [ecx], ebx
mov eax, dword [esp + 0x50]
add dword [eax], 1
mov al, 1
mov edx, dword [0x100ef808]
push esi
push 1
push edx
mov byte [esp + 0x68], al
call dword [0x100cf260]
cmp byte [esp + 0x5c], bl
je 0x6aa7f2
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x10]
add dword [ecx], 0xffffffff
mov ecx, dword [eax + 0x10]
mov edi, eax
add eax, 0x10
cmp dword [ecx], ebx
jne 0x6aa7f2
mov edx, ecx
mov dword [edx], ebx
mov eax, dword [edi + 8]
push ebx
push eax
call dword [0x100cf084]
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea eax, [edi + 0xc]
jle 0x6aa7f2
push eax
call dword [0x100cf080]
mov edx, dword [edi + 0x14]
push ebx
push 1
push edx
call dword [0x100cf088]
sub dword [esp + 0x18], 1
jns 0x6aa614
mov esi, dword [esp + 0x1c]
mov eax, esi
call fcn.00622510
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea eax, [esp + 0x44]
call fcn.006e5290
test al, al
jne 0x6aa78c
jmp 0x6aa795