Function at 0x4023ac
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 0x40249c
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 0x402481
mov eax, ebx
call fcn.00401ee8
test eax, eax
jl 0x402434
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 0x40248a
push 0xa
push str._XXaltjvm
push ebx
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x40245e
push 0xc
push str._J_XXaltjvm
push ebx
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40247b
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 0x40248a
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 0x402402
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 0x4024ec
mov esi, dword [ecx]
inc esi
cmp dword [ecx + 4], 4
jne 0x4024cc
call fcn.00403581
cmp al, 1
jne 0x4024cc
mov eax, dword [0x408054]
mov esi, dword [eax + 0xc]
inc esi
cmp byte [0x40804a], 0
je 0x4025d3
push esi
push str.Default_VM:__s_n
call dword [sym.imp.MSVCR71.dll_printf]
pop ecx
pop ecx
jmp 0x4025d3
test ebx, ebx
jl 0x4025d3
mov eax, ebx
shl eax, 4
xor edi, edi
cmp dword [eax + ecx + 4], 1
jne 0x402537
mov eax, ebx
shl eax, 4
mov eax, dword [eax + ecx + 8]
call fcn.00401ee8
cmp edi, dword [0x408058]
jg 0x402552
test eax, eax
jl 0x402568
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 0x402502
shl ebx, 4
mov ebx, dword [ebx + ecx + 4]
dec ebx
dec ebx
je 0x4025a8
dec ebx
je 0x402583
dec ebx
dec ebx
je 0x4025d0
jmp 0x4025d3
cmp byte [ebp + 0x10], 0
jne 0x4025a1
push 1
push str.Error:_Corrupt_jvm.cfg_file__cycle_in_alias_list.
call fcn.0040346b
pop ecx
pop ecx
jmp 0x402599
cmp byte [ebp + 0x10], 0
jne 0x4025a1
mov eax, dword [0x408054]
push 1
shl ebx, 4
push dword [ebx + eax + 8]
push str.Error:_Unable_to_resolve_VM_alias__s
jmp 0x402591
cmp byte [ebp + 0x10], 0
jne 0x4025a1
push 1
push esi
push str.Error:__s_VM_not_supported
call fcn.0040348e
add esp, 0xc
push 1
call dword [sym.imp.MSVCR71.dll_exit]
mov eax, str.ERROR
jmp 0x4025d5
cmp byte [ebp + 0x10], 0
jne 0x4025d0
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