Function at 0x401000
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x78
cmp eax, 1
mov dword [esp + 4], 1
push ebx
push esi
push edi
push ebp
jle 0x4010a8
mov ebx, 4
mov eax, dword [esp + 0x90]
mov ebp, dword [eax + ebx]
mov dl, byte [ebp]
mov ecx, ebp
inc ebp
cmp dl, 0x2d
jne 0x4010a8
mov edi, 0x404010
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401066
mov edi, 0x404014
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401066
mov edi, 0x404018
mov ecx, 5
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x401076
call fcn.00401c00
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov edi, 0x404020
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40108d
mov byte [0x4048e4], 1
add ebx, 4
mov eax, dword [esp + 0x14]
inc eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
cmp ecx, eax
jg 0x401021
lea eax, [esp + 0x24]
push str.1.1.7.5o
push eax
call fcn.00401f10
add esp, 8
test eax, eax
je 0x4010f8
lea eax, [esp + 0x24]
push eax
call fcn.00402180
add esp, 4
test eax, eax
je 0x4010f8
push str.Could_not_locate_Java_runtime_n
mov ebp, dword [sym.imp.MSVCRT.dll___p__iob]
call ebp
add eax, 0x40
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
push eax
call ebx
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
jmp 0x401104
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
mov ebp, dword [sym.imp.MSVCRT.dll___p__iob]
mov al, byte [0x4048e4]
test al, al
je 0x4011ae
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.00401da0
add esp, 0xc
mov esi, eax
push str.Runtime_Settings:_n
call ebp
add eax, 0x40
push eax
call ebx
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
jne 0x401147
mov eax, 0x404064
push eax
push str._javaHome_____s_n
call ebp
add eax, 0x40
push eax
call ebx
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x401165
mov eax, 0x404084
push eax
push str._runtimeLib___s_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 0xc
test esi, esi
jne 0x40117f
mov esi, 0x4040a4
push esi
push str._version______s_n
call ebp
add eax, 0x40
push eax
call ebx
mov eax, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
jne 0x40119d
mov eax, str._not_set_
push eax
push str._compiler_____s_n_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 0xc
mov eax, dword [esp + 0x28]
push eax
call fcn.004022c0
mov dword [esp + 0x1c], eax
add esp, 4
test eax, eax
jne 0x4011e3
mov eax, dword [esp + 0x28]
push eax
push str.Could_not_load_runtime_library:__s_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 0xc
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x401223
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xf
push ecx
call fcn.00401e50
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
push str.java.home_s
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push esi
call fcn.00401930
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x401263
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xf
push ecx
call fcn.00401e50
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
push str.java.compiler_s
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push esi
call fcn.00401930
add esp, 4
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], 0x10001
push eax
push ecx
call fcn.004022e0
add esp, 8
test eax, eax
je 0x40129c
push str.Could_not_initialize_Java_VM_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x8c]
dec ecx
mov edx, dword [esp + 0x90]
add edx, 4
mov dword [esp + 0x60], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x90]
push eax
mov dword [esp + 0x94], edx
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.00401540
add esp, 0xc
test eax, eax
je 0x4012f5
call fcn.00401c00
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x90]
cmp dword [eax], 0
jne 0x401311
call fcn.00401c00
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x90]
lea ecx, [eax + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [eax]
push edx
call dword [sym.imp.MSVCRT.dll__strdup]
mov dword [esp + 0x20], eax
add esp, 4
cmp byte [eax], 0
je 0x401349
mov cl, byte [eax]
cmp cl, 0x2e
jne 0x401341
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401337
mov eax, dword [esp + 0x8c]
mov cl, byte [0x4048e4]
dec eax
test cl, cl
mov dword [esp + 0x8c], eax
je 0x401377
mov eax, dword [esp + 0x60]
push eax
push str.CLASSPATH_is__s_n_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 0xc
mov eax, dword [0x4048dc]
test eax, eax
je 0x4013ee
mov eax, dword [0x4048e0]
mov ecx, dword [0x4048d8]
cmp ecx, eax
jne 0x4013d3
lea ecx, [eax*4 + 4]
push ecx
call fcn.00401e50
mov dword [esp + 0x18], eax
add esp, 4
mov ecx, dword [0x4048e0]
mov edi, eax
shl ecx, 2
mov esi, dword [0x4048dc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4048dc]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [0x4048dc], ecx
mov ecx, dword [0x4048e0]
mov eax, dword [0x4048dc]
mov dword [eax + ecx*4], 0
mov eax, dword [0x4048dc]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00402310
add esp, 0x10
test eax, eax
je 0x401429
push str.Could_not_create_Java_VM_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [0x4048dc]
test eax, eax
je 0x40143c
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
push ecx
push eax
call dword [esi + 0x18]
mov esi, eax
test esi, esi
jne 0x401480
mov eax, dword [esp + 0x90]
sub eax, 4
mov dword [esp + 0x90], eax
mov ecx, dword [eax]
push ecx
push str.Class_not_found:__s_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 0xc
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x10]
push str.__Ljava_lang_String__V
push str.main
push esi
push eax
mov edi, dword [eax]
call dword [edi + 0x1c4]
mov edi, eax
test edi, edi
jne 0x4014b9
push str.In_class__s:_public_static_void_main_String_args____is_not_defined_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.00401a70
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x4014ee
mov eax, dword [esp + 0x10]
push str.Couldnt_build_argument_list_for_main_n
push eax
call fcn.00401c20
add esp, 8
mov eax, dword [esp + 0x10]
push ebx
push edi
push esi
push eax
mov ebx, dword [eax]
call dword [ebx + 0x234]
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x401519
mov eax, dword [esp + 0x10]
push eax
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [esp + 0x20]
push eax
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004022d0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x78
ret