Function at 0x140005ef0
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, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov esi, dword [0x1400978d8]
movsxd rax, dword [0x14006f124]
xor r9d, r9d
cmp eax, 0x7b
ja 0x140005f3d
lea r9, [0x140096720]
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], 0
mov qword [rbp + 0x37], 0xf
mov byte [rbp + 0x1f], 0
mov rdi, 0xffffffffffffffff
mov rbx, rdi
test r9, r9
jne 0x1400061e0
movsd xmm0, qword [str.cTVWA]
movsd qword [rbp - 9], xmm0
movzx ecx, word [0x140065278]
mov word [rbp - 1], cx
movzx eax, byte [0x14006527a]
mov byte [rbp - 9], 0x53
xor byte [rbp - 8], 0x31
xor byte [rbp - 7], 0x32
xor byte [rbp - 6], 0x33
xor byte [rbp - 5], 0x34
xor byte [rbp - 4], 0x35
xor byte [rbp - 3], 0x36
xor byte [rbp - 2], 0x37
xor cl, 0x38
mov byte [rbp - 1], cl
xor byte [rbp], 0x39
xor al, 0x3a
mov byte [rbp + 1], al
lea rax, [rbp - 9]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140005fc0
lea rcx, [rbp + 0x1f]
cmp rbx, 0xf
ja 0x140005fea
mov qword [rbp + 0x2f], rbx
mov r8, rbx
lea rdx, [rbp - 9]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x1f], 0
jmp 0x140005ff6
lea r9, [rbp - 9]
mov rdx, rbx
call fcn.14001cec0
cmp esi, 1
jne 0x140006221
movups xmm0, xmmword [str._CW_G]
movups xmmword [rbp + 7], xmm0
movzx eax, word [0x1400652b8]
mov word [rbp + 0x17], ax
cmp byte [0x1400652b9], 0
je 0x1400061a0
xor r8d, r8d
cmp dword [0x14006f088], 2
jl 0x140006165
movdqa xmm5, xmmword [0x140066a10]
movdqa xmm4, xmmword [0x140066ae0]
movdqa xmm6, xmmword [0x140066a40]
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp + 0xb]
mov edx, dword [rbp - 9]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140066a60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps 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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140066a60]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140006060
cmp r8d, 0x12
jge 0x1400061a0
movsxd rax, r8d
lea r9, [rbp + 7]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140006170
lea rax, [rbp + 7]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400061a4
mov rax, qword [rbp + 0x37]
cmp rdi, rax
ja 0x140006211
lea rbx, [rbp + 0x1f]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x1f]
mov qword [rbp + 0x2f], rdi
mov r8, rdi
lea rdx, [rbp + 7]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x140006221
inc rbx
cmp byte [r9 + rbx], 0
jne 0x1400061e0
lea rcx, [rbp + 0x1f]
cmp rbx, 0xf
ja 0x140005fee
mov qword [rbp + 0x2f], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx + 0x1f], 0
jmp 0x140005ff6
lea r9, [rbp + 7]
mov rdx, rdi
lea rcx, [rbp + 0x1f]
call fcn.14001cec0
mov dword [rbp - 9], 0x42fa0000
mov dword [rbp - 5], 0x41a00000
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rcx, qword [rbp + 0x1f]
lea rdx, [rbp - 9]
call fcn.140049f30
test al, al
je 0x140006270
test esi, esi
jne 0x140006270
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140005ea0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x1400062ae
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005d950
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14005d930
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret