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, 0x40
mov eax, dword [0x14006eed8]
xor ebx, ebx
movsd xmm0, qword [0x14006eed0]
mov rdi, rcx
mov esi, dword [0x14007e010]
mov r8d, ebx
mov dword [rbp - 0x18], eax
movzx eax, byte [0x14006eedc]
movaps xmmword [rsp + 0x30], xmm6
movdqa xmm6, xmmword [0x1400713f0]
mov byte [rbp - 0x14], al
movsd qword [rbp - 0x20], xmm0
cmp esi, 2
jl 0x140001976
movdqa xmm2, xmmword [0x1400713b0]
mov r8d, 8
movdqa xmm3, xmmword [0x140071420]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400713e0]
psubd xmm2, xmm0
movd xmm0, dword [0x14006eed0]
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140071410]
xorps xmm2, xmm0
movd dword [rbp - 0x20], xmm2
movdqa xmm2, xmmword [0x1400713c0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400713e0]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x1c]
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140071410]
xorps xmm2, xmm0
movd dword [rbp - 0x1c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x20]
add r9, rax
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140001980
lea rcx, [rbp - 0x20]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d01
movzx ecx, word [0x14006eeb0]
movzx eax, byte [0x14006eeb2]
movsd xmm0, qword [str.g_qg]
xor al, 0x3c
movsd qword [rbp - 0x20], xmm0
xor byte [rbp - 0x1f], 0x33
xor byte [rbp - 0x1e], 0x34
xor byte [rbp - 0x1d], 0x35
xor byte [rbp - 0x1c], 0x36
xor byte [rbp - 0x1b], 0x37
xor byte [rbp - 0x1a], 0x38
xor byte [rbp - 0x19], 0x39
mov word [rbp - 0x18], cx
xor cl, 0x3a
xor byte [rbp - 0x17], 0x3b
mov byte [rbp - 0x18], cl
lea rcx, [rbp - 0x20]
mov byte [rbp - 0x20], 0x55
mov byte [rbp - 0x16], al
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d01
mov eax, dword [0x14006eec0]
mov r8d, ebx
movsd xmm0, qword [str.eGGTF_v_v]
mov dword [rbp - 0x18], eax
movzx eax, byte [0x14006eec4]
mov byte [rbp - 0x14], al
movsd qword [rbp - 0x20], xmm0
cmp esi, 2
jl 0x140001b46
movdqa xmm3, xmmword [0x1400713b0]
mov r8d, 8
movdqa xmm2, xmmword [0x1400713c0]
movdqa xmm1, xmm3
movdqa xmm4, xmmword [0x140071420]
movdqa xmm0, xmm3
mov eax, dword [0x140071410]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmmword [0x1400713e0]
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm6
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.eGGTF_v_v]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x20], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x1c]
pmulld xmm0, xmmword [0x1400713e0]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x1c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x20]
add r9, rax
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140001b50
lea rcx, [rbp - 0x20]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d01
mov eax, dword [0x14006eee8]
movsd xmm0, qword [str.yVF_S__v_v]
mov dword [rbp - 0x18], eax
movzx eax, byte [0x14006eeec]
mov byte [rbp - 0x14], al
movsd qword [rbp - 0x20], xmm0
cmp esi, 2
jl 0x140001ca7
movdqa xmm3, xmmword [0x1400713b0]
mov ebx, 8
movdqa xmm2, xmmword [0x1400713c0]
movdqa xmm1, xmm3
movdqa xmm4, xmmword [0x140071420]
movdqa xmm0, xmm3
mov eax, dword [0x140071410]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmmword [0x1400713e0]
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm6
pmuldq xmm1, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.yVF_S__v_v]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
movd dword [rbp - 0x20], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x1c]
pmulld xmm0, xmmword [0x1400713e0]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x1c], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x20]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x140001cc0
lea rcx, [rbp - 0x20]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbp
ret