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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rax + 8], rbx
mov edi, r8d
mov qword [rax + 0x10], r15
mov rsi, rdx
cmp ecx, 0x7b
ja 0x1400ba167
movsxd rax, ecx
lea rbx, [0x14024bc10]
mov rbx, qword [rbx + rax*8]
test rbx, rbx
jne 0x1400ba1b9
movzx ecx, word [0x14017cae8]
lea rbx, [rbp - 0x29]
movsd xmm0, qword [str.cTVWA]
movzx eax, byte [0x14017caea]
movsd qword [rbp - 0x29], xmm0
xor byte [rbp - 0x28], 0x31
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
xor byte [rbp - 0x25], 0x34
xor byte [rbp - 0x24], 0x35
xor byte [rbp - 0x23], 0x36
xor byte [rbp - 0x22], 0x37
mov word [rbp - 0x21], cx
xor cl, 0x38
xor byte [rbp - 0x20], 0x39
xor al, 0x3a
mov byte [rbp - 0x29], 0x53
mov byte [rbp - 0x1f], al
mov byte [rbp - 0x21], cl
mov r10d, dword [0x14018c018]
mov r11d, 5
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
lea r15d, [r11 + 0x1a]
cmp edi, 1
jne 0x1400ba3a8
cmp byte [0x14017ca61], 0
movups xmm0, xmmword [str._CW_G]
movzx eax, word [0x14017ca60]
mov word [rbp + 7], ax
movups xmmword [rbp - 9], xmm0
je 0x1400ba3a4
xor r8d, r8d
cmp r10d, 2
jl 0x1400ba363
movdqa xmm0, xmmword [str.0000000000000000]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x140180110]
movdqa xmm4, xmmword [0x140180330]
movdqa xmm7, xmmword [0x140180130]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movaps xmmword [rsp + 0x70], xmm8
movd xmm6, r11d
movd xmm8, r15d
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401801d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401801d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400ba250
movaps xmm8, xmmword [rsp + 0x70]
cmp r8d, 0x12
jge 0x1400ba3a4
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 0x12
jl 0x1400ba370
lea rbx, [rbp - 9]
cmp byte [0x14017dd5f], 0
mov rax, qword [str.TKq__R7xTSW4]
mov qword [rbp + 0x7f], rax
je 0x1400ba514
cmp r10d, 2
jl 0x1400ba4d6
movdqa xmm2, xmmword [0x140180110]
movdqa xmm3, xmmword [0x140180120]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140180330]
movdqa xmm0, xmm2
mov eax, dword [str.0000000000000000]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140180130]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401801d0]
movd xmm1, dword [rbp + 0x7f]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp + 0x7f], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140180130]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401801d0]
movd xmm1, dword [rbp + 0x83]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp + 0x83], xmm2
jmp 0x1400ba514
lea r9, [rbp + 0x7f]
xor r8d, r8d
nop dword [rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x1400ba4e0
lea rcx, [rbp + 0x7f]
call fcn.1400a7020
movss xmm1, dword [0x140180014]
xorps xmm0, xmm0
call fcn.14008a3b0
mov rcx, rbx
mov dword [rbp + 0x7f], 0x42f00000
lea rdx, [rbp + 0x7f]
mov dword [rbp + 0x83], 0x41c80000
call fcn.1400a7960
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
test al, al
je 0x1400ba58f
test edi, edi
jne 0x1400ba58f
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov r8, rsi
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret