Function at 0x140153fb0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x14015433b
push rbx
push r14
sub rsp, 0x38
mov qword [rsp + 0x50], rbp
mov rbx, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x58], rsi
xor esi, esi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x30], r15
lea r15, [0x140000000]
movsxd r14, edx
nop word [rax + rax]
mov rax, qword [rbx + 0xa0]
mov r9d, 4
xor rax, qword [rbx + 0x50]
mov r10, rbx
xor rax, rcx
xor rax, qword [rbx + 0x78]
xor rax, qword [rbx + 0x28]
lea r11d, [r9 + 1]
mov qword [rsp], rax
mov rax, qword [rbx + 0x30]
xor rax, qword [rbx + 8]
xor rax, qword [rbx + 0xa8]
xor rax, qword [rbx + 0x58]
xor rax, qword [rbx + 0x80]
mov qword [rsp + 8], rax
mov rax, qword [rbx + 0x88]
xor rax, qword [rbx + 0x10]
xor rax, qword [rbx + 0x38]
xor rax, qword [rbx + 0xb0]
xor rax, qword [rbx + 0x60]
mov qword [rsp + 0x10], rax
mov rax, qword [rbx + 0x18]
xor rax, qword [rbx + 0x40]
xor rax, qword [rbx + 0xb8]
xor rax, qword [rbx + 0x68]
xor rax, qword [rbx + 0x90]
mov qword [rsp + 0x18], rax
mov rax, qword [rbx + 0x48]
xor rax, qword [rbx + 0xc0]
xor rax, qword [rbx + 0x70]
xor rax, qword [rbx + 0x98]
xor rax, qword [rbx + 0x20]
mov qword [rsp + 0x20], rax
nop dword [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 0x1401540f0
inc r9d
add r10, 8
sub r11, 1
jne 0x1401540a0
mov r8, qword [rbx + 8]
xor r9d, r9d
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [r9 + r15 + 0x24a380]
mov ecx, dword [r9 + r15 + 0x24a320]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x24a384]
mov ecx, dword [r9 + r15 + 0x24a324]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x24a388]
mov ecx, dword [r9 + r15 + 0x24a328]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x24a38c]
mov ecx, dword [r9 + r15 + 0x24a32c]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x24a390]
mov ecx, dword [r9 + r15 + 0x24a330]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x24a394]
mov ecx, dword [r9 + r15 + 0x24a334]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x24a398]
mov ecx, dword [r9 + r15 + 0x24a338]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x24a39c]
mov ecx, dword [r9 + r15 + 0x24a33c]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x24a3a0]
mov ecx, dword [r9 + r15 + 0x24a340]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x24a3a4]
mov ecx, dword [r9 + r15 + 0x24a344]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x24a3a8]
mov ecx, dword [r9 + r15 + 0x24a348]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x24a3ac]
mov ecx, dword [r9 + r15 + 0x24a34c]
add r9, 0x30
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
cmp r9, 0x60
jl 0x140154120
lea r11, [rbx + 0x10]
mov edi, 5
nop dword [rax + rax]
mov r9, qword [r11 - 8]
mov rcx, qword [r11]
mov rax, r9
mov r10, qword [r11 - 0x10]
not rax
mov rdx, qword [r11 + 8]
and rax, rcx
mov r8, qword [r11 + 0x10]
lea r11, [r11 + 0x28]
xor rax, r10
mov qword [rsp], r10
mov qword [r11 - 0x38], rax
mov rax, rcx
not rax
mov qword [rsp + 8], r9
and rax, rdx
mov qword [rsp + 0x10], rcx
xor rax, r9
mov qword [rsp + 0x18], rdx
mov qword [r11 - 0x30], rax
mov rax, rdx
not rax
mov qword [rsp + 0x20], r8
and rax, r8
xor rax, rcx
mov qword [r11 - 0x28], rax
mov rax, r8
not rax
and rax, r10
not r10
and r10, r9
xor rax, rdx
xor r10, r8
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], r10
sub rdi, 1
jne 0x140154280
mov rax, qword [r15 + rsi*8 + 0x24a260]
inc rsi
xor qword [rbx], rax
mov rcx, qword [rbx]
cmp rsi, r14
jl 0x140153ff0
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