Function at 0x140015870
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x140015bd2
push rbx
push r14
sub rsp, 0x38
mov rax, qword [rcx]
mov rbx, rcx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
xor esi, esi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x30], r15
lea r15, [0x140000000]
movsxd r14, edx
xor rax, qword [rbx + 0x28]
mov r9d, 4
xor rax, qword [rbx + 0xa0]
mov r10, rbx
xor rax, qword [rbx + 0x50]
xor rax, qword [rbx + 0x78]
mov qword [rsp], rax
lea r11d, [r9 + 1]
mov rax, qword [rbx + 0x80]
xor rax, qword [rbx + 8]
xor rax, qword [rbx + 0x30]
xor rax, qword [rbx + 0xa8]
xor rax, qword [rbx + 0x58]
mov qword [rsp + 8], rax
mov rax, qword [rbx + 0x38]
xor rax, qword [rbx + 0xb0]
xor rax, qword [rbx + 0x60]
xor rax, qword [rbx + 0x88]
xor rax, qword [rbx + 0x10]
mov qword [rsp + 0x10], rax
mov rax, qword [rbx + 0xb8]
xor rax, qword [rbx + 0x68]
xor rax, qword [rbx + 0x90]
xor rax, qword [rbx + 0x18]
xor rax, qword [rbx + 0x40]
mov qword [rsp + 0x18], rax
mov rax, qword [rbx + 0x98]
xor rax, qword [rbx + 0x20]
xor rax, qword [rbx + 0x48]
xor rax, qword [rbx + 0xc0]
xor rax, qword [rbx + 0x70]
mov qword [rsp + 0x20], rax
nop word [rax + rax]
lea ecx, [r9 - 3]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
movsxd rax, ecx
mov ecx, r9d
mov r8, qword [rsp + rax*8]
mov eax, 0x66666667
imul r9d
rol r8, 1
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
movsxd rax, ecx
mov ecx, 5
xor r8, qword [rsp + rax*8]
mov rax, r10
nop dword [rax + rax]
xor qword [rax], r8
lea rax, [rax + 0x28]
sub rcx, 1
jne 0x1400159a0
inc r9d
add r10, 8
sub r11, 1
jne 0x140015950
mov r8, qword [rbx + 8]
xor r9d, r9d
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [r9 + r15 + 0xcb4a0]
mov ecx, dword [r9 + r15 + 0xcb440]
rol r8, cl
mov ecx, dword [r9 + r15 + 0xcb444]
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0xcb4a4]
rol rdx, cl
mov ecx, dword [r9 + r15 + 0xcb448]
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0xcb4a8]
rol r8, cl
mov ecx, dword [r9 + r15 + 0xcb44c]
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0xcb4ac]
rol rdx, cl
mov ecx, dword [r9 + r15 + 0xcb450]
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0xcb4b0]
rol r8, cl
mov ecx, dword [r9 + r15 + 0xcb454]
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0xcb4b4]
rol rdx, cl
mov ecx, dword [r9 + r15 + 0xcb458]
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0xcb4b8]
rol r8, cl
mov ecx, dword [r9 + r15 + 0xcb45c]
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0xcb4bc]
rol rdx, cl
mov ecx, dword [r9 + r15 + 0xcb460]
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0xcb4c0]
rol r8, cl
mov ecx, dword [r9 + r15 + 0xcb464]
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0xcb4c4]
rol rdx, cl
mov ecx, dword [r9 + r15 + 0xcb468]
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0xcb4c8]
rol r8, cl
mov ecx, dword [r9 + r15 + 0xcb46c]
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0xcb4cc]
add r9, 0x30
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
cmp r9, 0x60
jl 0x1400159d0
lea r11, [rbx + 0x10]
mov edi, 5
nop dword [rax + rax]
mov r10, qword [r11 - 0x10]
mov r9, qword [r11 - 8]
mov rcx, qword [r11]
mov rax, r9
mov rdx, qword [r11 + 8]
not rax
mov r8, qword [r11 + 0x10]
lea r11, [r11 + 0x28]
and rax, rcx
mov qword [rsp + 0x10], rcx
xor rax, r10
mov qword [rsp + 0x18], rdx
mov qword [r11 - 0x38], rax
not rcx
and rcx, rdx
mov qword [rsp + 0x20], r8
xor qword [r11 - 0x30], rcx
not rdx
and rdx, r8
mov qword [rsp], r10
xor qword [r11 - 0x28], rdx
not r8
and r8, r10
mov qword [rsp + 8], r9
xor qword [r11 - 0x20], r8
not r10
and r10, r9
xor qword [r11 - 0x18], r10
sub rdi, 1
jne 0x140015b30
mov rax, qword [r15 + rsi*8 + 0xcb380]
inc rsi
xor qword [rbx], rax
mov rax, qword [rbx]
cmp rsi, r14
jl 0x1400158a5
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
add rsp, 0x38
pop r14
pop rbx
ret