Function at 0x4c06fa0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
cmp eax, 0x10
je 0x4c06fb4
mov eax, dword [esp + 0x18]
add esp, 0x10
ret
push ebx
mov ebx, dword [esp + 0x18]
mov al, byte [ebx]
mov cl, byte [ebx + 3]
mov dl, byte [ebx + 2]
mov byte [ebx + 3], al
mov al, byte [ebx + 1]
mov byte [ebx + 2], al
mov al, byte [ebx + 4]
mov byte [ebx], cl
mov cl, byte [ebx + 5]
mov byte [ebx + 5], al
mov al, byte [ebx + 6]
mov byte [ebx + 1], dl
mov dl, byte [ebx + 7]
mov byte [ebx + 7], al
push ebp
mov ebp, dword [esp + 0x20]
mov byte [ebx + 4], cl
push esi
push edi
mov byte [ebx + 6], dl
mov eax, 0x30303030
mov ecx, 9
mov edi, ebp
rep stosd dword es:[edi], eax
mov al, 0x2d
mov byte [ebp + 8], al
mov byte [ebp + 0xd], al
mov byte [ebp + 0x12], al
mov byte [ebp + 0x17], al
lea eax, [ebp + 0x24]
mov byte [eax], 0
mov ecx, dword [ebx]
mov dword [esp + 0x2c], eax
push 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.04c5b2cc
lea eax, [esp + 0x1c]
add esp, 0xc
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c07030
sub eax, esi
cmp eax, 8
jbe 0x4c07045
mov eax, 8
jmp 0x4c07059
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c07050
sub eax, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov edi, ebp
sub edi, eax
add edi, 8
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [ebx + 4]
push 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.04c5b2cc
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c07090
sub eax, edx
cmp eax, 4
jbe 0x4c070a5
mov eax, 4
jmp 0x4c070b9
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c070b0
sub eax, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov edi, ebp
sub edi, eax
add edi, 0xd
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [ebx + 6]
push 0x10
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.04c5b2cc
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c070f0
sub eax, edx
cmp eax, 4
jbe 0x4c07105
mov ecx, 4
jmp 0x4c07119
lea ecx, [esp + 0x10]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c07110
sub ecx, edx
mov edi, ebp
sub edi, ecx
mov edx, ecx
shr ecx, 2
add edi, 0x12
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx eax, byte [ebx + 8]
mov ecx, eax
and eax, 0xf
shr ecx, 4
mov dl, byte [ecx + str.0123456789abcdef]
mov byte [esp + 0x10], dl
mov al, byte [eax + str.0123456789abcdef]
mov byte [esp + 0x11], al
movzx eax, byte [ebx + 9]
mov ecx, eax
and eax, 0xf
shr ecx, 4
mov dl, byte [ecx + str.0123456789abcdef]
mov byte [esp + 0x12], dl
mov al, byte [eax + str.0123456789abcdef]
mov byte [esp + 0x13], al
movzx eax, byte [ebx + 0xa]
mov ecx, eax
and eax, 0xf
shr ecx, 4
mov dl, byte [ecx + str.0123456789abcdef]
mov byte [esp + 0x14], dl
mov al, byte [eax + str.0123456789abcdef]
mov byte [esp + 0x15], al
movzx eax, byte [ebx + 0xb]
mov ecx, eax
and eax, 0xf
shr ecx, 4
mov dl, byte [ecx + str.0123456789abcdef]
mov byte [esp + 0x16], dl
mov al, byte [eax + str.0123456789abcdef]
mov byte [esp + 0x17], al
movzx eax, byte [ebx + 0xc]
mov ecx, eax
shr ecx, 4
mov dl, byte [ecx + str.0123456789abcdef]
and eax, 0xf
mov byte [esp + 0x18], dl
mov al, byte [eax + str.0123456789abcdef]
mov byte [esp + 0x19], al
movzx eax, byte [ebx + 0xd]
mov ecx, eax
shr ecx, 4
mov dl, byte [ecx + str.0123456789abcdef]
and eax, 0xf
mov byte [esp + 0x1a], dl
mov al, byte [eax + str.0123456789abcdef]
mov byte [esp + 0x1b], al
movzx eax, byte [ebx + 0xe]
mov ecx, eax
shr ecx, 4
mov dl, byte [ecx + str.0123456789abcdef]
and eax, 0xf
mov byte [esp + 0x1c], dl
mov al, byte [eax + str.0123456789abcdef]
mov byte [esp + 0x1d], al
movzx eax, byte [ebx + 0xf]
mov ecx, eax
shr ecx, 4
mov dl, byte [ecx + str.0123456789abcdef]
mov ecx, dword [esp + 0x10]
and eax, 0xf
mov byte [esp + 0x1e], dl
mov al, byte [eax + str.0123456789abcdef]
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x13], ecx
add ebp, 0x18
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0x18]
mov dword [ebp], edx
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword [ebp + 8], ecx
pop ebp
pop ebx
add esp, 0x10
ret