Function at 0x14022a968
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x39], ebx
lea rax, [0x14033d0b8]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x39]
lea rcx, [rsp + 0x28]
call fcn.14008341c
mov dword [rsp + 0x20], 2
cmp dword [rbp - 0x39], ebx
jne 0x14022acfd
lea rax, [rsp + 0x28]
cmp qword [rbp - 0x69], 7
cmova rax, qword [rsp + 0x28]
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x71]
mov qword [rbp - 0x31], rax
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x17]
call fcn.140229720
mov r8b, bl
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1401b67a8
nop
lea r12d, [rbx + 6]
mov dword [rsp + 0x20], r12d
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.140238114
nop
and r12d, 0xfffffffb
mov dword [rsp + 0x20], r12d
lea rcx, [rbp - 0x29]
call fcn.140052edc
and r12d, 0xfffffffd
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.140052edc
mov dword [rsp + 0x28], 0x722c3f0a
mov dword [rbp - 0x7d], 0x29cb86f1
mov dword [rbp - 0x79], 0x3ba1cc7c
mov dword [rbp - 0x75], 0x9559f451
mov dword [rbp - 0x71], 0x43061239
mov dword [rbp - 0x6d], 0x5aa4edd6
mov dword [rbp - 0x69], 0x8ad4f39
mov dword [rbp - 0x65], 0x1e354fec
mov dword [rbp - 0x61], 0xba5fdf88
mov dword [rbp - 0x5d], 0xd569a4a5
mov dword [rbp - 0x59], 0xcdf928fc
mov dword [rbp - 0x55], 0x1dcd2adf
mov dword [rbp - 0x51], 0xcb7d4451
mov dword [rbp - 0x4d], 0x6d3a67f5
mov dword [rbp - 0x49], 0x5aa8319d
mov r13d, ebx
xor edx, edx
mov rax, r13
movabs rcx, 0x13cce94adbc7a7fd
div rcx
lea r14d, [rdx + 0x33]
movzx r15d, r14w
ror r15w, 8
movzx esi, r15w
shr si, 0xa
movzx eax, r15w
shl ax, 6
or si, ax
movzx edi, si
ror di, 8
movzx r9d, r15w
shr r9w, 0xd
movzx eax, r15w
shl ax, 3
or r9w, ax
movzx edx, r15w
shl dx, 0xd
movzx eax, r15w
shr ax, 3
or dx, ax
movzx r11d, dx
ror r11w, 8
movzx r8d, r15w
shr r8w, 0xc
movzx eax, r15w
shl ax, 4
or r8w, ax
movzx ebx, r15w
not bx
movzx ecx, r15w
ror cx, 1
movzx r10d, word [rsp + r13*2 + 0x28]
sub r10w, si
mov eax, 0x6afe
add r10w, ax
mov eax, 0x9204
sub ax, si
xor r10w, ax
sub r10w, word [0x14033d058]
sub r10w, word [0x14033d050]
add r10w, di
add r10w, r15w
sub r10w, cx
mov eax, 0x6fc1
add r10w, ax
lea eax, [r15 + rsi]
mov ecx, 0x2d07
add ax, cx
xor r10w, ax
sub r10w, dx
sub r10w, r9w
sub r10w, r15w
sub r10w, word [0x14033d048]
sub r10w, 0x50
add r10w, r11w
mov rcx, qword [0x14033d040]
add r10w, si
add r10w, cx
movzx eax, r8w
sub ax, r9w
add ax, si
add ax, r15w
xor r10w, ax
movzx eax, r15w
sub ax, r8w
xor ax, r15w
sub r10w, ax
sub r10w, r11w
add r10w, r15w
mov eax, 0x4230
add r10w, ax
movzx eax, r15w
ror ax, 7
mov edx, 0x4050
sub r11w, dx
add ax, r11w
xor r10w, ax
mov edx, 0x9d7
add edx, r15d
add dx, dx
sub dx, r10w
movzx eax, bx
xor ax, word [0x14033d038]
sub dx, ax
mov eax, 0x7100
add eax, r15d
mov r8d, 0x2440
xor ax, r8w
sub dx, ax
movzx eax, r15w
xor ax, word [0x14033d030]
add dx, ax
sub dx, di
sub dx, si
sub dx, r14w
sub dx, cx
movzx eax, r15w
movzx ecx, bx
imul ecx, eax
xor cx, dx
mov word [rsp + r13*2 + 0x28], cx
inc r13
cmp r13, 0x1e
jb 0x14022aaa7
lea rax, [rsp + 0x28]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 0x3c
lea rax, [rsp + 0x28]
mov qword [rbp + 0x6f], rax
xor r8d, r8d
lea rdx, [rbp + 0x6f]
lea rcx, [rbp - 0x29]
call fcn.1401b66f8
nop
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
mov rcx, qword [rbp + 0x67]
call fcn.14006a218
or r12d, 1
mov dword [rsp + 0x20], r12d
lea rcx, [rbp - 0x29]
call fcn.140052edc
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rbp - 0x71], xmm0
movups xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rax
mov dword [rbp - 0x49], eax
lea rcx, [rbp - 9]
call fcn.140052edc
mov rax, qword [rbp + 0x67]
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rsp + 0x28]
lea rdx, [rbp - 0x39]
lea rcx, str.temp_directory_path
call fcn.140082de4
int3