Function at 0x141d4e1f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rbx, r8
mov r15, rcx
sub rdx, rcx
movabs rax, 0x4924924924924925
imul rdx
mov r13, rdx
sar r13, 4
mov rax, r13
shr rax, 0x3f
add r13, rax
mov rbp, r13
sar rbp, 1
test rbp, rbp
jle 0x141d4e48b
lea rsi, [r13 - 1]
mov r12, rsi
sar r12, 1
imul rdi, rbp, 0x38
add rdi, 0x28
add rdi, rcx
xor ecx, ecx
nop dword [rax]
dec rbp
lea rdi, [rdi - 0x38]
mov rax, qword [rdi - 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi - 0x20]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0x40], rax
mov qword [rdi - 0x28], rcx
mov qword [rdi - 0x20], rcx
mov qword [rdi - 0x18], rcx
mov rax, qword [rdi - 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi - 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
mov qword [rdi - 0x10], rcx
mov qword [rdi - 8], rcx
mov qword [rdi], rcx
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x60]
call fcn.141d55460
nop
mov r14, rbp
mov r9, rbp
cmp rbp, r12
jge 0x141d4e384
lea rsi, [r9 + r9]
lea rax, [rsi + 2]
imul rdx, rax, 0x38
add rdx, r15
lea r8, [rdx - 0x38]
mov rcx, rbx
call fcn.141d50a30
movzx r9d, al
xor r9, 1
inc r9
add r9, rsi
imul r8, r9, 0x38
add r8, r15
imul rdx, r14, 0x38
add rdx, r15
mov rcx, qword [rdx]
mov rax, qword [r8]
mov qword [rdx], rax
mov qword [r8], rcx
mov rcx, qword [rdx + 8]
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov qword [r8 + 8], rcx
mov rcx, qword [rdx + 0x10]
mov rax, qword [r8 + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r8 + 0x10], rcx
mov rcx, qword [rdx + 0x18]
mov rax, qword [r8 + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r8 + 0x18], rcx
mov rcx, qword [rdx + 0x20]
mov rax, qword [r8 + 0x20]
mov qword [rdx + 0x20], rax
mov qword [r8 + 0x20], rcx
mov rcx, qword [rdx + 0x28]
mov rax, qword [r8 + 0x28]
mov qword [rdx + 0x28], rax
mov qword [r8 + 0x28], rcx
mov rcx, qword [rdx + 0x30]
mov rax, qword [r8 + 0x30]
mov qword [rdx + 0x30], rax
mov qword [r8 + 0x30], rcx
mov r14, r9
cmp r9, r12
jl 0x141d4e2d1
lea rsi, [r13 - 1]
cmp r14, r12
jne 0x141d4e416
test r13b, 1
jne 0x141d4e416
imul r8, r13, 0x38
add r8, r15
imul rdx, r14, 0x38
add rdx, r15
mov rcx, qword [rdx]
mov rax, qword [r8 - 0x38]
mov qword [rdx], rax
mov qword [r8 - 0x38], rcx
mov rcx, qword [rdx + 8]
mov rax, qword [r8 - 0x30]
mov qword [rdx + 8], rax
mov qword [r8 - 0x30], rcx
mov rcx, qword [rdx + 0x10]
mov rax, qword [r8 - 0x28]
mov qword [rdx + 0x10], rax
mov qword [r8 - 0x28], rcx
mov rcx, qword [rdx + 0x18]
mov rax, qword [r8 - 0x20]
mov qword [rdx + 0x18], rax
mov qword [r8 - 0x20], rcx
mov rcx, qword [rdx + 0x20]
mov rax, qword [r8 - 0x18]
mov qword [rdx + 0x20], rax
mov qword [r8 - 0x18], rcx
mov rcx, qword [rdx + 0x28]
mov rax, qword [r8 - 0x10]
mov qword [rdx + 0x28], rax
mov qword [r8 - 0x10], rcx
mov rcx, qword [rdx + 0x30]
mov rax, qword [r8 - 8]
mov qword [rdx + 0x30], rax
mov qword [r8 - 8], rcx
mov r14, rsi
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
mov r8, rbp
mov rdx, r14
mov rcx, r15
call fcn.141d4f390
nop
lea rcx, [rsp + 0x60]
call fcn.141d55700
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x141d4e45b
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141d4e45b
mov rcx, qword [rsp + 0x48]
call fcn.141ec82c8
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x141d4e47d
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x141d4e47d
mov rcx, qword [rsp + 0x30]
call fcn.141ec82c8
test rbp, rbp
mov ecx, 0
jg 0x141d4e260
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret