Function at 0x1401afde0
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov r10d, dword [rsp + 0xa0]
mov eax, dword [rsp + 0xa8]
cmp eax, 8
jge 0x1401aff57
xor r11d, r11d
cmp eax, 4
jl 0x1401afef0
movsx rbx, dx
add eax, 0xfffffffc
lea rsi, [rcx + r11*2]
movsx rdi, word [rsi]
cmp edi, ebx
je 0x1401aff4f
movsx rbp, r8w
cmp edi, ebp
je 0x1401aff4f
movsx r14, r9w
cmp edi, r14d
je 0x1401aff4f
movsx r15, r10w
cmp edi, r15d
sete dil
movzx edi, dil
test dil, dil
jne 0x1401aff4f
movsx rdi, word [rsi + 2]
cmp edi, ebx
je 0x1401aff46
cmp edi, ebp
je 0x1401aff46
cmp edi, r14d
je 0x1401aff46
cmp edi, r15d
sete dil
movzx edi, dil
test dil, dil
jne 0x1401aff46
movsx rdi, word [rsi + 4]
cmp edi, ebx
je 0x1401aff3d
cmp edi, ebp
je 0x1401aff3d
cmp edi, r14d
je 0x1401aff3d
cmp edi, r15d
sete dil
movzx edi, dil
test dil, dil
jne 0x1401aff3d
movsx rdi, word [rsi + 6]
cmp edi, ebx
je 0x1401aff34
cmp edi, ebp
je 0x1401aff34
cmp edi, r14d
je 0x1401aff34
cmp edi, r15d
sete dil
movzx edi, dil
test dil, dil
jne 0x1401aff34
add r11, 4
cmp eax, 4
jge 0x1401afe19
test eax, eax
jle 0x1401b01a0
movsx rbx, dx
dec eax
movsx rdi, word [rcx + r11*2]
cmp edi, ebx
je 0x1401aff4f
movsx rbp, r8w
cmp edi, ebp
je 0x1401aff4f
movsx r14, r9w
cmp edi, r14d
je 0x1401aff4f
movsx r15, r10w
xor edx, edx
cmp edi, r15d
sete dl
test dl, dl
jne 0x1401aff4f
inc r11
test eax, eax
jg 0x1401afefc
jmp 0x1401b01a0
lea eax, [r11 + 3]
jmp 0x1401b018e
lea eax, [r11 + 2]
jmp 0x1401b018e
lea eax, [r11 + 1]
jmp 0x1401b018e
mov eax, r11d
jmp 0x1401b018e
movsx rbx, dx
movd xmm0, ebx
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movsx rbp, r8w
movd xmm1, ebp
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
movsx r14, r9w
movd xmm2, r14d
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movsx r15, r10w
movd xmm3, r15d
punpcklwd xmm3, xmm3
pshufd xmm3, xmm3, 0
mov rdx, rcx
lea r8d, [rax - 8]
movsxd r8, r8d
add r8, r8
lea r10, [rdx + r8]
movups xmm4, xmmword [rdx]
movaps xmm5, xmm0
pcmpeqw xmm5, xmm4
movaps xmm6, xmm1
pcmpeqw xmm6, xmm4
por xmm5, xmm6
movaps xmm6, xmm2
pcmpeqw xmm6, xmm4
por xmm5, xmm6
pcmpeqw xmm4, xmm3
por xmm4, xmm5
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r9d, xmm4
cmp r9d, 0xffff
jne 0x1401b00cf
add rdx, 0x10
cmp rdx, r10
jbe 0x1401affae
mov ecx, eax
test cl, 7
je 0x1401b01a0
movups xmm4, xmmword [r10]
pcmpeqw xmm0, xmm4
pcmpeqw xmm1, xmm4
por xmm0, xmm1
pcmpeqw xmm2, xmm4
por xmm0, xmm2
pcmpeqw xmm3, xmm4
por xmm0, xmm3
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb edx, xmm0
cmp edx, 0xffff
je 0x1401b01a0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx edx, word [rsp + 2]
shr edx, 0xf
add edx, edx
or ecx, edx
movzx edx, word [rsp + 4]
shr edx, 0xf
shl edx, 2
or edx, ecx
mov ecx, edx
movzx edx, word [rsp + 6]
shr edx, 0xf
shl edx, 3
or edx, ecx
mov ecx, edx
shl ecx, 4
or eax, ecx
jne 0x1401b0184
mov ecx, 0x20
jmp 0x1401b0187
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x18], rax
movzx r8d, word [rsp + 0x18]
shr r8d, 0xf
movzx eax, word [rsp + 0x1a]
shr eax, 0xf
add eax, eax
or r8d, eax
movzx eax, word [rsp + 0x1c]
shr eax, 0xf
shl eax, 2
or eax, r8d
mov r8d, eax
movzx eax, word [rsp + 0x1e]
shr eax, 0xf
shl eax, 3
or eax, r8d
mov r8d, eax
mov eax, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or eax, r8d
jne 0x1401b0172
mov r8d, 0x20
jmp 0x1401b0176
bsf r8d, eax
mov rax, rdx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x1401b018e
bsf ecx, eax
shr r8, 1
lea eax, [r8 + rcx]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret