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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov byte [rax + 0x10], dl
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r12b, r8b
movaps xmmword [rax - 0x48], xmm6
mov rsi, rcx
mov edi, 0x68
mov r8d, edi
lea rcx, [rbp - 0x10]
xor edx, edx
mov rbx, r9
call fcn.140026550
xor r14d, r14d
mov dword [rbp - 0x10], edi
mov qword [rsp + 0x78], r14
lea eax, [rdi - 0x67]
mov dword [rbp + 0x2c], eax
mov r15d, r14d
mov word [rbp + 0x30], ax
mov r13d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov dword [rbp + 0xc0], r14d
test r12b, r12b
je 0x14009e8b2
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
call fcn.14000c4c8
cmp qword [rbx + 0x10], 7
mov dword [rbp + 0xc0], eax
jbe 0x14009e8e1
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x38]
call fcn.14000c4c8
mov r15d, eax
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x38]
jmp 0x14009e8d1
cmp qword [rbx + 0x10], 3
jbe 0x14009e8f7
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
call fcn.14000c4c8
mov r15d, eax
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
and r15d, 0xffff0000
call fcn.14000c4c8
movzx r13d, ax
test r12b, r12b
je 0x14009e8f7
cmp qword [rbx + 0x10], 6
jbe 0x14009e90f
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x30]
jmp 0x14009e906
cmp qword [rbx + 0x10], 2
jbe 0x14009e90f
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x10]
call fcn.14000c4c8
mov word [rbp + 0x30], ax
mov rax, qword [rbx + 8]
shr r15d, 0xc
and r15d, 0x10
mov rdi, qword [rax]
mov rcx, rdi
call fcn.14000bfa8
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
call fcn.1400054cc
test r12b, r12b
je 0x14009ea19
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x78], rax
mov rdi, qword [rcx + 8]
mov rcx, rdi
call fcn.14000bfa8
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call fcn.1400054cc
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x60], rax
mov rdi, qword [rcx + 0x10]
mov rcx, rdi
call fcn.14000bfa8
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call fcn.1400054cc
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x68], rax
mov rdi, qword [rcx + 0x20]
mov rcx, rdi
call fcn.14000bfa8
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call fcn.1400054cc
cmp qword [rbx + 0x10], 5
mov qword [rsp + 0x70], rax
jbe 0x14009e9df
mov rcx, qword [rbx + 8]
mov rdi, qword [rcx + 0x28]
mov rcx, rdi
call fcn.14000bfa8
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call fcn.1400054cc
mov r14, rax
test rax, rax
je 0x14009e9df
mov rcx, rax
call fcn.1400272dc
test rax, rax
jne 0x14009ea8e
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
mov rcx, 0xffffffffffffffff
lea edx, [rax + 1]
mov eax, 2
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.140024f08
mov edx, edi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x14009ea8e
cmp qword [rbx + 0x10], 1
mov qword [rsp + 0x70], rax
jbe 0x14009ea56
mov rax, qword [rbx + 8]
mov rdi, qword [rax + 8]
mov rcx, rdi
call fcn.14000bfa8
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
call fcn.1400054cc
mov r14, rax
test rax, rax
je 0x14009ea56
mov rcx, rax
call fcn.1400272dc
test rax, rax
jne 0x14009eac9
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
mov rcx, 0xffffffffffffffff
lea edx, [rax + 1]
mov eax, 2
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.140024f08
mov rdx, rax
mov ecx, edi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test r12b, r12b
je 0x14009eac9
mov rcx, qword [rbx + 8]
lea rdi, [0x1400b52d0]
mov rdx, rdi
mov rcx, qword [rcx]
call fcn.14000c2f0
mov rcx, qword [rbx + 8]
mov rdx, rdi
mov rcx, qword [rcx + 8]
call fcn.14000c2f0
mov rcx, qword [rbx + 8]
mov rdx, rdi
mov rcx, qword [rcx + 0x10]
call fcn.14000c2f0
mov edx, r13d
lea rcx, [rbp - 0x60]
call fcn.14007e260
test r13d, r13d
setne bl
test r13d, r13d
je 0x14009eb42
lea rcx, [rbp - 0x60]
call fcn.14007ec24
xor edx, edx
movzx ecx, bl
or r13, 0xffffffffffffffff
mov qword [rbp + 0x48], rax
cmp rax, r13
cmovne edx, ecx
lea rcx, [rbp - 0x60]
movzx edi, dl
call fcn.14007eaf0
xor ecx, ecx
mov qword [rbp + 0x50], rax
cmp rax, r13
lea r9, [rbp - 0x30]
lea rax, [rbp - 0x38]
cmovne ecx, edi
mov qword [rsp + 0x20], rax
movzx edi, cl
lea rcx, [rbp - 0x60]
call fcn.14007e93c
xor ebx, ebx
mov qword [rbp + 0x40], rax
cmp rax, r13
cmovne ebx, edi
test bl, bl
je 0x14009eb42
bts dword [rbp + 0x2c], 8
test r12b, r12b
mov r12, qword [rsp + 0x70]
je 0x14009ebed
mov r13, qword [rsp + 0x78]
lea rax, [rbp - 0x80]
mov r9, qword [rsp + 0x68]
mov rdx, r13
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0xc0]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x20], eax
call fcn.14006c600
mov rcx, r13
mov r15b, al
call fcn.1400272dc
mov rcx, rax
mov rdi, r13
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400272dc
mov rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400272dc
mov rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rcx, r13
call fcn.140024ec4
mov rcx, qword [rsp + 0x60]
call fcn.140024ec4
mov rcx, qword [rsp + 0x68]
call fcn.140024ec4
jmp 0x14009ec2d
lea rcx, [rbp - 0x80]
movzx eax, bl
mov qword [rsp + 0x48], rcx
xor r9d, r9d
lea rcx, [rbp - 0x10]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
mov rdx, r12
mov qword [rsp + 0x38], r14
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne r15b
mov rcx, r12
call fcn.140024ec4
mov rcx, r14
call fcn.140024ec4
test r15b, r15b
jne 0x14009eca9
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rsi + 0x10]
cmp byte [rcx + rsi + 0x19], r15b
je 0x14009ec59
mov rax, qword [rax + 0x48]
mov dword [rax + 0x1c], 1
cmp byte [rcx + rsi + 0x19], 0
mov rax, qword [rcx + rsi + 0x10]
je 0x14009ec70
mov rax, qword [rax + 0x48]
mov byte [rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
xor r8d, r8d
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, rsi
call fcn.140023404
mov rdi, qword [rbp + 0xd0]
mov rcx, rdi
call fcn.14000c050
and dword [rdi], 0
mov dword [rdi + 0x10], 1
jmp 0x14009ed24
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x14009ecdf
lea rcx, [rbp - 0x60]
call fcn.14007e5c8
mov eax, dword [rbp - 0x70]
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x5c], eax
call fcn.14007eeb0
lea rcx, [rsi + 0x7c0]
lea rdx, [rbp - 0x60]
call fcn.14009ed50
cmp byte [rbp + 0xb8], 0
je 0x14009ecf5
mov rax, qword [rbp - 0x80]
mov qword [rsi + 0x790], rax
jmp 0x14009ed24
mov eax, dword [rbp - 0x70]
xorps xmm6, xmm6
mov rdi, qword [rbp + 0xd0]
mov rcx, rdi
cvtsi2sd xmm6, rax
call fcn.14000c050
mov rcx, qword [rbp - 0x80]
mov dword [rdi + 0x10], 3
movsd qword [rdi], xmm6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x60]
call fcn.14007e314
lea r11, [rsp + 0x170]
xor eax, eax
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret