Function at 0xcdca20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
xor eax, eax
mov dword [esp + 0x1c], esi
push edi
mov edi, edx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
test edi, edi
je 0xcdca56
mov eax, dword [edi + 0x44]
inc word [eax + 0x16]
jmp 0xcdcaa4
mov ecx, dword [esi]
lea eax, [esp + 0x14]
mov ebx, dword [ebp + 8]
mov edx, ebx
push eax
push 0
mov ecx, dword [ecx + 0xa8]
mov dword [esp + 0x1c], 0
call fcn.00ce5ce0
mov ecx, dword [esp + 0x1c]
add esp, 8
test ecx, ecx
je 0xcdcaa2
mov edi, dword [ecx + 4]
cmp ebx, 1
mov eax, dword [ecx]
mov dword [edi + 0x40], eax
setne al
dec al
mov dword [edi + 0x44], ecx
and al, 0x64
mov dword [edi + 0x3c], esi
mov dword [edi + 0x48], ebx
mov byte [edi + 5], al
jmp 0xcdcaa4
xor edi, edi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov ecx, dword [ecx + 0x44]
call fcn.00ce08e0
mov ebx, eax
test ebx, ebx
jne 0xcdcd2e
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x40]
movzx edx, byte [esi + 0x24]
movzx eax, byte [esi + 0x25]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x26]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x27]
shl edx, 8
or edx, eax
lea ecx, [edx + 1]
mov eax, ecx
mov byte [esi + 0x27], cl
shr eax, 0x18
mov byte [esi + 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x25], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x26], al
mov esi, dword [esp + 0x20]
test edx, edx
je 0xcdccb3
mov ecx, dword [ebx + 0x40]
push 0
movzx edx, byte [ecx + 0x20]
movzx eax, byte [ecx + 0x21]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0x22]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0x23]
mov ecx, dword [esi]
shl edx, 8
or edx, eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], edx
call fcn.00ce0ee0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0xcdcd2e
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp eax, 1
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x10], edx
mov dword [edx + 0x48], eax
setne al
mov dword [edx + 0x40], ecx
dec al
mov dword [edx + 0x44], ebx
and al, 0x64
mov byte [edx + 5], al
mov dword [edx + 0x3c], esi
movzx edx, byte [ecx + 4]
movzx eax, byte [ecx + 5]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 6]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 7]
movzx ecx, word [esi + 0x14]
shr ecx, 2
shl edx, 8
or edx, eax
mov dword [esp + 0x24], edx
lea eax, [ecx - 2]
cmp edx, eax
jbe 0xcdcbb4
mov ebx, 0xb
jmp 0xcdcd2e
lea eax, [ecx - 8]
cmp edx, eax
jae 0xcdccb3
mov ecx, ebx
call fcn.00ce08e0
mov ebx, eax
test ebx, ebx
jne 0xcdcd2e
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
lea edx, [ebx + 1]
mov ecx, dword [ecx + 0x40]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, edx
shr eax, 8
mov byte [ecx + 6], al
mov eax, dword [esp + 0x10]
mov byte [ecx + 7], dl
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x40]
mov byte [eax + ebx*4 + 0xb], dl
lea ecx, [eax + ebx*4]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 8], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 9], al
mov eax, edx
shr eax, 8
mov byte [ecx + 0xa], al
test edi, edi
je 0xcdcc42
mov ebx, dword [edi + 0x44]
movzx ecx, word [ebx + 0x14]
test cl, 2
je 0xcdcc42
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x5c], 0
jne 0xcdcc42
or ecx, 0x20
mov word [ebx + 0x14], cx
mov ecx, dword [esi + 0x30]
xor ebx, ebx
test ecx, ecx
jne 0xcdcc95
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x64
call fcn.00ce21a0
push 0x200
call fcn.00cebcf0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0xcdcca9
push 0x1fc
lea ecx, [eax + 4]
push ebx
push ecx
call fcn.00bd75b0
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [esi + 0x30], ecx
cmp edx, dword [ecx]
ja 0xcdcd2e
call fcn.00ce60a0
mov ebx, eax
jmp 0xcdcd2e
mov dword [esi + 0x30], eax
mov ebx, 7
jmp 0xcdcd2e
test edi, edi
jne 0xcdccd4
mov edx, dword [ebp + 8]
lea eax, [esp + 0x14]
push edi
push eax
mov ecx, esi
call fcn.00cdf390
mov edi, dword [esp + 0x1c]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0xcdcd2e
mov ecx, dword [edi + 0x44]
call fcn.00ce08e0
mov ebx, eax
test ebx, ebx
jne 0xcdcd2e
mov ecx, dword [edi + 0x40]
mov edx, dword [esp + 0x18]
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, edx
shr eax, 8
mov byte [ecx + 2], al
mov byte [ecx + 3], dl
mov eax, dword [edi + 0x40]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [eax + 4], ebx
mov eax, edx
mov ecx, dword [ecx + 0x40]
shr eax, 0x18
mov byte [ecx + 0x20], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0x21], al
mov eax, edx
shr eax, 8
mov byte [ecx + 0x22], al
mov byte [ecx + 0x23], dl
test edi, edi
je 0xcdcd4b
mov byte [edi], 0
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0xcdcd4b
mov esi, dword [ecx + 0x10]
call fcn.00ce5c70
mov ecx, esi
call fcn.00ce10f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0xcdcd69
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0xcdcd69
mov esi, dword [ecx + 0x10]
call fcn.00ce5c70
mov ecx, esi
call fcn.00ce10f0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret