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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14011f040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [rcx + 0x18]
mov rsi, rcx
call fcn.14009b190
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400498a0
cmp byte [0x140112133], 0
movsd xmm0, qword [str.fZYPRuWTXd]
mov eax, dword [0x140112130]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
je 0x140050ed6
xor ecx, ecx
cmp dword [0x14011f090], 2
jl 0x140050ea1
movdqa xmm5, xmmword [0x1401128b0]
movdqa xmm2, xmmword [0x1401124f0]
movdqa xmm3, xmmword [0x140112510]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140112570]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11117777]
psubd xmm2, xmm0
movd xmm0, dword [str.fZYPRuWTXd]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401125a0]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x140112500]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmmword [str.11117777]
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rsp + 0x34]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401125a0]
xorps xmm2, xmm0
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
movd dword [rsp + 0x34], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.11117777]
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1401125a0]
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
jmp 0x140050ed6
lea r8, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
mul ecx
shr edx, 4
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0xc
jl 0x140050eb0
lea rcx, [rsp + 0x30]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140050ee2
mov rdi, qword [rsp + 0x58]
lea rcx, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
cmp rdi, 0xf
mov r8, qword [rsp + 0x50]
cmova rcx, rbx
cmp r8, rax
jne 0x140050f4d
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140050f4d
mov qword [rsp + 0x28], 0
lea r8, [0x14004f2c0]
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
mov byte [0x1413fbc89], al
xor ecx, ecx
mov qword [0x1413fbe48], rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov sil, 1
jmp 0x140050f50
xor sil, sil
cmp rdi, 0xf
jbe 0x140050f8a
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140050f82
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050f82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14009e7b0
movzx eax, sil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009e740
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret