Function at 0x4014de
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x4060d0]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x6c
mov eax, 0x403c08
call fcn.00402d84
mov ebx, dword [ebp + 0x410]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x40c], 4
mov dword [ebp - 4], eax
jge 0x401559
push str.Invalid_number_of_arguments_n
call dword [sym.imp.MSVCR100.dll_printf]
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004018bc
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00402d5c
add ebp, 0x404
leave
ret
mov edi, dword [ebx + 4]
call fcn.00401220
test eax, eax
jne 0x40156c
push str.Invalid_JRE_home_as_argument_1_n
jmp 0x401524
push 2
pop edi
cmp edi, dword [ebp + 0x40c]
jge 0x4015e6
mov esi, dword [ebx + edi*4]
call fcn.004012bb
test eax, eax
je 0x4015e0
push 0x16
push str._Dsun.plugin2.jvm.args
push esi
call dword [sym.imp.MSVCR100.dll__mbsnbcmp]
add esp, 0xc
test eax, eax
je 0x4015f2
push dword [ebx + edi*4]
call fcn.004010f1
pop ecx
test eax, eax
je 0x4015fc
mov esi, dword [ebx + edi*4]
call fcn.004012de
test eax, eax
jne 0x4015c9
mov eax, esi
call fcn.004010d8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401b13
jmp 0x4015d7
push esi
push str.Rejecting_attempt_to_specify_unsupported_characters_in_command_line_argument:__s_n
call dword [sym.imp.MSVCR100.dll_printf]
pop ecx
pop ecx
inc edi
cmp edi, dword [ebp + 0x40c]
jl 0x401577
cmp edi, dword [ebp + 0x40c]
jne 0x401606
push str.Invalid_arguments:_no_main_class_found_n
jmp 0x401524
push str.Rejecting_attempt_to_specify_sun.plugin2.jvm.args_system_property_n
jmp 0x401524
push str.Rejecting_attempt_to_point_a_command_line_argument_into_the_LocalLow_directory_n
jmp 0x401524
mov eax, dword [ebx + edi*4]
push str.sun.plugin2.main.client.PluginMain
push eax
call dword [sym.imp.MSVCR100.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
je 0x401625
push str.Invalid_arguments:_PluginMain_main_class_not_found_n
jmp 0x401524
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00401395
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401638
sub eax, esi
lea esi, [eax + eax + 0x30]
push esi
call fcn.00402c5c
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push str._Dsun.plugin2.jvm.args_s
push esi
mov esi, dword [sym.imp.MSVCR100.dll__snprintf]
push eax
call esi
push dword [ebp - 0x14]
call fcn.00401067
mov dword [ebp - 0x14], eax
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401b13
lea eax, [ebx + edi*4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401b6a
mov eax, dword [ebp + 0x40c]
inc edi
cmp edi, eax
jge 0x4016ad
lea ecx, [ebx + edi*4]
sub eax, edi
mov dword [ebp - 0x10], ecx
mov edi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.00401b6a
add dword [ebp - 0x10], 4
dec edi
jne 0x40169b
push dword [ebx + 4]
lea eax, [ebp]
push str._s_binjava.exe
push 0x400
push eax
call esi
lea eax, [ebp]
add esp, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
call fcn.00401bcd
xor edi, edi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00401395
mov esi, dword [sym.imp.MSVCR100.dll__putenv]
push str.CLASSPATH
mov ebx, eax
call esi
push 0x4044bc
call fcn.00401317
add esp, 0x10
test eax, eax
jne 0x401710
push str._JAVA_OPTIONS
call esi
pop ecx
push 0x4044dc
call fcn.00401317
pop ecx
test eax, eax
jne 0x401727
push str.JAVA_TOOL_OPTIONS
call esi
pop ecx
push 0x44
pop esi
push esi
lea eax, [ebp - 0x78]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
push edi
push 0x8000000
push 1
push edi
push edi
push ebx
push edi
mov dword [ebp - 0x78], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40176c
xor edi, edi
inc edi
lea ecx, [ebp - 0x24]
call fcn.004018bc
mov eax, edi
jmp 0x401536
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x40175d