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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rdi, rcx
cmp edx, 1
jne 0x18000727b
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor ebx, ebx
lea r8, [0x1800054f0]
mov qword [rsp + 0x28], rbx
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, 0xffffffffffffffff
jne 0x18000726d
cmp word [0x180137b62], bx
movsd xmm0, qword [str.pDEWK:]
movups xmm1, xmmword [0x180137b28]
mov eax, dword [0x180137b60]
movsd qword [rbp - 0x39], xmm0
movups xmm0, xmmword [str.vYBT_]
mov dword [rbp - 0x31], eax
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 0x29], xmm0
movups xmm0, xmmword [0x180137b38]
movups xmmword [rbp - 9], xmm0
movsd xmm0, qword [0x180137b48]
movsd qword [rbp + 7], xmm0
je 0x180007071
xor word [rbp - 0x37], 0x36
mov eax, 0x45
xor word [rbp - 0x35], 0x37
xor word [rbp - 0x33], 0x38
xor word [rbp - 0x31], 0x39
xor word [rbp - 0x2f], 0x3a
mov word [rbp - 0x39], ax
cmp dword [0x18027a1a0], 2
mov eax, dword [0x180137b50]
mov dword [rbp + 0xf], eax
jl 0x180007208
movdqa xmm5, xmmword [0x1800d1c60]
lea rcx, [rbp - 0x29]
movdqa xmm4, xmmword [0x180137ba0]
mov eax, 5
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
movdqa xmm7, xmmword [str.9999]
movaps xmmword [rsp + 0x90], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x80], xmm9
movdqa xmm9, xmmword [0x180137b80]
movd xmm8, eax
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov eax, ebx
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x18
jl 0x1800070f0
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
cmp eax, 0x1e
jge 0x180007253
movsxd rax, ebx
lea r8, [rbp - 0x29]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x39
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x35
xor word [r8 - 2], ax
cmp ebx, 0x1e
jl 0x180007220
mov r9d, 0x10
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x29]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x180007280
test rax, rax
je 0x18000727b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret