Function at 0x401000
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
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 + 0x8c]
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.00401e10
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 [0x404948], 1
add ebx, 4
mov eax, dword [esp + 0x14]
inc eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x14], eax
cmp ecx, eax
jg 0x401021
lea eax, [esp + 0x20]
push eax
call fcn.00402390
add esp, 4
test eax, eax
je 0x4010f1
lea eax, [esp + 0x20]
push eax
call fcn.004020a0
add esp, 4
test eax, eax
je 0x4010f1
push str.Could_not_locate_Java_runtime_n
call dword [sym.imp.MSVCRT.dll___p__iob]
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 0x4010f7
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
mov al, byte [0x404948]
test al, al
je 0x4011b5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.00401fb0
add esp, 0xc
mov esi, eax
push str.Runtime_Settings:_n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call ebx
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x40113e
mov eax, 0x404058
push eax
push str._javaHome_____s_n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call ebx
mov eax, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401160
mov eax, 0x404078
push eax
push str._runtimeLib___s_n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call ebx
add esp, 0xc
test esi, esi
jne 0x40117e
mov esi, 0x404098
push esi
push str._version______s_n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call ebx
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x4011a0
mov eax, str._not_set_
push eax
push str._compiler_____s_n_n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call ebx
add esp, 0xc
mov eax, dword [esp + 0x24]
push eax
call fcn.004024d0
add esp, 4
mov ebp, eax
test ebp, ebp
jne 0x4011ec
mov eax, dword [esp + 0x24]
push eax
push str.Could_not_load_runtime_library:__s_n
call dword [sym.imp.MSVCRT.dll___p__iob]
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 + 0x20]
test eax, eax
je 0x40122c
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xf
push ecx
call fcn.00402060
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
push str.java.home_s
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push esi
call fcn.00401a70
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40126c
mov edi, eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xf
push ecx
call fcn.00402060
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x2c]
push eax
push str.java.compiler_s
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push esi
call fcn.00401a70
add esp, 4
mov dword [esp + 0x3c], 0x10001
lea eax, [esp + 0x3c]
push eax
push ebp
call fcn.004024f0
add esp, 8
test eax, eax
je 0x4012a5
push str.Could_not_initialize_Java_VM_n
call dword [sym.imp.MSVCRT.dll___p__iob]
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 + 0x28]
push 0x404950
mov dword [esp + 0x60], eax
push ebp
call fcn.00402550
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x44]
add esp, 8
dec eax
add ecx, 4
mov dword [esp + 0x88], eax
push edx
lea eax, [esp + 0x90]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x8c]
push eax
push ecx
call fcn.00401570
add esp, 0xc
test eax, eax
je 0x40130c
call fcn.00401e10
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
push 0x404950
push ebp
call fcn.00402580
mov eax, dword [esp + 0x94]
add esp, 8
cmp dword [eax], 0
jne 0x401336
call fcn.00401e10
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x8c]
lea ecx, [eax + 4]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax]
push edx
call dword [sym.imp.MSVCRT.dll__strdup]
mov dword [esp + 0x1c], eax
add esp, 4
cmp byte [eax], 0
je 0x40136e
mov cl, byte [eax]
cmp cl, 0x2e
jne 0x401366
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40135c
mov eax, dword [esp + 0x88]
mov cl, byte [0x404948]
dec eax
test cl, cl
mov dword [esp + 0x88], eax
je 0x4013a0
mov eax, dword [esp + 0x5c]
push eax
push str.CLASSPATH_is__s_n_n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call ebx
add esp, 0xc
mov eax, dword [0x404940]
test eax, eax
je 0x401418
mov eax, dword [0x40493c]
mov ecx, dword [0x404944]
cmp ecx, eax
jne 0x4013fc
lea ecx, [ecx*4 + 4]
push ecx
call fcn.00402060
mov dword [esp + 0x18], eax
add esp, 4
mov ecx, dword [0x404944]
mov edi, eax
shl ecx, 2
mov esi, dword [0x404940]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x404940]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [0x404940], ecx
mov eax, dword [0x404944]
mov ecx, dword [0x404940]
mov dword [ecx + eax*4], 0
mov ecx, dword [0x404940]
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
push ebp
call fcn.00402520
add esp, 0x10
test eax, eax
je 0x401453
push str.Could_not_create_Java_VM_n
call dword [sym.imp.MSVCRT.dll___p__iob]
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 [0x404940]
test eax, eax
je 0x401466
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
push ecx
push eax
call dword [esi + 0x18]
mov esi, eax
test esi, esi
jne 0x4014ae
mov eax, dword [esp + 0x8c]
sub eax, 4
mov dword [esp + 0x8c], eax
mov ecx, dword [eax]
push ecx
push str.Class_not_found:__s_n
call dword [sym.imp.MSVCRT.dll___p__iob]
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 0x4014eb
push str.In_class__s:_public_static_void_main_String_args____is_not_defined_n
call dword [sym.imp.MSVCRT.dll___p__iob]
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 + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.00401c80
add esp, 0xc
mov ebx, eax
test ebx, ebx
jne 0x401520
mov eax, dword [esp + 0x10]
push str.Couldnt_build_argument_list_for_main_n
push eax
call fcn.00401e30
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 0x40154b
mov eax, dword [esp + 0x10]
push eax
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [esp + 0x1c]
push eax
mov ebx, dword [eax]
call dword [ebx + 0xc]
push ebp
call fcn.004024e0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x74
ret