Function at 0x407060
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 8]
mov edx, dword [eax]
xor ecx, ecx
cmp byte [eax + 0x50], cl
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 8]
setne cl
push ebx
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x24], edx
push esi
mov esi, dword [eax + 0xc]
lea edx, [edx + edx*4]
dec ecx
and ecx, 0x1000000
cmp dword [ebp + 0x14], 0
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
lea ecx, [ecx + ecx*4]
push edi
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], edx
lea ecx, [esi + esi*4]
lea edx, [edi + edi*4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
ja 0x4070de
cmp dword [ebp + 0x10], 0x10
jb 0x407432
mov eax, dword [ebp + 0xc]
add eax, 6
mov dword [ebp - 0x2c], eax
jmp 0x4070f6
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x14]
mov ecx, dword [eax - 6]
and ecx, 0x3ffffff
add ebx, ecx
mov ecx, dword [eax - 3]
shr ecx, 2
and ecx, 0x3ffffff
add dword [ebp - 4], ecx
mov ecx, dword [eax]
shr ecx, 4
and ecx, 0x3ffffff
add dword [ebp - 8], ecx
mov ecx, dword [eax + 3]
mov eax, dword [eax + 6]
shr eax, 8
or eax, dword [ebp - 0x38]
shr ecx, 6
add dword [ebp - 0x10], eax
add dword [ebp - 0xc], ecx
xor eax, eax
push eax
push ebx
push eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
push eax
mov dword [ebp - 0x14], ebx
call fcn.004ae500
mov ecx, dword [ebp - 0x10]
mov esi, eax
xor eax, eax
push eax
push ecx
mov edi, edx
mov edx, dword [ebp - 0x3c]
push eax
push edx
call fcn.004ae500
mov ecx, dword [ebp - 0x34]
add esi, eax
adc edi, edx
xor eax, eax
push eax
mov eax, dword [ebp - 0xc]
push eax
xor eax, eax
push eax
push ecx
call fcn.004ae500
add esi, eax
adc edi, edx
mov edx, dword [ebp - 8]
xor eax, eax
push eax
push edx
push eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.004ae500
mov ecx, dword [ebp - 4]
add esi, eax
adc edi, edx
mov edx, dword [ebp - 0x20]
xor eax, eax
push eax
push ecx
push eax
push edx
call fcn.004ae500
mov ecx, dword [ebp - 0x30]
add esi, eax
mov eax, dword [ebp - 0x64]
push eax
adc edi, edx
push ebx
xor eax, eax
push eax
push ecx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edi
call fcn.004ae500
mov ebx, eax
xor eax, eax
push eax
mov edi, edx
mov edx, dword [ebp - 8]
push edx
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004ae500
mov ecx, dword [ebp - 0xc]
add ebx, eax
adc edi, edx
mov edx, dword [ebp - 0x18]
xor eax, eax
push eax
push ecx
push eax
push edx
call fcn.004ae500
mov ecx, dword [ebp - 0x24]
add ebx, eax
adc edi, edx
xor eax, eax
push eax
mov eax, dword [ebp - 4]
push eax
xor eax, eax
push eax
push ecx
call fcn.004ae500
add ebx, eax
adc edi, edx
mov edx, dword [ebp - 0x20]
xor eax, eax
push eax
push edx
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004ae500
mov ecx, dword [ebp - 0x64]
add ebx, eax
adc edi, edx
mov edx, dword [ebp - 0x14]
push ecx
push edx
xor eax, eax
push eax
mov eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0x70], ebx
call fcn.004ae500
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x58], eax
xor eax, eax
push eax
push ecx
mov ebx, edx
mov edx, dword [ebp - 0x1c]
push eax
push edx
call fcn.004ae500
add dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x18]
adc ebx, edx
xor eax, eax
push eax
mov eax, dword [ebp - 0x10]
push eax
xor eax, eax
push eax
push ecx
call fcn.004ae500
add dword [ebp - 0x58], eax
adc ebx, edx
mov edx, dword [ebp - 8]
xor eax, eax
push eax
push edx
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.004ae500
add dword [ebp - 0x58], eax
mov ecx, dword [ebp - 4]
adc ebx, edx
mov edx, dword [ebp - 0x30]
xor eax, eax
push eax
push ecx
push eax
push edx
call fcn.004ae500
mov ecx, dword [ebp - 0x58]
add ecx, eax
mov eax, dword [ebp - 0x5c]
adc ebx, edx
mov edx, dword [ebp - 0x14]
shrd esi, eax, 0x1a
shr eax, 0x1a
xor eax, eax
push eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x4c], 0
call fcn.004ae500
mov ecx, dword [ebp - 0x34]
add esi, eax
adc dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x10]
xor eax, eax
push eax
push ecx
push eax
push edx
call fcn.004ae500
mov ecx, dword [ebp - 0x18]
add esi, eax
adc dword [ebp - 0x4c], edx
xor eax, eax
push eax
mov eax, dword [ebp - 4]
push eax
xor eax, eax
push eax
push ecx
call fcn.004ae500
add esi, eax
adc dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x28]
xor eax, eax
push eax
push edx
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004ae500
mov ecx, dword [ebp - 0x20]
add esi, eax
adc dword [ebp - 0x4c], edx
mov edx, dword [ebp - 8]
xor eax, eax
push eax
push ecx
push eax
push edx
call fcn.004ae500
add esi, eax
mov eax, dword [ebp - 0x4c]
adc eax, edx
mov edx, dword [ebp - 0x14]
mov ecx, esi
shrd ecx, eax, 0x1a
shr eax, 0x1a
xor eax, eax
push eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], 0
push edx
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.004ae500
add dword [ebp - 0x48], eax
mov ecx, dword [ebp - 4]
adc dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x1c]
xor eax, eax
push eax
push ecx
push eax
push edx
call fcn.004ae500
add dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x18]
adc dword [ebp - 0x44], edx
xor eax, eax
push eax
mov eax, dword [ebp - 8]
push eax
xor eax, eax
push eax
push ecx
call fcn.004ae500
add dword [ebp - 0x48], eax
adc dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x28]
xor eax, eax
push eax
push edx
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004ae500
add dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x20]
adc dword [ebp - 0x44], edx
mov edx, dword [ebp - 0xc]
xor eax, eax
push eax
push ecx
push eax
push edx
call fcn.004ae500
mov ecx, dword [ebp - 0x48]
add ecx, eax
mov eax, dword [ebp - 0x44]
adc eax, edx
mov edx, ecx
shrd ecx, eax, 0x1a
shr eax, 0x1a
mov eax, dword [ebp - 0x70]
and edx, 0x3ffffff
add eax, ecx
adc edi, 0
mov ecx, eax
and ecx, 0x3ffffff
shrd eax, edi, 0x1a
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x78]
shr edi, 0x1a
add ecx, eax
mov eax, dword [ebp - 0x60]
adc ebx, 0
mov dword [ebp - 8], edx
mov edx, ecx
shrd ecx, ebx, 0x1a
lea ecx, [ecx + ecx*4]
and eax, 0x3ffffff
add eax, ecx
mov ecx, eax
and edx, 0x3ffffff
shr ecx, 0x1a
and eax, 0x3ffffff
and esi, 0x3ffffff
shr ebx, 0x1a
add esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
add dword [ebp - 0x2c], 0x10
add dword [ebp + 0x10], 0xfffffff0
mov eax, dword [ebp + 0x14]
adc eax, 0xffffffff
mov dword [ebp + 0x14], eax
test eax, eax
ja 0x4070f0
jb 0x40742c
cmp dword [ebp + 0x10], 0x10
jae 0x4070f0
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
pop edi
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov dword [eax + 0x14], ebx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
pop ebx
mov esp, ebp
pop ebp
ret