Function at 0x1400a0898
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 r15b, r8b
movaps xmmword [rax - 0x48], xmm6
mov r12, rcx
mov edi, 0x68
mov r8d, edi
lea rcx, [rbp - 0x10]
xor edx, edx
mov rbx, r9
call fcn.1400267d0
xor esi, esi
mov dword [rbp - 0x10], edi
mov qword [rsp + 0x78], rsi
lea eax, [rdi - 0x67]
mov dword [rbp + 0x2c], eax
mov r14d, esi
mov word [rbp + 0x30], ax
mov r13d, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov dword [rbp + 0xc0], esi
test r15b, r15b
je 0x1400a093c
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
call fcn.14000e374
cmp qword [rbx + 0x10], 7
mov dword [rbp + 0xc0], eax
jbe 0x1400a0970
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x38]
call fcn.14000e374
mov r14d, eax
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x38]
jmp 0x1400a095b
cmp qword [rbx + 0x10], 3
jbe 0x1400a0986
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
call fcn.14000e374
mov r14d, eax
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
and r14d, 0xffff0000
call fcn.14000e374
movzx r13d, ax
test r15b, r15b
je 0x1400a0986
cmp qword [rbx + 0x10], 6
jbe 0x1400a0981
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x30]
jmp 0x1400a0995
test r15b, r15b
jne 0x1400a099e
cmp qword [rbx + 0x10], 2
jbe 0x1400a099e
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x10]
call fcn.14000e374
mov word [rbp + 0x30], ax
mov rax, qword [rbx + 8]
shr r14d, 0xc
and r14d, 0x10
mov rdi, qword [rax]
mov rcx, rdi
call fcn.1400090d0
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
call fcn.14000be1c
test r15b, r15b
je 0x1400a0aa8
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x78], rax
mov rdi, qword [rcx + 8]
mov rcx, rdi
call fcn.1400090d0
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call fcn.14000be1c
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x60], rax
mov rdi, qword [rcx + 0x10]
mov rcx, rdi
call fcn.1400090d0
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call fcn.14000be1c
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x68], rax
mov rdi, qword [rcx + 0x20]
mov rcx, rdi
call fcn.1400090d0
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call fcn.14000be1c
cmp qword [rbx + 0x10], 5
mov qword [rsp + 0x70], rax
jbe 0x1400a0a6e
mov rcx, qword [rbx + 8]
mov rdi, qword [rcx + 0x28]
mov rcx, rdi
call fcn.1400090d0
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
call fcn.14000be1c
mov rsi, rax
test rax, rax
je 0x1400a0a6e
mov rcx, rax
call fcn.1400292e8
test rax, rax
jne 0x1400a0b1d
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.1400251f8
mov edx, edi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1400a0b1d
cmp qword [rbx + 0x10], 1
mov qword [rsp + 0x70], rax
jbe 0x1400a0ae5
mov rax, qword [rbx + 8]
mov rdi, qword [rax + 8]
mov rcx, rdi
call fcn.1400090d0
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
call fcn.14000be1c
mov rsi, rax
test rax, rax
je 0x1400a0ae5
mov rcx, rax
call fcn.1400292e8
test rax, rax
jne 0x1400a0b58
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.1400251f8
mov rdx, rax
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test r15b, r15b
je 0x1400a0b58
mov rcx, qword [rbx + 8]
lea rdi, [0x1400b7438]
mov rdx, rdi
mov rcx, qword [rcx]
call fcn.14000af78
mov rcx, qword [rbx + 8]
mov rdx, rdi
mov rcx, qword [rcx + 8]
call fcn.14000af78
mov rcx, qword [rbx + 8]
mov rdx, rdi
mov rcx, qword [rcx + 0x10]
call fcn.14000af78
mov edx, r13d
lea rcx, [rbp - 0x60]
call fcn.140080304
test r13d, r13d
jne 0x1400a0b6d
xor bl, bl
jmp 0x1400a0bcc
lea rcx, [rbp - 0x60]
call fcn.140080c7c
or r13, 0xffffffffffffffff
mov qword [rbp + 0x48], rax
cmp rax, r13
lea rcx, [rbp - 0x60]
setne dil
call fcn.140080b48
xor edx, edx
movzx ecx, dil
cmp rax, r13
mov qword [rbp + 0x50], rax
lea rax, [rbp - 0x38]
cmovne edx, ecx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
movzx edi, dl
lea r9, [rbp - 0x30]
call fcn.14008099c
xor ebx, ebx
mov qword [rbp + 0x40], rax
cmp rax, r13
cmovne ebx, edi
test bl, bl
je 0x1400a0bcc
bts dword [rbp + 0x2c], 8
test r15b, r15b
mov r15, qword [rsp + 0x70]
je 0x1400a0c77
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], rsi
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x20], eax
call fcn.14006df18
mov rcx, r13
mov r14b, al
call fcn.1400292e8
mov rcx, rax
mov rdi, r13
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400292e8
mov rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400292e8
mov rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rcx, r13
call fcn.1400251b4
mov rcx, qword [rsp + 0x60]
call fcn.1400251b4
mov rcx, qword [rsp + 0x68]
call fcn.1400251b4
jmp 0x1400a0cb7
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, r15
mov qword [rsp + 0x38], rsi
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne r14b
mov rcx, r15
call fcn.1400251b4
mov rcx, rsi
call fcn.1400251b4
test r14b, r14b
jne 0x1400a0d26
mov rax, qword [r12]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, r12
call fcn.140001de4
mov dword [rax + 0x1c], 1
call fcn.140001de4
mov byte [rax + 0x20], r14b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
xor r8d, r8d
mov rax, qword [r12]
movsxd rcx, dword [rax + 4]
add rcx, r12
call fcn.14000a188
mov rdi, qword [rbp + 0xd0]
mov rcx, rdi
call fcn.14000fad0
and dword [rdi], 0
mov dword [rdi + 0x10], 1
jmp 0x1400a0da3
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x1400a0d5d
lea rcx, [rbp - 0x60]
call fcn.14008067c
mov eax, dword [rbp - 0x70]
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x5c], eax
call fcn.140080f28
lea rcx, [r12 + 0x780]
lea rdx, [rbp - 0x60]
call fcn.1400a0dd0
cmp byte [rbp + 0xb8], 0
je 0x1400a0d74
mov rax, qword [rbp - 0x80]
mov qword [r12 + 0x750], rax
jmp 0x1400a0da3
mov eax, dword [rbp - 0x70]
xorps xmm6, xmm6
mov rdi, qword [rbp + 0xd0]
mov rcx, rdi
cvtsi2sd xmm6, rax
call fcn.14000fad0
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.1400803bc
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