Function at 0x140108dd0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x14010915b
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 0x140108f10
inc r9d
add r10, 8
sub r11, 1
jne 0x140108ec0
mov r8, qword [rbx + 8]
xor r9d, r9d
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [r9 + r15 + 0x199b30]
mov ecx, dword [r9 + r15 + 0x199ad0]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x199b34]
mov ecx, dword [r9 + r15 + 0x199ad4]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x199b38]
mov ecx, dword [r9 + r15 + 0x199ad8]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x199b3c]
mov ecx, dword [r9 + r15 + 0x199adc]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x199b40]
mov ecx, dword [r9 + r15 + 0x199ae0]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x199b44]
mov ecx, dword [r9 + r15 + 0x199ae4]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x199b48]
mov ecx, dword [r9 + r15 + 0x199ae8]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x199b4c]
mov ecx, dword [r9 + r15 + 0x199aec]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x199b50]
mov ecx, dword [r9 + r15 + 0x199af0]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x199b54]
mov ecx, dword [r9 + r15 + 0x199af4]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x199b58]
mov ecx, dword [r9 + r15 + 0x199af8]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x199b5c]
mov ecx, dword [r9 + r15 + 0x199afc]
add r9, 0x30
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
cmp r9, 0x60
jl 0x140108f40
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 0x1401090a0
mov rax, qword [r15 + rsi*8 + 0x199a10]
inc rsi
xor qword [rbx], rax
mov rcx, qword [rbx]
cmp rsi, r14
jl 0x140108e10
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