Function at 0x14020e660
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm10
mov rax, qword [0x1402af028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov rax, qword [0x1402b25f8]
cmp qword [0x1402b25f0], rax
cmovne rax, qword [0x1402b25f0]
mov qword [0x1402b25f8], rax
mov rax, qword [str.k5___0Sy]
mov qword [rsp + 0x20], rax
cmp byte [0x14029b6ff], 0
je 0x14020e90b
cmp dword [0x1402af008], 2
jl 0x14020e8b9
movdqa xmm6, xmmword [0x14029d8a0]
mov eax, 6
movd xmm8, eax
movdqa xmm7, xmmword [0x14029d890]
mov eax, 0x1f
movd xmm10, eax
movdqa xmm5, xmmword [0x14029d7a0]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm8
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm8
movdqa xmm1, xmm2
psrld xmm1, xmm10
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x14029d8b0]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm10
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x14029d7d0]
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movd xmm0, dword [rsp + 0x20]
pxor xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm5, xmmword [0x14029d7c0]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
paddd xmm4, xmm5
psrad xmm4, xmm8
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm8
movdqa xmm1, xmm2
psrld xmm1, xmm10
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x14029d8b0]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x14029d850]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm10
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x14029d7d0]
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14029d850]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [str.EEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFO]
movd xmm0, dword [rsp + 0x24]
pxor xmm3, xmm0
movd dword [rsp + 0x24], xmm3
jmp 0x14020e90b
lea r9, [rsp + 0x20]
xor ecx, ecx
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0x5f5f5f5f
imul ecx
sub edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
sub dl, r8b
add dl, cl
add dl, dl
add dl, 0x45
xor byte [r9], dl
inc ecx
lea r9, [r9 + 1]
cmp ecx, 8
jl 0x14020e8c0
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1402464e0
mov rdx, rax
lea rcx, [0x1402af9c0]
call fcn.140242620
lea rcx, [rsp + 0x28]
call fcn.140244140
lea rax, [0x1402b25f0]
cmp rax, rbx
je 0x14020e952
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
sub r8, rdx
call fcn.140247740
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14020e99e
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14020e982
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14020e9d8
mov rcx, r8
call fcn.14026b480
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov rcx, rdi
call fcn.140244140
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14026b460
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm10, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3