Function at 0x14009f710
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1400c7010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov esi, dword [0x1400ce8b4]
movsxd rax, dword [0x1400cea10]
xor r9d, r9d
cmp eax, 0x7b
ja 0x14009f766
lea r9, [0x1400cd530]
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], 0
mov qword [rbp + 0x17], 0xf
mov byte [rbp - 1], 0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
test r9, r9
jne 0x14009fa30
movsd xmm0, qword [str.gPZR_M]
movsd qword [rbp - 0x29], xmm0
movzx ecx, word [0x1400bc108]
mov word [rbp - 0x21], cx
movzx eax, byte [0x1400bc10a]
mov byte [rbp - 0x29], 0x53
xor byte [rbp - 0x28], 0x35
xor byte [rbp - 0x27], 0x36
xor byte [rbp - 0x26], 0x37
xor byte [rbp - 0x25], 0x38
xor byte [rbp - 0x24], 0x39
xor byte [rbp - 0x23], 0x3a
xor byte [rbp - 0x22], 0x3b
xor cl, 0x3c
mov byte [rbp - 0x21], cl
xor byte [rbp - 0x20], 0x3d
xor al, 0x3e
mov byte [rbp - 0x1f], al
lea rax, [rbp - 0x29]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14009f7e6
lea rcx, [rbp - 1]
cmp rbx, 0xf
ja 0x14009f810
mov qword [rbp + 0xf], rbx
mov r8, rbx
lea rdx, [rbp - 0x29]
call fcn.1400a743a
mov byte [rbp + rbx - 1], 0
jmp 0x14009f81c
lea r9, [rbp - 0x29]
mov rdx, rbx
call fcn.140098460
cmp esi, 1
jne 0x14009fa71
movups xmm0, xmmword [str.dGSDK]
movups xmmword [rbp - 0x19], xmm0
movzx eax, word [0x1400bc0e8]
mov word [rbp - 9], ax
cmp byte [0x1400bc0e9], 0
je 0x14009f9f3
xor r8d, r8d
cmp dword [0x1400c7018], 2
jl 0x14009f9af
movdqa xmm5, xmmword [0x1400bc590]
movdqa xmm4, xmmword [0x1400bcb80]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1400bc5b0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400bc5f0]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x29]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400bc5d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400bc5d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14009f8a0
cmp r8d, 0x12
jge 0x14009f9f3
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x14009f9c0
lea rax, [rbp - 0x19]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14009f9f7
mov rax, qword [rbp + 0x17]
cmp rdi, rax
ja 0x14009fa61
lea rbx, [rbp - 1]
cmp rax, 0x10
cmovae rbx, qword [rbp - 1]
mov qword [rbp + 0xf], rdi
mov r8, rdi
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.1400a743a
mov byte [rbx + rdi], 0
jmp 0x14009fa71
inc rbx
cmp byte [r9 + rbx], 0
jne 0x14009fa30
lea rcx, [rbp - 1]
cmp rbx, 0xf
ja 0x14009f814
mov qword [rbp + 0xf], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 1], 0
jmp 0x14009f81c
lea r9, [rbp - 0x19]
mov rdx, rdi
lea rcx, [rbp - 1]
call fcn.140098460
mov dword [rbp - 0x29], 0x42fa0000
mov dword [rbp - 0x25], 0x41a00000
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
lea rdx, [rbp - 0x29]
call fcn.14007d830
test al, al
je 0x14009fac0
test esi, esi
jne 0x14009fac0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x14009f6c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x14009fafe
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009faf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009faf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a6030
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400a5f40
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret