Function at 0x140005c04
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.140001d88
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 0x140006019
cmp eax, 0x104
jg 0x140006019
lea rdx, [rbp - 0x10]
lea rcx, str.ExecJRE:_old:__s_n
call fcn.140001298
mov rdx, rbx
lea rcx, str.ExecJRE:_new:__s_n
call fcn.140001298
mov rcx, rbx
call fcn.14000eb70
mov r8, rax
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140019d10
test eax, eax
je 0x140005f7b
mov r9, rbx
mov qword [rsp + 0x20], rdi
lea r8, str._s_bin_s.exe
mov edx, esi
lea rcx, [rbp - 0x10]
call fcn.140006854
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.14000126c
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov r14, rax
call fcn.140006f28
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.14000eb70
lea rcx, [rbp - 0x10]
mov rbx, rax
call fcn.14000eb70
lea rcx, [rax + 4]
add rcx, rbx
call fcn.1400011a8
mov edx, 0x20
lea rcx, [rbp - 0x10]
mov rbx, rax
call fcn.14000bb18
test rax, rax
jne 0x140005d3b
lea edx, [rax + 9]
lea rcx, [rbp - 0x10]
call fcn.14000bb18
test rax, rax
jne 0x140005d3b
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140014ab0
jmp 0x140005d65
lea rdx, [0x140029c10]
mov rcx, rbx
call fcn.140014ab0
mov rcx, rax
lea rdx, [rbp - 0x10]
call fcn.140014a10
mov rcx, rax
lea rdx, [0x140029c10]
call fcn.140014a10
cmp byte [rsi], 0
mov rdi, rax
je 0x140005e9b
lea r12, [0x14002907c]
lea rcx, [rsp + 0x50]
call fcn.140006f28
mov rsi, rax
cmp byte [rax], 0
je 0x140005e53
mov rcx, rax
call fcn.140006fcc
mov rbx, rax
cmp byte [rax], 0x2d
jne 0x140005e62
lea rdx, str._classpath
mov rcx, rax
call fcn.140014b80
test eax, eax
je 0x140005e07
lea rdx, [0x140028744]
mov rcx, rbx
call fcn.140014b80
test eax, eax
je 0x140005e07
mov r8d, 9
lea rdx, str._version:
mov rcx, rbx
call fcn.14000ec30
test eax, eax
je 0x140005e4b
lea rdx, str._jre_restrict_search
mov rcx, rbx
call fcn.140014b80
test eax, eax
je 0x140005e4b
lea rdx, str._no_jre_restrict_search
mov rcx, rbx
call fcn.140014b80
test eax, eax
jmp 0x140005e30
mov rdx, r12
mov rcx, rdi
call fcn.140014a10
mov rcx, rax
mov rdx, rsi
call fcn.140014a10
lea rcx, [rsp + 0x50]
mov rdi, rax
call fcn.140006f28
mov rsi, rax
cmp byte [rax], 0
je 0x140005e4b
mov rdx, r12
mov rcx, rdi
call fcn.140014a10
mov rdx, rsi
mov rcx, rax
call fcn.140014a10
mov rdi, rax
mov rcx, rbx
call fcn.1400011d4
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
je 0x140005e9b
jmp 0x140005d78
mov rdx, r12
mov rcx, rdi
call fcn.140014a10
mov rcx, rax
mov rdx, rsi
call fcn.140014a10
mov rdx, r12
mov rcx, rax
call fcn.140014a10
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.140014a10
mov rcx, rbx
mov rdi, rax
call fcn.1400011d4
mov rcx, r14
call fcn.1400011d4
call fcn.1400011a0
test al, al
je 0x140005ef2
mov rcx, rdi
call fcn.14000126c
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rbx, rax
call fcn.140006f28
mov r8, rax
lea rdx, [rbp - 0x10]
lea rcx, str.ReExec_Command:__s___s__n
call fcn.14000114c
mov rdx, qword [rsp + 0x50]
lea rcx, str.ReExec_Args:__s_n
call fcn.14000114c
mov rcx, rbx
call fcn.1400011d4
mov ebx, 1
mov ecx, ebx
call fcn.14000c6c8
mov rcx, rax
call fcn.1400163fc
lea ecx, [rbx + 1]
call fcn.14000c6c8
mov rcx, rax
call fcn.1400163fc
lea esi, [rbx + 0x67]
xor edx, edx
mov r8d, esi
lea rcx, [rbp - 0x80]
call fcn.14000b8b0
xor edx, edx
mov dword [rbp - 0x80], esi
lea r8d, [rbx + 0x17]
lea rcx, [rsp + 0x60]
call fcn.14000b8b0
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 0x140005fbf
jmp 0x140005fa7
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.140006648
mov ecx, ebx
call fcn.14000efb0
int3
mov rcx, qword [rsp + 0x60]
or edi, 0xffffffff
mov edx, edi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x140005fe9
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140005ff9
jmp 0x140005ff5
lea rcx, str.Error:_WaitForSingleObject___failed.
call fcn.140006550
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.14000efb0
int3
mov rdx, rdi
lea rcx, str.Error:_Unable_to_resolve__s
call fcn.140006648
mov ecx, 1
call fcn.14000efb0
int3