Function at 0x460c20
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp]
mov eax, dword [eax - 0x1809c]
lea ebx, [eax - 1]
test ebx, ebx
jl 0x460c68
mov dword [esp + 0xc], 0xffffffff
lea esi, [esi]
add dword [esp + 0xc], 1
mov eax, dword [esp]
mov eax, dword [eax - 0x18]
add dword [esp + 4], eax
cmp ebx, dword [esp + 0xc]
jg 0x460c50
lea esi, [esi]
mov dword [esp + 8], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
movzx eax, word [esp + 6]
mov dword [esp + 0x24], eax
mov eax, dword [esp]
mov ecx, dword [eax - 0x1809c]
shl ecx, 2
mov ebx, ecx
sar ebx, 0x1f
mov eax, 0
add ecx, edx
adc ebx, eax
mov eax, ecx
cmp dword [esp + 4], 0
sete byte [esp + 0x28]
mov edx, dword [esp]
mov edx, dword [edx - 0x20]
sub edx, 1
test edx, edx
jl 0x460eac
mov dword [esp + 0xc], 0xffffffff
lea esi, [esi]
add dword [esp + 0xc], 1
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
add dword [esp + 4], ecx
movzx ecx, word [esp + 6]
cmp ecx, dword [esp + 0x24]
jle 0x460e4b
mov cl, byte [esp + 0x28]
test cl, cl
je 0x460de4
movzx ebx, word [esp + 4]
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
sub ecx, ebx
movzx ebx, byte [eax + 2]
imul ecx, ebx
mov ebx, ecx
sar ebx, 0x1f
mov esi, dword [esp + 0x20]
mov edi, 0
add ecx, esi
adc ebx, edi
shrd ecx, ebx, 0x10
shr ebx, 0x10
mov ebx, dword [esp + 8]
mov byte [ebx + 2], cl
movzx ebx, word [esp + 4]
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
sub ecx, ebx
movzx ebx, byte [eax + 1]
imul ecx, ebx
mov esi, ecx
sar esi, 0x1f
mov edi, dword [esp + 0x18]
mov ebx, 0
add ecx, edi
adc esi, ebx
shrd ecx, esi, 0x10
shr esi, 0x10
mov ebx, dword [esp + 8]
mov byte [ebx + 1], cl
movzx ebx, word [esp + 4]
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
sub ecx, ebx
movzx ebx, byte [eax]
imul ecx, ebx
mov esi, ecx
sar esi, 0x1f
mov ebx, dword [esp + 0x14]
mov edi, 0
add ecx, ebx
adc esi, edi
shrd ecx, esi, 0x10
shr esi, 0x10
mov ebx, dword [esp + 8]
mov byte [ebx], cl
mov ecx, dword [esp]
cmp byte [ecx + 0xc], 0
je 0x460de4
movzx ebx, word [esp + 4]
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
sub ecx, ebx
movzx ebx, byte [eax + 3]
imul ecx, ebx
mov esi, ecx
sar esi, 0x1f
mov ebx, dword [esp + 0x10]
mov edi, 0
add ecx, ebx
adc esi, edi
shrd ecx, esi, 0x10
shr esi, 0x10
mov ebx, dword [esp + 8]
mov byte [ebx + 3], cl
lea esi, [esi]
movzx ecx, byte [eax + 2]
movzx ebx, word [esp + 4]
imul ecx, ebx
mov dword [esp + 0x20], ecx
movzx ecx, byte [eax + 1]
movzx ebx, word [esp + 4]
imul ecx, ebx
mov dword [esp + 0x18], ecx
movzx ecx, byte [eax]
movzx ebx, word [esp + 4]
imul ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp]
cmp byte [ecx + 0xc], 0
je 0x460e2c
movzx ecx, byte [eax + 3]
movzx ebx, word [esp + 4]
imul ecx, ebx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x28], 1
add dword [esp + 8], 4
add dword [esp + 0x1c], 1
movzx ecx, word [esp + 6]
mov dword [esp + 0x24], ecx
mov byte [esp + 0x2c], 0
jmp 0x460e9d
movzx esi, byte [eax + 2]
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
imul esi, ecx
add dword [esp + 0x20], esi
movzx esi, byte [eax + 1]
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
imul esi, ecx
add dword [esp + 0x18], esi
movzx esi, byte [eax]
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
imul esi, ecx
add dword [esp + 0x14], esi
mov ecx, dword [esp]
cmp byte [ecx + 0xc], 0
je 0x460e98
movzx esi, byte [eax + 3]
mov ecx, dword [esp]
mov ecx, dword [ecx - 0x18]
imul esi, ecx
add dword [esp + 0x10], esi
nop
mov byte [esp + 0x2c], 1
add eax, 4
cmp edx, dword [esp + 0xc]
jg 0x460ce0
mov esi, esi
mov al, byte [esp + 0x2c]
test al, al
je 0x460ef4
mov edx, dword [esp + 0x20]
shr edx, 0x10
mov eax, dword [esp + 8]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x18]
shr edx, 0x10
mov eax, dword [esp + 8]
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
shr edx, 0x10
mov eax, dword [esp + 8]
mov byte [eax], dl
mov eax, dword [esp]
cmp byte [eax + 0xc], 0
je 0x460ef4
mov edx, dword [esp + 0x10]
shr edx, 0x10
mov eax, dword [esp + 8]
mov byte [eax + 3], dl
lea esp, [esp + 0x30]
pop edi
pop esi
pop ebx
ret