Function at 0x6300ec
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 0x14], 0
jne 0x6300ff
xor eax, eax
jmp 0x6302f6
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.0063113c
add esp, 0x10
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
jmp 0x630157
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 0x6301ac
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax + 0x24]
and eax, 0x10000000
je 0x630177
jmp 0x630150
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.0063115c
add esp, 0x10
jmp 0x630150
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x630281
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 0x6301dc
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x30]
je 0x630270
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
test eax, eax
jne 0x6301f8
jmp 0x6301d5
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.00630088
add esp, 0xc
test eax, eax
je 0x630226
jmp 0x6301d5
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 0x63025e
jmp 0x63026b
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x6301d5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
jmp 0x6301ac
and dword [ebp - 0xc], 0
jmp 0x63028e
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 0x6302e2
imul eax, dword [ebp - 0xc], 0x28
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax + 0x24]
and eax, 0x10000000
je 0x6302ae
jmp 0x630287
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.0063115c
add esp, 0x10
jmp 0x630287
push 0x8000
push 0
push dword [ebp - 0x1c]
call fcn.0063117c
add esp, 0xc
xor eax, eax
leave
ret