Function at 0x140384360
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
jge 0x140384529
xor ebx, ebx
cmp eax, 4
jl 0x1403844b8
movsx rsi, dx
add eax, 0xfffffffc
lea rdi, [rcx + rbx*2]
movsx rbp, word [rdi]
cmp ebp, esi
je 0x140384522
movsx r14, r8w
cmp ebp, r14d
je 0x140384522
movsx r15, r9w
cmp ebp, r15d
je 0x140384522
movsx r13, r10w
cmp ebp, r13d
je 0x140384522
movsx r12, r11w
cmp ebp, r12d
sete bpl
movzx ebp, bpl
test bpl, bpl
jne 0x140384522
movsx rbp, word [rdi + 2]
cmp ebp, esi
je 0x14038451a
cmp ebp, r14d
je 0x14038451a
cmp ebp, r15d
je 0x14038451a
cmp ebp, r13d
je 0x14038451a
cmp ebp, r12d
sete bpl
movzx ebp, bpl
test bpl, bpl
jne 0x14038451a
movsx rbp, word [rdi + 4]
cmp ebp, esi
je 0x140384512
cmp ebp, r14d
je 0x140384512
cmp ebp, r15d
je 0x140384512
cmp ebp, r13d
je 0x140384512
cmp ebp, r12d
sete bpl
movzx ebp, bpl
test bpl, bpl
jne 0x140384512
movsx rbp, word [rdi + 6]
cmp ebp, esi
je 0x14038450a
cmp ebp, r14d
je 0x14038450a
cmp ebp, r15d
je 0x14038450a
nop dword [rax]
cmp ebp, r13d
je 0x14038450a
nop dword [rax]
cmp ebp, r12d
sete bpl
movzx ebp, bpl
test bpl, bpl
jne 0x14038450a
add rbx, 4
cmp eax, 4
jge 0x1403843a9
test eax, eax
jle 0x14038479e
movsx rsi, dx
dec eax
movsx rbp, word [rcx + rbx*2]
cmp ebp, esi
je 0x140384522
movsx r14, r8w
cmp ebp, r14d
je 0x140384522
movsx r15, r9w
cmp ebp, r15d
je 0x140384522
movsx r13, r10w
cmp ebp, r13d
je 0x140384522
movsx r12, r11w
xor edx, edx
cmp ebp, r12d
sete dl
test dl, dl
jne 0x140384522
inc rbx
test eax, eax
jg 0x1403844c4
jmp 0x14038479e
lea eax, [rbx + 3]
jmp 0x140384783
lea eax, [rbx + 2]
jmp 0x140384783
lea eax, [rbx + 1]
jmp 0x140384783
mov eax, ebx
jmp 0x140384783
movsx rsi, dx
movd xmm0, esi
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
movsx r14, r8w
movd xmm1, r14d
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
movsx r15, r9w
movd xmm2, r15d
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movsx r13, r10w
movd xmm3, r13d
punpcklwd xmm3, xmm3
pshufd xmm3, xmm3, 0
movsx r12, r11w
movd xmm4, r12d
punpcklwd xmm4, xmm4
pshufd xmm4, xmm4, 0
mov rdx, rcx
lea r8d, [rax - 8]
add r8, r8
lea r10, [rdx + r8]
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 r9d, xmm5
cmp r9d, 0xffff
jne 0x1403846c4
add rdx, 0x10
cmp rdx, r10
jbe 0x140384590
mov ecx, eax
test cl, 7
je 0x14038479e
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 edx, xmm0
cmp edx, 0xffff
je 0x14038479e
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 0x140384779
mov ecx, 0x20
jmp 0x14038477c
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 0x140384767
mov r8d, 0x20
jmp 0x14038476b
bsf r8d, eax
mov rax, rdx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x140384783
bsf ecx, eax
shr r8, 1
lea eax, [r8 + rcx]
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
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