Function at 0x14022cde0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0xb0
call fcn.140126870
sub rsp, rax
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12, qword [rsp + 0x120]
lea edi, [rdx - 1]
mov rax, qword [rsp + 0x110]
mov ebp, r9d
mov rbx, qword [rsp + 0x128]
mov r15, rcx
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rax
test r12, r12
jne 0x14022ce47
call fcn.1401ae060
mov r12, rax
test rbx, rbx
mov rcx, r12
cmove rbx, r12
mov qword [rsp + 0x48], rbx
call fcn.1401c7890
movsxd rsi, eax
mov r13d, edi
lea eax, [rsi + rsi]
sub r13d, eax
lea ecx, [r13 - 1]
cmp ebp, ecx
jle 0x14022ce98
mov edx, 0xa0
mov dword [rsp + 0x20], 0x3a
lea r9, [0x1403e6dd0]
mov ecx, 4
lea r8d, [rdx - 0x32]
call fcn.1401b6c10
xor eax, eax
jmp 0x14022d181
inc eax
cmp edi, eax
jge 0x14022cec7
mov edx, 0xa0
mov dword [rsp + 0x20], 0x40
lea r9, [0x1403e6de8]
mov ecx, 4
lea r8d, [rdx - 0x28]
call fcn.1401b6c10
xor eax, eax
jmp 0x14022d181
movsxd rdx, dword [rsp + 0x118]
xor ebp, ebp
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
mov byte [r15], 0
mov rbx, rsi
mov qword [rsp + 0xa8], r14
lea r14, [r15 + 1]
inc r15
mov qword [rsp + 0x28], rbp
add r15, rsi
mov qword [rsp + 0x20], r12
mov r8, r15
call fcn.1401ad770
test eax, eax
je 0x14022d177
movsxd r12, dword [rsp + 0x30]
lea rcx, [rsi + r15]
sub r13d, r12d
xor edx, edx
dec r13d
movsxd r8, r13d
call fcn.1402767a0
mov rdx, qword [rsp + 0x40]
mov eax, edi
sub eax, r12d
movsxd rcx, edi
sub eax, esi
mov r8d, r12d
sub rcx, r12
dec eax
cdqe
sub rcx, rbx
add rcx, r15
mov byte [rax + r15], 1
call fcn.1402743b0
mov edx, esi
mov rcx, r14
call fcn.1401b33e0
test eax, eax
jle 0x14022d177
sub edi, esi
lea r8d, [rbp + 0x55]
mov ecx, edi
lea rdx, [0x1403e6e00]
call fcn.1401a59c0
mov r12, rax
test rax, rax
jne 0x14022cfa1
lea r9, [0x1403e6e18]
mov dword [rsp + 0x20], 0x57
mov edx, 0xa0
lea ecx, [rbp + 4]
lea r8d, [rbp + 0x41]
call fcn.1401b6c10
jmp 0x14022d177
mov r13, qword [rsp + 0x48]
mov r9d, esi
mov r8, r14
mov qword [rsp + 0x20], r13
mov edx, edi
mov rcx, r12
call fcn.14022cc20
test eax, eax
js 0x14022d16f
mov edx, ebp
test edi, edi
jle 0x14022d049
cmp edi, 0x20
jb 0x14022d049
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rcx + r12]
lea r8, [rcx + r15]
cmp r15, rax
ja 0x14022cfea
cmp r8, r12
jae 0x14022d049
mov ecx, edi
and ecx, 0x8000001f
jge 0x14022cffb
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, edi
mov r8, r12
sub eax, ecx
sub r8, r15
mov r9, r15
movsxd r10, eax
neg r9
mov rcx, r15
movdqu xmm0, xmmword [rcx]
add edx, 0x20
movdqu xmm1, xmmword [r8 + rcx]
lea rcx, [rcx + 0x20]
lea rax, [r9 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm0, xmmword [rcx - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp rax, r10
jl 0x14022d011
movsxd rax, edx
movsxd rdx, edi
cmp rax, rdx
jge 0x14022d072
mov r8, r12
lea rcx, [rax + r15]
sub r8, r15
sub rdx, rax
movzx eax, byte [rcx + r8]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14022d061
mov r9d, edi
mov qword [rsp + 0x20], r13
mov r8, r15
lea rcx, [rsp + 0x50]
mov edx, esi
call fcn.14022cc20
test eax, eax
js 0x14022d16f
test esi, esi
jle 0x14022d137
cmp esi, 0x20
jb 0x14022d137
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x50]
add rax, rcx
lea rdx, [rcx + r14]
cmp r14, rax
ja 0x14022d0c3
lea rax, [rsp + 0x50]
cmp rdx, rax
jae 0x14022d137
mov eax, esi
and eax, 0x8000001f
jge 0x14022d0d3
dec eax
or eax, 0xffffffe0
inc eax
sub esi, eax
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x60]
movsxd r10, esi
sub rdx, r14
sub r8, r14
mov r9, r14
mov rcx, r14
neg r9
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx]
add ebp, 0x20
movdqu xmm1, xmmword [rdx + rcx]
lea rcx, [rcx + 0x20]
lea rax, [r9 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmm1, xmmword [r8 + rcx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x10], xmm1
cmp rax, r10
jl 0x14022d100
movsxd rax, ebp
cmp rax, rbx
jge 0x14022d160
lea rdx, [rsp + 0x50]
sub rdx, r14
lea rcx, [rax + r14]
sub rbx, rax
nop
movzx eax, byte [rcx + rdx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x14022d150
mov rcx, r12
call fcn.1401a58c0
mov eax, 1
jmp 0x14022d179
mov rcx, r12
call fcn.1401a58c0
xor eax, eax
mov r14, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140125a70
add rsp, 0xb0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret