Function at 0x140404680
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
jl 0x1404048e8
movsx r11, dx
movd xmm0, r11d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movsx rbx, r8w
movd xmm1, ebx
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
movsx rsi, r9w
movd xmm2, esi
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movsx rdi, r10w
movd xmm3, edi
punpcklwd xmm3, xmm3
pshufd xmm3, xmm3, 0
mov rdx, rcx
lea r11d, [rax - 8]
movsxd r8, r11d
add r8, r8
lea r9, [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 r10d, xmm4
cmp r10d, 0xffff
je 0x140404801
mov r9, qword [rsp + 0x20]
mov qword [rsp + 0x18], r9
movzx eax, word [rsp + 0x18]
shr eax, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or eax, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, eax
mov eax, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or 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
bsf r8d, eax
mov r10d, 0x20
test eax, eax
cmove r8d, r10d
sub rdx, rcx
shr rdx, 1
lea eax, [rdx + r8]
jmp 0x140404a07
add rdx, 0x10
cmp rdx, r9
jbe 0x1404046ff
mov eax, eax
test al, 7
je 0x140404a1e
movups xmm4, xmmword [r9]
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 ecx, xmm0
cmp ecx, 0xffff
je 0x140404a1e
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
bsf ecx, eax
mov edx, 0x20
test eax, eax
cmove ecx, edx
shr r8, 1
lea eax, [r8 + rcx]
jmp 0x140404a07
xor r11d, r11d
cmp eax, 4
jl 0x1404049cd
movsx rbx, dx
add eax, 0xfffffffc
lea rbp, [rcx + r11*2]
movsx r14, word [rbp]
cmp r14d, ebx
je 0x140404a04
movsx rsi, r8w
cmp r14d, esi
je 0x140404a04
movsx rdi, r9w
cmp r14d, edi
je 0x140404a04
movsx r15, r10w
cmp r14d, r15d
sete r14b
movzx r14d, r14b
test r14b, r14b
jne 0x140404a04
movsx r14, word [rbp + 2]
cmp r14d, ebx
je 0x140404963
cmp r14d, esi
je 0x140404963
cmp r14d, edi
je 0x140404963
cmp r14d, r15d
sete r14b
movzx r14d, r14b
test r14b, r14b
je 0x14040496c
lea eax, [r11 + 1]
jmp 0x140404a07
movsx r14, word [rbp + 4]
cmp r14d, ebx
je 0x140404990
cmp r14d, esi
je 0x140404990
cmp r14d, edi
je 0x140404990
cmp r14d, r15d
sete r14b
movzx r14d, r14b
test r14b, r14b
je 0x140404996
lea eax, [r11 + 2]
jmp 0x140404a07
movsx r14, word [rbp + 6]
cmp r14d, ebx
je 0x1404049ba
cmp r14d, esi
je 0x1404049ba
cmp r14d, edi
je 0x1404049ba
cmp r14d, r15d
sete r14b
movzx r14d, r14b
test r14b, r14b
je 0x1404049c0
lea eax, [r11 + 3]
jmp 0x140404a07
add r11, 4
cmp eax, 4
jge 0x1404048f8
test eax, eax
jle 0x140404a1e
dec eax
movsx r14, word [rcx + r11*2]
movsx rbx, dx
cmp r14d, ebx
je 0x140404a04
movsx rsi, r8w
cmp r14d, esi
je 0x140404a04
movsx rdi, r9w
cmp r14d, edi
je 0x140404a04
movsx r15, r10w
cmp r14d, r15d
sete bl
movzx ebx, bl
test bl, bl
je 0x140404a19
mov eax, r11d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
inc r11
jmp 0x1404049cd
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret