Function at 0x4ce230
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x4ce3f8
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x4ce3f8
mov eax, dword [esi + 0x28]
mov edx, 0x40
cmp eax, edx
jae 0x4ce3f8
lea ecx, [eax*8]
add dword [esi], ecx
push ebp
mov ebp, 1
adc dword [esi + 4], ebx
mov byte [eax + esi + 0x2c], 0x80
add dword [esi + 0x28], ebp
mov eax, dword [esi + 0x28]
mov ecx, 0x38
cmp eax, ecx
jbe 0x4ce2b2
cmp eax, edx
jae 0x4ce29e
jmp 0x4ce290
mov byte [eax + esi + 0x2c], bl
add dword [esi + 0x28], ebp
mov eax, dword [esi + 0x28]
cmp eax, edx
jb 0x4ce290
lea eax, [esi + 0x2c]
push esi
call fcn.004cc4f0
add esp, 4
mov dword [esi + 0x28], ebx
mov ecx, 0x38
cmp dword [esi + 0x28], ecx
jae 0x4ce2cf
jmp 0x4ce2c0
mov edx, dword [esi + 0x28]
mov byte [edx + esi + 0x2c], bl
add dword [esi + 0x28], ebp
cmp dword [esi + 0x28], ecx
jb 0x4ce2c0
movzx eax, byte [esi + 7]
movzx ecx, byte [esi + 6]
movzx edx, byte [esi + 5]
mov byte [esi + 0x64], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x65], cl
movzx ecx, byte [esi + 3]
mov byte [esi + 0x67], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x66], dl
movzx edx, byte [esi + 2]
mov byte [esi + 0x68], cl
movzx ecx, byte [esi]
mov byte [esi + 0x6a], al
lea eax, [esi + 0x2c]
push esi
mov byte [esi + 0x69], dl
mov byte [esi + 0x6b], cl
call fcn.004cc4f0
movzx edx, byte [esi + 0xb]
mov byte [edi], dl
movzx eax, byte [esi + 0xa]
mov byte [edi + 1], al
movzx ecx, byte [esi + 9]
mov byte [edi + 2], cl
movzx edx, byte [esi + 8]
mov byte [edi + 3], dl
movzx eax, byte [esi + 0xf]
mov byte [edi + 4], al
movzx ecx, byte [esi + 0xe]
mov byte [edi + 5], cl
movzx edx, byte [esi + 0xd]
mov byte [edi + 6], dl
movzx eax, byte [esi + 0xc]
mov byte [edi + 7], al
movzx ecx, byte [esi + 0x13]
mov byte [edi + 8], cl
movzx edx, byte [esi + 0x12]
mov byte [edi + 9], dl
movzx eax, byte [esi + 0x11]
mov byte [edi + 0xa], al
movzx ecx, byte [esi + 0x10]
mov byte [edi + 0xb], cl
movzx edx, byte [esi + 0x17]
mov byte [edi + 0xc], dl
movzx eax, byte [esi + 0x16]
mov byte [edi + 0xd], al
movzx ecx, byte [esi + 0x15]
mov byte [edi + 0xe], cl
movzx edx, byte [esi + 0x14]
mov byte [edi + 0xf], dl
movzx eax, byte [esi + 0x1b]
mov byte [edi + 0x10], al
movzx ecx, byte [esi + 0x1a]
mov byte [edi + 0x11], cl
movzx edx, byte [esi + 0x19]
mov byte [edi + 0x12], dl
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x13], al
movzx ecx, byte [esi + 0x1f]
mov byte [edi + 0x14], cl
movzx edx, byte [esi + 0x1e]
mov byte [edi + 0x15], dl
movzx eax, byte [esi + 0x1d]
mov byte [edi + 0x16], al
movzx ecx, byte [esi + 0x1c]
mov byte [edi + 0x17], cl
movzx edx, byte [esi + 0x23]
mov byte [edi + 0x18], dl
movzx eax, byte [esi + 0x22]
mov byte [edi + 0x19], al
movzx ecx, byte [esi + 0x21]
mov byte [edi + 0x1a], cl
movzx edx, byte [esi + 0x20]
mov byte [edi + 0x1b], dl
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x1c], al
movzx ecx, byte [esi + 0x26]
mov byte [edi + 0x1d], cl
movzx edx, byte [esi + 0x25]
add esp, 4
mov byte [edi + 0x1e], dl
movzx eax, byte [esi + 0x24]
pop ebp
mov byte [edi + 0x1f], al
pop edi
pop esi
xor eax, eax
pop ebx
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret