Function at 0x9c6370
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 0x14], 0
jne 0x9c6383
xor eax, eax
jmp 0x9c657a
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x10], eax
push 4
push 0x3000
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
shl eax, 2
push eax
push 0
call fcn.009c7440
add esp, 0x10
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
jmp 0x9c63db
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
je 0x9c6430
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax + 0x24]
and eax, 0x10000000
je 0x9c63fb
jmp 0x9c63d4
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
push eax
push 0x40
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x10]
push dword [ecx + eax + 8]
push dword [ebp - 0x28]
call fcn.009c7460
add esp, 0x10
jmp 0x9c63d4
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x9c6505
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
mov dword [ebp - 0x30], eax
and dword [ebp - 8], 0
jmp 0x9c6460
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x30]
je 0x9c64f4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
test eax, eax
jne 0x9c647c
jmp 0x9c6459
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
and eax, 0xfff
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
push eax
push dword [ebp - 0x10]
call fcn.009c630c
add esp, 0xc
test eax, eax
je 0x9c64aa
jmp 0x9c6459
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
and eax, 0xfff
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, eax
add ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
sar eax, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
je 0x9c64e2
jmp 0x9c64ef
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x9c6459
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
jmp 0x9c6430
and dword [ebp - 0xc], 0
jmp 0x9c6512
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xc], eax
je 0x9c6566
imul eax, dword [ebp - 0xc], 0x28
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax + 0x24]
and eax, 0x10000000
je 0x9c6532
jmp 0x9c650b
imul eax, dword [ebp - 0xc], 0x28
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x38], edx
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
push dword [ecx + eax*4]
imul eax, dword [ebp - 0xc], 0x28
mov ecx, dword [ebp - 0x10]
push dword [ecx + eax + 8]
push dword [ebp - 0x38]
call fcn.009c7460
add esp, 0x10
jmp 0x9c650b
push 0x8000
push 0
push dword [ebp - 0x1c]
call fcn.009c7480
add esp, 0xc
xor eax, eax
leave
ret