Function at 0x14006dcd0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push r12
push r14
push r15
lea rbp, [r11 - 0x1d8]
sub rsp, 0x2b0
movaps xmmword [r11 - 0x38], xmm6
mov rax, qword [0x140150080]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r15d, dword [0x1401500d8]
lea rsi, [rcx + 0x10]
mov dword [rsp + 0x70], 0xb8d18b4c
mov r14d, 0xd
mov ebx, dword [rsp + 0x70]
xor r12d, r12d
mov qword [r11 + 0x10], rdi
nop word [rax + rax]
mov rcx, qword [rsi - 8]
cmp dword [rcx], ebx
je 0x14006df92
cmp byte [rcx], 0xe9
jne 0x14006dd7f
mov edi, dword [rcx + 1]
add rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x200
lea r8, [rbp - 0x70]
mov rcx, rax
lea rdx, [rdi + 5]
call qword [sym.imp.KERNEL32.dll_K32GetMappedFileNameA]
lea rcx, [rsi + 1]
mov byte [rsi], 1
lea r8, [rbp - 0x70]
mov edx, 0x200
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
jmp 0x14006df92
mov eax, dword [0x14012d658]
mov ecx, r12d
mov dword [rsp + 0x48], eax
movzx eax, word [0x14012d65c]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x14012d65e]
mov byte [rsp + 0x4e], al
movups xmm0, xmmword [0x14012d630]
movups xmm1, xmmword [0x14012d640]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x14012d650]
movsd qword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm1
cmp r15d, 2
jl 0x14006df14
movdqa xmm0, xmmword [0x14012daf0]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x14012da10]
movdqa xmm4, xmmword [0x14012dcc0]
movdqa xmm6, xmmword [0x14012da40]
movdqa xmmword [rsp + 0x70], xmm0
mov r8d, dword [rsp + 0x70]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14012dab0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
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
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012dab0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x14006de10
cmp ecx, 0x2f
jge 0x14006df4d
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x2f
jl 0x14006df20
xorps xmm0, xmm0
mov qword [rsp + 0x60], r12
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x14006df70
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.14004eb00
lea rcx, [rsp + 0x50]
call fcn.140064fa0
add rsi, 0x218
sub r14, 1
jne 0x14006dd30
mov rdi, qword [rsp + 0x2e8]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400f4fe0
mov rbx, qword [rsp + 0x2f0]
movaps xmm6, xmmword [rsp + 0x2a0]
add rsp, 0x2b0
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret