Function at 0x180010f34
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
mov rbx, rcx
mov rcx, qword [0x18004d858]
test rcx, rcx
je 0x180010fdb
cmp dword [rbx + 0x24], 0
jne 0x180010fdb
mov rax, qword [rbx + 0x18]
mov r8, qword [rbx]
xor r9d, r9d
mov qword [r11 - 0x18], rax
mov rax, qword [rbx + 0x10]
xor edx, edx
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
and qword [r11 - 0x30], 0
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 1
and qword [r11 - 0x48], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x18001102a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x180010fc1
cmp qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW], 0
je 0x180010fc1
mov rcx, rbx
add rsp, 0x60
pop rbx
jmp 0x1800112e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x29
mov rdx, qword [rbx]
mov r8d, eax
call fcn.18000e67c
xor eax, eax
jmp 0x18001102f
mov rax, qword [rbx + 0x18]
mov rdx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x10]
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
mov eax, dword [rbx + 0x20]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
xor ecx, ecx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x18001102a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x30
jmp 0x180010fcc
mov eax, 1
add rsp, 0x60
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1050
call fcn.180020ac0
sub rsp, rax
mov rdi, rcx
mov ebx, 0x7fe
lea rcx, [rsp + 0x52]
xor ebp, ebp
xor edx, edx
mov r8d, ebx
mov word [rsp + 0x50], bp
call fcn.18001f530
lea rcx, [rsp + 0x852]
mov r8d, ebx
xor edx, edx
mov word [rsp + 0x850], bp
call fcn.18001f530
mov rax, qword [rdi + 0x10]
mov ebx, 0x400
mov qword [rax + 0x10], rbp
mov rcx, qword [rdi]
lea rdx, [rsp + 0x50]
mov r8d, ebx
mov esi, ebp
call fcn.18000fe54
test eax, eax
jne 0x180011370
mov edx, dword [rdi + 8]
lea ecx, [rbp + 7]
call fcn.18000e590
jmp 0x18001145a
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, ebx
jae 0x180011396
lea rdx, [rsp + 0x850]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rsi, [rsp + 0x850]
call fcn.18001e0fc
mov rax, qword [rdi + 0x18]
mov rcx, qword [0x18004d858]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x10]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov eax, dword [rdi + 0x20]
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x50]
lea edx, [r8 + 2]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov ebx, eax
call fcn.18001e0e0
test ebx, ebx
je 0x1800113e9
mov eax, 1
jmp 0x18001145c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x522
jne 0x18001141a
cmp qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW], rbp
je 0x18001141a
cmp dword [0x18004d880], 1
jne 0x18001141a
lea rdx, [rsp + 0x50]
mov r8, rsi
mov rcx, rdi
call fcn.180011268
jmp 0x18001145c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x180011444
mov rax, qword [rdi + 0x10]
cmp dword [rax], 0x70
jne 0x180011444
cmp qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW], rbp
je 0x180011444
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x4a
jmp 0x18001144f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x29
mov rdx, qword [rdi]
mov r8d, eax
call fcn.18000e67c
xor eax, eax
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret