Function at 0x1001c9b7
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x1009d0eb
call fcn.1009a9e0
sub esp, 0x78
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], ecx
mov eax, dword [esi]
cmp eax, 0x454c4946
mov dword [ecx], eax
je 0x1001c9f3
cmp eax, 2
jbe 0x1001c9eb
cmp eax, 0x44414142
je 0x1001c9eb
xor eax, eax
jmp 0x1001cbf1
push 1
pop eax
jmp 0x1001cbf1
movzx edx, word [esi + 4]
movzx edi, word [esi + 6]
test dl, 1
jne 0x1001cbef
mov ecx, dword [ebp + 0xc]
push 1
pop ebx
lea eax, [edx + edi*2]
shl ebx, cl
dec ebx
dec ebx
cmp eax, ebx
ja 0x1001cbef
test edi, edi
je 0x1001cbef
mov eax, dword [ebp + 0x10]
lea ecx, [edi - 1]
cmp ecx, eax
jne 0x1001cbef
mov bx, word [edx + esi]
cmp edi, 1
mov dword [ebp + 8], 1
jbe 0x1001ca75
lea eax, [edx + esi + 2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shl eax, cl
cmp word [eax + esi - 2], bx
lea eax, [eax + esi - 2]
jne 0x1001cbef
mov ecx, dword [ebp - 0x10]
inc dword [ebp + 8]
add dword [ebp - 0x10], 2
cmp dword [ebp + 8], edi
mov cx, word [ecx]
mov word [eax], cx
jb 0x1001ca46
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x14]
mov cx, word [esi + 0x10]
cmp edx, 0x30
mov word [edi + 4], cx
mov cx, word [esi + 0x16]
movzx ebx, word [esi + 0x14]
mov word [edi + 6], cx
mov ecx, dword [esi + 0x18]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x20]
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x24]
mov dword [edi + 0xc], ecx
jb 0x1001cab5
mov ecx, dword [esi + 0x2c]
cmp ecx, dword [ebp + 0x14]
jne 0x1001cbef
mov ecx, dword [ebp + 0xc]
shl eax, cl
cmp ebx, eax
mov dword [ebp + 0x10], eax
jae 0x1001cbef
test bl, 7
jne 0x1001cbef
cmp dword [ebp + 8], eax
ja 0x1001cbef
cmp dword [ebp - 0x14], eax
jne 0x1001cbef
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x84]
call fcn.1001cc02
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
sub ebx, eax
add eax, esi
push ebx
push eax
lea ecx, [ebp - 0x84]
call fcn.1001b6ba
test eax, eax
je 0x1001cbe0
cmp ebx, eax
jb 0x1001cbe0
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x84]
or ebx, 0xffffffff
cmp eax, ebx
je 0x1001cbc2
sub eax, 0x10
je 0x1001cb92
sub eax, 0x20
je 0x1001cb5d
sub eax, 0x50
je 0x1001cb51
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x1001cba4
lea eax, [ebp - 0x84]
push eax
call fcn.1001e444
jmp 0x1001cba4
lea eax, [ebp - 0x84]
lea ecx, [edi + 0x14]
push eax
jmp 0x1001cb4a
lea ecx, [ebp - 0x34]
call fcn.1001cc4a
push dword [ebp - 0x70]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
push dword [ebp - 0x6c]
call fcn.1001b5d0
test al, al
je 0x1001cbd2
lea eax, [ebp - 0x34]
lea ecx, [edi + 0x28]
push eax
call fcn.1001e55d
push dword [ebp - 0x2c]
call fcn.10002896
pop ecx
jmp 0x1001cba4
push dword [ebp - 0x70]
lea ecx, [edi + 0x50]
push dword [ebp - 0x6c]
call fcn.1001b65f
test al, al
je 0x1001cbdb
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], ebx
call fcn.1001cc2c
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x1001cae3
mov al, 1
jmp 0x1001cbf1
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], ebx
call fcn.1001cc2c
jmp 0x1001cbbe
push dword [ebp - 0x2c]
call fcn.10002896
pop ecx
mov dword [ebp - 4], ebx
jmp 0x1001cbe4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.1001cc2c
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14