Function at 0x140002b00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1160
call fcn.1400218f0
sub rsp, rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x960]
mov r8d, 0x800
call fcn.140021acb
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x800
call fcn.140021acb
mov rax, qword [rsi + 0x10]
xor edi, edi
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x28], edi
mov r9d, ebx
mov qword [rsp + 0x20], rdi
xor edx, edx
xor ecx, ecx
mov qword [rax + 0x10], rdi
mov rbp, qword [rsi]
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, 0x3ff
ja 0x140002e99
lea rax, [rsp + 0x960]
mov dword [rsp + 0x28], 0x400
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov r8, rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x400
jae 0x140002bcb
lea rdx, [rsp + 0x160]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, qword [rsi + 0x18]
lea r9, [rsp + 0x960]
mov rcx, qword [0x140033958]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x30], rax
lea edx, [r8 + 2]
mov eax, dword [rsi + 0x20]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x140002c20
mov eax, 1
jmp 0x140002eb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x140002dad
cmp dword [0x140036d00], 1
jne 0x140002dad
mov rax, qword [rsi + 0x18]
mov r9d, 2
mov r8, qword [0x140036cf0]
mov rdx, qword [0x140035c18]
mov rcx, qword [0x140036ce0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x40], rax
mov eax, dword [rsi + 0x20]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x960]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x140002cac
mov edi, 1
mov eax, edi
jmp 0x140002eb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140002cd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rsi]
xor r8d, r8d
mov edx, eax
lea ecx, [r8 + 0x45]
call fcn.14000a500
mov eax, edi
jmp 0x140002eb2
mov rcx, qword [rsi]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x140002ce0
cmp rax, 0x100
jae 0x140002cb7
lea rdx, str.sysnative
mov qword [rsp + 0x1170], r14
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov r14, rax
test rax, rax
je 0x140002d87
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140021acb
movabs rax, 0x32336d6574737973
mov qword [r14], rax
add r14, 9
inc rbx
cmp byte [r14 + rbx], dil
jne 0x140002d31
mov r8, rbx
lea rcx, [rsp + 0x60]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x60]
sub r14, rax
lea rcx, [rsp + 0x60]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [r14 + rcx - 1], al
lea rcx, [rcx + 1]
test al, al
jne 0x140002d60
mov rcx, rsi
call fcn.140002b00
mov r14, qword [rsp + 0x1170]
mov edi, eax
jmp 0x140002eb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rsi]
xor r8d, r8d
mov edx, eax
lea ecx, [r8 + 0x45]
call fcn.14000a500
mov r14, qword [rsp + 0x1170]
mov eax, edi
jmp 0x140002eb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140002dd4
mov rax, qword [rsi + 0x10]
cmp dword [rax], 0x48
jne 0x140002dd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsi]
mov ebx, 0x4a
jmp 0x140002ea1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x140002e89
mov rcx, qword [rsi]
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x140002df0
cmp rax, 0x100
jae 0x140002e89
lea rdx, str.sysnative
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rdi, rax
test rax, rax
je 0x140002e89
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140021acb
movabs rax, 0x32336d6574737973
mov qword [rdi], rax
add rdi, 9
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x140002e40
mov r8, rbx
lea rcx, [rsp + 0x60]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x60]
sub rdi, rax
lea rcx, [rsp + 0x60]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdi + rcx - 1], al
lea rcx, [rcx + 1]
test al, al
jne 0x140002e70
mov rcx, rsi
call fcn.140002b00
jmp 0x140002eb2
mov rdi, qword [rsi]
mov ebx, 0x29
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140002ea1
mov eax, dword [rsi + 8]
mov ebx, 7
mov r9, rdi
xor r8d, r8d
mov edx, eax
mov ecx, ebx
call fcn.14000a500
xor eax, eax
lea r11, [rsp + 0x1160]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret