Function at 0x1401af760
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp r9d, 8
jge 0x1401af851
xor eax, eax
cmp r9d, 4
jl 0x1401af7ff
movsx r10, dx
add r9d, 0xfffffffc
lea r11, [rcx + rax*2]
movsx rbx, word [r11]
cmp ebx, r10d
je 0x1401af84c
movsx rsi, r8w
cmp ebx, esi
sete bl
movzx ebx, bl
test bl, bl
jne 0x1401af84c
movsx rbx, word [r11 + 2]
cmp ebx, r10d
je 0x1401af845
cmp ebx, esi
sete bl
movzx ebx, bl
test bl, bl
jne 0x1401af845
movsx rbx, word [r11 + 4]
cmp ebx, r10d
je 0x1401af83d
cmp ebx, esi
sete bl
movzx ebx, bl
test bl, bl
jne 0x1401af83d
movsx rbx, word [r11 + 6]
cmp ebx, r10d
je 0x1401af835
xor r11d, r11d
cmp ebx, esi
sete r11b
test r11b, r11b
jne 0x1401af835
add rax, 4
cmp r9d, 4
jge 0x1401af780
test r9d, r9d
jle 0x1401afa54
movsx r10, dx
dec r9d
movsx rbx, word [rcx + rax*2]
cmp ebx, r10d
je 0x1401af84c
movsx rsi, r8w
xor edx, edx
cmp ebx, esi
sete dl
test dl, dl
jne 0x1401af84c
inc rax
test r9d, r9d
jg 0x1401af80c
jmp 0x1401afa54
add eax, 3
jmp 0x1401afa4d
add eax, 2
jmp 0x1401afa4d
inc eax
jmp 0x1401afa4d
jmp 0x1401afa4d
movsx r10, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movsx rsi, r8w
movd xmm1, esi
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
lea edx, [r9 - 8]
movsxd rdx, edx
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [rax]
movaps xmm3, xmm0
pcmpeqw xmm3, xmm2
pcmpeqw xmm2, xmm1
por xmm2, xmm3
movaps xmmword [rsp + 0x20], xmm2
xorps xmm3, xmm3
pcmpeqw xmm2, xmm3
pmovmskb r10d, xmm2
cmp r10d, 0xffff
jne 0x1401af98e
add rax, 0x10
cmp rax, r8
jbe 0x1401af885
mov eax, r9d
test al, 7
je 0x1401afa54
movups xmm2, xmmword [r8]
pcmpeqw xmm0, xmm2
pcmpeqw xmm1, xmm2
por xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1401afa54
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 r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x1401afa44
mov ecx, 0x20
jmp 0x1401afa47
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, 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 edx, r8d
jne 0x1401afa35
mov r8d, 0x20
jmp 0x1401afa39
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x1401afa4d
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
pop rbx
pop rsi
ret
mov eax, 0xffffffff
add rsp, 0x38
pop rbx
pop rsi
ret