Function at 0x140053d00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x830]
sub rsp, 0x930
mov rax, qword [0x1401bce90]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov r9d, dword [0x1401c4d60]
mov eax, 0x38e38e39
xor ebx, ebx
mov edi, r9d
imul edi, r9d
mov ecx, edi
imul ecx, r9d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 5
jne 0x140053d83
mov r8d, ebx
lea r10, [rbp + 0x80]
mov r11d, r9d
nop dword [rax + rax]
inc r8d
dec r11d
lea r10, [r10 + 4]
movsxd rax, r8d
cmp rax, 0x20
jb 0x140053d70
cmp byte [0x1401c69b7], bl
mov qword [rsp + 0x948], r14
je 0x140053d9f
lea rax, [0x1401c0920]
jmp 0x140054115
mov eax, 0x2aaaaaab
mov dword [rbp + 0x800], 0x5001b
mov dword [rbp + 0x804], 0x40011
mov dword [rbp + 0x808], 0x450008
mov dword [rbp + 0x80c], 0x170017
mov dword [rbp + 0x810], 0xa0003
imul edi
sar edx, 2
mov dword [rbp + 0x814], 0xa0053
mov dword [rbp + 0x818], 0x1d0003
mov eax, edx
mov dword [rbp + 0x81c], 0x17
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub edi, eax
cmp edi, 6
jne 0x140053f2e
mov rdi, rbx
call fcn.1400cebc4
inc rdi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rsp + rdi*8 + 0x18], xmm0
cmp rdi, 0x2c
jb 0x140053e14
mov r10d, 0x2b
mov r9, rbx
lea r11d, [r10 + 1]
nop dword [rax]
mov edx, 0x2b
cmp r9, rdx
jge 0x140053f18
cmp r10, 4
jl 0x140053eed
mov r8d, 0x27
lea rcx, [rbp + 0x68]
sub r8, r9
shr r8, 2
inc r8
lea rax, [r8*4]
sub rdx, rax
nop word [rax + rax]
movsd xmm0, qword [rcx + 0x10]
movsd xmm1, qword [rcx + 8]
comisd xmm0, xmm1
jbe 0x140053e9a
movsd qword [rcx + 0x10], xmm1
movsd qword [rcx + 8], xmm0
movsd xmm0, qword [rcx + 8]
movsd xmm1, qword [rcx]
comisd xmm0, xmm1
jbe 0x140053eb2
movsd qword [rcx + 8], xmm1
movsd qword [rcx], xmm0
movsd xmm0, qword [rcx]
movsd xmm1, qword [rcx - 8]
comisd xmm0, xmm1
jbe 0x140053eca
movsd qword [rcx], xmm1
movsd qword [rcx - 8], xmm0
movsd xmm0, qword [rcx - 8]
movsd xmm1, qword [rcx - 0x10]
comisd xmm0, xmm1
jbe 0x140053ee4
movsd qword [rcx - 8], xmm1
movsd qword [rcx - 0x10], xmm0
sub rcx, 0x20
dec r8
jne 0x140053e80
cmp rdx, r9
jle 0x140053f18
movsd xmm0, qword [rsp + rdx*8 + 0x20]
movsd xmm1, qword [rsp + rdx*8 + 0x18]
comisd xmm0, xmm1
jbe 0x140053f10
movsd qword [rsp + rdx*8 + 0x20], xmm1
movsd qword [rsp + rdx*8 + 0x18], xmm0
dec rdx
cmp rdx, r9
jg 0x140053ef2
inc r9
dec r10
dec r11
jne 0x140053e40
mov r9d, dword [0x1401c4d60]
mov rdx, rbx
lea r14, [0x1401c0920]
lea r8, [0x1401bfd91]
nop
movzx eax, byte [rdx + r8 - 1]
movzx ecx, word [rbp + rdx*2 + 0x802]
add rdx, 5
xor ax, word [rbp + rdx*2 + 0x7f6]
mov word [r14 + rdx*2 - 0xa], ax
movzx eax, byte [rdx + r8 - 5]
xor cx, ax
movzx eax, byte [rdx + r8 - 4]
xor ax, word [rbp + rdx*2 + 0x7fa]
mov word [r14 + rdx*2 - 8], cx
mov word [r14 + rdx*2 - 6], ax
movzx eax, byte [rdx + r8 - 3]
xor ax, word [rbp + rdx*2 + 0x7fc]
mov word [r14 + rdx*2 - 4], ax
movzx eax, byte [rdx + r8 - 2]
xor ax, word [rbp + rdx*2 + 0x7fe]
mov word [r14 + rdx*2 - 2], ax
cmp rdx, 0xf
jl 0x140053f40
lea ecx, [r9 + 2]
lea eax, [r9 + 1]
imul ecx, eax
imul ecx, r9d
and ecx, 0x8000000f
jge 0x140053fcf
dec ecx
or ecx, 0xfffffff0
inc ecx
cmp ecx, 0xb
jne 0x14005410b
mov qword [rsp + 0x940], rsi
mov rdi, rbx
mov esi, 0xdf
call fcn.1400cebc4
inc rdi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rbp + rdi*8 + 0xf8], xmm0
cmp rdi, rsi
jb 0x140053fe8
mov r9d, 0xde
nop dword [rax]
mov edx, 0xde
cmp rbx, rdx
jge 0x1400540f4
cmp r9, 4
jl 0x1400540bd
mov r8d, 0xda
lea rcx, [rbp + 0x7e0]
sub r8, rbx
shr r8, 2
inc r8
lea rax, [r8*4]
sub rdx, rax
nop word [rax + rax]
movsd xmm0, qword [rcx + 0x10]
movsd xmm1, qword [rcx + 8]
comisd xmm0, xmm1
jbe 0x14005406a
movsd qword [rcx + 0x10], xmm1
movsd qword [rcx + 8], xmm0
movsd xmm0, qword [rcx + 8]
movsd xmm1, qword [rcx]
comisd xmm0, xmm1
jbe 0x140054082
movsd qword [rcx + 8], xmm1
movsd qword [rcx], xmm0
movsd xmm0, qword [rcx]
movsd xmm1, qword [rcx - 8]
comisd xmm0, xmm1
jbe 0x14005409a
movsd qword [rcx], xmm1
movsd qword [rcx - 8], xmm0
movsd xmm0, qword [rcx - 8]
movsd xmm1, qword [rcx - 0x10]
comisd xmm0, xmm1
jbe 0x1400540b4
movsd qword [rcx - 8], xmm1
movsd qword [rcx - 0x10], xmm0
sub rcx, 0x20
dec r8
jne 0x140054050
cmp rdx, rbx
jle 0x1400540f4
movsd xmm0, qword [rbp + rdx*8 + 0x100]
movsd xmm1, qword [rbp + rdx*8 + 0xf8]
comisd xmm0, xmm1
jbe 0x1400540ec
movsd qword [rbp + rdx*8 + 0x100], xmm1
movsd qword [rbp + rdx*8 + 0xf8], xmm0
dec rdx
cmp rdx, rbx
jg 0x1400540c2
inc rbx
dec r9
dec rsi
jne 0x140054010
mov rsi, qword [rsp + 0x940]
mov byte [0x1401c69b7], 1
mov rax, r14
mov r14, qword [rsp + 0x948]
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.1400ce2d0
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret