Function at 0x140001230
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, r8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x6c], xmm1
movups xmmword [rbp - 0x5c], xmm1
movups xmmword [rbp - 0x4c], xmm1
movups xmmword [rbp - 0x3c], xmm1
movups xmmword [rbp - 0x2c], xmm1
movups xmmword [rbp - 0x1c], xmm1
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x70], 0x68
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], ax
jne 0x1400012b6
mov rdx, rcx
lea rcx, [rsp + 0x70]
call fcn.140001a30
nop
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x78]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x14000130b
lea rcx, [rdx + 1]
mov qword [rbp - 0x80], rcx
lea rax, [rsp + 0x70]
cmp r8, 8
cmovae rax, qword [rsp + 0x70]
mov r8d, 0x20
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r14w
jmp 0x14000132a
mov qword [rsp + 0x20], 1
lea r9, [0x14001e560]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140001bd0
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 7
jb 0x140001372
lea rdi, [rcx + 7]
mov qword [rbp - 0x80], rdi
lea rbx, [rsp + 0x70]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x70]
lea rcx, [rbx + rcx*2]
mov r8d, 0xe
lea rdx, str.11_0_50
call fcn.140006080
mov word [rbx + rdi*2], r14w
jmp 0x140001391
mov qword [rsp + 0x20], 7
lea r9, str.11_0_50
mov edx, 7
lea rcx, [rsp + 0x70]
call fcn.140001bd0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp]
call fcn.1400039f0
test rsi, rsi
je 0x1400013bf
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140001412
mov ebx, 0xffffffff
jmp 0x140001460
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test rsi, rsi
je 0x140001431
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [rsp + 0x68], r14d
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x68]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000149d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001498
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400014c6
call fcn.140001f70
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140001f50
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400081b0
int3