Function at 0x18008ea00
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov r10d, dword [rsp + 0xc0]
mov r11d, dword [rsp + 0xc8]
mov eax, dword [rsp + 0xd0]
cmp eax, 8
jl 0x18008ec9a
movsx rbx, dx
movd xmm0, ebx
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movsx rsi, r8w
movd xmm1, esi
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
movsx rdi, r9w
movd xmm2, edi
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movsx rbp, r10w
movd xmm3, ebp
punpcklwd xmm3, xmm3
pshufd xmm3, xmm3, 0
movsx r14, r11w
movd xmm4, r14d
punpcklwd xmm4, xmm4
pshufd xmm4, xmm4, 0
mov rdx, rcx
lea r8d, [rax - 8]
mov r9d, r8d
add r9, r9
lea r10, [rdx + r9]
movups xmm5, xmmword [rdx]
movaps xmm6, xmm0
pcmpeqw xmm6, xmm5
movaps xmm7, xmm1
pcmpeqw xmm7, xmm5
por xmm6, xmm7
movaps xmm7, xmm2
pcmpeqw xmm7, xmm5
por xmm6, xmm7
movaps xmm7, xmm3
pcmpeqw xmm7, xmm5
por xmm6, xmm7
pcmpeqw xmm5, xmm4
por xmm5, xmm6
movaps xmmword [rsp + 0x20], xmm5
xorps xmm6, xmm6
pcmpeqw xmm5, xmm6
pmovmskb r11d, xmm5
cmp r11d, 0xffff
je 0x18008ebae
mov r10, qword [rsp + 0x20]
mov qword [rsp + 0x18], r10
movzx eax, word [rsp + 0x18]
shr eax, 0xf
movzx r9d, word [rsp + 0x1a]
shr r9d, 0xf
add r9d, r9d
or eax, r9d
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 0x18008ecd9
add rdx, 0x10
cmp rdx, r10
jbe 0x18008eaa1
mov eax, eax
test al, 7
je 0x18008ee00
movups xmm5, xmmword [r10]
pcmpeqw xmm0, xmm5
pcmpeqw xmm1, xmm5
por xmm0, xmm1
pcmpeqw xmm2, xmm5
por xmm0, xmm2
pcmpeqw xmm3, xmm5
por xmm0, xmm3
pcmpeqw xmm4, xmm5
por xmm0, xmm4
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x18008ee00
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 r9, 1
lea eax, [r9 + rcx]
jmp 0x18008ecd9
xor r15d, r15d
cmp eax, 4
jl 0x18008edaa
movsx rbx, dx
add eax, 0xfffffffc
lea r13, [rcx + r15*2]
movsx r12, word [r13]
cmp r12d, ebx
je 0x18008ecd6
movsx rsi, r8w
cmp r12d, esi
je 0x18008ecd6
movsx rdi, r9w
cmp r12d, edi
je 0x18008ecd6
movsx rbp, r10w
cmp r12d, ebp
jne 0x18008ecf4
mov eax, r15d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
movsx r14, r11w
cmp r12d, r14d
sete r12b
movzx r12d, r12b
test r12b, r12b
jne 0x18008ecd6
movsx r12, word [r13 + 2]
cmp r12d, ebx
je 0x18008ed21
cmp r12d, esi
je 0x18008ed21
cmp r12d, edi
je 0x18008ed21
cmp r12d, ebp
jne 0x18008ed27
lea eax, [r15 + 1]
jmp 0x18008ecd9
cmp r12d, r14d
sete r12b
movzx r12d, r12b
test r12b, r12b
jne 0x18008ed21
movsx r12, word [r13 + 4]
cmp r12d, ebx
je 0x18008ed50
cmp r12d, esi
je 0x18008ed50
cmp r12d, edi
je 0x18008ed50
cmp r12d, ebp
jne 0x18008ed56
lea eax, [r15 + 2]
jmp 0x18008ecd9
cmp r12d, r14d
sete r12b
movzx r12d, r12b
test r12b, r12b
jne 0x18008ed50
movsx r12, word [r13 + 6]
cmp r12d, ebx
je 0x18008ed7f
cmp r12d, esi
je 0x18008ed7f
cmp r12d, edi
je 0x18008ed7f
cmp r12d, ebp
jne 0x18008ed88
lea eax, [r15 + 3]
jmp 0x18008ecd9
cmp r12d, r14d
sete r12b
movzx r12d, r12b
test r12b, r12b
jne 0x18008ed7f
add r15, 4
cmp eax, 4
jge 0x18008ecaa
jmp 0x18008edaa
inc r15
test eax, eax
jle 0x18008ee00
dec eax
movsx r12, word [rcx + r15*2]
movsx rbx, dx
cmp r12d, ebx
je 0x18008ecd6
movsx rsi, r8w
cmp r12d, esi
je 0x18008ecd6
movsx rdi, r9w
cmp r12d, edi
je 0x18008ecd6
movsx rbp, r10w
cmp r12d, ebp
je 0x18008ecd6
movsx r14, r11w
cmp r12d, r14d
sete bl
movzx ebx, bl
test bl, bl
jne 0x18008ecd6
jmp 0x18008eda7
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret