Function at 0x10006ec0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x38]
push esi
call fcn.100037e0
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
cmp ebx, ebp
jne 0x10006f1d
push str.unknown
push esi
call fcn.10004740
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebp
jne 0x10006f13
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
mov dword [esp + 0x28], 1
mov ebx, eax
mov ecx, dword [ebx + 0x18]
push edi
mov edi, dword [sym.imp.imagehlp.dll_ImageDirectoryEntryToData]
lea eax, [esp + 0x1c]
push eax
push 0xb
push 1
push ecx
call edi
lea edx, [esp + 0x18]
push edx
push 1
mov esi, eax
mov eax, dword [ebx + 0x18]
push 1
push eax
mov dword [esp + 0x34], esi
call edi
mov edi, eax
cmp esi, ebp
je 0x100070fc
movzx eax, word [esi + 4]
mov dword [esp + 0x28], esi
cmp ax, bp
je 0x100071ac
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
movzx edi, ax
add edi, dword [esp + 0x28]
push edi
mov dword [esp + 0x34], edi
call ebx
cmp eax, ebp
jne 0x10006f9c
mov ecx, dword [esp + 0x3c]
push edi
push ecx
call fcn.100068d0
add esp, 8
cmp eax, ebp
je 0x100071d1
push eax
call ebx
cmp eax, ebp
je 0x100071cb
push eax
call fcn.100037e0
mov edx, dword [esi]
add esp, 4
mov dword [esp + 0x34], eax
cmp edx, dword [eax + 0x4c]
jne 0x10006fbd
mov eax, dword [eax + 0x18]
mov byte [esp + 0x13], 0
cmp eax, dword [eax + 0x34]
je 0x10006fc2
mov byte [esp + 0x13], 1
xor eax, eax
xor ebx, ebx
lea edi, [esi + 8]
cmp ax, word [esi + 6]
jae 0x10007076
movzx esi, word [edi + 4]
add esi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebp
je 0x10006fea
mov esi, eax
jmp 0x10007013
mov ecx, dword [esp + 0x3c]
push esi
push ecx
call fcn.100068d0
add esp, 8
cmp eax, ebp
jne 0x10007000
xor esi, esi
jmp 0x10007013
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebp
jne 0x10007013
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], ebp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x1000704b
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
add ecx, 0xc
cmp eax, ecx
je 0x1000704b
lea esp, [esp]
cmp dword [eax + 0x18], esi
je 0x1000704d
mov eax, dword [eax]
cmp eax, ecx
jne 0x10007040
xor eax, eax
cmp esi, ebp
je 0x1000705d
mov edx, dword [edi]
cmp edx, dword [eax + 0x4c]
jne 0x1000705d
cmp esi, dword [esi + 0x34]
je 0x10007062
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 6]
inc ebx
add edi, 8
cmp ebx, ecx
jb 0x10006fd3
cmp byte [esp + 0x13], 0
mov dword [esp + 0x24], edi
je 0x100070e3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0x18]
push edx
push 1
push 1
push ecx
call dword [sym.imp.imagehlp.dll_ImageDirectoryEntryToData]
mov esi, eax
mov eax, dword [esi + 0xc]
cmp eax, ebp
je 0x100070c6
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x18]
add ecx, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call fcn.1000ac1f
add esp, 8
test eax, eax
je 0x100070c6
mov eax, dword [esi + 0x20]
add esi, 0x14
cmp eax, ebp
jne 0x100070a1
cmp dword [esi + 0xc], ebp
je 0x100071d1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
push ebp
push esi
push ecx
push edx
call fcn.10004a00
add esp, 0x10
movzx ecx, word [edi + 4]
movzx eax, cx
cmp cx, bp
je 0x100071a8
mov esi, dword [esp + 0x24]
jmp 0x10006f63
cmp edi, ebp
je 0x100071ac
cmp dword [edi + 0xc], ebp
je 0x100071ac
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [edi + 0x10]
cmp ecx, ebp
je 0x100071a8
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
mov esi, dword [edi + 0xc]
add esi, eax
cmp dword [eax + ecx], ebp
je 0x1000719c
push esi
call ebx
mov ebp, eax
test ebp, ebp
jne 0x10007157
mov ecx, dword [esp + 0x3c]
push esi
push ecx
call fcn.100068d0
add esp, 8
test eax, eax
je 0x100071d1
push eax
call ebx
mov ebp, eax
test ebp, ebp
je 0x100071cb
push ebp
call fcn.100037e0
add esp, 4
cmp dword [edi], 0
mov byte [esp + 0x28], 0
je 0x10007186
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x10007186
cmp ecx, dword [eax + 0x4c]
jne 0x10007186
cmp ebp, dword [ebp + 0x34]
je 0x10007186
cmp dword [edi + 8], 0xffffffff
je 0x1000719a
mov byte [esp + 0x28], 1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push edx
push edi
push ecx
push eax
call fcn.10004a00
add esp, 0x10
xor ebp, ebp
add edi, 0x14
cmp dword [edi + 0xc], ebp
jne 0x10007113
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x2c], ebp
je 0x100071c1
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x28
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret