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

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0x174
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push ebx
mov ebx, dword [ebp + 0xfc]
push esi
push edi
call fcn.6d3f1be8
mov dword [ebp - 0x20], eax
mov esi, 0x105
push esi
lea eax, [ebp - 0x18]
push eax
xor edi, edi
push edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
cmp eax, edi
je 0x6d3f3d83
cmp eax, 0x104
jg 0x6d3f3d83
lea eax, [ebp - 0x18]
push eax
push str.ExecJRE:_old:__s_n
call fcn.6d3f589a
push ebx
push str.ExecJRE:_new:__s_n
call fcn.6d3f589a
push ebx
call fcn.6d3f7a10
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.6d40669e
add esp, 0x20
test eax, eax
je 0x6d3f3d96
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push ebx
push str._s_bin_s.exe
push esi
push eax
call fcn.6d40669e
add esp, 0x14
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.6d3f5874
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
call fcn.6d40669e
mov esi, dword [ebp - 0x1c]
push esi
call fcn.6d3f7a10
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
call fcn.6d3f7a10
lea eax, [ebx + eax + 4]
push eax
call fcn.6d3f582d
mov ebx, eax
lea eax, [ebp - 0x18]
push 0x20
push eax
call fcn.6d3f93f0
add esp, 0x18
test eax, eax
jne 0x6d3f3b32
lea eax, [ebp - 0x18]
push 9
push eax
call fcn.6d3f93f0
pop ecx
pop ecx
test eax, eax
jne 0x6d3f3b32
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.6d3f8060
jmp 0x6d3f3b53
mov eax, 0x6d40925c
push eax
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
call fcn.6d3f8060
pop ecx
pop ecx
push eax
call fcn.6d3f8070
pop ecx
pop ecx
push eax
call fcn.6d3f8070
cmp byte [esi], 0
pop ecx
mov ebx, eax
pop ecx
je 0x6d3f3c7e
mov edi, 0x6d408484
lea esi, [ebp - 0x1c]
call fcn.6d40669e
cmp byte [eax], 0
mov dword [ebp - 0x28], eax
je 0x6d3f3c3d
call fcn.6d3f39c4
mov esi, eax
cmp byte [esi], 0x2d
mov dword [ebp - 0x20], esi
jne 0x6d3f3c4b
push str._classpath
push esi
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
je 0x6d3f3bfc
push 0x6d408994
push esi
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
je 0x6d3f3bfc
push 9
push str._version:
push esi
call fcn.6d40669e
add esp, 0xc
test eax, eax
je 0x6d3f3c36
push str._jre_restrict_search
push esi
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
je 0x6d3f3c36
push str._no_jre_restrict_search
push esi
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
je 0x6d3f3c36
push dword [ebp - 0x28]
push edi
push ebx
call fcn.6d3f8070
pop ecx
pop ecx
push eax
call fcn.6d3f8070
pop ecx
pop ecx
mov ebx, eax
jmp 0x6d3f3c36
push dword [ebp - 0x28]
push edi
push ebx
call fcn.6d3f8070
pop ecx
pop ecx
push eax
call fcn.6d3f8070
pop ecx
pop ecx
lea esi, [ebp - 0x1c]
mov ebx, eax
call fcn.6d40669e
cmp byte [eax], 0
je 0x6d3f3c33
push eax
push edi
push ebx
call fcn.6d3f8070
pop ecx
pop ecx
push eax
call fcn.6d3f8070
pop ecx
pop ecx
mov ebx, eax
mov esi, dword [ebp - 0x20]
push esi
call fcn.6d3f5895
pop ecx
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0
jne 0x6d3f3b65
jmp 0x6d3f3c7c
push dword [ebp - 0x28]
push edi
push ebx
call fcn.6d3f8070
pop ecx
pop ecx
push eax
call fcn.6d3f8070
pop ecx
pop ecx
push dword [ebp - 0x1c]
push edi
push eax
call fcn.6d3f8070
pop ecx
pop ecx
push eax
call fcn.6d3f8070
push esi
mov ebx, eax
call fcn.6d3f5895
add esp, 0xc
xor edi, edi
push dword [ebp - 0x2c]
call fcn.6d3f5895
pop ecx
call fcn.6d3f58d6
test al, al
je 0x6d3f3ccb
push ebx
call fcn.6d3f5874
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
call fcn.6d40669e
push eax
lea eax, [ebp - 0x18]
push eax
push str.ReExec_Command:__s___s__n
call fcn.6d3f7f15
push dword [ebp - 0x1c]
push str.ReExec_Args:__s_n
call fcn.6d3f7f15
push dword [ebp - 0x2c]
call fcn.6d3f5895
add esp, 0x1c
call fcn.6d3f852e
add eax, 0x20
push eax
call fcn.6d3f99ac
call fcn.6d3f852e
add eax, 0x40
push eax
call fcn.6d3f99ac
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.6d3f7fe0
push 0x10
lea eax, [ebp - 0x3c]
push edi
push eax
mov dword [ebp - 0x80], esi
call fcn.6d3f7fe0
add esp, 0x20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
xor esi, esi
inc esi
push esi
push edi
push edi
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
jne 0x6d3f3d3d
lea eax, [ebp - 0x18]
push eax
push str.Error:_CreateProcess__s__...__failed:
call fcn.6d40669e
pop ecx
pop ecx
push esi
call fcn.6d40669e
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x6d3f3d60
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
jne 0x6d3f3d6e
jmp 0x6d3f3d6b
push str.Error:_WaitForSingleObject___failed.
call fcn.6d40669e
pop ecx
mov dword [ebp - 0x24], esi
push dword [ebp - 0x38]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
push dword [ebp - 0x24]
jmp 0x6d3f3d38
push dword [ebp - 0x20]
push str.Error:_Unable_to_resolve__s
call fcn.6d40669e
pop ecx
pop ecx
push 1
jmp 0x6d3f3d38
mov ecx, dword [ebp + 0xf0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0xf4
leave
ret