Function at 0x513960
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x28]
cmp ecx, 0x40
jb 0x513975
or eax, 0xffffffff
pop esi
pop ebp
ret
lea eax, [ecx*8]
add dword [esi], eax
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x2c], 0x80
inc dword [esi + 0x28]
mov eax, dword [esi + 0x28]
cmp eax, 0x38
jbe 0x5139c4
cmp eax, 0x40
jae 0x5139b0
nop word [eax + eax]
mov byte [esi + eax + 0x2c], 0
inc dword [esi + 0x28]
mov eax, dword [esi + 0x28]
cmp eax, 0x40
jb 0x5139a0
lea eax, [esi + 0x2c]
push eax
push esi
call fcn.00513c60
add esp, 8
mov dword [esi + 0x28], 0
cmp dword [esi + 0x28], 0x38
jae 0x5139e1
nop word [eax + eax]
mov eax, dword [esi + 0x28]
mov byte [esi + eax + 0x2c], 0
inc dword [esi + 0x28]
cmp dword [esi + 0x28], 0x38
jb 0x5139d0
movzx eax, byte [esi + 7]
mov cl, 0x28
mov byte [esi + 0x64], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x65], al
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.00515af0
mov byte [esi + 0x66], al
mov cl, 0x20
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.00515af0
mov byte [esi + 0x67], al
mov ecx, dword [esi]
mov eax, dword [esi + 4]
shrd ecx, eax, 0x18
shr eax, 0x18
mov byte [esi + 0x68], cl
mov ecx, dword [esi]
mov eax, dword [esi + 4]
shrd ecx, eax, 0x10
shr eax, 0x10
mov byte [esi + 0x69], cl
mov ecx, dword [esi]
mov eax, dword [esi + 4]
shrd ecx, eax, 8
shr eax, 8
mov byte [esi + 0x6a], cl
movzx eax, byte [esi]
mov byte [esi + 0x6b], al
lea eax, [esi + 0x2c]
push eax
push esi
call fcn.00513c60
mov ecx, dword [ebp + 8]
add esp, 8
movzx eax, byte [esi + 0xb]
mov byte [ecx], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 1], al
movzx eax, byte [esi + 9]
mov byte [ecx + 2], al
movzx eax, byte [esi + 8]
mov byte [ecx + 3], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 4], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 5], al
movzx eax, byte [esi + 0xd]
mov byte [ecx + 6], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 8], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 9], al
movzx eax, byte [esi + 0x11]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [ecx + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [ecx + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [ecx + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [ecx + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [ecx + 0x13], al
movzx eax, byte [esi + 0x1f]
mov byte [ecx + 0x14], al
movzx eax, byte [esi + 0x1e]
mov byte [ecx + 0x15], al
movzx eax, byte [esi + 0x1d]
mov byte [ecx + 0x16], al
movzx eax, byte [esi + 0x1c]
mov byte [ecx + 0x17], al
movzx eax, byte [esi + 0x23]
mov byte [ecx + 0x18], al
movzx eax, byte [esi + 0x22]
mov byte [ecx + 0x19], al
movzx eax, byte [esi + 0x21]
mov byte [ecx + 0x1a], al
movzx eax, byte [esi + 0x20]
mov byte [ecx + 0x1b], al
movzx eax, byte [esi + 0x27]
mov byte [ecx + 0x1c], al
movzx eax, byte [esi + 0x26]
mov byte [ecx + 0x1d], al
movzx eax, byte [esi + 0x25]
mov byte [ecx + 0x1e], al
movzx eax, byte [esi + 0x24]
mov byte [ecx + 0x1f], al
xor eax, eax
pop esi
pop ebp
ret