Function at 0x140060cf0
Capabilities:
Create process on windows
Encode data using xor
Query environment variable
Terminate process

Disassembly:
sub rsp, 0x298
mov rax, qword [0x1400ae010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140061226
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x140061226
mov qword [rsp + 0x2a0], rbx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x2a8], rbp
mov qword [rsp + 0x290], rsi
movaps xmmword [rsp + 0x280], xmm6
movaps xmmword [rsp + 0x270], xmm7
call fcn.140061230
mov ebx, dword [0x1400ae018]
mov esi, 4
mov r10, rax
cmp byte [rax + 7], 0
lea ebp, [rsi + 0x1b]
je 0x140060ed3
xor r8d, r8d
cmp ebx, 2
jl 0x140060e93
movdqa xmm2, xmmword [0x1400a2240]
movdqa xmm4, xmmword [0x1400a3220]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400a2250]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, esi
movd xmm6, ebp
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a2260]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rax]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400a2270]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rax], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a2260]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rax + 4]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400a2270]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
pxor xmm2, xmm0
movd dword [rax + 4], xmm2
jmp 0x140060ed3
mov r9, r10
nop word [rax + rax]
mov eax, 0x2f684bdb
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140060ea0
mov rdx, r10
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x30]
call fcn.140061240
mov r10, rax
cmp byte [rax + 7], 0
je 0x140061053
xor r8d, r8d
cmp ebx, 2
jl 0x14006101c
movdqa xmm2, xmmword [0x1400a2240]
movdqa xmm4, xmmword [0x1400a3220]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400a2250]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, esi
movd xmm6, ebp
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a2260]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400a2270]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r10]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [r10], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a2260]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, eax
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400a2270]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [r10 + 4]
pxor xmm2, xmm0
movd dword [r10 + 4], xmm2
jmp 0x140061053
mov r9, r10
nop
mov eax, 0x2f684bdb
lea r9, [r9 + 1]
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140061020
mov rdx, r10
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x30]
call fcn.140061250
mov r10, rax
cmp byte [rax + 7], 0
je 0x1400611be
xor ecx, ecx
cmp ebx, 2
jl 0x140061188
movdqa xmm2, xmmword [0x1400a2240]
movdqa xmm4, xmmword [0x1400a3220]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400a2250]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm5, esi
movd xmm6, ebp
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a2260]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400a2270]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r10]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [r10], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movdqa xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a2260]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, eax
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400a2270]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [r10 + 4]
pxor xmm2, xmm0
movd dword [r10 + 4], xmm2
jmp 0x1400611be
mov r9, r10
nop dword [rax + rax]
mov eax, 0x2f684bdb
lea r9, [r9 + 1]
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r9 - 1], al
cmp ecx, 8
jl 0x140061190
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
movaps xmm7, xmmword [rsp + 0x270]
movaps xmm6, xmmword [rsp + 0x280]
mov rsi, qword [rsp + 0x290]
mov rbp, qword [rsp + 0x2a8]
mov rbx, qword [rsp + 0x2a0]
test eax, eax
je 0x140061226
mov dword [rsp + 0x28], 0
lea r9, [rsp + 0x150]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3