Function at 0x14005e980
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140740ee8]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov rax, qword [0x1407417a0]
xor edi, edi
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, [0x140741740]
mov qword [rbp - 0x38], 1
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rax, [rbp - 0x10]
mov qword [rbp - 0x20], rdi
mov qword [rsp + 0x50], rax
lea edx, [rdi + 1]
lea rax, [0x140741738]
mov qword [rbp - 0x28], 1
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [0x140741748]
mov qword [rbp - 0x50], 0x1c
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x120]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x48], edi
mov dword [rbp - 0x58], 0x3c
mov dword [rbp - 0x54], 1
mov qword [rbp - 0x60], rdi
mov dword [rbp - 0x3c], 0x20
mov qword [rbp - 0x44], 8
mov dword [rbp + 0x120], 0xb000
mov dword [rbp + 0x124], 0xa000
call fcn.14008ec77
test eax, eax
je 0x14005ea74
xor eax, eax
jmp 0x14005ee49
mov qword [rsp + 0x30], 2
lea rcx, str.1.87
mov qword [rsp + 0x28], 0x14
mov edx, 0x3750
mov r9d, 8
mov qword [rsp + 0x20], 0x10
mov r8d, 0x418
mov qword [rsp + 0x270], rbx
call fcn.14001cb10
xor ecx, ecx
call fcn.14001c630
call fcn.14001f070
mov rbx, rax
call fcn.14001f6b0
lea rcx, [rbp]
mov dword [rax + 0x48], 0x3f800000
mov dword [rax + 0x44], 0x40a00000
mov qword [rax + 0x3c], 0x40800000
mov dword [rax + 0x80], 0x40a00000
mov dword [rax + 0x88], 0x40a00000
mov dword [rax + 0x8c], 0x3f800000
mov dword [rax + 0x74], 0x40400000
mov dword [rax + 0x20], 0x3f000000
call fcn.140030720
lea rcx, [rbp + 0x90]
call fcn.140030720
movss xmm3, dword [0x1407004b0]
lea rax, [rbp + 0x90]
mov byte [rbp + 0x9c], dil
lea rdx, str.OTTO
mov byte [rbp + 0x48], 1
mov r8d, 0x225bc
mov byte [rbp + 0x20], 1
mov dword [rbp + 0x18], 2
mov dword [rbp + 0x1c], 2
mov rcx, qword [rbx + 0x48]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140031b80
movss xmm3, dword [0x1407004b4]
lea rax, [0x1406ff810]
mov rcx, qword [rbx + 0x48]
lea rdx, [0x1406bcd40]
mov qword [rsp + 0x28], rax
mov r8d, 0x1e695
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.140031890
cmp dword [0x140740f00], 2
mov r8d, edi
mov eax, dword [0x1406ff830]
movups xmm0, xmmword [0x1406ff818]
mov dword [rsp + 0x78], eax
movzx eax, byte [0x1406ff834]
movsd xmm1, qword [0x1406ff828]
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x7c], al
movsd qword [rsp + 0x70], xmm1
jl 0x14005ed6a
movdqa xmm0, xmmword [0x1407005b0]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x1400f9590]
mov eax, 5
movdqa xmm4, xmmword [0x140700680]
movaps xmmword [rsp + 0x250], xmm6
movaps xmmword [rsp + 0x240], xmm7
movdqa xmm7, xmmword [0x140700570]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rbp - 0x80], xmm0
mov edx, dword [rbp - 0x80]
movaps xmmword [rsp + 0x230], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140700580]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140700580]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x14005ec40
movaps xmm8, xmmword [rsp + 0x230]
movaps xmm7, xmmword [rsp + 0x240]
movaps xmm6, xmmword [rsp + 0x250]
cmp r8d, 0x1d
jge 0x14005edb4
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x1d
jl 0x14005ed80
movss xmm2, dword [0x1400f57fc]
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 0x48]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call fcn.1400315a0
mov rcx, qword [rbx + 0x48]
xor edx, edx
call fcn.140031290
mov dword [rbx], 0x20
lea r9, [rbp - 0x70]
mov rcx, qword [0x140741748]
lea r8, [0x1406ff800]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x140741738]
lea r9, [0x140741750]
mov rdx, qword [rbp - 0x70]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x1407417a0]
call fcn.140042d80
mov rdx, qword [0x140741740]
mov rcx, qword [0x140741738]
call fcn.140041dc0
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x270]
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.14008d530
mov rdi, qword [rsp + 0x278]
add rsp, 0x260
pop rbp
ret