Function at 0x1000c7b9
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [ecx + 0x28]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
lea edi, [eax + ebx]
mov dword [esp + 0x10], eax
movzx ecx, byte [edi]
mov esi, edx
movzx eax, byte [edi + 1]
mov edx, 0x100
imul ecx, edx
add cx, ax
movzx ebp, cx
test bp, bp
jne 0x1000c80b
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 3]
shl ecx, 8
add eax, 0xfffffffa
add eax, ecx
cmp esi, eax
jge 0x1000ca67
movzx eax, byte [edi + esi + 6]
jmp 0x1000ca69
cmp ebp, 6
jne 0x1000c854
movzx edx, byte [edi + 6]
movzx eax, byte [edi + 7]
shl edx, 8
add edx, eax
cmp esi, edx
jb 0x1000ca67
movzx ecx, byte [edi + 8]
movzx eax, byte [edi + 9]
shl ecx, 8
add ecx, edx
add eax, ecx
cmp esi, eax
jae 0x1000ca67
mov eax, dword [esp + 0x10]
sub esi, edx
lea ecx, [eax + esi*2]
movzx eax, byte [ecx + ebx + 0xa]
movzx ecx, byte [ecx + ebx + 0xb]
jmp 0x1000c9ea
push 2
pop eax
cmp bp, ax
je 0x1000ca67
cmp ebp, 4
jne 0x1000c9f1
movzx ecx, byte [edi + 6]
mov ebp, 0x100
movzx eax, byte [edi + 7]
imul ecx, edx
movzx edx, byte [edi + 9]
add cx, ax
shr cx, 1
movzx eax, cx
movzx ecx, byte [edi + 8]
imul ecx, ebp
mov dword [esp + 0x18], eax
add dx, cx
movzx ecx, byte [edi + 0xa]
imul ecx, ebp
shr dx, 1
movzx eax, dx
movzx edx, byte [edi + 0xb]
mov dword [esp + 0x1c], eax
add dx, cx
movzx ecx, byte [edi + 0xc]
imul ecx, ebp
mov ebp, dword [esp + 0x10]
movzx eax, dx
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 0xd]
add cx, ax
lea edi, [ebp + 0xe]
shr cx, 1
movzx eax, cx
cmp esi, 0xffff
jg 0x1000ca67
lea edx, [edi + eax*2]
movzx ecx, byte [edx + ebx]
movzx eax, byte [edx + ebx + 1]
shl ecx, 8
add ecx, eax
cmp esi, ecx
cmovge edi, edx
sub edi, 2
cmp word [esp + 0x14], 0
je 0x1000c932
mov bp, word [esp + 0x1c]
shr bp, 1
movzx eax, bp
lea edx, [edi + eax*2]
movzx ecx, byte [edx + ebx]
movzx eax, byte [edx + ebx + 1]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x14]
cmp esi, ecx
cmovg edi, edx
add eax, 0xffff
mov dword [esp + 0x14], eax
test ax, ax
jne 0x1000c900
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
lea eax, [ebp + 0xe]
sub edi, eax
add edi, 2
shr edi, 1
movzx eax, di
movzx edi, cx
mov dword [esp + 0x14], eax
add eax, edi
lea edx, [eax*2]
mov eax, 0x100
add edx, ebp
movzx ecx, byte [edx + ebx + 0x10]
imul ecx, eax
movzx eax, byte [edx + ebx + 0x11]
add cx, ax
movzx eax, cx
mov dword [esp + 0x1c], eax
cmp esi, eax
jl 0x1000ca67
mov eax, dword [esp + 0x14]
imul edi, edi, 3
add eax, edi
lea edx, [eax*2]
mov eax, 0x100
add edx, ebp
movzx ecx, byte [edx + ebx + 0x10]
imul ecx, eax
movzx eax, byte [edx + ebx + 0x11]
add cx, ax
movzx eax, cx
test ax, ax
jne 0x1000c9d1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
movzx ecx, dx
lea eax, [eax + ecx*2]
lea ecx, [eax*2 + 0x10]
add ecx, ebp
add ecx, ebx
call fcn.1000c11d
add ax, si
movzx eax, ax
jmp 0x1000ca69
sub edi, dword [esp + 0x1c]
add edi, dword [esp + 0x14]
add edi, esi
add eax, ebp
lea ecx, [eax + edi*2]
movzx eax, byte [ecx + ebx + 0x10]
movzx ecx, byte [ecx + ebx + 0x11]
shl eax, 8
add eax, ecx
jmp 0x1000ca69
push 0xc
pop eax
cmp bp, ax
je 0x1000c9fe
cmp ebp, 0xd
jne 0x1000ca67
and dword [esp + 0x18], 0
lea ecx, [edi + 0xc]
call fcn.1000c134
mov dword [esp + 0x14], eax
test eax, eax
jle 0x1000ca67
xor ecx, ecx
mov edi, eax
sub edi, ecx
sar edi, 1
add edi, ecx
lea ecx, [ebx + 0x10]
imul eax, edi, 0xc
add eax, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x1c], eax
call fcn.1000c134
mov dword [esp + 0x20], eax
cmp esi, eax
jae 0x1000ca46
mov ecx, dword [esp + 0x18]
mov eax, edi
mov dword [esp + 0x14], eax
jmp 0x1000ca63
mov ecx, dword [esp + 0x1c]
add ecx, 0x14
add ecx, ebx
call fcn.1000c134
cmp esi, eax
jbe 0x1000ca71
mov eax, dword [esp + 0x14]
lea ecx, [edi + 1]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jl 0x1000ca15
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea eax, [edi + 2]
imul ecx, eax, 0xc
add ecx, dword [esp + 0x10]
add ecx, ebx
call fcn.1000c134
push 0xc
pop ecx
cmp bp, cx
jne 0x1000ca69
sub eax, dword [esp + 0x20]
add eax, esi
jmp 0x1000ca69