Function at 0x4019d9
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0xffffffff
push str.JDK_ALTERNATE_VM
call dword [sym.imp.MSVCRTD.dll_getenv]
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
lea eax, [edx*4 + 4]
push eax
call fcn.00402ad6
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
jmp 0x401a48
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 4]
jge 0x401b4b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x24]
movsx edx, byte [ecx]
cmp edx, 0x2d
je 0x401a8b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x401a3f
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00403cfb
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x401ad1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0xc
mov ecx, dword [0x40f0b4]
mov edx, dword [ecx + eax]
add edx, 1
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
sub ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x401b2b
push 0xa
push str._XXaltjvm
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVCRTD.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x401b01
push 0xc
push str._J_XXaltjvm
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.MSVCRTD.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401b2b
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x24]
movsx eax, byte [edx + 1]
sub eax, 0x58
neg eax
sbb eax, eax
and eax, 2
add eax, 0xa
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], 0xffffffff
cmp dword [ebp - 0x1c], 0
jne 0x401b46
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
jmp 0x401a3f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jge 0x401b7b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov edx, dword [edx + esi*4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x401b4b
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov dword [eax + edx*4], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
cmp dword [ebp - 8], 0
jne 0x401bae
mov edx, dword [0x40f0b4]
mov eax, dword [edx]
add eax, 1
jmp 0x401d42
cmp dword [ebp - 0x18], 0
jge 0x401bbc
mov eax, dword [ebp - 8]
jmp 0x401d42
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
imul eax, eax, 0xc
mov ecx, dword [0x40f0b4]
cmp dword [ecx + eax + 4], 1
jne 0x401c9a
mov edx, dword [ebp - 0x18]
imul edx, edx, 0xc
mov eax, dword [0x40f0b4]
mov ecx, dword [eax + edx + 8]
push ecx
call fcn.00403cfb
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x28]
cmp edx, dword [0x40f0b8]
jle 0x401c2d
mov eax, dword [ebp + 0x10]
and eax, 0xff
test eax, eax
jne 0x401c23
push 1
push str.Error:_Corrupt_jvm.cfg_file__cycle_in_alias_list.
call fcn.004044bb
add esp, 8
push 1
call dword [sym.imp.MSVCRTD.dll_exit]
mov eax, 0x40c370
jmp 0x401d42
cmp dword [ebp - 0x2c], 0
jge 0x401c71
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
test ecx, ecx
jne 0x401c67
push 1
mov edx, dword [ebp - 0x18]
imul edx, edx, 0xc
mov eax, dword [0x40f0b4]
mov ecx, dword [eax + edx + 8]
push ecx
push str.Error:_Unable_to_resolve_VM_alias__s
call fcn.004044e8
add esp, 0xc
push 1
call dword [sym.imp.MSVCRTD.dll_exit]
mov eax, 0x40c3a0
jmp 0x401d42
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
imul eax, eax, 0xc
mov ecx, dword [0x40f0b4]
mov edx, dword [ecx + eax]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0x401bc3
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0xc
mov edx, dword [0x40f0b4]
mov eax, dword [edx + ecx + 4]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
je 0x401cbe
cmp dword [ebp - 0x30], 3
je 0x401d11
jmp 0x401d3f
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
test ecx, ecx
jne 0x401cf3
mov edx, dword [0x40f0b4]
mov eax, dword [edx]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
push str.Warning:__s_VM_not_supported___s_VM_will_be_used_n
mov edx, dword [sym.imp.MSVCRTD.dll__iob]
add edx, 0x40
push edx
call dword [sym.imp.MSVCRTD.dll_fprintf]
add esp, 0x10
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
imul eax, eax, 0xc
mov ecx, dword [0x40f0b4]
mov edx, dword [ecx + eax]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x401d3f
mov eax, dword [ebp + 0x10]
and eax, 0xff
test eax, eax
jne 0x401d38
push 1
mov ecx, dword [ebp - 8]
push ecx
push str.Error:__s_VM_not_supported
call fcn.004044e8
add esp, 0xc
push 1
call dword [sym.imp.MSVCRTD.dll_exit]
mov eax, 0x40c3f8
jmp 0x401d42
mov eax, dword [ebp - 8]
pop esi
mov esp, ebp
pop ebp
ret