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

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r14
lea rbp, [r11 - 0x48]
sub rsp, 0x128
mov rax, qword [0x14027e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm1, xmm1
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
lea r12, [rbp + 0x48]
mov r14, qword [r12]
xorps xmm0, xmm0
mov qword [r11 - 0x28], r15
mov rsi, rcx
xor r15d, r15d
mov qword [r12], r15
xor eax, eax
mov qword [rsp + 0x68], rax
mov dword [rbp - 0x1c], eax
mov rax, 0xffffffffffffffff
mov rbx, rax
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rbp - 0x7c], xmm1
movups xmmword [rbp - 0x6c], xmm1
movups xmmword [rbp - 0x5c], xmm1
movups xmmword [rbp - 0x4c], xmm1
movups xmmword [rbp - 0x3c], xmm1
movups xmmword [rbp - 0x2c], xmm1
inc rbx
cmp byte [rcx + rbx], r15b
jne 0x1401f4157
mov rcx, rbx
add rcx, 4
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea r8, [rbx + 1]
mov rdx, rsi
mov rdi, rax
lea rcx, [rax + 3]
mov word [rax], 0x632f
mov byte [rax + 2], 0x20
call sub.VCRUNTIME140.dll_memcpy
cmp byte [0x14026b8a7], r15b
mov rcx, qword [0x14026b8a0]
mov rsi, qword [rsp + 0x160]
mov qword [rsp + 0x50], rcx
mov dword [rbp - 0x80], 0x68
je 0x1401f43b8
cmp dword [0x14027e090], 2
mov ecx, r15d
jl 0x1401f435d
movdqa xmm4, xmmword [0x14026e190]
movdqa xmm5, xmmword [0x14026e2a0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
movdqa xmm0, xmm1
movaps xmmword [rsp + 0x110], xmm6
movdqa xmm6, xmmword [0x14026e2d0]
pmuldq xmm0, xmm6
pmuldq xmm3, xmm6
movaps xmmword [rsp + 0x100], xmm7
movdqa xmm7, xmmword [0x14026e2f0]
pmuldq xmm1, xmm7
pmuldq xmm2, xmm7
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
shufps xmm2, xmm1, 0xdd
movdqa xmm1, xmm4
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14026e300]
psubd xmm1, xmm0
movdqa xmm0, xmm3
andps xmm1, xmm5
psrld xmm0, 0x1f
paddd xmm0, xmm3
packuswb xmm1, xmm1
pmulld xmm0, xmmword [str.kkkkmmmm]
psubd xmm4, xmm0
packuswb xmm1, xmm1
movd xmm0, dword [rsp + 0x50]
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
movdqa xmm4, xmmword [0x14026e1b0]
paddb xmm1, xmmword [0x14026e2c0]
movdqa xmm2, xmm4
xorps xmm1, xmm0
punpckldq xmm2, xmm4
movd dword [rsp + 0x50], xmm1
movdqa xmm3, xmm2
movdqa xmm1, xmm4
pmuldq xmm2, xmm7
punpckhdq xmm1, xmm4
movdqa xmm0, xmm1
pmuldq xmm3, xmm6
pmuldq xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x110]
pmuldq xmm1, xmm7
movaps xmm7, xmmword [rsp + 0x100]
shufps xmm3, xmm0, 0xdd
psrad xmm3, 5
shufps xmm2, xmm1, 0xdd
movdqa xmm1, xmm4
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14026e300]
psubd xmm1, xmm0
movdqa xmm0, xmm3
andps xmm1, xmm5
psrld xmm0, 0x1f
packuswb xmm1, xmm1
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.kkkkmmmm]
psubd xmm4, xmm0
packuswb xmm1, xmm1
movd xmm0, dword [rsp + 0x54]
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x14026e2c0]
xorps xmm1, xmm0
movd dword [rsp + 0x54], xmm1
jmp 0x1401f43b8
lea r9, [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
movzx r8d, cl
lea r9, [r9 + 1]
mov eax, 0x22b63cbf
mul ecx
shr edx, 4
movsx eax, dl
imul edx, eax, 0x3b
mov eax, 0x323e34a3
sub r8b, dl
mul ecx
add r8b, 0x1f
mov eax, ecx
sub eax, edx
add r8b, r8b
shr eax, 1
inc ecx
add eax, edx
shr eax, 6
movsx eax, al
imul edx, eax, 0x6b
sub r8b, dl
xor byte [r9 - 1], r8b
cmp ecx, 8
jl 0x1401f4370
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__flushall]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov rdx, rdi
mov qword [rsp + 0x40], rax
mov rcx, rbx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r15, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x158]
test eax, eax
je 0x1401f4452
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsp + 0x70]
mov qword [r12], r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14025ba00
add rsp, 0x128
pop r14
pop r12
pop rdi
pop rbp
ret