Function at 0x4ccd90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ecx + 0x1f0]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], eax
push esi
mov esi, edx
lea eax, [ecx*8]
mov dword [esp + 0xc], esi
sub eax, ecx
inc eax
cmp dword [ebp + 0x10], 0
mov edx, dword [esi + 8]
lea ecx, [edx + eax*8]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + 0x18]
push edi
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
je 0x4ccde9
cmp dword [ebp + 0xc], 0
jne 0x4cce2c
cmp word [edx], 1
jg 0x4cce2c
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 8]
test eax, eax
je 0x4ccdf9
cmp dword [esi + 0x28], 0
jne 0x4cce2c
cmp dword [edi + 0x2c], 0
jne 0x4cce2c
cmp dword [esi + 0x24], 0
je 0x4cce0f
test eax, eax
je 0x4cce0f
cmp dword [edi + 0x18], 0
jne 0x4cce2c
cmp word [ecx], 0
je 0x4cce2c
test byte [edi + 6], 1
jne 0x4cce1f
test eax, eax
je 0x4cce35
cmp word [edx], 1
jg 0x4cce2c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4cce38
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test byte [esi + 6], 1
je 0x4cce44
cmp dword [ebp + 0x10], 0
jne 0x4cce2c
cmp dword [esi + 0x18], 0
je 0x4cce50
cmp dword [edi + 0x18], 0
jne 0x4cce2c
test eax, eax
je 0x4cce5a
cmp dword [edi + 0x18], 0
jne 0x4cce2c
cmp dword [edi + 0x28], 0
je 0x4cce66
cmp dword [esi + 0xc], 0
jne 0x4cce2c
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x15], 0x20
jne 0x4cce2c
cmp dword [edi + 0x1c], 0
je 0x4ccee2
cmp dword [edi + 0x18], 0
jne 0x4cce2c
test eax, eax
jne 0x4cce2c
test byte [esi + 6], 1
jne 0x4cce2c
cmp word [edx], 1
jne 0x4cce2c
mov eax, edi
mov edi, edi
test byte [eax + 6], 5
jne 0x4cce2c
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4ccea3
cmp byte [eax + 4], 0x70
jne 0x4cce2c
mov eax, dword [eax + 8]
test eax, eax
je 0x4cce2c
cmp word [eax], 1
jne 0x4cce2c
mov eax, ecx
test eax, eax
jne 0x4cce90
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4ccee2
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
jle 0x4ccee2
mov eax, dword [eax + 0xc]
add eax, 0xe
nop
cmp word [eax], 0
je 0x4cce2c
inc edx
add eax, 0x14
cmp edx, ecx
jl 0x4cced0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x1f0], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4ccf91
nop
mov eax, dword [esp + 0x10]
mov edx, eax
mov edi, dword [esi + 0x18]
mov esi, dword [esi + 0x28]
push 0
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x24], ecx
mov ecx, ebx
mov dword [eax + 0x18], 0
mov dword [eax + 8], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
call fcn.004ae9a0
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x28], esi
mov esi, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x18], edi
mov dword [esi + 8], ecx
mov byte [esi + 4], 0x70
mov dword [esi + 0x24], 0
test eax, eax
jne 0x4ccf63
mov eax, dword [esp + 0x20]
jmp 0x4ccf71
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], 0
mov dword [esi + 0x1c], eax
cmp byte [ebx + 0x1e], 0
jne 0x4cd440
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4ccf00
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 0x10]
mov ecx, dword [edx]
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edi
test ebx, ebx
je 0x4ccfd3
test ecx, ecx
je 0x4ccfd3
cmp ecx, dword [ebx + 0xf0]
jb 0x4ccfd3
cmp ecx, dword [ebx + 0xf4]
jae 0x4ccfd3
mov eax, dword [ebx + 0xec]
mov dword [ecx], eax
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], ecx
mov ecx, dword [edx + 4]
jmp 0x4ccfe7
push ecx
call fcn.00491400
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [edx + 4]
test ebx, ebx
je 0x4cd014
test ecx, ecx
je 0x4cd014
cmp ecx, dword [ebx + 0xf0]
jb 0x4cd014
cmp ecx, dword [ebx + 0xf4]
jae 0x4cd014
mov eax, dword [ebx + 0xec]
mov dword [ecx], eax
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], ecx
mov ecx, dword [edx + 8]
jmp 0x4cd028
push ecx
call fcn.00491400
mov ecx, dword [esp + 0x18]
add esp, 4
mov ecx, dword [ecx + 8]
test ebx, ebx
je 0x4cd052
test ecx, ecx
je 0x4cd052
cmp ecx, dword [ebx + 0xf0]
jb 0x4cd052
cmp ecx, dword [ebx + 0xf4]
jae 0x4cd052
mov eax, dword [ebx + 0xec]
mov dword [ecx], eax
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], ecx
jmp 0x4cd05b
push ecx
call fcn.00491400
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xc]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0x10], 0
test ecx, ecx
je 0x4cd0af
movzx eax, word [ecx + 0x20]
cmp eax, 1
jne 0x4cd0a3
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x20c]
mov dword [ecx + 0x44], eax
mov dword [edx + 0x20c], ecx
mov edx, dword [esp + 0x14]
jmp 0x4cd0a8
dec eax
mov word [ecx + 0x20], ax
mov dword [edx + 0xc], 0
mov ecx, dword [ebp + 8]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
mov byte [esp + 0xf], 0
mov dword [esp + 0x28], eax
movsx edi, word [eax]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4cd0e9
mov al, byte [edx + 0x15]
mov byte [esp + 0xf], al
jmp 0x4cd10a
push 0
push 0
xor edx, edx
mov ecx, ebx
call fcn.004ba100
mov ecx, eax
add esp, 8
mov dword [esp + 0x20], ecx
mov dword [esi + 8], ecx
test ecx, ecx
je 0x4cd3f2
cmp edi, 1
jle 0x4cd137
mov eax, dword [ebp + 8]
mov edx, ecx
inc eax
mov ecx, ebx
push eax
lea eax, [edi - 1]
push eax
call fcn.004b9fb0
mov ecx, eax
add esp, 8
mov dword [esi + 8], ecx
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x20], ecx
jne 0x4cd3f2
test edi, edi
jle 0x4cd196
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
add esi, 8
add edi, 8
mov dword [esp + 0x24], esi
add edi, ecx
mov dword [esp + 0x28], edi
mov edx, dword [edi + 0x20]
mov ecx, ebx
call fcn.004b9ec0
mov ecx, 0xe
push 0x38
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
push 0
push esi
call fcn.004e1ab0
mov edi, dword [esp + 0x34]
add esi, 0x38
add edi, 0x38
mov dword [esp + 0x30], esi
add esp, 0xc
mov dword [esp + 0x28], edi
sub dword [esp + 0x2c], 1
jne 0x4cd153
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
mov al, byte [esp + 0xf]
mov byte [edx + ecx + 0x1d], al
xor ecx, ecx
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
cmp dword [eax], ecx
jle 0x4cd1ea
xor edi, edi
mov esi, eax
mov eax, dword [esi + 0xc]
cmp dword [eax + edi + 4], 0
jne 0x4cd1da
mov edx, dword [eax + edi + 8]
test edx, edx
je 0x4cd1da
mov ecx, ebx
call fcn.00491770
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 4], eax
mov ecx, dword [esp + 0x2c]
inc ecx
add edi, 0x14
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi]
jl 0x4cd1b6
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
test eax, eax
je 0x4cd248
cmp dword [eax], 0
mov dword [esp + 0x2c], 0
jle 0x4cd248
xor edi, edi
mov esi, eax
nop
mov edx, dword [esi + 0xc]
push ecx
push dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [edx + edi]
call fcn.004cca90
mov ecx, dword [esi + 0xc]
lea edi, [edi + 0x14]
add esp, 8
mov dword [edi + ecx - 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esi]
jl 0x4cd210
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
cmp dword [ebp + 0xc], 0
je 0x4cd2be
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
test eax, eax
je 0x4cd2a8
cmp dword [eax], 0
mov dword [esp + 0x2c], 0
jle 0x4cd2a8
xor edi, edi
mov esi, eax
mov edx, dword [esi + 0xc]
push ecx
push dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [edx + edi]
call fcn.004cca90
mov ecx, dword [esi + 0xc]
lea edi, [edi + 0x14]
add esp, 8
mov dword [edi + ecx - 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esi]
jl 0x4cd270
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
push dword [edi]
mov edx, dword [esi + 0x14]
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.004cca90
add esp, 8
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4cd2d1
mov dword [esi + 0x18], eax
mov dword [edi + 0x18], 0
jmp 0x4cd32b
mov eax, dword [esi + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4cd32b
cmp dword [eax], 0
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], 0
jle 0x4cd32b
xor edi, edi
mov esi, eax
mov edx, dword [esi + 0xc]
push ecx
push dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [edi + edx]
call fcn.004cca90
mov ecx, dword [esi + 0xc]
lea edi, [edi + 0x14]
add esp, 8
mov dword [edi + ecx - 0x14], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esi]
jl 0x4cd2f3
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4cd342
push 0
push 0
mov ecx, ebx
call fcn.004ae0a0
add esp, 8
jmp 0x4cd344
xor eax, eax
cmp dword [ebp + 0x10], 0
mov ecx, ebx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
je 0x4cd39a
mov dword [esi + 0x14], edx
mov dword [esi + 0xc], eax
push dword [edi]
push dword [esp + 0x1c]
call fcn.004cca90
mov dword [esi + 0x14], eax
mov ecx, ebx
mov edx, dword [edi + 0x14]
push 0
push 0
call fcn.004ae0a0
mov edx, dword [esi + 0x14]
mov ecx, ebx
push eax
call fcn.004ada20
add esp, 0x14
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x10]
mov ecx, ebx
push 0
call fcn.004ae3b0
add esp, 4
mov dword [esi + 0x10], eax
jmp 0x4cd3bb
push dword [edi]
push dword [esp + 0x1c]
call fcn.004cca90
push dword [esp + 0x34]
mov edx, eax
mov dword [esi + 0xc], eax
mov ecx, ebx
call fcn.004ada20
add esp, 0xc
mov dword [esi + 0xc], eax
mov ax, word [edi + 6]
and ax, 1
or word [esi + 6], ax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4cd3d8
mov dword [esi + 0x28], eax
mov dword [edi + 0x28], 0
mov esi, dword [esi + 0x1c]
mov edi, dword [edi + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edi
test esi, esi
jne 0x4cd0c2
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4cd440
mov edx, esi
mov ecx, ebx
call fcn.004c6510
test ebx, ebx
je 0x4cd437
cmp esi, dword [ebx + 0xf0]
jb 0x4cd437
cmp esi, dword [ebx + 0xf4]
jae 0x4cd437
mov eax, dword [ebx + 0xec]
mov dword [esi], eax
mov eax, 1
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00491400
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret