Function at 0x140160fe0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0xb8
call fcn.1400fe1d0
sub rsp, rax
mov rax, qword [0x14025ef38]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12, qword [rsp + 0x120]
lea edi, [rdx - 1]
mov rax, qword [rsp + 0x110]
mov ebx, r9d
mov rsi, qword [rsp + 0x128]
mov r15, rcx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rax
test r12, r12
jne 0x140161045
call fcn.140103630
mov r12, rax
test rsi, rsi
mov rcx, r12
cmove rsi, r12
mov qword [rsp + 0x48], rsi
call fcn.140123110
movsxd rsi, eax
mov r13d, edi
lea eax, [rsi + rsi]
sub r13d, eax
lea ecx, [r13 - 1]
cmp ebx, ecx
jle 0x140161096
mov edx, 0xa0
mov dword [rsp + 0x20], 0x3a
lea r9, [0x140288f28]
mov ecx, 4
lea r8d, [rdx - 0x32]
call fcn.1400d2310
xor eax, eax
jmp 0x140161409
inc eax
cmp edi, eax
jge 0x1401610c5
mov edx, 0xa0
mov dword [rsp + 0x20], 0x40
lea r9, [0x140288f40]
mov ecx, 4
lea r8d, [rdx - 0x28]
call fcn.1400d2310
xor eax, eax
jmp 0x140161409
movsxd rdx, dword [rsp + 0x118]
xor r9d, r9d
mov rcx, qword [rsp + 0x38]
mov rbx, rsi
mov qword [rsp + 0xb0], rbp
lea rbp, [r15 + 1]
mov byte [r15], 0
add rbp, rsi
mov qword [rsp + 0xa8], r14
mov r8, rbp
lea r14, [r15 + 1]
xor r15d, r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
call fcn.1400ecdb0
test eax, eax
je 0x1401613f7
movsxd r12, dword [rsp + 0x30]
lea rcx, [rsi + rbp]
sub r13d, r12d
xor edx, edx
dec r13d
movsxd r8, r13d
call fcn.1401a1180
mov rdx, qword [rsp + 0x40]
mov eax, edi
sub eax, r12d
movsxd rcx, edi
sub rcx, r12
mov r8d, r12d
sub eax, esi
sub rcx, rbx
cdqe
add rcx, rbp
mov byte [rax + rbp - 1], 1
call fcn.1401a0ad0
mov edx, esi
mov rcx, r14
call fcn.1400fdbb0
test eax, eax
jle 0x1401613f7
sub edi, esi
lea r8d, [r15 + 0x55]
mov ecx, edi
lea rdx, [0x140288f58]
call fcn.1400e9750
mov r12, rax
test rax, rax
jne 0x1401611a7
lea r9, [0x140288f70]
mov dword [rsp + 0x20], 0x57
mov edx, 0xa0
lea ecx, [rax + 4]
lea r8d, [r15 + 0x41]
call fcn.1400d2310
jmp 0x1401613f7
mov r13, qword [rsp + 0x48]
mov r9d, esi
mov r8, r14
mov qword [rsp + 0x20], r13
mov edx, edi
mov rcx, r12
call fcn.140160de0
test eax, eax
js 0x1401613ef
mov r8d, r15d
test edi, edi
jle 0x140161290
cmp edi, 0x40
jb 0x140161290
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rcx + r12]
lea rdx, [rcx + rbp]
cmp rbp, rax
ja 0x1401611f9
cmp rdx, r12
jae 0x140161290
mov ecx, edi
and ecx, 0x8000003f
jge 0x14016120a
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
mov rdx, r12
sub eax, ecx
sub rdx, rbp
mov r9, 0xfffffffffffffff0
movsxd r10, eax
sub r9, rbp
lea rcx, [rbp + 0x10]
nop word [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx - 0x10]
movdqu xmm2, xmmword [rcx + rdx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r9]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + rdx - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x140161230
movsxd rax, r8d
movsxd rdx, edi
cmp rax, rdx
jge 0x1401612c1
mov r8, r12
lea rcx, [rax + rbp]
sub r8, rbp
sub rdx, rax
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1401612b0
mov r9d, edi
mov qword [rsp + 0x20], r13
mov r8, rbp
lea rcx, [rsp + 0x50]
mov edx, esi
call fcn.140160de0
test eax, eax
js 0x1401613ef
test esi, esi
jle 0x1401613b2
cmp esi, 0x40
jb 0x1401613b2
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x50]
add rax, rcx
lea rdx, [rcx + r14]
cmp r14, rax
ja 0x140161316
lea rax, [rsp + 0x50]
cmp rdx, rax
jae 0x1401613b2
mov eax, esi
and eax, 0x8000003f
jge 0x140161326
dec eax
or eax, 0xffffffc0
inc eax
sub esi, eax
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x60]
movsxd r10, esi
sub rdx, r14
lea rcx, [r14 + 0x20]
sub r8, r14
mov r9, 0xffffffffffffffe0
sub r9, r14
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x20]
add r15d, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x20]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [r9 + rcx]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [r8 + rcx - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, r10
jl 0x140161350
movsxd rcx, r15d
cmp rcx, rbx
jge 0x1401613e0
lea rdx, [rsp + 0x50]
sub rdx, r14
lea rax, [rcx + r14]
sub rbx, rcx
nop dword [rax]
movzx ecx, byte [rax + rdx]
xor byte [rax], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x1401613d0
mov rcx, r12
call fcn.1400e9870
mov eax, 1
jmp 0x1401613f9
mov rcx, r12
call fcn.1400e9870
xor eax, eax
mov rbp, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400fe230
add rsp, 0xb8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret