Function at 0x4021b8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 0xc], 0xffffffff
push ebx
push esi
push edi
push str.JDK_ALTERNATE_VM
call fcn.004078c9
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [eax*4 + 4]
push eax
call fcn.00404243
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x10], ebx
pop ecx
pop ecx
mov dword [esi], eax
mov dword [ebp - 8], ebx
jle 0x4022f4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
push str._classpath
push eax
mov dword [ebp - 4], eax
call fcn.004077c0
test eax, eax
pop ecx
pop ecx
je 0x4022af
push 0x413364
push dword [ebp - 4]
call fcn.004077c0
test eax, eax
pop ecx
pop ecx
je 0x4022af
mov eax, dword [ebp - 4]
cmp byte [eax], 0x2d
jne 0x4022dd
call fcn.00401cc2
test eax, eax
jl 0x402264
mov ecx, dword [0x419e1c]
mov dword [ebp - 0xc], eax
shl eax, 4
mov edi, dword [eax + ecx]
mov eax, dword [ebp + 8]
inc edi
dec dword [eax]
jmp 0x4022ce
push 0xa
push str._XXaltjvm
push dword [ebp - 4]
call fcn.004070b0
add esp, 0xc
test eax, eax
je 0x402290
push 0xc
push str._J_XXaltjvm
push dword [ebp - 4]
call fcn.004070b0
add esp, 0xc
test eax, eax
jne 0x4022aa
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp byte [eax + 1], 0x58
setne cl
lea ecx, [ecx + ecx + 0xa]
add ecx, eax
or dword [ebp - 0xc], 0xffffffff
mov edi, ecx
jmp 0x4022ce
mov eax, dword [ebp - 4]
jmp 0x4022ca
mov eax, dword [ebp - 4]
mov dword [esi + ebx*4], eax
mov eax, dword [ebp - 8]
inc ebx
inc eax
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jge 0x4022ce
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov dword [esi + ebx*4], eax
inc ebx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jl 0x402202
mov eax, dword [ebp - 8]
jmp 0x4022ef
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
mov dword [esi + ebx*4], ecx
inc ebx
inc eax
cmp eax, dword [ebp - 0x10]
jl 0x4022e2
and dword [esi + ebx*4], 0
test edi, edi
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jne 0x402343
mov eax, dword [0x419e1c]
mov esi, dword [eax]
inc esi
cmp dword [eax + 4], 4
jne 0x402326
call fcn.004034a9
cmp al, 1
jne 0x402326
mov eax, dword [0x419e1c]
mov esi, dword [eax + 0xc]
inc esi
cmp byte [0x419e12], 0
je 0x40233c
push esi
push str.Default_VM:__s_n
call fcn.0040764c
pop ecx
pop ecx
mov eax, esi
jmp 0x402427
mov esi, dword [ebp - 0xc]
test esi, esi
jl 0x402425
mov ecx, dword [0x419e1c]
mov eax, esi
shl eax, 4
xor ebx, ebx
cmp dword [eax + ecx + 4], 1
jne 0x402397
mov eax, esi
shl eax, 4
mov eax, dword [eax + ecx + 8]
call fcn.00401cc2
cmp ebx, dword [0x419e20]
jg 0x4023ab
test eax, eax
jl 0x4023c1
mov ecx, dword [0x419e1c]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0xc]
shl eax, 4
add eax, ecx
mov edi, dword [eax]
inc edi
inc ebx
cmp dword [eax + 4], 1
je 0x402362
shl esi, 4
mov esi, dword [esi + ecx + 4]
dec esi
dec esi
je 0x402400
dec esi
je 0x4023dc
dec esi
dec esi
je 0x40241d
jmp 0x402425
cmp byte [ebp + 0x10], 0
jne 0x4023f9
push 1
push str.Error:_Corrupt_jvm.cfg_file__cycle_in_alias_list.
call fcn.004032f4
pop ecx
pop ecx
jmp 0x4023f2
cmp byte [ebp + 0x10], 0
jne 0x4023f9
mov eax, dword [0x419e1c]
push 1
shl esi, 4
push dword [esi + eax + 8]
push str.Error:_Unable_to_resolve_VM_alias__s
jmp 0x4023ea
cmp byte [ebp + 0x10], 0
jne 0x4023f9
push 1
push edi
push str.Error:__s_VM_not_supported
call fcn.0040330f
add esp, 0xc
push 1
call fcn.0040760c
mov eax, str.ERROR
jmp 0x402427
cmp byte [ebp + 0x10], 0
jne 0x40241d
mov eax, dword [ecx]
inc eax
push eax
push edi
push str.Warning:__s_VM_not_supported___s_VM_will_be_used_n
push 0x419210
call fcn.00407970
add esp, 0x10
mov eax, dword [0x419e1c]
mov edi, dword [eax]
inc edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret