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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [ecx + 0x24]
mov esi, dword [ecx + 0x20]
mov dword [esp + 4], ecx
test edi, edi
je 0x1006aada
mov ebp, dword [sym.imp.kernel32.dll_HeapFree]
lea ebx, [esi + 4]
jmp 0x1006aac6
add ebx, 0x24
dec edi
je 0x1006aada
cmp dword [ebx - 4], 0
je 0x1006aac0
push dword [ebx]
push 0
push dword [0x101990e0]
call ebp
jmp 0x1006aac0
mov edi, dword [esp + 4]
cmp dword [edi + 0x1c], 0
je 0x1006aaf3
push esi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x30]
test ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
je 0x1006ac1d
xor esi, esi
jmp 0x1006ab4d
cmp dword [edi + 0x28], 0
mov ecx, 0x2c
je 0x1006ab29
push dword [edi + ecx]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [edi + 0x4c]
mov ecx, edi
call fcn.1006f990
push edi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
inc esi
cmp esi, dword [esp + 0x10]
je 0x1006ac1d
mov ecx, dword [esp + 0xc]
imul eax, esi, 0x6c
mov ebx, dword [ecx + eax]
lea edx, [ecx + eax]
mov dword [esp], edx
cmp ebx, 0x80000000
jne 0x1006aba0
mov ebp, dword [edx + 0xc]
mov edi, dword [edx + 8]
test ebp, ebp
je 0x1006ab8d
mov ebx, edi
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, ebx
call fcn.1006f990
add ebx, 0x74
dec ebp
jne 0x1006ab80
mov eax, dword [esp]
cmp dword [eax + 4], 0
jne 0x1006ab33
jmp 0x1006ab42
mov ebp, dword [edx + 8]
mov eax, dword [edx + 4]
test ebp, ebp
mov dword [esp + 8], eax
je 0x1006abcd
mov edi, dword [esp + 8]
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, edi
call fcn.1006f990
add edi, 0x74
dec ebp
jne 0x1006abc0
test ebx, ebx
je 0x1006abe3
push dword [esp + 8]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esp]
mov edx, 1
mov eax, dword [edi + 0x24]
lea ecx, [eax - 0x80000000]
cmp ecx, 3
cmovae ecx, edx
test ecx, ecx
je 0x1006ab29
cmp ecx, 1
jne 0x1006ab0d
mov ecx, 0x28
test eax, eax
jne 0x1006ab18
jmp 0x1006ab29
mov esi, dword [esp + 4]
cmp dword [esi + 0x2c], 0
je 0x1006ac39
push dword [esp + 0xc]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [esi + 0x40]
mov esi, dword [esi + 0x44]
test esi, esi
je 0x1006ad20
xor ebp, ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
jmp 0x1006ac73
add edi, 4
mov ecx, edi
call fcn.1006fcc0
inc ebp
cmp ebp, esi
je 0x1006ad20
imul eax, ebp, 0x98
cmp dword [ebx + eax], 0x110009
lea edi, [ebx + eax]
je 0x1006ac60
mov esi, dword [edi + 0x7c]
mov eax, dword [edi + 0x78]
test esi, esi
mov dword [esp], eax
je 0x1006acad
mov ebx, dword [esp]
nop word cs:[eax + eax]
nop
mov ecx, ebx
call fcn.1006fb80
add ebx, 0x58
dec esi
jne 0x1006aca0
cmp dword [edi + 0x74], 0
je 0x1006acc4
push dword [esp]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, edi
call fcn.100967e0
cmp dword [edi], 0x110008
mov esi, dword [esp + 0xc]
jne 0x1006ad10
mov ebx, dword [edi + 4]
mov ecx, ebx
call fcn.1006fcc0
push ebx
push 0
push dword [0x101990e0]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
call ebx
mov edi, dword [edi + 8]
mov ecx, edi
call fcn.1006fcc0
push edi
push 0
push dword [0x101990e0]
call ebx
mov ebx, dword [esp + 8]
jmp 0x1006ac6a
mov ecx, edi
call fcn.1006fb80
mov ebx, dword [esp + 8]
jmp 0x1006ac6a
mov edi, dword [esp + 4]
cmp dword [edi + 0x3c], 0
je 0x1006ad39
push ebx
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [edi + 0x50]
mov edi, dword [edi + 0x54]
test edi, edi
je 0x1006ad6a
mov ebp, dword [sym.imp.kernel32.dll_HeapFree]
lea ebx, [esi + 4]
jmp 0x1006ad56
add ebx, 0x28
dec edi
je 0x1006ad6a
cmp dword [ebx - 4], 0
je 0x1006ad50
push dword [ebx]
push 0
push dword [0x101990e0]
call ebp
jmp 0x1006ad50
mov edi, dword [esp + 4]
cmp dword [edi + 0x4c], 0
je 0x1006ad83
push esi
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [edi + 0x5c], 0
je 0x1006ad9a
push dword [edi + 0x60]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 8]
test ebx, ebx
mov dword [esp], eax
je 0x1006ae15
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [esp]
xor ebp, ebp
jmp 0x1006adc6
add edi, 0x1c
dec ebx
je 0x1006ae15
movzx eax, byte [edi]
mov ecx, eax
add al, 0xf8
add cl, 0xf7
movzx eax, al
cmp cl, 5
cmovae eax, ebp
cmp al, 2
je 0x1006ae00
movzx eax, al
cmp eax, 1
je 0x1006ae00
test eax, eax
jne 0x1006adc0
mov ecx, edi
call fcn.1006ae40
jmp 0x1006adc0
cmp dword [edi + 4], 0
je 0x1006adc0
push dword [edi + 8]
push 0
push dword [0x101990e0]
call esi
jmp 0x1006adc0
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0
je 0x1006ae30
push dword [esp]
push 0
push dword [0x101990e0]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret