Function at 0x106e8a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
add eax, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 5
pop edx
mov ecx, ebx
call fcn.0106e2fb
mov esi, eax
test esi, esi
mov dword [ebp - 0x20], esi
je 0x106eba4
mov ecx, dword [ebp - 0x10]
lea eax, [esi + ecx]
cmp eax, edi
ja 0x106eba4
mov edx, dword [ebp + 0x18]
lea edi, [esi + edx]
mov edx, ecx
shr ecx, 2
mov eax, 0x3030303
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
shr ecx, 1
shl ecx, 3
call fcn.0106dfaa
test eax, eax
mov dword [ebp - 0x14], eax
je 0x106ec16
mov eax, dword [ebp + 0xc]
and dword [ebp - 8], 0
add esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], eax
jle 0x106ea8e
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0xc]
ja 0x106ea7a
cmp eax, 8
jbe 0x106ea7a
mov edi, dword [esi]
mov edx, edi
mov ecx, ebx
call fcn.0106e258
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
je 0x106ea65
mov ecx, dword [ebp + 0x10]
add edi, ecx
lea ecx, [esi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 4]
add ecx, 0xfffffff8
shr ecx, 1
mov dword [ebp - 0x28], edi
je 0x106ea65
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
lea edi, [edx + edi*8 + 6]
mov edx, dword [ebp - 4]
movzx edx, word [edx]
mov bx, dx
dec ecx
shr bx, 0xc
test bl, bl
mov dword [ebp - 0x1c], ecx
je 0x106ea56
mov ecx, dword [ebp + 0x14]
and edx, 0xfff
lea esi, [edx + eax]
sub edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x28]
call fcn.0106e77b
test bl, bl
mov dword [edi - 6], eax
mov byte [edi - 2], bl
jbe 0x106ea47
cmp bl, 2
jbe 0x106ea30
cmp bl, 3
je 0x106e9fd
cmp bl, 4
jne 0x106ea47
mov eax, dword [ebp - 0x18]
add eax, 0xfffffffe
cmp esi, eax
jae 0x106e9eb
sub esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
add eax, esi
or word [eax], 0x101
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
mov ax, word [eax]
dec dword [ebp - 0x1c]
mov word [edi], ax
jmp 0x106ea47
mov eax, dword [ebp - 0x18]
add eax, 0xfffffffc
cmp esi, eax
ja 0x106ea47
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
mov eax, esi
sub eax, dword [ebp + 0xc]
add eax, ecx
or dword [eax], 0x1010101
mov edx, dword [esi]
mov ecx, dword [ebp + 0x14]
sub edx, ebx
call fcn.0106e77b
cmp eax, edx
je 0x106ea47
add eax, ebx
mov dword [esi], eax
jmp 0x106ea47
mov eax, dword [ebp - 0x18]
add eax, 0xfffffffe
cmp esi, eax
jae 0x106ea47
sub esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
add esi, eax
or word [esi], 0x101
inc dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
add edi, 8
add dword [ebp - 4], 2
test ecx, ecx
jne 0x106e987
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
sub dword [ebp - 0xc], eax
add esi, eax
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x24], esi
jg 0x106e935
mov eax, dword [ebp - 8]
cmp eax, 1
jbe 0x106ea8e
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax*8 - 8]
call fcn.0106e7fc
movzx ecx, word [ebx + 6]
test ecx, ecx
movzx eax, word [ebx + 0x14]
mov esi, dword [ebp - 0x10]
lea eax, [eax + ebx + 0x18]
jbe 0x106eae1
add eax, 0x14
mov ebx, ecx
mov edi, 0x20202020
mov ecx, dword [eax - 0x14]
mov edx, dword [eax - 0x10]
or ecx, edi
or edx, edi
cmp ecx, 0x6c65722e
jne 0x106eadb
cmp edx, 0x2020636f
jne 0x106eadb
mov ecx, dword [eax]
cmp dword [ebp - 0x20], ecx
jb 0x106eadb
mov edx, dword [eax - 4]
add ecx, edx
cmp dword [ebp - 0x20], ecx
jae 0x106eadb
sub ecx, dword [ebp - 0x20]
mov esi, ecx
add eax, 0x28
dec ebx
jne 0x106eaab
mov edx, dword [ebp - 0x30]
and esi, 0xfffffffe
and dword [ebp + 0xc], 0
jmp 0x106eb91
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
jae 0x106eb9a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
and eax, 0xfffff000
mov dword [edx], eax
sub esi, 8
test esi, esi
lea eax, [edx + 8]
mov dword [ebp + 0x18], eax
jle 0x106eb86
add ecx, 4
mov edi, dword [ebp - 8]
cmp dword [ebp + 0xc], edi
jae 0x106eb76
mov edi, dword [ecx - 4]
and edi, 0xfffff000
cmp edi, dword [edx]
jne 0x106eb76
movzx di, byte [ecx]
xor ebx, ebx
mov bx, word [ecx - 4]
push 2
shl edi, 0xc
and ebx, 0xffff0fff
or edi, ebx
mov word [eax], di
movzx ebx, byte [ecx]
pop edi
shl ebx, 0xc
add eax, edi
sub esi, edi
cmp ebx, 4
jne 0x106eb6c
test esi, esi
jle 0x106eb6c
mov bx, word [ecx + 2]
mov word [eax], bx
add eax, edi
sub esi, edi
inc dword [ebp + 0xc]
add ecx, 8
test esi, esi
jg 0x106eb1e
test esi, esi
jle 0x106eb86
test al, 2
je 0x106eb86
and word [eax], 0
inc eax
inc eax
dec esi
dec esi
sub eax, dword [ebp + 0x18]
add eax, 8
mov dword [edx + 4], eax
add edx, eax
cmp esi, 8
ja 0x106eaf0
mov ecx, dword [ebp - 0x14]
call fcn.0106dfbb
jmp 0x106ec16
cmp word [ebx + 4], 0x14c
jne 0x106ec16
movzx eax, word [ebx + 0x14]
mov ecx, dword [ebx + 0x50]
add ecx, dword [ebp + 0x10]
lea eax, [eax + ebx + 0x18]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp - 0x18]
add esi, dword [ebp + 0xc]
add edi, dword [ebp + 0x10]
add eax, 0xfffffffc
cmp esi, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x30], eax
jae 0x106ec16
mov ebx, esi
sub ebx, dword [ebp + 0xc]
add ebx, dword [ebp + 0x18]
mov eax, dword [esi]
cmp eax, edi
jb 0x106ec0f
cmp eax, ecx
jae 0x106ec0f
sub eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
or dword [ebx], 0x1010101
mov edx, eax
call fcn.0106e77b
cmp eax, edx
je 0x106ec06
mov ecx, dword [ebp + 0x10]
add eax, ecx
mov dword [esi], eax
mov ecx, dword [ebp + 8]
add esi, 3
add ebx, 3
inc esi
inc ebx
cmp esi, dword [ebp - 0x30]
jb 0x106ebde
pop edi
pop esi
pop ebx
leave
ret 0x14