Function at 0x140159bc0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], r8
mov r14, rdx
mov r15, rcx
mov r12, qword [rsp + 0x188]
mov rax, qword [0x1401ea088]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rcx, r12
call fcn.140076690
mov rbx, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
lea r13, [rsp + 0x40]
mov rcx, r13
call fcn.1400894c0
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, r15
mov r8, r14
mov r9, r12
call fcn.1400894f0
test eax, eax
je 0x140159ed9
mov rsi, qword [rsp + 0x190]
test rsi, rsi
je 0x140159edd
mov r14, qword [rsp + 0x198]
mov eax, 1
lea r15, [rsp + 0x40]
jmp 0x140159cc2
add r14, rbp
mov eax, dword [rsp + 0x2c]
inc eax
sub rsi, rbp
je 0x140159edd
cmp rbx, rsi
mov rbp, rsi
cmovb rbp, rbx
mov dword [rsp + 0x2c], eax
bswap eax
mov dword [rsp + 0xac], eax
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.1400894f0
test eax, eax
je 0x140159ed9
mov rcx, r15
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
call fcn.140089870
test eax, eax
je 0x140159ed9
mov r8d, 4
mov rcx, r15
lea rdx, [rsp + 0xac]
call fcn.140089870
test eax, eax
je 0x140159ed9
mov rcx, r15
lea rdx, [rsp + 0xb0]
xor r8d, r8d
call fcn.140089890
test eax, eax
je 0x140159ed9
test rbp, rbp
je 0x140159d85
mov rcx, r14
lea rdx, [rsp + 0xb0]
mov r8, rbp
call fcn.140160f20
cmp dword [rsp + 0x180], 2
jb 0x140159cb0
mov r12, rbp
and r12, 0xffffffffffffffe0
mov r13, rbp
and r13, 0xfffffffffffffff8
mov edi, 1
jmp 0x140159dbf
inc edi
cmp edi, dword [rsp + 0x180]
je 0x140159cb0
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.1400894f0
test eax, eax
je 0x140159ed9
mov rcx, r15
lea rdx, [rsp + 0xb0]
mov r8, rbx
call fcn.140089870
test eax, eax
je 0x140159ed9
mov rcx, r15
lea rdx, [rsp + 0xb0]
xor r8d, r8d
call fcn.140089890
test eax, eax
je 0x140159ed9
test rbp, rbp
je 0x140159db0
cmp rbp, 8
jae 0x140159e30
xor eax, eax
jmp 0x140159ec0
cmp rbp, 0x20
jae 0x140159e3a
xor ecx, ecx
jmp 0x140159e90
xor eax, eax
nop dword [rax]
movups xmm0, xmmword [r14 + rax]
movups xmm1, xmmword [r14 + rax + 0x10]
xorps xmm0, xmmword [rsp + rax + 0xb0]
xorps xmm1, xmmword [rsp + rax + 0xc0]
movups xmmword [r14 + rax], xmm0
movups xmmword [r14 + rax + 0x10], xmm1
add rax, 0x20
cmp r12, rax
jne 0x140159e40
cmp rbp, r12
je 0x140159db0
mov rcx, r12
mov rax, r12
test bpl, 0x18
je 0x140159ec0
nop word cs:[rax + rax]
mov rax, qword [rsp + rcx + 0xb0]
xor qword [r14 + rcx], rax
add rcx, 8
cmp r13, rcx
jne 0x140159e90
mov rax, r13
cmp rbp, r13
je 0x140159db0
nop word cs:[rax + rax]
movzx ecx, byte [rsp + rax + 0xb0]
xor byte [r14 + rax], cl
inc rax
cmp rbp, rax
jne 0x140159ec0
jmp 0x140159db0
xor esi, esi
jmp 0x140159eeb
xor esi, esi
cmp dword [rsp + 0x180], 0
setne sil
lea rcx, [rsp + 0x40]
call fcn.140089980
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14015c2e0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret