Function at 0x140042900
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 [0x140068010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov edi, dword [0x1400694a8]
movsxd rax, dword [0x140069510]
xor esi, esi
mov edx, esi
cmp eax, 0x7b
ja 0x140042957
lea rdx, [0x140068630]
mov rdx, qword [rdx + rax*8]
mov qword [rbp - 1], rsi
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], 0xf
mov byte [rbp - 1], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
test rdx, rdx
jne 0x1400429e0
movsd xmm0, qword [str.gPZR_M]
movsd qword [rbp - 0x29], xmm0
movzx eax, word [0x14005c050]
mov word [rbp - 0x21], ax
movzx eax, byte [0x14005c052]
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 byte [rbp - 0x21], 0x3c
xor byte [rbp - 0x20], 0x3d
xor al, 0x3e
mov byte [rbp - 0x1f], al
lea rax, [rbp - 0x29]
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400429d0
lea rdx, [rbp - 0x29]
jmp 0x1400429ea
inc r8
cmp byte [rdx + r8], 0
jne 0x1400429e0
lea rcx, [rbp - 1]
call fcn.140038990
cmp edi, 1
jne 0x140042be0
movups xmm0, xmmword [str.dGSDK]
movups xmmword [rbp - 0x19], xmm0
movzx eax, word [0x14005bff0]
mov word [rbp - 9], ax
cmp byte [0x14005bff1], 0
je 0x140042bc3
mov r8d, esi
cmp dword [0x140068018], 2
jl 0x140042b7f
movdqa xmm5, xmmword [0x14005d580]
movdqa xmm4, xmmword [0x14005db00]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x14005d5a0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x29]
nop
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 [0x14005d5b0]
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 [0x14005d5b0]
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 0x140042a70
cmp r8d, 0x12
jge 0x140042bc3
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 0x140042b90
lea rax, [rbp - 0x19]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140042bc7
mov r8, rbx
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 1]
call fcn.140038990
movss xmm0, dword [0x14005c230]
movss dword [rbp - 0x29], xmm0
movss xmm1, dword [0x14005c208]
movss dword [rbp - 0x25], xmm1
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rcx, qword [rbp - 1]
lea rdx, [rbp - 0x29]
call fcn.140024a50
test al, al
je 0x140042c37
test edi, edi
jne 0x140042c37
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x1400428b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140042c75
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042c70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042c70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049bb8
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400495e0
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