Function at 0x140094fc0
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x360
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14011d8d0]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r15, r9
mov qword [rbp - 0x68], r9
mov r13, rcx
mov qword [rbp - 0x60], rcx
dec r8
jne 0x140095414
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], rdi
mov qword [rbp - 0x70], rdi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov ecx, eax
lea rdx, [rsp + 0x70]
call sub.WTSAPI32.dll_WTSQueryUserToken
mov dword [rbp - 0x78], edi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 8]
lea r8, [rbp - 0x70]
lea edx, [rdi + 0x13]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea r14d, [rdi + 1]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14009508f
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9d, [rdi + 2]
xor r8d, r8d
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x68]
jmp 0x140095099
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x68], rdx
mov qword [rbp - 0x80], rdi
xor r8d, r8d
lea rcx, [rbp - 0x80]
call sub.USERENV.dll_CreateEnvironmentBlock
mov qword [rbp - 0x58], rdi
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
xor edx, edx
lea r8d, [rax + 0x60]
lea rcx, [rbp - 0x28]
call sub.MSVCR100.dll_memset
mov dword [rbp - 0x30], 0x68
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x78], rsi
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
lea rdi, [rbp + 0x40]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
xor r9d, r9d
lea r8d, [rax + 0x26]
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
setne al
or r12, 0xffffffffffffffff
test al, al
je 0x1400952d4
xor eax, eax
mov rcx, r12
lea rdi, [rbp + 0x40]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x1400951ae
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140095234
cmp dword [rdx + 0x10], eax
jge 0x14009517b
cmp dword [rbx - 0xc], eax
jge 0x140095170
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x140095234
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140095192
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov rsi, qword [rsp + 0x78]
jmp 0x140095234
mov r15d, dword [rbx - 0x10]
lea r13, [rbp + 0x40]
sub r13, rbx
sar r13, 1
test ecx, ecx
jns 0x1400951cb
mov ecx, 0x80070057
call fcn.140001000
int3
sub r14d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, ecx
or eax, r14d
jge 0x1400951ea
mov edx, ecx
lea rcx, [rsp + 0x60]
call fcn.140001c20
mov rbx, qword [rsp + 0x60]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
lea r14, [rax + rax]
add rdx, rdx
mov r9, r14
cmp r13, r15
ja 0x14009520f
lea r8, [rbx + r13*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x140095219
lea r8, [rbp + 0x40]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp edi, dword [rbx - 0xc]
jg 0x1400952c9
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r14 + rbx], ax
mov r13, qword [rbp - 0x60]
mov r15, qword [rbp - 0x68]
mov r8d, reloc.ATL100.DLL_Ordinal_17
lea rdx, str.SonyVAIO_Update
lea rcx, [rsp + 0x60]
call fcn.140003c10
mov rdx, qword [rsp + 0x60]
lea rcx, [rdx - 0x18]
lea rdi, [rsi - 0x18]
cmp rcx, rdi
je 0x1400952ab
cmp dword [rdi + 0x10], 0
jl 0x140095298
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140095298
call fcn.140001b90
mov rsi, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14009528d
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
add rsi, 0x18
mov qword [rsp + 0x78], rsi
jmp 0x1400952ab
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.140001e80
mov rsi, qword [rsp + 0x78]
mov r8d, Ordinal_17
lea rdx, [0x1400df840]
lea rcx, [rsp + 0x60]
call fcn.140003c10
mov rbx, qword [rsp + 0x60]
jmp 0x1400952d4
mov ecx, 0x80070057
call fcn.140001000
int3
mov rdx, r15
mov rcx, r13
call fcn.140094830
test al, al
je 0x1400952ee
mov rdx, r15
mov rcx, r13
call fcn.140094ca0
cmp dword [rbx - 8], 1
jle 0x140095306
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x60]
call fcn.140001930
mov rbx, qword [rsp + 0x60]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x4000410
xor edi, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rbx
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_wcsnlen]
test eax, eax
js 0x140095409
cmp eax, dword [rbx - 0xc]
jg 0x140095409
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], di
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140095385
call sub.USERENV.dll_DestroyEnvironmentBlock
mov qword [rbp - 0x80], rdi
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400953b6
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400953ab
cmp rcx, rax
jne 0x1400953ab
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], rdi
jmp 0x1400953c6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], rdi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400953cb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], rdi
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400953e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x140095414
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140095414
mov ecx, 0x80070057
call fcn.140001000
nop
xor eax, eax
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400cafa0
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret