Function at 0x40153c
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.JDK_ALTERNATE_VM
or ebx, 0xffffffff
call dword [sym.imp.MSVCRT.dll_getenv]
mov esi, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x14], edi
lea eax, [edi*4 + 4]
push eax
call fcn.004020c4
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
mov ecx, dword [ebp + 0xc]
push 1
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov dword [eax], ecx
pop ecx
cmp edi, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
jle 0x40162e
lea ecx, [eax + 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov edi, dword [ecx + edx*4]
cmp byte [edi], 0x2d
je 0x4015ad
mov ecx, dword [ebp - 4]
inc dword [ebp - 8]
add dword [ebp - 4], 4
mov dword [ecx], edi
jmp 0x40161f
push edi
call fcn.00402f77
test eax, eax
pop ecx
jl 0x4015ce
mov ecx, dword [0x40b0d4]
mov ebx, eax
shl eax, 4
mov esi, dword [eax + ecx]
mov eax, dword [ebp + 8]
inc esi
dec dword [eax]
jmp 0x40161c
push 0xa
push str._XXaltjvm
push edi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x4015f8
push 0xc
push str._J_XXaltjvm
push edi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401610
xor eax, eax
cmp byte [edi + 1], 0x58
setne al
dec eax
and al, 0xfe
add eax, 0xc
add eax, edi
or ebx, 0xffffffff
mov esi, eax
jmp 0x40161c
mov eax, dword [ebp - 4]
inc dword [ebp - 8]
add dword [ebp - 4], 4
mov dword [eax], edi
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x14]
jl 0x40158f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
xor edi, edi
mov dword [eax + ecx*4], edi
mov dword [edx], eax
mov eax, dword [ebp + 8]
cmp esi, edi
mov dword [eax], ecx
jne 0x401684
mov eax, dword [0x40b0d4]
mov esi, dword [eax]
inc esi
cmp dword [eax + 4], 4
jne 0x401664
call fcn.00403610
cmp al, 1
jne 0x401664
mov eax, dword [0x40b0d4]
mov esi, dword [eax + 0xc]
inc esi
cmp byte [0x40b0d2], 0
je 0x401795
push esi
push str.Default_VM:__s_n
call dword [sym.imp.MSVCRT.dll_printf]
pop ecx
pop ecx
jmp 0x401795
cmp ebx, edi
jl 0x401795
mov ecx, dword [0x40b0d4]
mov eax, ebx
shl eax, 4
cmp dword [eax + ecx + 4], 1
jne 0x4016d0
mov eax, ebx
shl eax, 4
push dword [eax + ecx + 8]
call fcn.00402f77
cmp edi, dword [0x40b0d8]
pop ecx
jg 0x4016ef
test eax, eax
jl 0x401715
mov ecx, dword [0x40b0d4]
mov ebx, eax
shl eax, 4
add eax, ecx
mov esi, dword [eax]
inc esi
inc edi
cmp dword [eax + 4], 1
je 0x40169e
shl ebx, 4
mov ebx, dword [ebx + ecx + 4]
dec ebx
dec ebx
je 0x40176a
dec ebx
je 0x401745
dec ebx
dec ebx
je 0x401792
jmp 0x401795
cmp byte [ebp + 0x10], 0
jne 0x40170b
push 1
push str.Error:_Corrupt_jvm.cfg_file__cycle_in_alias_list.
call fcn.004035ac
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, 0x408374
jmp 0x401797
cmp byte [ebp + 0x10], 0
jne 0x40173e
mov eax, dword [0x40b0d4]
push 1
shl ebx, 4
push dword [ebx + eax + 8]
push str.Error:_Unable_to_resolve_VM_alias__s
call fcn.004035cf
add esp, 0xc
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, 0x4083a4
jmp 0x401797
cmp byte [ebp + 0x10], 0
jne 0x401763
push 1
push esi
push str.Error:__s_VM_not_supported
call fcn.004035cf
add esp, 0xc
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, 0x4083fc
jmp 0x401797
cmp byte [ebp + 0x10], 0
jne 0x401792
mov eax, dword [ecx]
inc eax
push eax
mov eax, dword [sym.imp.MSVCRT.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.MSVCRT.dll_fprintf]
mov ecx, dword [0x40b0d4]
add esp, 0x10
mov esi, dword [ecx]
inc esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret