Function at 0x140013ef0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x14001427b
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 0x140014030
inc r9d
add r10, 8
sub r11, 1
jne 0x140013fe0
mov r8, qword [rbx + 8]
xor r9d, r9d
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [r9 + r15 + 0x71ea0]
mov ecx, dword [r9 + r15 + 0x71e40]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x71ea4]
mov ecx, dword [r9 + r15 + 0x71e44]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x71ea8]
mov ecx, dword [r9 + r15 + 0x71e48]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x71eac]
mov ecx, dword [r9 + r15 + 0x71e4c]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x71eb0]
mov ecx, dword [r9 + r15 + 0x71e50]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x71eb4]
mov ecx, dword [r9 + r15 + 0x71e54]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x71eb8]
mov ecx, dword [r9 + r15 + 0x71e58]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x71ebc]
mov ecx, dword [r9 + r15 + 0x71e5c]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x71ec0]
mov ecx, dword [r9 + r15 + 0x71e60]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x71ec4]
mov ecx, dword [r9 + r15 + 0x71e64]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x71ec8]
mov ecx, dword [r9 + r15 + 0x71e68]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x71ecc]
mov ecx, dword [r9 + r15 + 0x71e6c]
add r9, 0x30
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
cmp r9, 0x60
jl 0x140014060
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 0x1400141c0
mov rax, qword [r15 + rsi*8 + 0x71d80]
inc rsi
xor qword [rbx], rax
mov rcx, qword [rbx]
cmp rsi, r14
jl 0x140013f30
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