Function at 0x180006600
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1e8]
sub rsp, 0x2d0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18002d340]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov rsi, rcx
lea rcx, [rbp + 0x50]
call fcn.180004f40
nop
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rcx, qword [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x180006aa5
mov byte [rbp + 0xb0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xb1]
call fcn.1800098a0
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathStripPathA]
mov dword [rbp - 0x80], 0x68
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x78]
call fcn.1800098a0
mov dword [rbp - 0x44], 0x80
xor r14d, r14d
mov qword [rsp + 0x58], r14
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r14
mov byte [rbp + 0x10], al
or rdi, 0xffffffffffffffff
cmp byte [rbp + 0xb0], al
jne 0x18000670b
mov r8d, r14d
jmp 0x18000671e
lea rax, [rbp + 0xb0]
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x180006715
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x10]
call fcn.180003bf0
nop
cmp qword [rsi + 0x10], 0
je 0x1800067b1
mov qword [rbp + 8], 0xf
mov qword [rbp], r14
mov byte [rbp - 0x10], 0
mov r8d, 1
lea rdx, [0x180020614]
lea rcx, [rbp - 0x10]
call fcn.180003bf0
nop
mov r8, rsi
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x30]
call fcn.180004820
nop
mov r9, rdi
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.180006be0
nop
cmp qword [rbp + 0x48], 0x10
jb 0x180006791
mov rcx, qword [rbp + 0x30]
call fcn.180007828
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
cmp qword [rbp + 8], 0x10
jb 0x1800067b1
mov rcx, qword [rbp - 0x10]
call fcn.180007828
mov qword [rbp + 0x48], 0xf
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], 0
mov r8d, 1
lea rdx, [0x180020618]
lea rcx, [rbp + 0x30]
call fcn.180003bf0
nop
mov qword [rbp + 8], 0xf
mov qword [rbp], r14
mov byte [rbp - 0x10], 0
mov r8d, 2
lea rdx, [0x18002061c]
lea rcx, [rbp - 0x10]
call fcn.180003bf0
nop
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x70]
call fcn.180004820
nop
lea r8, [rbp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1800047a0
nop
mov r9, rdi
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.180006be0
nop
cmp qword [rbp + 0xa8], 0x10
jb 0x18000684e
mov rcx, qword [rbp + 0x90]
call fcn.180007828
mov qword [rbp + 0xa8], 0xf
mov qword [rbp + 0xa0], r14
mov byte [rbp + 0x90], 0
cmp qword [rbp + 0x88], 0x10
jb 0x18000687a
mov rcx, qword [rbp + 0x70]
call fcn.180007828
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], r14
mov byte [rbp + 0x70], 0
cmp qword [rbp + 8], 0x10
jb 0x1800068a0
mov rcx, qword [rbp - 0x10]
call fcn.180007828
mov qword [rbp + 8], 0xf
mov qword [rbp], r14
mov byte [rbp - 0x10], 0
cmp qword [rbp + 0x48], 0x10
jb 0x1800068c0
mov rcx, qword [rbp + 0x30]
call fcn.180007828
cmp qword [rbx + 0x10], 0
je 0x1800068d9
mov r9, rdi
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.180006be0
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
add r8, rdx
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
mov qword [rbp], r14
lea rcx, [rbp - 0x10]
call fcn.180004860
nop
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov rbx, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
cmp rax, rcx
jae 0x1800069b4
lea rax, [rsp + 0x50]
cmp rbx, rax
ja 0x1800069b4
lea rsi, [rsp + 0x50]
sub rsi, rbx
mov rdx, qword [rbp]
cmp rcx, rdx
jne 0x1800069a7
mov rax, rdx
sub rax, rcx
cmp rax, 1
jae 0x1800069a7
mov rax, rbx
sub rax, rcx
dec rax
cmp rax, 1
jae 0x180006970
lea rcx, str.vector_T__too_long
call fcn.1800076c8
int3
sub rcx, rbx
inc rcx
sub rdx, rbx
mov rax, rdx
shr rax, 1
sub rdi, rax
cmp rdi, rdx
jae 0x18000698c
mov rdx, r14
jmp 0x18000698f
add rdx, rax
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.180006ae0
mov rcx, qword [rbp - 8]
mov rbx, qword [rbp - 0x10]
test rcx, rcx
je 0x180006a24
movzx eax, byte [rbx + rsi]
mov byte [rcx], al
jmp 0x180006a24
mov rdx, qword [rbp]
cmp rcx, rdx
jne 0x180006a1c
mov rax, rdx
sub rax, rcx
cmp rax, 1
jae 0x180006a1c
mov rax, rbx
sub rax, rcx
dec rax
cmp rax, 1
jae 0x1800069e5
lea rcx, str.vector_T__too_long
call fcn.1800076c8
int3
sub rcx, rbx
inc rcx
sub rdx, rbx
mov rax, rdx
shr rax, 1
sub rdi, rax
cmp rdi, rdx
jae 0x180006a01
mov rdx, r14
jmp 0x180006a04
add rdx, rax
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.180006ae0
mov rcx, qword [rbp - 8]
mov rbx, qword [rbp - 0x10]
test rcx, rcx
je 0x180006a24
mov byte [rcx], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180006a77
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rbx, rbx
je 0x180006a85
mov rcx, rbx
call fcn.180007828
nop
cmp qword [rbp + 0x28], 0x10
jb 0x180006a95
mov rcx, qword [rbp + 0x10]
call fcn.180007828
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r14
mov byte [rbp + 0x10], 0
cmp qword [rbp + 0x68], 0x10
jb 0x180006ab5
mov rcx, qword [rbp + 0x50]
call fcn.180007828
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.180009870
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret