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.00401c10
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 [0x404904], 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 eax
call fcn.00402190
add esp, 4
test eax, eax
je 0x4010f3
lea eax, [esp + 0x24]
push eax
call fcn.00401ea0
add esp, 4
test eax, eax
je 0x4010f3
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 0x4010ff
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
mov ebp, dword [sym.imp.MSVCRT.dll___p__iob]
mov al, byte [0x404904]
test al, al
je 0x4011a9
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
call fcn.00401db0
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 0x401142
mov eax, 0x404058
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 0x401160
mov eax, 0x404078
push eax
push str._runtimeLib___s_n
call ebp
add eax, 0x40
push eax
call ebx
add esp, 0xc
test esi, esi
jne 0x40117a
mov esi, 0x404098
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 0x401198
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.004022e0
mov dword [esp + 0x1c], eax
add esp, 4
test eax, eax
jne 0x4011de
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 0x40121e
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xf
push ecx
call fcn.00401e60
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.00401940
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40125e
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xf
push ecx
call fcn.00401e60
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.00401940
add esp, 4
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], 0x10001
push eax
push ecx
call fcn.00402300
add esp, 8
test eax, eax
je 0x401297
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 0x4012f0
call fcn.00401c10
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x90]
cmp dword [eax], 0
jne 0x40130c
call fcn.00401c10
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 0x401344
mov cl, byte [eax]
cmp cl, 0x2e
jne 0x40133c
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401332
mov eax, dword [esp + 0x8c]
mov cl, byte [0x404904]
dec eax
test cl, cl
mov dword [esp + 0x8c], eax
je 0x401372
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 [0x4048fc]
test eax, eax
je 0x4013ea
mov eax, dword [0x404900]
mov ecx, dword [0x4048f8]
cmp ecx, eax
jne 0x4013ce
lea ecx, [eax*4 + 4]
push ecx
call fcn.00401e60
mov dword [esp + 0x18], eax
add esp, 4
mov ecx, dword [0x404900]
mov edi, eax
shl ecx, 2
mov esi, dword [0x4048fc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4048fc]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [0x4048fc], ecx
mov eax, dword [0x404900]
mov ecx, dword [0x4048fc]
mov dword [ecx + eax*4], 0
mov ecx, dword [0x4048fc]
mov dword [esp + 0x44], ecx
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.00402330
add esp, 0x10
test eax, eax
je 0x401425
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 [0x4048fc]
test eax, eax
je 0x401438
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 0x40147c
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 0x4014b5
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.00401a80
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x4014ea
mov eax, dword [esp + 0x10]
push str.Couldnt_build_argument_list_for_main_n
push eax
call fcn.00401c30
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 0x401515
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.004022f0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x78
ret