Function at 0x406e40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x58], ecx
xor eax, eax
cmp byte [ecx + 0x50], al
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov esi, 0x1000000
mov dword [ebp - 0x28], edx
cmovne esi, eax
mov dword [ebp - 0x30], ebx
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov edi, dword [ecx + 0x10]
lea eax, [eax + eax*4]
mov dword [ebp - 0x2c], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x40], eax
lea eax, [edx + edx*4]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x34], eax
lea eax, [ebx + ebx*4]
mov ebx, dword [ecx + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [edi + edi*4]
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0xc]
test esi, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x44], edi
mov edi, dword [ecx + 0x14]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
jne 0x406ec0
cmp dword [ebp + 8], 0x10
jb 0x4070ca
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
add eax, 6
mov dword [ebp - 0xc], eax
nop dword [eax]
mov eax, dword [eax - 6]
and eax, 0x3ffffff
add edi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], edi
mov eax, dword [eax - 3]
shr eax, 2
and eax, 0x3ffffff
add edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
shr eax, 4
and eax, 0x3ffffff
add ebx, eax
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 3]
shr eax, 6
add dword [ebp - 4], eax
mov eax, dword [ebx + 6]
shr eax, 8
or eax, esi
add dword [ebp - 8], eax
mov eax, edx
mul dword [ebp - 0x14]
mov ebx, eax
mov esi, edx
mov eax, dword [ebp + 0xc]
mul dword [ebp - 0x24]
add ebx, eax
mov eax, dword [ebp - 4]
adc esi, edx
mul dword [ebp - 0x34]
add ebx, eax
mov eax, dword [ebp - 8]
adc esi, edx
mul dword [ebp - 0x40]
add ebx, eax
mov eax, edi
adc esi, edx
mul dword [ebp - 0x10]
add ebx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], ebx
adc esi, edx
mul dword [ebp - 0x14]
mov edi, eax
mov ebx, edx
mov eax, dword [ebp - 0x18]
mul dword [ebp - 0x30]
add edi, eax
mov eax, dword [ebp - 0x1c]
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 - 0x10]
add edi, eax
mov eax, dword [ebp - 0x18]
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 - 0x1c]
mul dword [ebp - 0x30]
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 - 8]
adc ebx, edx
mul dword [ebp - 0x10]
add edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], edi
adc ebx, edx
mul dword [ebp - 0x14]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
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 - 8]
adc esi, edx
mul dword [ebp - 0x34]
add ebx, eax
mov eax, dword [ebp - 0x18]
adc esi, edx
mul dword [ebp - 0x20]
add ebx, eax
mov eax, dword [ebp - 0x1c]
adc esi, edx
mul dword [ebp - 0x10]
add ebx, eax
mov eax, dword [ebp - 4]
mov edi, ebx
adc esi, edx
mul dword [ebp - 0x14]
shrd edi, esi, 0x1a
xor esi, esi
add edi, eax
mov eax, dword [ebp - 8]
adc esi, edx
mul dword [ebp - 0x24]
add edi, eax
mov eax, dword [ebp - 0x18]
adc esi, edx
mul dword [ebp - 0x28]
add edi, eax
mov eax, dword [ebp - 0x1c]
adc esi, edx
mul dword [ebp - 0x20]
add edi, eax
mov eax, dword [ebp + 0xc]
adc esi, edx
mul dword [ebp - 0x10]
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 - 0x38]
and eax, 0x3ffffff
mov dword [ebp - 8], esi
lea edi, [edx + edx*4]
add edi, eax
mov eax, edi
shr eax, 0x1a
and edi, 0x3ffffff
add dword [ebp - 0xc], 0x10
mov edx, ebx
mov esi, dword [ebp - 0x2c]
and edx, 0x3ffffff
mov ebx, dword [ebp + 0xc]
add edx, eax
mov eax, dword [ebp - 0x3c]
add ecx, 0xfffffff0
adc eax, 0xffffffff
mov dword [ebp - 0x3c], eax
test eax, eax
mov eax, dword [ebp - 0xc]
ja 0x406ed0
jb 0x4070c1
cmp ecx, 0x10
jae 0x406ed0
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [ecx + 0x14], edi
pop edi
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 8]
pop esi
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x24], eax
pop ebx
mov esp, ebp
pop ebp
ret