Function at 0x1400011f0
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Self delete

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x690]
sub rsp, 0x790
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov r9d, 0x64
lea r8, [0x140006810]
mov rdi, rcx
lea edx, [r9 + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea rbx, [0x140006740]
mov r8, rbx
mov rcx, rdi
lea edx, [r9 + 9]
call qword [sym.imp.USER32.dll_LoadStringW]
xor esi, esi
mov dword [rsp + 0x60], 0x50
lea rax, [0x140001bd0]
mov dword [rsp + 0x64], 3
mov rcx, rdi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rsi
lea edx, [rsi + 0x6b]
mov qword [rsp + 0x78], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp - 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
movdqa xmm0, xmmword [0x140004630]
lea edx, [rsi + 0x6c]
mov rcx, qword [rsp + 0x78]
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x60], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x58], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x58], rsi
lea r8, [0x140006810]
mov qword [rsp + 0x50], rdi
mov r9d, 0xcf0000
mov qword [rsp + 0x48], rsi
mov rdx, rbx
mov qword [rsp + 0x40], rsi
xor ecx, ecx
mov dword [rsp + 0x38], 0x1f4
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
je 0x140001481
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
lea edx, [rsi + 0x6d]
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rbx, rax
call fcn.140001510
mov r8d, 0x104
lea rdx, [rbp + 0x260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140001485
mov r8d, 0x104
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x140001485
mov r8d, 0x104
lea rdx, [rbp + 0x470]
lea rcx, str.COMSPEC
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140001485
lea rdx, str.timeout__t_2__nul
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str._c_del
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.__nul
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rax, str.open
mov dword [rbp - 0x20], 0x70
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
lea rax, [rbp + 0x470]
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rax
lea rax, [rbp + 0x50]
mov qword [rbp], rax
mov qword [rbp + 8], rsi
mov dword [rbp + 0x10], esi
mov dword [rbp - 0x1c], 0x40
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140001485
mov rcx, qword [rbp + 0x48]
lea edx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea edx, [rsi + 0xf]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor r9d, r9d
lea r8, [rbp + 0x260]
lea edx, [rsi + 5]
lea ecx, [rsi + 4]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
xor eax, eax
jmp 0x1400014e2
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400014df
nop dword [rax + rax]
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x50]
mov rdx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400014c9
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp - 0x50]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400014a0
mov eax, dword [rbp - 0x40]
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.140002390
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret