Function at 0x14001168c
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Set environment variable
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1bf0
call fcn.140037150
sub rsp, rax
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rsp + 0x1c48], rbx
mov rax, qword [0x140049e00]
xor rax, rsp
mov qword [rsp + 0x1be0], rax
mov r13, r8
mov rbx, rdx
mov rdi, rcx
lea rdx, [0x14003d46c]
lea rcx, [rsp + 0x470]
call fcn.14001ad30
mov r8d, 0x175c
lea rdx, [rsp + 0x471]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
xor r15d, r15d
cmp eax, r15d
jne 0x140011726
mov rdx, rdi
lea rcx, str.Could_not_get_short_path_name_for__S
call fcn.140013de8
mov rdx, rdi
lea rcx, [rsp + 0x471]
call fcn.14001ad30
lea rdx, str.___version
lea rcx, [rsp + 0x470]
call fcn.14001ac90
lea rcx, str._JAVA_OPTIONS
call fcn.14000c8c4
mov r12, rax
lea rcx, str.JAVA_TOOL_OPTIONS
call fcn.14000c8c4
mov rbp, rax
lea rcx, str.JDK_JAVA_OPTIONS
call fcn.14000c8c4
mov rsi, rax
mov r14d, 0x18
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.14001cb10
mov dword [rsp + 0x88], r14d
mov r14d, 1
mov dword [rsp + 0x98], r14d
xor r9d, r9d
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
cmp eax, r15d
jne 0x1400117d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreatePipe_error___d_
call fcn.140013de8
xor al, al
jmp 0x140011bfc
xor r8d, r8d
mov edx, r14d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
cmp eax, r15d
jne 0x140011801
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SetHandleInformation_error___d_
call fcn.140013de8
xor al, al
jmp 0x140011bfc
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x70]
call fcn.14001cb10
mov r14d, 0x68
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.14001cb10
mov dword [rsp + 0xb0], r14d
mov dword [rsp + 0xec], 0x101
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x110], rax
mov word [rsp + 0xf0], r15w
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x470]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, r15d
setne r14b
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x268], 0xf
mov qword [rsp + 0x260], r15
mov byte [rsp + 0x250], r15b
cmp r14b, r15b
je 0x140011951
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x60]
mov r8d, 0x200
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, r15d
je 0x140011941
mov eax, dword [rsp + 0x60]
cmp eax, r15d
je 0x140011941
mov r8, rax
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x248]
call fcn.1400075a8
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x60]
mov r8d, 0x200
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, r15d
jne 0x1400118f8
mov edx, 0xea60
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp r12, r15
je 0x14001196e
mov rdx, r12
lea rcx, str._JAVA_OPTIONS
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rcx, r12
call fcn.14001aaec
cmp rbp, r15
je 0x14001198b
mov rdx, rbp
lea rcx, str.JAVA_TOOL_OPTIONS
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rcx, rbp
call fcn.14001aaec
cmp rsi, r15
je 0x1400119a8
mov rdx, rsi
lea rcx, str.JDK_JAVA_OPTIONS
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rcx, rsi
call fcn.14001aaec
cmp r14b, r15b
jne 0x1400119f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x470]
lea rcx, str.Could_not_create_process__S__error__d_
call fcn.140013de8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x268], 0x10
jb 0x1400119ee
mov rcx, qword [rsp + 0x250]
call fcn.14001aaec
xor al, al
jmp 0x140011bfc
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rsp + 0x50]
lea rcx, str.Exit_Code__d
call fcn.140013de8
mov r11d, dword [rsp + 0x50]
cmp r11d, 0x103
jne 0x140011a41
lea rcx, str.Terminating_process
call fcn.140013de8
mov edx, 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140011a58
cmp r11d, r15d
je 0x140011a58
lea r8, str.1.0.0
mov rdx, rbx
mov rcx, rdi
call fcn.14000c630
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, r15b
cmp dword [rsp + 0x50], r15d
jne 0x140011be2
mov qword [rsp + 0x240], 0xf
mov qword [rsp + 0x238], r15
mov byte [rsp + 0x228], r15b
mov r9d, 1
mov r8d, r9d
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x120]
call fcn.140010f4c
nop
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x120]
call fcn.140011494
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
add rdx, rax
test byte [rdx + 0x10], 6
cmovne rdx, r15
cmp rdx, r15
je 0x140011b9f
lea rcx, [rsp + 0x228]
cmp qword [rsp + 0x240], 0x10
cmovae rcx, qword [rsp + 0x228]
lea rdx, str._version__
call fcn.14001d074
cmp rax, r15
je 0x140011b6f
lea rdi, [rax + 0xa]
mov edx, 0x22
mov rcx, rdi
call fcn.14001a694
cmp rax, r15
je 0x140011b37
sub eax, edi
jmp 0x140011b42
mov rcx, rdi
call fcn.14001a6c0
sub eax, 2
cmp eax, r15d
cmovl eax, r15d
movsxd rbx, eax
mov r8, rbx
mov rdx, rdi
mov rcx, r13
call fcn.14001ab10
mov byte [rbx + r13], r15b
mov bl, 1
mov rdx, r13
lea rcx, str.Java_version2:__S
call fcn.140013de8
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x120]
call fcn.140011494
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
add rdx, rax
test byte [rdx + 0x10], 6
cmovne rdx, r15
cmp rdx, r15
jne 0x140011af2
lea rcx, [rsp + 0x1b8]
call fcn.14000dde0
lea r11, vtable.std::ios_base.0
mov qword [rsp + 0x1b8], r11
lea rcx, [rsp + 0x1b8]
call fcn.14001a458
nop
cmp qword [rsp + 0x240], 0x10
jb 0x140011be2
mov rcx, qword [rsp + 0x228]
call fcn.14001aaec
nop
cmp qword [rsp + 0x268], 0x10
jb 0x140011bfa
mov rcx, qword [rsp + 0x250]
call fcn.14001aaec
mov al, bl
mov rcx, qword [rsp + 0x1be0]
xor rcx, rsp
call fcn.14001ae80
mov rbx, qword [rsp + 0x1c48]
add rsp, 0x1bf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret