Function at 0x14000ba10
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x3050
call fcn.14002d9b0
sub rsp, rax
mov rax, qword [0x14003b9c0]
xor rax, rsp
mov qword [rsp + 0x3040], rax
mov rbx, rdx
mov r12, r8
lea rdx, [rsp + 0x160]
mov r8d, 0x1770
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
xor esi, esi
cmp eax, esi
jne 0x14000ba7d
lea rcx, str.Could_not_get_short_path_name_for__S
mov rdx, rbp
call fcn.1400104ac
lea rcx, [rsp + 0x160]
mov rdx, rbp
call fcn.140014be0
lea rdx, str.__version
lea rcx, [rsp + 0x160]
call fcn.140014b40
lea rcx, [rsp + 0x18d0]
call fcn.1400066e4
xor r9d, r9d
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x18d0]
lea r8d, [r9 + 3]
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14000bb2a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x58]
mov r8, rdi
mov rdx, r13
mov rcx, rax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
sbb rcx, rcx
and rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x18]
call fcn.1400169c0
mov edi, 0x68
lea rcx, [rsp + 0x80]
mov r8, rdi
xor edx, edx
call fcn.1400169c0
lea rax, [rsp + 0x60]
mov dword [rsp + 0x80], edi
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x160]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0xbc], 0x101
mov dword [rsp + 0x20], 1
mov qword [rsp + 0xe0], rdi
mov word [rsp + 0xc0], si
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
jne 0x14000bbf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsp + 0x18d0]
lea rdx, [rsp + 0x160]
lea rcx, str.Could_not_create_process__S____S__error__d_
mov r9d, eax
call fcn.1400104ac
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000bd5b
mov rcx, qword [rsp + 0x60]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rsp + 0x50]
lea rcx, str.Exit_Code__d
call fcn.1400104ac
cmp dword [rsp + 0x50], 0x103
jne 0x14000bc4e
lea rcx, str.Terminating_process
call fcn.1400104ac
mov rcx, qword [rsp + 0x60]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14000bc66
cmp dword [rsp + 0x50], esi
je 0x14000bc66
lea r8, str.1.0.0
mov rdx, rbx
mov rcx, rbp
call fcn.14000b77c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], esi
jne 0x14000bd5b
lea rdx, [0x140032560]
lea rcx, [rsp + 0x18d0]
call fcn.140018080
lea rcx, [rsp + 0xf0]
mov edx, 0x64
mov r8, rax
mov rdi, rax
call fcn.1400172bc
cmp rax, rsi
je 0x14000bd53
lea rdx, str.java_version__
lea rcx, [rsp + 0xf0]
mov r8d, 0xe
call fcn.140015980
cmp eax, esi
jne 0x14000bcf9
lea rcx, [rsp + 0xfe]
call fcn.140014610
lea rdx, [rsp + 0xfe]
jmp 0x14000bd2c
lea rdx, str.openjdk_version__
lea rcx, [rsp + 0xf0]
mov r8d, 0x11
call fcn.140015980
cmp eax, esi
jne 0x14000bd53
lea rcx, [rsp + 0x101]
call fcn.140014610
lea rdx, [rsp + 0x101]
sub eax, 2
mov rcx, r12
movsxd rbx, eax
mov r8, rbx
call fcn.1400149c0
mov byte [rbx + r12], sil
lea rcx, str.Java_version:__S
mov rdx, r12
mov sil, 1
call fcn.1400104ac
mov rcx, rdi
call fcn.140017244
lea rcx, [rsp + 0x18d0]
call fcn.140017f18
mov al, sil
mov rcx, qword [rsp + 0x3040]
xor rcx, rsp
call fcn.140014d30
mov rbx, qword [rsp + 0x3098]
add rsp, 0x3050
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret