Function at 0x466810
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x50
cmp ecx, dword [esp + 0x58]
jb 0x467003
movzx ecx, word [eax]
push ebx
mov edx, ecx
shl edx, 5
push ebp
movzx ebp, word [eax + 8]
mov dword [esp + 0x38], edx
movzx edx, word [eax + 2]
push esi
mov esi, edx
shl esi, 5
mov dword [esp + 0x40], esi
movzx esi, word [eax + 4]
push edi
mov edi, esi
shl edi, 5
mov dword [esp + 0x48], edi
movzx edi, word [eax + 6]
mov ebx, edi
shl ebx, 5
mov dword [esp + 0x4c], ebx
mov ebx, ebp
shl ebx, 5
mov dword [esp + 0x50], ebx
movzx ebx, word [eax + 0xa]
mov dword [esp + 0x18], ebx
shl ebx, 5
mov dword [esp + 0x54], ebx
movzx ebx, word [eax + 0xc]
movzx eax, word [eax + 0xe]
mov dword [esp + 0x14], ebx
shl ebx, 5
mov dword [esp + 0x10], eax
shl eax, 5
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov ax, word [ebx]
sub ebx, 2
mov dword [esp + 0x64], ebx
movzx ebx, word [ebx]
sar bx, 2
movzx ebx, bx
mov dword [esp + 0x38], ebx
sar ax, 2
movzx eax, ax
mov ebx, eax
and ebx, 0xfffffffe
add ebx, ebx
add ebx, ebx
movzx ebx, bx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x38]
and ebx, 0xfffffffe
add ebx, ebx
and eax, 1
add ebx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
movzx ebx, bx
and eax, 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
movsx eax, word [esp + 0x1c]
movsx ebx, bx
lea eax, [ebx + eax*8]
mov ebx, dword [esp + 0x6c]
lea eax, [ebx + eax*2]
movzx ebx, word [esp + 0x40]
add word [eax], bx
movzx ebx, word [esp + 0x44]
add word [eax + 2], bx
movzx ebx, word [esp + 0x48]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x4c]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x50]
sub dword [esp + 0x64], 2
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x54]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x58]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x5c]
add eax, 2
add word [eax + 2], bx
mov ebx, dword [esp + 0x34]
add eax, 2
test bx, bx
jne 0x466b00
mov ebx, dword [esp + 0x38]
test bx, bx
jne 0x466c8b
cmp word [esp + 0x3c], bx
jle 0x466aea
mov ebx, dword [esp + 0x10]
shl ebx, 4
add word [eax - 0x10], bx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
shl ebx, 4
sub eax, 0x10
add word [eax - 2], bx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x18]
sub eax, 2
shl ebx, 4
add word [eax - 2], bx
mov dword [esp + 0x28], ebx
sub eax, 2
sub eax, 2
mov ebx, ebp
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x2c], ebx
sub eax, 2
mov ebx, edi
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x30], ebx
sub eax, 2
mov ebx, esi
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x34], ebx
sub eax, 2
mov ebx, edx
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x38], ebx
mov ebx, ecx
shl ebx, 4
add word [eax - 2], bx
sub eax, 2
cmp word [esp + 0x1c], 0
mov dword [esp + 0x3c], ebx
jle 0x466ff1
sub eax, 0x80
add eax, 2
add eax, 2
add eax, 2
lea ebx, [ecx*8]
add word [eax - 6], bx
add eax, 2
lea ebx, [edx*8]
add word [eax - 6], bx
lea ebx, [esi*8]
add word [eax - 4], bx
lea ebx, [edi*8]
add word [eax - 2], bx
lea ebx, [ebp*8]
add word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax + 2], bx
mov ebx, dword [esp + 0x14]
add eax, 2
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax + 2], bx
mov ebx, dword [esp + 0x10]
add eax, 2
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax + 2], bx
movzx ebx, word [esp + 0x3c]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x38]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x34]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x30]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x2c]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x28]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x24]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x20]
add eax, 2
add eax, 2
jmp 0x466fee
cmp word [esp + 0x1c], 0
jle 0x466ff1
sub eax, 0x80
jmp 0x466f94
cmp bx, 1
jne 0x466ff1
mov ebx, dword [esp + 0x38]
test bx, bx
jne 0x466e09
cmp word [esp + 0x3c], bx
jle 0x466f87
mov ebx, dword [esp + 0x10]
shl ebx, 4
add word [eax - 0x10], bx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
shl ebx, 4
sub eax, 0x10
add word [eax - 2], bx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x18]
sub eax, 2
shl ebx, 4
add word [eax - 2], bx
mov dword [esp + 0x28], ebx
sub eax, 2
sub eax, 2
mov ebx, ebp
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x2c], ebx
sub eax, 2
mov ebx, edi
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x30], ebx
sub eax, 2
mov ebx, esi
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x34], ebx
sub eax, 2
mov ebx, edx
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x38], ebx
mov ebx, ecx
shl ebx, 4
add word [eax - 2], bx
sub eax, 2
cmp word [esp + 0x1c], 0x1c
mov dword [esp + 0x3c], ebx
jge 0x466ff1
add eax, 0x80
add eax, 2
add eax, 2
add eax, 2
lea ebx, [ecx*8]
add word [eax - 6], bx
add eax, 2
lea ebx, [edx*8]
add word [eax - 6], bx
lea ebx, [esi*8]
add word [eax - 4], bx
lea ebx, [edi*8]
add word [eax - 2], bx
lea ebx, [ebp*8]
add word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax + 2], bx
mov ebx, dword [esp + 0x14]
add eax, 2
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax + 2], bx
mov ebx, dword [esp + 0x10]
add eax, 2
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax + 2], bx
movzx ebx, word [esp + 0x3c]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x38]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x34]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x30]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x2c]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x28]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x24]
add eax, 2
add word [eax + 2], bx
movzx ebx, word [esp + 0x20]
add eax, 2
add eax, 2
jmp 0x466fee
cmp bx, 1
jne 0x466ff1
cmp word [esp + 0x3c], 0x38
jge 0x466aea
add eax, 2
mov ebx, ecx
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x3c], ebx
add eax, 2
mov ebx, edx
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x38], ebx
add eax, 2
mov ebx, esi
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x34], ebx
add eax, 2
mov ebx, edi
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x30], ebx
add eax, 2
mov ebx, ebp
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x18]
shl ebx, 4
add word [eax + 2], bx
add eax, 2
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
shl ebx, 4
add word [eax + 2], bx
add eax, 2
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x10]
shl ebx, 4
add word [eax + 2], bx
add eax, 2
cmp word [esp + 0x1c], 0
mov dword [esp + 0x20], ebx
jle 0x466ff1
mov ebx, dword [esp + 0x10]
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax - 0x80], bx
mov ebx, dword [esp + 0x14]
sub eax, 0x80
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax - 2], bx
mov ebx, dword [esp + 0x18]
sub eax, 2
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax - 2], bx
sub eax, 2
sub eax, 2
sub eax, 2
sub eax, 2
lea ebx, [ebp*8]
add word [eax + 4], bx
sub eax, 2
lea ebx, [edi*8]
add word [eax + 4], bx
sub eax, 2
lea ebx, [esi*8]
add word [eax + 4], bx
lea ebx, [edx*8]
add word [eax + 2], bx
sub eax, 2
lea ebx, [ecx*8]
add word [eax + 2], bx
movzx ebx, word [esp + 0x20]
add word [eax], bx
movzx ebx, word [esp + 0x24]
add word [eax - 2], bx
movzx ebx, word [esp + 0x28]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x2c]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x30]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x34]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x38]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x3c]
sub eax, 2
sub eax, 2
jmp 0x466fee
cmp bx, 1
jne 0x466ff1
cmp word [esp + 0x3c], 0x38
jge 0x466f87
add eax, 2
mov ebx, ecx
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x3c], ebx
add eax, 2
mov ebx, edx
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x38], ebx
add eax, 2
mov ebx, esi
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x34], ebx
add eax, 2
mov ebx, edi
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x30], ebx
add eax, 2
mov ebx, ebp
shl ebx, 4
add word [eax], bx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x18]
shl ebx, 4
add word [eax + 2], bx
add eax, 2
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
shl ebx, 4
add word [eax + 2], bx
add eax, 2
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x10]
shl ebx, 4
add word [eax + 2], bx
add eax, 2
cmp word [esp + 0x1c], 0x38
mov dword [esp + 0x20], ebx
jge 0x466ff1
mov ebx, dword [esp + 0x10]
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax + 0x80], bx
mov ebx, dword [esp + 0x14]
add eax, 0x80
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax - 2], bx
mov ebx, dword [esp + 0x18]
sub eax, 2
add ebx, ebx
add ebx, ebx
add ebx, ebx
add word [eax - 2], bx
sub eax, 2
sub eax, 2
sub eax, 2
sub eax, 2
lea ebx, [ebp*8]
add word [eax + 4], bx
sub eax, 2
lea ebx, [edi*8]
add word [eax + 4], bx
sub eax, 2
lea ebx, [esi*8]
add word [eax + 4], bx
lea ebx, [edx*8]
add word [eax + 2], bx
sub eax, 2
lea ebx, [ecx*8]
add word [eax + 2], bx
movzx ebx, word [esp + 0x20]
add word [eax], bx
movzx ebx, word [esp + 0x24]
add word [eax - 2], bx
movzx ebx, word [esp + 0x28]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x2c]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x30]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x34]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x38]
sub eax, 2
add word [eax - 2], bx
movzx ebx, word [esp + 0x3c]
sub eax, 2
sub eax, 2
jmp 0x466fee
cmp word [esp + 0x1c], 0x38
jge 0x466ff1
add eax, 0x80
mov ebx, dword [esp + 0x10]
shl ebx, 4
add word [eax], bx
mov ebx, dword [esp + 0x14]
shl ebx, 4
add word [eax - 2], bx
mov ebx, dword [esp + 0x18]
sub eax, 2
shl ebx, 4
add word [eax - 2], bx
sub eax, 2
sub eax, 2
mov ebx, ebp
shl ebx, 4
add word [eax], bx
sub eax, 2
mov ebx, edi
shl ebx, 4
add word [eax], bx
sub eax, 2
mov ebx, esi
shl ebx, 4
add word [eax], bx
mov ebx, edx
sub eax, 2
shl ebx, 4
add word [eax], bx
mov ebx, ecx
sub eax, 2
shl ebx, 4
add word [eax], bx
mov ebx, dword [esp + 0x64]
cmp ebx, dword [esp + 0x68]
jae 0x466896
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret