Function at 0x4c45470
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x66cc]
lea esi, [ebx + 0x6c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
or ecx, 0xffffffff
mov dword [eax - 4], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp dword [esi], ecx
je 0x4c455f6
lea ecx, [edi + 0x66a4]
mov ebx, 0x10
mov eax, dword [esi]
cmp eax, dword [ecx - 8]
jne 0x4c4553d
mov dx, word [esi + 4]
mov word [ecx], dx
movzx eax, word [esi + 6]
mov word [ecx + 2], ax
mov edx, dword [esi + 8]
mov dword [ecx + 4], edx
movzx eax, word [esi + 0xc]
mov word [ecx + 8], ax
movzx edx, byte [esi + 0xe]
mov byte [ecx + 0xa], dl
mov eax, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
movzx edx, byte [esi + 0x14]
mov byte [ecx + 0x10], dl
mov al, byte [esi + 0x15]
mov byte [ecx + 0x11], al
mov edx, dword [esi + 0x18]
mov dword [ecx + 0x14], edx
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x18], eax
movzx edx, byte [esi + 0x20]
mov byte [ecx + 0x1c], dl
cmp dword [esi + 0x28], 0
jle 0x4c4553d
mov eax, dword [esi + 0x24]
test eax, eax
jl 0x4c4553d
mov dword [ecx + 0x24], eax
mov edx, dword [esi + 0x28]
sub edx, 1
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x28]
sub eax, 1
cdq
mov ebp, 3
idiv ebp
mov dword [ecx + 0x2c], edx
add ecx, 0x84
sub ebx, 1
jne 0x4c454b0
xor ebp, ebp
lea ebx, [edi + 0xa88]
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebx + 0x19c]
push edx
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.04c44090
cmp byte [ebx], 0
je 0x4c4557c
mov eax, dword [esp + 0x10]
cmp eax, dword [esi]
je 0x4c4558c
add ebp, 1
add ebx, 0x5b0
cmp ebp, 8
jl 0x4c45554
jmp 0x4c4559d
movsx ecx, word [esi + 6]
imul ebp, ebp, 0x5b0
mov dword [edi + ebp + 0xa90], ecx
xor ebp, ebp
lea ebx, [edi + 0x3808]
lea edx, [esp + 0x10]
push edx
lea eax, [ebx + 0x19c]
push eax
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.04c44090
cmp byte [ebx], 0
je 0x4c455cd
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi]
je 0x4c455dd
add ebp, 1
add ebx, 0x5b0
cmp ebp, 8
jl 0x4c455a5
jmp 0x4c455ee
movsx edx, word [esi + 6]
imul ebp, ebp, 0x5b0
mov dword [edi + ebp + 0x3810], edx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
add eax, 0x84
add esi, 0x2c
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
jne 0x4c45492
mov eax, dword [ebx]
mov dword [edi + 0x65e4], eax
mov cl, byte [ebx + 0x10]
mov byte [edi + 0x65e8], cl
mov dl, byte [ebx + 0x11]
mov byte [edi + 0x65e9], dl
movzx eax, word [ebx + 0x12]
mov word [edi + 0x65ea], ax
mov cx, word [ebx + 0x14]
mov word [edi + 0x65ec], cx
mov dx, word [ebx + 0xc]
mov word [edi + 0x65ee], dx
movzx eax, word [ebx + 0xe]
mov word [edi + 0x65f0], ax
mov ecx, dword [ebx + 0x18]
push 0x40
lea edx, [ebx + 0x28]
lea eax, [edi + 0x65f8]
push edx
mov dword [edi + 0x65f4], ecx
push eax
mov dword [eax], 0
nop
call 0x7c230750
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x6640], eax
mov ecx, dword [ebx + 0x24]
add esp, 0xc
mov dword [edi + 0x663c], ecx
call fcn.04b77750
mov edx, dword [eax + 0xc]
mov al, byte [ebx + 0x69]
mov byte [edx + 0x108], al
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x6644], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4