Function at 0x401480
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, 0x1000000
cmp byte [ecx + 0x4c], dl
mov ebx, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
cmovne eax, edx
cmp dword [ebp + 0x10], 0x10
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ebx
lea eax, [eax + eax*4]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], eax
lea eax, [edx + edx*4]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebx + ebx*4]
mov ebx, dword [ecx + 0x20]
mov dword [ebp - 0x24], eax
lea eax, [esi + esi*4]
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x14]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esi
jb 0x401756
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add ebx, 8
mov dword [ebp - 0x38], ebx
shr ecx, 4
movzx esi, byte [ebx - 5]
movzx eax, byte [ebx - 6]
mov edx, esi
and edx, 3
shr esi, 2
shl edx, 8
or edx, eax
movzx eax, byte [ebx - 7]
shl edx, 8
or edx, eax
movzx eax, byte [ebx - 8]
shl edx, 8
or edx, eax
movzx eax, byte [ebx - 3]
add edi, edx
mov dword [ebp - 0x14], edi
movzx edi, byte [ebx - 2]
mov edx, edi
shr edi, 4
and edx, 0xf
shl edx, 8
or edx, eax
movzx eax, byte [ebx - 4]
shl edx, 8
or edx, eax
movzx eax, byte [ebx]
shl edx, 6
or edx, esi
movzx esi, byte [ebx + 1]
add dword [ebp - 8], edx
mov edx, esi
and edx, 0x3f
shr esi, 6
shl edx, 8
or edx, eax
movzx eax, byte [ebx - 1]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 3]
shl edx, 4
or edx, edi
mov edi, dword [ebp - 0xc]
add edi, edx
movzx edx, byte [ebx + 4]
shl edx, 8
or edx, eax
mov dword [ebp - 0xc], edi
movzx eax, byte [ebx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 6]
shl edx, 2
or edx, esi
add dword [ebp - 4], edx
movzx edx, byte [ebx + 7]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 5]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 8]
or edx, dword [ebp - 0x3c]
add dword [ebp - 0x10], edx
mul dword [ebp - 0x1c]
mov ebx, eax
mov esi, edx
mov eax, edi
mul dword [ebp - 0x24]
add ebx, eax
mov eax, dword [ebp - 4]
adc esi, edx
mul dword [ebp - 0x30]
add ebx, eax
mov eax, dword [ebp - 0x10]
adc esi, edx
mul dword [ebp - 0x40]
add ebx, eax
mov eax, dword [ebp - 0x14]
adc esi, edx
mul dword [ebp - 0x18]
add ebx, eax
adc esi, edx
mov eax, dword [ebp - 0x10]
mul dword [ebp - 0x1c]
mov dword [ebp - 0x34], ebx
mov edi, eax
mov ebx, edx
mov eax, dword [ebp - 0x14]
mul dword [ebp - 0x2c]
add edi, eax
mov eax, dword [ebp - 8]
adc ebx, edx
mul dword [ebp - 0x28]
add edi, eax
mov eax, dword [ebp - 0xc]
adc ebx, edx
mul dword [ebp - 0x20]
add edi, eax
mov eax, dword [ebp - 4]
adc ebx, edx
mul dword [ebp - 0x18]
add edi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], edi
adc ebx, edx
mul dword [ebp - 0x44]
mov dword [ebp - 0x4c], ebx
mov edi, eax
mov ebx, edx
mov eax, dword [ebp - 8]
mul dword [ebp - 0x2c]
add edi, eax
mov eax, dword [ebp - 0xc]
adc ebx, edx
mul dword [ebp - 0x28]
add edi, eax
mov eax, dword [ebp - 4]
adc ebx, edx
mul dword [ebp - 0x20]
add edi, eax
mov eax, dword [ebp - 0x10]
adc ebx, edx
mul dword [ebp - 0x18]
add edi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], edi
adc ebx, edx
mul dword [ebp - 0x1c]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
shrd ebx, esi, 0x1a
xor esi, esi
add ebx, eax
mov eax, dword [ebp - 4]
adc esi, edx
mul dword [ebp - 0x24]
add ebx, eax
mov eax, dword [ebp - 0x10]
adc esi, edx
mul dword [ebp - 0x30]
add ebx, eax
mov eax, dword [ebp - 0x14]
adc esi, edx
mul dword [ebp - 0x20]
add ebx, eax
mov eax, dword [ebp - 8]
adc esi, edx
mul dword [ebp - 0x18]
add ebx, eax
mov eax, dword [ebp - 4]
mov edi, ebx
adc esi, edx
mul dword [ebp - 0x1c]
shrd edi, esi, 0x1a
xor esi, esi
add edi, eax
mov eax, dword [ebp - 0x10]
adc esi, edx
mul dword [ebp - 0x24]
add edi, eax
mov eax, dword [ebp - 0x14]
adc esi, edx
mul dword [ebp - 0x28]
add edi, eax
mov eax, dword [ebp - 8]
adc esi, edx
mul dword [ebp - 0x20]
add edi, eax
mov eax, dword [ebp - 0xc]
adc esi, edx
mul dword [ebp - 0x18]
add edi, eax
mov eax, edi
adc esi, edx
and eax, 0x3ffffff
shrd edi, esi, 0x1a
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
add esi, edi
mov eax, dword [ebp - 0x4c]
mov edx, esi
adc eax, 0
and edx, 0x3ffffff
shrd esi, eax, 0x1a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x50]
add edx, esi
mov esi, edx
adc eax, 0
and esi, 0x3ffffff
shrd edx, eax, 0x1a
mov eax, dword [ebp - 0x34]
and eax, 0x3ffffff
mov dword [ebp - 0x10], esi
lea edi, [edx + edx*4]
mov edx, ebx
mov ebx, dword [ebp - 0x38]
add edi, eax
mov eax, edi
and edx, 0x3ffffff
shr eax, 0x1a
add ebx, 0x10
add edx, eax
mov dword [ebp - 0x38], ebx
and edi, 0x3ffffff
mov dword [ebp - 8], edx
sub ecx, 1
jne 0x401505
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov dword [ecx + 0x14], edi
pop edi
mov dword [ecx + 0x24], esi
pop esi
mov dword [ecx + 0x20], ebx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], eax
pop ebx
mov esp, ebp
pop ebp
ret