Function at 0x140001840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140070ee0]
xor ebx, ebx
movsd xmm0, qword [str.xQGXRT_n_b]
mov rdi, rcx
mov esi, dword [0x140081008]
mov r8d, ebx
mov dword [rbp - 8], eax
movzx eax, byte [0x140070ee4]
mov byte [rbp - 4], al
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x14000198f
movdqa xmm2, xmmword [0x1400733b0]
mov r8d, 8
movdqa xmm3, xmmword [0x1400733c0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140073410]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400733d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.xQGXRT_n_b]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400733e0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x10], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400733d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0xc]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400733e0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rbp - 0xc], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x10]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xd
jl 0x1400019a0
lea rcx, [rbp - 0x10]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d75
movzx ecx, word [0x140070eb0]
movzx eax, byte [0x140070eb2]
movsd xmm0, qword [str.fgpd]
xor al, 0x3d
movsd qword [rbp - 0x10], xmm0
xor byte [rbp - 0xf], 0x34
xor byte [rbp - 0xe], 0x35
xor byte [rbp - 0xd], 0x36
xor byte [rbp - 0xc], 0x37
xor byte [rbp - 0xb], 0x38
xor byte [rbp - 0xa], 0x39
xor byte [rbp - 9], 0x3a
mov word [rbp - 8], cx
xor cl, 0x3b
xor byte [rbp - 7], 0x3c
mov byte [rbp - 8], cl
lea rcx, [rbp - 0x10]
mov byte [rbp - 0x10], 0x55
mov byte [rbp - 6], al
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d75
mov eax, dword [0x140070ed0]
mov r8d, ebx
movsd xmm0, qword [str.d_FWGQ_n_b]
mov dword [rbp - 8], eax
movzx eax, byte [0x140070ed4]
mov byte [rbp - 4], al
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x140001b91
movdqa xmm2, xmmword [0x1400733b0]
mov r8d, 8
movdqa xmm3, xmmword [0x1400733c0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140073410]
movdqa xmm0, xmm2
mov eax, dword [str.3333333333333333]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400733d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400733e0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.d_FWGQ_n_b]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x10], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400733d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400733e0]
movd xmm1, dword [rbp - 0xc]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0xc], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x10]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xd
jl 0x140001ba0
lea rcx, [rbp - 0x10]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d75
mov eax, dword [0x140070ec0]
movsd xmm0, qword [0x140070eb8]
mov dword [rbp - 8], eax
movzx eax, byte [0x140070ec4]
mov byte [rbp - 4], al
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x140001d22
movdqa xmm2, xmmword [0x1400733b0]
mov ebx, 8
movdqa xmm3, xmmword [0x1400733c0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140073410]
movdqa xmm0, xmm2
mov eax, dword [str.3333333333333333]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400733d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400733e0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140070eb8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x10], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400733d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400733e0]
movd xmm1, dword [rbp - 0xc]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0xc], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x10]
add r8, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0xd
jl 0x140001d30
lea rcx, [rbp - 0x10]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret