Function at 0x4ccc90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, dword [ebx]
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
push edi
mov edi, dword [esi + 0x38]
mov eax, 0x8664
dec edi
cmp word [esi + 4], ax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
je 0x4cce44
movzx ecx, word [esi + 0x14]
dec eax
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [ecx + esi + 0x18]
mov dword [ebp - 8], edx
cmp ax, word [esi + 6]
jae 0x4ccd08
lea esp, [esp]
mov ecx, dword [ebp - 8]
push str..rsrc
push ecx
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4ccd08
mov eax, dword [ebp - 4]
movzx edx, word [esi + 6]
add dword [ebp - 8], 0x28
inc eax
mov dword [ebp - 4], eax
cmp eax, edx
jl 0x4ccce0
movzx eax, word [esi + 6]
cmp dword [ebp - 4], eax
jge 0x4ccfd1
cmp dword [esi + 0x88], 0
je 0x4ccfd1
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4ccfd1
add eax, dword [ebp - 0xc]
mov esi, dword [esi + 0x50]
mov ecx, dword [ebx + 4]
not edi
and eax, edi
mov dword [ebp - 0x10], edi
sub esi, eax
call fcn.004cb160
add eax, 4
mov dword [ebp - 0x14], eax
add eax, dword [ebp - 0xc]
and edi, eax
add edi, esi
add edi, 0x100
push edi
call fcn.00480850
push edi
mov esi, eax
push 0
push esi
call fcn.004ff6f0
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0xc]
mov ecx, dword [ebx]
push edi
push ecx
push esi
call fcn.004fe210
mov ecx, dword [ebx + 4]
add esp, 0x1c
add edi, esi
push edi
push esi
call fcn.004cc710
mov ecx, dword [ebx + 4]
push edi
push esi
call fcn.004cb350
mov eax, dword [esi + 0x3c]
movzx edx, word [eax + esi + 0x14]
mov ecx, dword [ebp - 4]
add eax, esi
add edx, eax
lea ecx, [ecx + ecx*4]
lea edi, [edx + ecx*8 + 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x8c], edx
mov dword [edi + 8], edx
add edx, ecx
not ecx
and edx, ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x10], edx
movzx edx, word [eax + 6]
inc ecx
add edi, 0x28
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jge 0x4ccfb9
jmp 0x4ccde0
mov eax, dword [edi - 0x20]
add eax, dword [edi - 0x1c]
mov edx, dword [edi - 0x18]
add edx, dword [edi - 0x14]
add eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0xc]
and eax, dword [ebp - 0x10]
mov dword [edi + 0x14], edx
mov edx, dword [edi + 8]
push edx
mov dword [edi + 0xc], eax
mov edx, dword [ebx]
add edx, ecx
push edx
add eax, esi
push eax
call fcn.004fe210
push str..reloc
push edi
call fcn.004ff027
add esp, 0x14
test eax, eax
jne 0x4cce2a
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xa0], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ecx, word [edx + 6]
inc eax
add edi, 0x28
mov dword [ebp - 4], eax
cmp eax, ecx
jl 0x4ccde0
jmp 0x4ccfb6
dec eax
mov dword [ebp - 0x18], eax
movzx eax, word [esi + 0x14]
xor edx, edx
lea ecx, [eax + esi + 0x18]
mov dword [ebp - 8], ecx
cmp dx, word [esi + 6]
jae 0x4cce88
jmp 0x4cce60
mov eax, dword [ebp - 8]
push str..rsrc
push eax
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cce88
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 6]
add dword [ebp - 8], 0x28
inc eax
mov dword [ebp - 4], eax
cmp eax, ecx
jl 0x4cce60
movzx edx, word [esi + 6]
cmp dword [ebp - 4], edx
jge 0x4ccfd1
cmp dword [esi + 0x98], 0
je 0x4ccfd1
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4ccfd1
add eax, dword [ebp - 0xc]
mov esi, dword [esi + 0x50]
mov ecx, dword [ebx + 4]
not edi
and eax, edi
mov dword [ebp - 0x10], edi
sub esi, eax
call fcn.004cb160
add eax, 4
mov dword [ebp - 0x14], eax
add eax, dword [ebp - 0xc]
and edi, eax
add edi, esi
add edi, 0x100
push edi
call fcn.00480850
push edi
mov esi, eax
push 0
push esi
call fcn.004ff6f0
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0xc]
mov ecx, dword [ebx]
push edi
push ecx
push esi
call fcn.004fe210
mov ecx, dword [ebx + 4]
add esp, 0x1c
add edi, esi
push edi
push esi
call fcn.004cc710
mov ecx, dword [ebx + 4]
push edi
push esi
call fcn.004cb350
mov eax, dword [esi + 0x3c]
movzx edx, word [eax + esi + 0x14]
mov ecx, dword [ebp - 4]
add eax, esi
add edx, eax
lea ecx, [ecx + ecx*4]
lea edi, [edx + ecx*8 + 0x18]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x9c], edx
mov dword [edi + 8], edx
add edx, ecx
not ecx
and edx, ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x10], edx
movzx edx, word [eax + 6]
inc ecx
add edi, 0x28
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jge 0x4ccfb9
mov eax, dword [edi - 0x20]
add eax, dword [edi - 0x1c]
mov edx, dword [edi - 0x18]
add edx, dword [edi - 0x14]
add eax, dword [ebp - 0xc]
mov ecx, dword [edi + 0xc]
and eax, dword [ebp - 0x10]
mov dword [edi + 0x14], edx
mov edx, dword [edi + 8]
push edx
mov dword [edi + 0xc], eax
mov edx, dword [ebx]
add edx, ecx
push edx
add eax, esi
push eax
call fcn.004fe210
push str..reloc
push edi
call fcn.004ff027
add esp, 0x14
test eax, eax
jne 0x4ccfa1
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ecx, word [edx + 6]
inc eax
add edi, 0x28
mov dword [ebp - 4], eax
cmp eax, ecx
jl 0x4ccf57
mov eax, dword [ebp - 8]
mov edx, dword [edi - 0x1c]
add edx, dword [edi - 0x20]
pop edi
add edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x10]
mov dword [eax + 0x50], edx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret