Function at 0x4024c9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
call fcn.0040298f
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp byte [0x4063a2], 0
mov ebx, eax
je 0x4024f8
call fcn.00402e79
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov edi, dword [ebp + 8]
or edx, 0xffffffff
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x134]
mov eax, ecx
mov dword [ebp + 8], esi
mov esi, edi
mov edi, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x405df4
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x134]
mov ecx, edx
repne scasb al, byte es:[edi]
dec edi
mov esi, str.lib_
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, ebx
mov ecx, edx
repne scasb al, byte es:[edi]
lea esi, [ebp - 0x134]
not ecx
mov eax, esi
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, eax
mov ecx, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x134]
mov ecx, edx
repne scasb al, byte es:[edi]
dec edi
mov esi, str.jvm.cfg
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x134]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
pop ecx
jne 0x4025b2
lea eax, [ebp - 0x134]
push 1
push eax
push str.Error:_could_not_open___s
call fcn.00402f20
add esp, 0xc
push 1
call dword [sym.imp.MSVCRT.dll_exit]
push dword [ebp - 0xc]
lea eax, [ebp - 0x24c]
push 0x118
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x40281b
and dword [ebp - 0x10], 0
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
or dword [ebp + 8], 0xffffffff
inc dword [ebp - 4]
cmp byte [ebp - 0x24c], 0x23
je 0x4027fb
cmp byte [ebp - 0x24c], 0x2d
je 0x402616
lea eax, [ebp - 0x134]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push dword [ebp - 4]
add eax, 0x40
push str.Warning:_no_leading___on_line__d_of___s_n
push eax
call ebx
add esp, 0x10
mov eax, dword [ebp - 8]
cmp eax, dword [0x4063ac]
jl 0x402628
push eax
call fcn.0040285f
pop ecx
lea edi, [ebp - 0x24c]
or ecx, 0xffffffff
xor eax, eax
push dword [0x405070]
repne scasb al, byte es:[edi]
not ecx
dec ecx
and byte [ebp + ecx - 0x24d], al
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.MSVCRT.dll_strcspn]
cmp byte [ebp + eax - 0x24c], 0
lea esi, [ebp + eax - 0x24c]
pop ecx
pop ecx
jne 0x402679
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 4]
push 0x405e40
jmp 0x40270d
and byte [esi], 0
push dword [0x405070]
inc esi
push esi
call dword [sym.imp.MSVCRT.dll_strspn]
add esi, eax
pop ecx
pop ecx
cmp byte [esi], 0
jne 0x4026a4
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 4]
push str.Warning:_missing_VM_type_on_line__d_of___s_n
jmp 0x40270d
mov edi, dword [sym.imp.MSVCRT.dll_strncmp]
push 5
push str.KNOWN
push esi
call edi
add esp, 0xc
test eax, eax
je 0x402789
push 0xa
push str.ALIASED_TO
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x402738
push dword [0x405070]
mov edi, dword [sym.imp.MSVCRT.dll_strcspn]
push esi
call edi
add esi, eax
pop ecx
pop ecx
cmp byte [esi], 0
je 0x4026fe
push dword [0x405070]
push esi
call dword [sym.imp.MSVCRT.dll_strspn]
add esi, eax
pop ecx
pop ecx
cmp byte [esi], 0
jne 0x40271d
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 4]
push str.Warning:_missing_VM_alias_on_line__d_of___s_n
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call ebx
add esp, 0x10
jmp 0x40278d
push dword [0x405070]
mov dword [ebp - 0x1c], esi
push esi
call edi
and byte [eax + esi], 0
pop ecx
pop ecx
mov dword [ebp + 8], 1
jmp 0x40278d
push 4
push str.WARN
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x402752
mov dword [ebp + 8], 2
jmp 0x40278d
push 5
push str.ERROR
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x40276c
mov dword [ebp + 8], 3
jmp 0x40278d
lea eax, [ebp - 0x134]
push eax
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push dword [ebp - 4]
add eax, 0x40
push str.Warning:_unknown_VM_type_on_line__d_of___s_n
push eax
call ebx
add esp, 0x10
and dword [ebp + 8], 0
cmp byte [0x4063a2], 0
je 0x4027ae
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 8]
push str.jvm.cfg__d______s___n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0xc
cmp dword [ebp + 8], 0xffffffff
je 0x4027fb
mov edi, dword [sym.imp.MSVCRT.dll__strdup]
lea eax, [ebp - 0x24c]
push eax
call edi
mov esi, dword [ebp - 0x10]
pop ecx
mov ecx, dword [0x4063a4]
mov dword [esi + ecx], eax
mov ecx, dword [0x4063a4]
mov eax, dword [ebp + 8]
cmp eax, 1
mov dword [esi + ecx + 4], eax
jne 0x4027f2
push dword [ebp - 0x1c]
call edi
pop ecx
mov ecx, dword [0x4063a4]
mov dword [esi + ecx + 8], eax
inc dword [ebp - 8]
add esi, 0xc
mov dword [ebp - 0x10], esi
push dword [ebp - 0xc]
lea eax, [ebp - 0x24c]
push 0x118
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x4025dc
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.dll_fclose]
mov esi, dword [ebp - 8]
cmp byte [0x4063a2], 0
pop ecx
mov dword [0x4063a8], esi
je 0x402858
call fcn.00402e79
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
push edx
push eax
call fcn.00402ebf
push eax
push str._ld_micro_seconds_to_parse_jvm.cfg_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret