Function at 0x140140e10
Capabilities:
Create process on windows
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18a0]
mov eax, 0x19a0
call fcn.1401c66b0
sub rsp, rax
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x1890], rax
mov qword [rsp + 0x78], rdx
mov r13, rcx
xor esi, esi
mov ecx, dword [rcx + 0x88]
sub ecx, 1
je 0x140140e96
sub ecx, 1
je 0x140140e88
sub ecx, 1
je 0x140140e7d
cmp ecx, 1
je 0x140140e6f
mov r14d, esi
jmp 0x140140e9c
mov r14d, 1
mov r15d, r14d
mov r12d, r14d
jmp 0x140140ea2
mov r14d, 1
mov r12d, r14d
jmp 0x140140e9f
mov r14d, 1
mov r15d, r14d
mov r12d, esi
jmp 0x140140ea2
mov r14d, 1
mov r12d, esi
mov r15d, esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
mov dword [rbp + 0x34], eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov dword [rbp - 0x30], 0x68
mov edi, 0x104
mov edx, edi
lea rcx, [rbp + 0x40]
call fcn.1401960f0
test al, al
jne 0x140140eee
xor eax, eax
jmp 0x140141301
lea rax, [rbp + 0x40]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], si
jne 0x140140f00
lea rax, [rcx + 1]
cmp rax, rdi
jae 0x140140f58
lea rax, [rcx + 0x11]
lea r8, str.SysInspector.exe
cmp rax, rdi
ja 0x140140f31
mov rdx, rdi
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x140140f58
lfence
mov r9d, 0x103
sub r9, rcx
sub rdi, rcx
lea rax, [rbp + 0x40]
lea rcx, [rax + rcx*2]
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x246], si
lea rdx, [rbp + 0x460]
mov edi, 0x208
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor r9d, r9d
lea rcx, [rbp + 0x250]
call fcn.1401bec10
lea rax, [rbp + 0x460]
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], si
jne 0x140140f85
lea rax, [rbp + 0x250]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140140f95
lea rax, [rcx + 1]
cmp rax, rdi
jae 0x140140ff6
lea rax, [rcx + 1]
add rax, rbx
lea r8, [rbp + 0x250]
cmp rax, rdi
ja 0x140140fcc
mov rdx, rdi
lea rcx, [rbp + 0x460]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x140140ff6
lfence
mov r9d, 0x207
sub r9, rcx
sub rdi, rcx
lea rax, [rbp + 0x460]
lea rcx, [rax + rcx*2]
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x86e], si
lea rax, str._privacy
lea r9, [0x1401ef380]
mov r8, r9
cmp dword [r13 + 0x80], esi
cmove r8, rax
lea rax, str._wantcloud
mov rdx, r9
cmp dword [r13 + 0x98], 1
cmove rdx, rax
lea rax, str._fastlistskipmodules
mov rcx, r9
cmp r12d, 1
cmove rcx, rax
lea r10, str._fastlistnorepo
mov rax, r9
cmp r15d, 1
cmove rax, r10
lea r10, str._fastlist
cmp r14d, 1
cmove r9, r10
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r9
lea rax, [rbp + 0x460]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
lea r8, str.__s___gen__s___supersilent__s__s__s__s__s
mov edx, 0x410
lea rcx, [rbp + 0x1070]
call fcn.1401aef00
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x870]
call sub.VCRUNTIME140.dll_memset
lea r8, str.USERCTXX
mov edx, 0x400
lea rcx, [rbp + 0x870]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, qword [r13 + 0x90]
mov edx, 0x400
lea rcx, [rbp + 0x870]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rbp + 0x870]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [rax*2 + 2]
mov rbx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov r15, rax
test rax, rax
jne 0x140141110
mov r14, rsi
jmp 0x140141184
lea rax, [rax + 2]
cmp word [rax - 2], si
jne 0x14014111f
cmp word [rax], si
je 0x140141124
inc rbx
jmp 0x140141110
test rbx, rbx
jne 0x140141137
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r14, rsi
jmp 0x140141184
lfence
lea rbx, [rbx*2 + 4]
movsxd rdi, edi
lea rdx, [rbx + rdi]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
mov r8, rbx
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea rcx, [r14 - 2]
add rcx, rbx
mov r8, rdi
lea rdx, [rbp + 0x870]
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
mov rdx, qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rcx, [rbp - 0x50]
call fcn.140027290
nop
mov rax, r14
neg rax
sbb ecx, ecx
and ecx, 0x400
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1070]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1401412eb
mov r8, qword [rsp + 0x60]
mov rdx, qword [case.0x1401b9e8b.6]
lea rcx, [rbp - 0x68]
call fcn.140027290
nop
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140027290
nop
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1401412c1
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1401412c1
cmp dword [rsp + 0x50], 1
jne 0x1401412c1
mov dword [rsp + 0x20], esi
xor edx, edx
lea r9d, [rdx + 3]
lea r8d, [rdx + 1]
lea rcx, [rbp + 0x460]
call fcn.14018cd60
mov r14, rax
test rax, rax
je 0x1401412c1
mov rcx, rax
call fcn.14018d250
mov rdi, rax
lea rcx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, qword [rsp + 0x78]
mov qword [r15], rax
lea r8, [rdi + 1]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
mov rdx, qword [r15]
mov rcx, r14
call fcn.14018ce80
mov rbx, rax
mov rcx, r14
call fcn.14018d330
cmp rdi, rbx
je 0x1401412bc
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1401412c1
mov esi, 1
cmp byte [rbp - 0x80], 0
jne 0x1401412d6
mov rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
call qword [case.0x14003c8e9.0]
nop
cmp byte [rbp - 0x68], 0
jne 0x1401412eb
mov rcx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x60]
call qword [case.0x14003c8e9.0]
nop
cmp byte [rbp - 0x50], 0
jne 0x1401412ff
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x48]
call qword [case.0x14003c8e9.0]
mov eax, esi
mov rcx, qword [rbp + 0x1890]
xor rcx, rsp
call fcn.1401c5190
mov rbx, qword [rsp + 0x19f0]
add rsp, 0x19a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret