Function at 0x140059900
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x10d0
call fcn.1400d1900
sub rsp, rax
movaps xmmword [rsp + 0x10c0], xmm6
movaps xmmword [rsp + 0x10b0], xmm7
movaps xmmword [rsp + 0x10a0], xmm8
mov rax, qword [0x140108088]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov qword [rsp + 0x80], rcx
xor ebp, ebp
mov eax, dword [0x1400f35f8]
mov rbx, rcx
movsd xmm0, qword [0x1400f35f0]
mov r8d, ebp
mov edi, dword [0x1401080a0]
mov dword [rsp + 0x38], eax
lea r14d, [rbp + 5]
movzx eax, byte [0x1400f35fc]
lea r15d, [rbp + 0x1f]
mov byte [rsp + 0x3c], al
movsd qword [rsp + 0x30], xmm0
cmp edi, 2
jl 0x140059aa0
movdqa xmm2, xmmword [0x1400f4d80]
mov r8d, 8
movdqa xmm3, xmmword [0x1400f4da0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400f4fd0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f4dd0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1400f35f0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400f4e20]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400f4e60]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x30], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f4dd0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x34]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f4e20]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400f4e60]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [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, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140059ab0
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [0x1400d6908]
cmp byte [0x1400f46e3], bpl
mov rsi, rax
movups xmm0, xmmword [0x1400f46c8]
mov eax, dword [0x1400f46e0]
mov dword [rsp + 0x60], eax
movups xmmword [rsp + 0x48], xmm0
movsd xmm0, qword [0x1400f46d8]
movsd qword [rsp + 0x58], xmm0
je 0x140059ccf
mov ecx, ebp
cmp edi, 2
jl 0x140059c8a
movdqa xmm0, xmmword [0x1400f4e60]
lea rdx, [rsp + 0x4c]
movdqa xmm5, xmmword [0x1400f4d80]
movdqa xmm4, xmmword [0x1400f4fd0]
movdqa xmm7, xmmword [0x1400f4dd0]
movdqa xmmword [rsp + 0x70], xmm0
mov r8d, dword [rsp + 0x70]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 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
andps xmm2, xmmword [0x1400f4e20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f4e20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140059b80
cmp ecx, 0x1c
jge 0x140059ccf
movsxd rax, ecx
lea r8, [rsp + 0x48]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x1c
jl 0x140059ca0
mov qword [rsp + 0x28], rbp
lea rdx, [rsp + 0x48]
xor r9d, r9d
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
mov rcx, rsi
call fcn.140f201b4
nop
lea r9, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, rax
lea rdx, [rsp + 0x90]
call fcn.140f273bf
nop
mov rcx, rsi
call fcn.140f276fc
nop
mov r8d, dword [rsp + 0x80]
lea rdx, [rsp + 0x90]
xorps xmm0, xmm0
mov rcx, rbx
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
call fcn.14004cfa0
mov rax, rbx
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.1400d1840
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret