Function at 0x1401367e0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x140136b77
push rbx
push rbp
sub rsp, 0x38
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx]
mov rbx, rcx
mov qword [rsp + 0x58], rsi
xor esi, esi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x30], r15
lea r15, [0x140000000]
movsxd rbp, edx
nop dword [rax]
nop word [rax + rax]
xor rax, qword [rbx + 0x78]
mov r9d, 4
xor rax, qword [rbx + 0x28]
mov r10, rbx
xor rax, qword [rbx + 0xa0]
xor rax, qword [rbx + 0x50]
mov qword [rsp], rax
lea r11d, [r9 + 1]
mov rax, qword [rbx + 0xa8]
xor rax, qword [rbx + 0x58]
xor rax, qword [rbx + 8]
xor rax, qword [rbx + 0x80]
xor rax, qword [rbx + 0x30]
mov qword [rsp + 8], rax
mov rax, qword [rbx + 0x10]
xor rax, qword [rbx + 0x38]
xor rax, qword [rbx + 0xb0]
xor rax, qword [rbx + 0x60]
xor rax, qword [rbx + 0x88]
mov qword [rsp + 0x10], rax
mov rax, qword [rbx + 0x40]
xor rax, qword [rbx + 0xb8]
xor rax, qword [rbx + 0x68]
xor rax, qword [rbx + 0x90]
xor rax, qword [rbx + 0x18]
mov qword [rsp + 0x18], rax
mov rax, qword [rbx + 0xc0]
xor rax, qword [rbx + 0x70]
xor rax, qword [rbx + 0x98]
xor rax, qword [rbx + 0x20]
xor rax, qword [rbx + 0x48]
mov qword [rsp + 0x20], 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 0x140136920
inc r9d
add r10, 8
sub r11, 1
jne 0x1401368d0
mov r8, qword [rbx + 8]
xor r9d, r9d
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [r9 + r15 + 0x1952d0]
mov ecx, dword [r9 + r15 + 0x195270]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x1952d4]
mov ecx, dword [r9 + r15 + 0x195274]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x1952d8]
mov ecx, dword [r9 + r15 + 0x195278]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x1952dc]
mov ecx, dword [r9 + r15 + 0x19527c]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x1952e0]
mov ecx, dword [r9 + r15 + 0x195280]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x1952e4]
mov ecx, dword [r9 + r15 + 0x195284]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x1952e8]
mov ecx, dword [r9 + r15 + 0x195288]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x1952ec]
mov ecx, dword [r9 + r15 + 0x19528c]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x1952f0]
mov ecx, dword [r9 + r15 + 0x195290]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x1952f4]
mov ecx, dword [r9 + r15 + 0x195294]
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
movsxd rax, dword [r9 + r15 + 0x1952f8]
mov ecx, dword [r9 + r15 + 0x195298]
rol r8, cl
mov rdx, qword [rbx + rax*8]
mov qword [rbx + rax*8], r8
movsxd rax, dword [r9 + r15 + 0x1952fc]
mov ecx, dword [r9 + r15 + 0x19529c]
add r9, 0x30
rol rdx, cl
mov r8, qword [rbx + rax*8]
mov qword [rbx + rax*8], rdx
cmp r9, 0x60
jl 0x140136950
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 0x140136ab0
mov rax, qword [r15 + rsi*8 + 0x1951b0]
inc rsi
xor qword [rbx], rax
mov rax, qword [rbx]
cmp rsi, rbp
jl 0x140136830
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401623e0
add rsp, 0x38
pop rbp
pop rbx
ret