Function at 0x140011915
Capabilities:
Get common file path

Disassembly:
jmp 0x14001e430
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x700
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x118
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x728]
mov rax, qword [0x140039040]
xor rax, rbp
mov qword [rbp + 0x698], rax
lea rcx, [0x1400410fe]
call fcn.140011a05
nop
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
lea rdx, str.RtlCreateProcessParametersEx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rdx, qword [rbp + 0x6d0]
lea rcx, [rbp + 0x48]
call fcn.1400119bf
nop
lea rax, [rbp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x6d0]
call fcn.1400118f7
nop
mov edx, 0x104
lea rcx, [rbp + 0x80]
call qword [sym.imp.ucrtbased.dll_wcsnlen]
test rax, rax
jne 0x14001e523
lea rdx, [rbp + 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop
lea rax, [rbp + 0x2a8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x2a8]
call fcn.1400119bf
nop
lea rax, [rbp + 0x2d8]
lea rcx, str.C:WindowsSystem32
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x318]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0x318]
call fcn.1400119bf
nop
lea rax, [rbp + 0x348]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rbp + 0x378]
lea rcx, str.Update
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x348]
call fcn.1400119bf
nop
mov r8d, 1
xor edx, edx
lea rcx, [rbp + 0x3a8]
call fcn.14001193d
mov dword [rbp + 0x3c4], eax
cmp dword [rbp + 0x3c4], 0
jne 0x14001e610
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_CreateEnvironmentBlock_Error_Code_is__x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x14001e73e
mov qword [rbp + 0x3e8], 0
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x348]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x3a8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x2a8]
lea r8, [rbp + 0x318]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x3e8]
call qword [rbp + 0x28]
mov dword [rbp + 0x404], eax
cmp dword [rbp + 0x404], 0
je 0x14001e6a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_RtlCreateProcessParametersEx_Error_Code_0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x14001e73e
mov r8d, 4
mov rdx, qword [rbp + 0x3e8]
mov rcx, qword [rbp + 0x6c0]
call fcn.14001123f
mov qword [rbp + 0x428], rax
cmp qword [rbp + 0x428], 0
jne 0x14001e6ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_Cannot_make_a_remote_copy_of_parameters_Error_Code_0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x14001e73e
mov rcx, qword [rbp + 0x6c0]
call fcn.140011a64
mov qword [rbp + 0x448], rax
mov r8, qword [rbp + 0x6c8]
mov rdx, qword [rbp + 0x6c0]
mov rcx, qword [rbp + 0x428]
call fcn.1400115b4
test eax, eax
jne 0x14001e73c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed_Cannot_update_Remote_PEB_Error_Code_0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x14001e73e
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x14002eb40]
call fcn.140011875
mov rax, rdi
mov rcx, qword [rbp + 0x698]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x6a0]
pop rdi
pop rsi
pop rbp
ret