Function at 0x4023e3
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
or ebx, 0xffffffff
push str.JDK_ALTERNATE_VM
mov dword [ebp - 8], ebx
call dword [sym.imp.MSVCR71.dll_getenv]
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [eax*4 + 4]
push eax
call sub.jli.dll_JLI_MemAlloc
mov edi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [edi], eax
xor eax, eax
inc eax
cmp dword [ebp - 0x10], eax
pop ecx
pop ecx
mov ecx, dword [0x408054]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
jle 0x4024d3
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax + edx*4]
cmp byte [ebx], 0x2d
jne 0x4024b8
mov eax, ebx
call fcn.00401ee8
test eax, eax
jl 0x40246b
mov ecx, dword [0x408054]
mov dword [ebp - 8], eax
shl eax, 4
mov esi, dword [eax + ecx]
mov eax, dword [ebp + 8]
inc esi
dec dword [eax]
jmp 0x4024c1
push 0xa
push str._XXaltjvm
push ebx
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x402495
push 0xc
push str._J_XXaltjvm
push ebx
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4024b2
mov ecx, dword [0x408054]
xor eax, eax
cmp byte [ebx + 1], 0x58
setne al
lea eax, [eax + eax + 0xa]
add eax, ebx
or dword [ebp - 8], 0xffffffff
mov esi, eax
jmp 0x4024c1
mov ecx, dword [0x408054]
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
mov dword [edi + eax*4], ebx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jl 0x402439
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
and dword [edi + eax*4], 0
test esi, esi
mov edx, dword [ebp + 0xc]
mov dword [edx], edi
mov edx, dword [ebp + 8]
mov dword [edx], eax
jne 0x402523
mov esi, dword [ecx]
inc esi
cmp dword [ecx + 4], 4
jne 0x402503
call fcn.004035b8
cmp al, 1
jne 0x402503
mov eax, dword [0x408054]
mov esi, dword [eax + 0xc]
inc esi
cmp byte [0x40804a], 0
je 0x40260a
push esi
push str.Default_VM:__s_n
call dword [sym.imp.MSVCR71.dll_printf]
pop ecx
pop ecx
jmp 0x40260a
test ebx, ebx
jl 0x40260a
mov eax, ebx
shl eax, 4
xor edi, edi
cmp dword [eax + ecx + 4], 1
jne 0x40256e
mov eax, ebx
shl eax, 4
mov eax, dword [eax + ecx + 8]
call fcn.00401ee8
cmp edi, dword [0x408058]
jg 0x402589
test eax, eax
jl 0x40259f
mov ecx, dword [0x408054]
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
shl eax, 4
add eax, ecx
mov esi, dword [eax]
inc esi
inc edi
cmp dword [eax + 4], 1
je 0x402539
shl ebx, 4
mov ebx, dword [ebx + ecx + 4]
dec ebx
dec ebx
je 0x4025df
dec ebx
je 0x4025ba
dec ebx
dec ebx
je 0x402607
jmp 0x40260a
cmp byte [ebp + 0x10], 0
jne 0x4025d8
push 1
push str.Error:_Corrupt_jvm.cfg_file__cycle_in_alias_list.
call fcn.004034a2
pop ecx
pop ecx
jmp 0x4025d0
cmp byte [ebp + 0x10], 0
jne 0x4025d8
mov eax, dword [0x408054]
push 1
shl ebx, 4
push dword [ebx + eax + 8]
push str.Error:_Unable_to_resolve_VM_alias__s
jmp 0x4025c8
cmp byte [ebp + 0x10], 0
jne 0x4025d8
push 1
push esi
push str.Error:__s_VM_not_supported
call fcn.004034c5
add esp, 0xc
push 1
call dword [sym.imp.MSVCR71.dll_exit]
mov eax, str.ERROR
jmp 0x40260c
cmp byte [ebp + 0x10], 0
jne 0x402607
mov eax, dword [ecx]
inc eax
push eax
mov eax, dword [sym.imp.MSVCR71.dll__iob]
push esi
add eax, 0x40
push str.Warning:__s_VM_not_supported___s_VM_will_be_used_n
push eax
call dword [sym.imp.MSVCR71.dll_fprintf]
mov ecx, dword [0x408054]
add esp, 0x10
mov esi, dword [ecx]
inc esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret