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
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [0x14006aeb8]
xor ebx, ebx
movsd xmm0, qword [str.T__QY]
mov rdi, rcx
mov esi, dword [0x140078018]
mov r8d, ebx
mov dword [rbp - 0x28], eax
movzx eax, byte [0x14006aebc]
lea r14d, [rbx + 4]
movaps xmmword [rsp + 0x40], xmm6
lea r15d, [rbx + 0x1f]
movaps xmmword [rsp + 0x30], xmm7
movsd qword [rbp - 0x30], xmm0
mov byte [rbp - 0x24], al
cmp esi, 2
jl 0x1400019a3
movdqa xmm2, xmmword [0x14006c6d0]
mov r8d, 8
movdqa xmm4, xmmword [0x14006c740]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14006c6e0]
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006c6f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.T__QY]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14006c730]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x30], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006c6f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x2c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14006c730]
xorps xmm2, xmm0
movd dword [rbp - 0x2c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop dword [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, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1400019b0
lea rcx, [rbp - 0x30]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d81
movzx ecx, word [0x14006ae80]
movzx eax, byte [0x14006ae82]
movsd xmm0, qword [str.ebwa_a_a]
xor al, 0x3a
movsd qword [rbp - 0x30], xmm0
xor byte [rbp - 0x2f], 0x31
xor byte [rbp - 0x2e], 0x32
xor byte [rbp - 0x2d], 0x33
xor byte [rbp - 0x2c], 0x34
xor byte [rbp - 0x2b], 0x35
xor byte [rbp - 0x2a], 0x36
xor byte [rbp - 0x29], 0x37
mov word [rbp - 0x28], cx
xor cl, 0x38
xor byte [rbp - 0x27], 0x39
mov byte [rbp - 0x28], cl
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x30], 0x55
mov byte [rbp - 0x26], al
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d81
mov eax, dword [0x14006ae90]
mov r8d, ebx
movsd xmm0, qword [str.gEARD_]
mov dword [rbp - 0x28], eax
movzx eax, byte [0x14006ae94]
mov byte [rbp - 0x24], al
movsd qword [rbp - 0x30], xmm0
cmp esi, 2
jl 0x140001b9a
movdqa xmm2, xmmword [0x14006c6d0]
mov r8d, 8
movdqa xmm4, xmmword [0x14006c740]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14006c6e0]
movdqa xmm0, xmm2
mov eax, dword [0x14006c730]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006c6f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.gEARD_]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x30], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006c6f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
movd xmm1, dword [rbp - 0x2c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x2c], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop dword [rax]
nop dword [rax + 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, 0x30
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140001bb0
lea rcx, [rbp - 0x30]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d81
mov eax, dword [0x14006aea0]
movsd xmm0, qword [0x14006ae98]
mov dword [rbp - 0x28], eax
movzx eax, byte [0x14006aea4]
mov byte [rbp - 0x24], al
movsd qword [rbp - 0x30], xmm0
cmp esi, 2
jl 0x140001d2b
movdqa xmm2, xmmword [0x14006c6d0]
mov ebx, 8
movdqa xmm4, xmmword [0x14006c740]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14006c6e0]
movdqa xmm0, xmm2
mov eax, dword [0x14006c730]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006c6f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006c710]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x14006ae98]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x30], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006c6f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006c710]
movd xmm1, dword [rbp - 0x2c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x2c], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x30]
add r8, 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, 0x30
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x140001d40
lea rcx, [rbp - 0x30]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop r15
pop r14
pop rbp
ret