Function at 0x66f1a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add eax, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x48]
mov ebx, ecx
push esi
push edi
push dword [esp + 0x4c]
cmp word [ebp + 2], 0
push dword [esp + 0x4c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
je 0x66f5cf
mov dword [esp + 0x1c], ebx
call fcn.0066eda0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x66f58d
mov ecx, dword [esp + 0x2c]
movzx esi, word [ebp]
mov eax, dword [esp + 0x28]
add ecx, esi
mov dword [esp + 0x2c], ecx
neg ecx
and ecx, 0x1f
mov edi, dword [esi*4 + 0x73a368]
shr eax, cl
and eax, edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x28]
push eax
call fcn.0066ef10
mov ecx, dword [esp + 0x30]
lea eax, [ebp + 4]
add ecx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push eax
call fcn.0066ef10
mov eax, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov esi, dword [esp + 0x34]
cmp ebp, 0x20
jbe 0x66f267
mov edx, 3
jmp 0x66f2c5
cmp edi, dword [esp + 0x38]
jb 0x66f281
mov eax, ebp
and ebp, 7
shr eax, 3
sub edi, eax
mov edx, dword [edi]
mov dword [esp + 0x50], edx
xor edx, edx
jmp 0x66f2c5
cmp edi, esi
jne 0x66f293
cmp ebp, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x24], eax
jmp 0x66f2c1
mov ecx, ebp
mov dword [esp + 0x24], 0
shr ecx, 3
mov eax, edi
sub eax, ecx
cmp eax, esi
jae 0x66f2b4
mov ecx, edi
mov dword [esp + 0x24], 1
sub ecx, esi
sub edi, ecx
imul eax, ecx, 0xfffffff8
mov edx, dword [edi]
add ebp, eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add eax, 0xfffffffd
cmp ebx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x66f437
mov edx, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [esp + 0x1c]
and ecx, 0x1f
mov ebx, dword [eax + edx*4]
mov edx, ebx
mov eax, dword [esp + 0x50]
shl eax, cl
shr edx, 0x18
mov ecx, edx
neg ecx
and ecx, 0x1f
shr eax, cl
lea ecx, [edx + ebp]
mov ebp, dword [esp + 0x18]
movzx edx, bx
add edx, eax
shr ebx, 0x10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov byte [eax], bl
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov edx, dword [eax + ebp*4]
mov eax, edx
shr eax, 0x18
lea ebp, [ecx + eax]
neg eax
and ecx, 0x1f
and eax, 0x1f
shl ebx, cl
mov ecx, eax
shr ebx, cl
movzx eax, dx
add ebx, eax
shr edx, 0x10
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov byte [ebx + 1], dl
cmp ebp, 0x20
ja 0x66f430
cmp edi, dword [esp + 0x38]
jb 0x66f373
mov eax, ebp
shr eax, 3
sub edi, eax
and ebp, 7
mov ecx, dword [edi]
mov dword [esp + 0x50], ecx
jmp 0x66f3ac
cmp edi, esi
je 0x66f430
mov ecx, ebp
mov eax, edi
shr ecx, 3
xor edx, edx
sub eax, ecx
cmp eax, esi
jae 0x66f393
mov ecx, edi
mov edx, 1
sub ecx, esi
sub edi, ecx
lea eax, [ecx*8]
sub ebp, eax
mov ecx, dword [edi]
mov dword [esp + 0x50], ecx
test edx, edx
jne 0x66f430
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + edx*4]
mov eax, edx
shr eax, 0x18
lea esi, [eax + ebp]
and ebp, 0x1f
neg eax
mov ecx, ebp
mov ebp, dword [esp + 0x14]
and eax, 0x1f
shl ebp, cl
mov ecx, eax
shr ebp, cl
mov ecx, dword [esp + 0x50]
movzx eax, dx
add ebp, eax
shr edx, 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
mov byte [ebx + 2], dl
mov dword [esp + 0x18], ecx
mov edx, dword [eax + ebp*4]
mov eax, edx
shr eax, 0x18
lea ebp, [esi + eax]
and esi, 0x1f
mov ecx, esi
neg eax
mov esi, dword [esp + 0x18]
and eax, 0x1f
shl esi, cl
mov ecx, eax
movzx eax, dx
shr esi, cl
shr edx, 0x10
add esi, eax
mov byte [ebx + 3], dl
add ebx, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
jmp 0x66f257
add ebx, 2
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp ebx, eax
ja 0x66f588
mov eax, dword [esp + 0x50]
nop word [eax + eax]
mov edx, dword [esp + 0x14]
mov ecx, ebp
mov ebx, dword [esp + 0x1c]
and ecx, 0x1f
shl eax, cl
mov ebx, dword [ebx + edx*4]
mov edx, ebx
shr edx, 0x18
mov ecx, edx
neg ecx
and ecx, 0x1f
lea esi, [edx + ebp]
shr eax, cl
mov edx, dword [esp + 0x10]
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov dword [esp + 0x14], ecx
mov byte [edx], bl
inc edx
mov dword [esp + 0x10], edx
cmp esi, 0x20
ja 0x66f5b2
cmp edi, dword [esp + 0x38]
jb 0x66f4ab
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x66f4df
mov ecx, dword [esp + 0x34]
cmp edi, ecx
je 0x66f4db
mov edx, esi
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x66f4c4
mov edx, edi
sub edx, ecx
sub edi, edx
lea eax, [edx*8]
mov edx, dword [esp + 0x10]
sub esi, eax
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x66f4df
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
cmp edx, ecx
ja 0x66f588
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + ebp*4]
mov edx, ebx
shr edx, 0x18
mov ecx, esi
and ecx, 0x1f
shl eax, cl
mov ecx, edx
neg ecx
and ecx, 0x1f
lea ebp, [edx + esi]
mov edx, dword [esp + 0x10]
shr eax, cl
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov byte [edx], bl
inc edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
cmp ebp, 0x20
ja 0x66f595
cmp edi, dword [esp + 0x38]
jb 0x66f545
mov eax, ebp
shr eax, 3
sub edi, eax
and ebp, 7
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x66f579
mov ecx, dword [esp + 0x34]
cmp edi, ecx
je 0x66f575
mov edx, ebp
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x66f55e
mov edx, edi
sub edx, ecx
sub edi, edx
lea eax, [edx*8]
mov edx, dword [esp + 0x10]
sub ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x50], eax
jmp 0x66f579
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
cmp edx, ecx
jbe 0x66f450
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov al, byte [ecx + eax*4 + 2]
mov byte [edx], al
sub edx, dword [esp + 0x34]
pop ebx
lea eax, [edx + 1]
add esp, 0x2c
ret
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov al, byte [eax + ebp*4 + 2]
mov byte [edx], al
sub edx, dword [esp + 0x38]
pop ebp
pop ebx
lea eax, [edx + 1]
add esp, 0x2c
ret
mov dword [esp + 0x28], ebx
call fcn.0066eda0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x66f58d
mov ecx, dword [esp + 0x2c]
movzx esi, word [ebp]
mov eax, dword [esp + 0x28]
add ecx, esi
mov dword [esp + 0x2c], ecx
neg ecx
and ecx, 0x1f
mov edi, dword [esi*4 + 0x73a368]
shr eax, cl
and eax, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
call fcn.0066ef10
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add ecx, esi
mov dword [esp + 0x30], ecx
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push eax
call fcn.0066ef10
mov eax, dword [esp + 0x30]
add esp, 8
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x34]
cmp ebp, 0x20
jbe 0x66f658
mov edx, 3
jmp 0x66f6a1
cmp edi, dword [esp + 0x38]
jb 0x66f66c
mov eax, ebp
and ebp, 7
shr eax, 3
sub edi, eax
xor edx, edx
jmp 0x66f69b
cmp edi, edx
jne 0x66f67a
cmp ebp, 0x20
sbb edx, edx
add edx, 2
jmp 0x66f6a1
mov ecx, ebp
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, edx
jae 0x66f692
mov ecx, edi
sub ecx, edx
mov edx, 1
jmp 0x66f694
xor edx, edx
imul eax, ecx, 0xfffffff8
sub edi, ecx
add ebp, eax
mov esi, dword [edi]
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x20]
add eax, 0xfffffffd
cmp ebx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x66f80f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov ebx, dword [eax + ecx*4 + 4]
mov edx, ebx
mov eax, dword [esp + 0x10]
shr edx, 0x18
lea esi, [edx + ebp]
mov ecx, esi
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x73a368]
movzx ecx, bx
add ecx, eax
shr ebx, 0x10
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov byte [eax], bl
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x1c]
mov edx, dword [eax + ecx*4 + 4]
mov eax, edx
shr eax, 0x18
lea ecx, [eax + esi]
lea ebp, [eax + esi]
neg ecx
mov esi, dword [esp + 0x10]
and ecx, 0x1f
shr esi, cl
and esi, dword [eax*4 + 0x73a368]
movzx eax, dx
add esi, eax
shr edx, 0x10
mov dword [esp + 0x14], esi
mov byte [ebx + 1], dl
cmp ebp, 0x20
ja 0x66f808
cmp edi, dword [esp + 0x38]
jb 0x66f754
mov eax, ebp
shr eax, 3
sub edi, eax
and ebp, 7
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x66f78d
mov edx, dword [esp + 0x34]
cmp edi, edx
je 0x66f808
mov ecx, ebp
mov eax, edi
shr ecx, 3
xor esi, esi
sub eax, ecx
cmp eax, edx
jae 0x66f778
mov ecx, edi
mov esi, 1
sub ecx, edx
sub edi, ecx
lea eax, [ecx*8]
sub ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x10], eax
test esi, esi
jne 0x66f808
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + ecx*4 + 4]
mov eax, edx
shr eax, 0x18
lea esi, [eax + ebp]
mov ebp, dword [esp + 0x10]
mov ecx, esi
neg ecx
and ecx, 0x1f
shr ebp, cl
and ebp, dword [eax*4 + 0x73a368]
mov ecx, dword [esp + 0x14]
movzx eax, dx
add ebp, eax
shr edx, 0x10
mov eax, dword [esp + 0x50]
mov byte [ebx + 2], dl
mov dword [esp + 0x18], ebp
mov edx, dword [eax + ecx*4 + 4]
mov eax, edx
shr eax, 0x18
lea ecx, [eax + esi]
lea ebp, [eax + esi]
neg ecx
mov esi, dword [esp + 0x10]
and ecx, 0x1f
shr esi, cl
and esi, dword [eax*4 + 0x73a368]
movzx eax, dx
shr edx, 0x10
add esi, eax
mov byte [ebx + 3], dl
add ebx, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
jmp 0x66f648
add ebx, 2
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x20]
add eax, 0xfffffffe
cmp ebx, eax
ja 0x66f588
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
mov ebx, dword [ebx + ecx*4 + 4]
mov edx, ebx
shr edx, 0x18
lea esi, [edx + ebp]
mov ecx, esi
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x73a368]
mov edx, dword [esp + 0x1c]
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov dword [esp + 0x18], ecx
mov byte [edx], bl
inc edx
mov dword [esp + 0x1c], edx
cmp esi, 0x20
ja 0x66f97e
cmp edi, dword [esp + 0x38]
jb 0x66f87e
mov eax, esi
shr eax, 3
sub edi, eax
and esi, 7
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x66f8ae
mov ecx, dword [esp + 0x34]
cmp edi, ecx
je 0x66f8aa
mov ebx, esi
mov eax, edi
shr ebx, 3
sub eax, ebx
cmp eax, ecx
jae 0x66f897
mov ebx, edi
sub ebx, ecx
sub edi, ebx
lea eax, [ebx*8]
sub esi, eax
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x66f8ae
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
cmp edx, ecx
ja 0x66f588
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov ebx, dword [edx + ecx*4 + 4]
mov edx, ebx
shr edx, 0x18
lea ebp, [edx + esi]
mov ecx, ebp
neg ecx
and ecx, 0x1f
shr eax, cl
and eax, dword [edx*4 + 0x73a368]
mov edx, dword [esp + 0x1c]
movzx ecx, bx
shr ebx, 0x10
add ecx, eax
mov dword [esp + 0x14], ecx
mov byte [edx], bl
inc edx
mov dword [esp + 0x1c], edx
cmp ebp, 0x20
ja 0x66f961
cmp edi, dword [esp + 0x38]
jb 0x66f915
mov eax, ebp
shr eax, 3
sub edi, eax
and ebp, 7
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x66f945
mov ecx, dword [esp + 0x34]
cmp edi, ecx
je 0x66f941
mov esi, ebp
mov eax, edi
shr esi, 3
sub eax, esi
cmp eax, ecx
jae 0x66f92e
mov esi, edi
sub esi, ecx
sub edi, esi
lea eax, [esi*8]
sub ebp, eax
mov eax, dword [edi]
mov dword [esp + 0x10], eax
jmp 0x66f945
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffe
cmp edx, ecx
jbe 0x66f822
pop edi
pop esi
pop ebp
mov eax, 0xffffffba
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov al, byte [eax + ecx*4 + 6]
mov byte [edx], al
sub edx, dword [esp + 0x34]
pop ebx
lea eax, [edx + 1]
add esp, 0x2c
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov al, byte [eax + ecx*4 + 6]
mov byte [edx], al
sub edx, dword [esp + 0x34]
pop ebx
lea eax, [edx + 1]
add esp, 0x2c
ret