Function at 0x14022b510
Capabilities:
Encode data using xor
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x200
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
mov rax, qword [0x140280040]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edi, edi
movups xmm0, xmmword [0x14026ed08]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x14026ed18]
movups xmmword [rsp + 0x70], xmm1
mov eax, dword [0x14026ed28]
mov dword [rsp + 0x80], eax
movzx eax, word [0x14026ed2c]
mov word [rsp + 0x84], ax
mov ecx, edi
mov r14d, dword [0x140280090]
movdqa xmm10, xmmword [0x1402702b0]
cmp r14d, 2
jl 0x14022b76c
movdqa xmm7, xmmword [0x1402701a0]
movdqa xmm5, xmmword [0x1402702f0]
movdqa xmm6, xmmword [0x140270300]
movdqa xmm8, xmmword [str.ffffkkkk]
movdqa xmm9, xmmword [0x140270310]
movdqa xmm0, xmmword [0x1402702d0]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x64]
mov r8d, dword [rsp + 0x30]
nop dword [rax]
movd xmm4, ecx
pshufd xmm4, xmm4, 0
paddd xmm4, xmm7
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm9
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm8
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, r8d
paddb xmm1, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm1, xmm0
movd dword [rdx - 4], xmm1
lea eax, [rcx + 4]
movd xmm4, eax
pshufd xmm4, xmm4, 0
paddd xmm4, xmm7
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm9
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm8
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, r8d
paddb xmm1, xmm0
movd xmm0, dword [rdx]
xorps xmm1, xmm0
movd dword [rdx], xmm1
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x14022b5f0
cmp ecx, 0x26
jge 0x14022b7c9
movsxd rax, ecx
lea r9, [rsp + 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x22b63cbf
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x3b
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, 0x3b
xor byte [r9], dl
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x26
jl 0x14022b780
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14022b7f0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140208720
lea rcx, [rsp + 0x40]
call fcn.1401fc010
nop
mov rax, qword [str.gXG.04I_t]
mov qword [rsp + 0x30], rax
cmp byte [0x14026d45f], 0
je 0x14022ba08
mov r9d, edi
cmp r14d, 2
jl 0x14022b9bb
movdqa xmm6, xmmword [0x1402702f0]
movdqa xmm7, xmmword [0x140270300]
movdqa xmm4, xmmword [0x1402701a0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140270310]
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ffffkkkk]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
mov eax, dword [0x1402702d0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm4, xmmword [0x1402701c0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140270310]
movdqa xmm2, xmm4
psubd xmm2, xmm0
andps xmm2, xmm10
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ffffkkkk]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
jmp 0x14022ba08
lea r10, [rsp + 0x30]
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul r8d, eax, 0x3b
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x3b
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x14022b9c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rsi, [rsp + 0x208]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rsi
mov r15, qword [rsi]
mov rax, r15
xor rax, rcx
mov qword [rsp + 0x60], rax
mov qword [rsi], rdi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
test eax, eax
js 0x14022ba9e
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x90]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14022ba80
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140208720
jmp 0x14022bab1
movdqa xmm1, xmmword [0x140270190]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], 0
mov qword [rsi], r15
lea rax, [rsp + 0x30]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14022bac0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140236db0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x40]
call fcn.140238700
lea rcx, [rsp + 0x60]
call fcn.1401f61f0
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x60]
call fcn.140238700
nop
jmp 0x14022bb3f
movups xmm0, xmmword [0x14026d4b0]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [str.43:A__n]
movups xmmword [rsp + 0x70], xmm1
movzx eax, word [0x14026d4d0]
mov word [rsp + 0x80], ax
movzx eax, byte [0x14026d4d2]
mov byte [rsp + 0x82], al
mov r9d, edi
cmp r14d, 2
jl 0x14022bd41
movdqa xmm7, xmmword [0x1402701a0]
movdqa xmm5, xmmword [0x1402702f0]
movdqa xmm6, xmmword [0x140270300]
movdqa xmm8, xmmword [0x140270310]
movdqa xmm9, xmmword [str.ffffkkkk]
movdqa xmm0, xmmword [0x1402702d0]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x64]
mov edx, dword [rsp + 0x30]
movd xmm4, r9d
pshufd xmm4, xmm4, 0
paddd xmm4, xmm7
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm8
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm9
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm1, xmm0
movd dword [rcx - 4], xmm1
lea eax, [r9 + 4]
movd xmm4, eax
pshufd xmm4, xmm4, 0
paddd xmm4, xmm7
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm5
movdqa xmm0, xmm1
pmuldq xmm0, xmm5
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm6
pmuldq xmm1, xmm6
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmm8
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm10
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmm9
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [rcx]
xorps xmm1, xmm0
movd dword [rcx], xmm1
add r9d, 8
lea rcx, [rcx + 8]
cmp r9d, 0x20
jl 0x14022bbc2
cmp r9d, 0x23
jge 0x14022bd9f
movsxd rax, r9d
lea r10, [rsp + 0x60]
add r10, rax
nop dword [rax]
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x3b
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x3b
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x23
jl 0x14022bd50
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x60]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14022bdb6
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140208720
lea rcx, [rsp + 0x40]
call fcn.1401fc010
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14025d7c0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
ret