Function at 0x140005c14
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x128]
sub rsp, 0x210
mov rax, qword [0x140038068]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rbx, rcx
call fcn.140001d98
mov esi, 0x105
lea rdx, [rbp - 0x10]
mov r8d, esi
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140006029
cmp eax, 0x104
jg 0x140006029
lea rdx, [rbp - 0x10]
lea rcx, str.ExecJRE:_old:__s_n
call fcn.1400012a8
mov rdx, rbx
lea rcx, str.ExecJRE:_new:__s_n
call fcn.1400012a8
mov rcx, rbx
call fcn.14000f190
mov r8, rax
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140019e28
test eax, eax
je 0x140005f8b
mov r9, rbx
mov qword [rsp + 0x20], rdi
lea r8, str._s_bin_s.exe
mov edx, esi
lea rcx, [rbp - 0x10]
call fcn.140006864
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.14000127c
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov r14, rax
call fcn.140006f38
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.14000f190
lea rcx, [rbp - 0x10]
mov rbx, rax
call fcn.14000f190
lea rcx, [rax + 4]
add rcx, rbx
call fcn.1400011b8
mov edx, 0x20
lea rcx, [rbp - 0x10]
mov rbx, rax
call fcn.14000bb58
test rax, rax
jne 0x140005d4b
lea edx, [rax + 9]
lea rcx, [rbp - 0x10]
call fcn.14000bb58
test rax, rax
jne 0x140005d4b
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1400150c0
jmp 0x140005d75
lea rdx, [0x140029c20]
mov rcx, rbx
call fcn.1400150c0
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140015020
mov rcx, rax
lea rdx, [0x140029c20]
call fcn.140015020
cmp byte [rsi], 0
mov rdi, rax
je 0x140005eab
lea r12, [0x14002908c]
lea rcx, [rsp + 0x50]
call fcn.140006f38
mov rsi, rax
cmp byte [rax], 0
je 0x140005e63
mov rcx, rax
call fcn.140006fdc
mov rbx, rax
cmp byte [rax], 0x2d
jne 0x140005e72
lea rdx, str._classpath
mov rcx, rax
call fcn.140015190
test eax, eax
je 0x140005e17
lea rdx, [0x140028754]
mov rcx, rbx
call fcn.140015190
test eax, eax
je 0x140005e17
mov r8d, 9
lea rdx, str._version:
mov rcx, rbx
call fcn.14000f250
test eax, eax
je 0x140005e5b
lea rdx, str._jre_restrict_search
mov rcx, rbx
call fcn.140015190
test eax, eax
je 0x140005e5b
lea rdx, str._no_jre_restrict_search
mov rcx, rbx
call fcn.140015190
test eax, eax
jmp 0x140005e40
mov rdx, r12
mov rcx, rdi
call fcn.140015020
mov rcx, rax
mov rdx, rsi
call fcn.140015020
lea rcx, [rsp + 0x50]
mov rdi, rax
call fcn.140006f38
mov rsi, rax
cmp byte [rax], 0
je 0x140005e5b
mov rdx, r12
mov rcx, rdi
call fcn.140015020
mov rdx, rsi
mov rcx, rax
call fcn.140015020
mov rdi, rax
mov rcx, rbx
call fcn.1400011e4
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
je 0x140005eab
jmp 0x140005d88
mov rdx, r12
mov rcx, rdi
call fcn.140015020
mov rcx, rax
mov rdx, rsi
call fcn.140015020
mov rdx, r12
mov rcx, rax
call fcn.140015020
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.140015020
mov rcx, rbx
mov rdi, rax
call fcn.1400011e4
mov rcx, r14
call fcn.1400011e4
call fcn.1400011b0
test al, al
je 0x140005f02
mov rcx, rdi
call fcn.14000127c
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rbx, rax
call fcn.140006f38
mov r8, rax
lea rdx, [rbp - 0x10]
lea rcx, str.ReExec_Command:__s___s__n
call fcn.14000115c
mov rdx, qword [rsp + 0x50]
lea rcx, str.ReExec_Args:__s_n
call fcn.14000115c
mov rcx, rbx
call fcn.1400011e4
mov ebx, 1
mov ecx, ebx
call fcn.14000c708
mov rcx, rax
call fcn.140016a0c
lea ecx, [rbx + 1]
call fcn.14000c708
mov rcx, rax
call fcn.140016a0c
lea esi, [rbx + 0x67]
xor edx, edx
mov r8d, esi
lea rcx, [rbp - 0x80]
call fcn.14000b8f0
xor edx, edx
mov dword [rbp - 0x80], esi
lea r8d, [rbx + 0x17]
lea rcx, [rsp + 0x60]
call fcn.14000b8f0
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x10]
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rdi
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140005fcf
jmp 0x140005fb7
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14000ac30
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
lea rdx, [rbp - 0x10]
lea rcx, str.Error:_CreateProcess__s__...__failed:
call fcn.140006658
mov ecx, ebx
call fcn.14000f5d0
int3
mov rcx, qword [rsp + 0x60]
or edi, 0xffffffff
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x140005ff9
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140006009
jmp 0x140006005
lea rcx, str.Error:_WaitForSingleObject___failed.
call fcn.140006560
mov dword [rsp + 0x58], ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x58]
call fcn.14000f5d0
int3
mov rdx, rdi
lea rcx, str.Error:_Unable_to_resolve__s
call fcn.140006658
mov ecx, 1
call fcn.14000f5d0
int3