Function at 0x4011b5
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
mov esi, str._JAVA_VERSION_SET
lea edi, [ebp - 0x14c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [ebp - 0x28], 0xffffffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ebx, eax
push 0x42
pop ecx
xor eax, eax
lea edi, [ebp - 0x139]
rep stosd dword es:[edi], eax
xor edx, edx
push 0x405398
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], edx
stosb byte es:[edi], al
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
call dword [sym.imp.MSVCR71.dll_getenv]
test eax, eax
pop ecx
je 0x401222
cmp byte [eax], 0
je 0x401578
push eax
call sub.jli.dll_JLI_StringDup
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x401578
mov eax, dword [ebp + 8]
lea eax, [eax*4 + 4]
push eax
call sub.jli.dll_JLI_MemAlloc
pop ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x10], eax
mov dword [eax], ecx
lea edi, [eax + 4]
jmp 0x401342
cmp byte [esi], 0x2d
jne 0x401352
push 9
push str._version:
push esi
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40126b
add esi, 9
mov dword [ebp - 0x30], esi
jmp 0x401342
push str._jre_restrict_search
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x401288
mov dword [ebp - 0x28], 1
jmp 0x401342
push str._no_jre_restrict_search
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4012a1
and dword [ebp - 0x28], eax
jmp 0x401342
push str._jar
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4012b9
mov dword [ebp - 0x2c], 1
push str._classpath
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x4012db
push 0x405344
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4012ee
cmp dword [ebp + 8], 2
jl 0x4012ee
mov dword [edi], esi
add edi, 4
dec dword [ebp + 8]
add ebx, 4
mov esi, dword [ebx]
push str._Djava.awt.headlesstrue
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x401308
mov dword [ebp - 8], 1
jmp 0x40133d
push 0x14
push str._Djava.awt.headless
push esi
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401322
and dword [ebp - 8], eax
jmp 0x40133d
push 8
push str._splash:
push esi
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40133d
lea eax, [esi + 8]
mov dword [ebp - 4], eax
mov dword [edi], esi
add edi, 4
dec dword [ebp + 8]
add ebx, 4
mov esi, dword [ebx]
test esi, esi
jne 0x401242
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
jg 0x40135f
xor esi, esi
jmp 0x40136a
mov esi, dword [ebx]
mov dword [edi], esi
dec eax
add edi, 4
add ebx, 4
cmp eax, ecx
jle 0x40137b
mov edx, dword [ebx]
mov dword [edi], edx
add edi, 4
add ebx, 4
dec eax
jne 0x40136e
cmp dword [ebp - 0x2c], ecx
mov ebx, dword [sym.imp.MSVCR71.dll__putenv]
mov dword [edi], ecx
je 0x4013d7
cmp esi, ecx
je 0x4013d7
lea eax, [ebp - 0x24]
push eax
push esi
call sub.jli.dll_JLI_ParseManifest
test eax, eax
pop ecx
pop ecx
je 0x4013b8
cmp eax, 0xffffffff
push 1
push esi
jne 0x4013ae
push str.Unable_to_access_jarfile__s
jmp 0x40152f
push str.Invalid_or_corrupt_jarfile__s
jmp 0x40152f
cmp dword [ebp - 8], 0
jne 0x4013e4
cmp dword [ebp - 4], 0
jne 0x4013f0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40146a
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
jmp 0x4013e4
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x18], 0
cmp dword [ebp - 4], 0
je 0x401427
cmp dword [ebp - 8], 0
jne 0x401427
push dword [ebp - 4]
call sub.MSVCR71.dll_strlen
mov esi, 0x4052b4
push esi
mov edi, eax
call sub.MSVCR71.dll_strlen
lea eax, [edi + eax + 1]
push eax
call sub.jli.dll_JLI_MemAlloc
mov edi, eax
push esi
push edi
call sub.MSVCR71.dll_strcpy
push dword [ebp - 4]
push edi
call sub.MSVCR71.dll_strcat
push edi
call ebx
add esp, 0x20
cmp dword [ebp - 0xc], 0
je 0x40146a
cmp dword [ebp - 8], 0
jne 0x40146a
push dword [ebp - 0xc]
call sub.MSVCR71.dll_strlen
mov esi, 0x4052a0
push esi
mov edi, eax
call sub.MSVCR71.dll_strlen
lea eax, [edi + eax + 1]
push eax
call sub.jli.dll_JLI_MemAlloc
mov edi, eax
push esi
push edi
call sub.MSVCR71.dll_strcpy
push dword [ebp - 0xc]
push edi
call sub.MSVCR71.dll_strcat
push edi
call ebx
add esp, 0x20
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x401474
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x40147f
mov byte [ebp - 0x18], al
cmp dword [ebp - 0x20], 0
je 0x401493
push dword [ebp - 0x20]
call sub.jli.dll_JLI_StringDup
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp dword [ebp - 0x1c], 0
je 0x401515
push dword [ebp - 0x1c]
call sub.jli.dll_JLI_ValidVersionString
test eax, eax
pop ecx
jne 0x4014b2
push 1
push dword [ebp - 0x1c]
push str.Syntax_error_in_version_specification___s_
jmp 0x40152f
lea eax, [ebp - 0x24]
push eax
call fcn.00403692
cmp byte [0x40804a], 0
pop ecx
mov esi, eax
je 0x4014fe
test esi, esi
mov eax, str.null
mov edx, esi
jne 0x4014d4
mov edx, eax
cmp byte [ebp - 0x18], 0
mov ecx, str.true
jne 0x4014e4
mov ecx, str.false
cmp dword [ebp - 0x1c], 0
je 0x4014ed
mov eax, dword [ebp - 0x1c]
push edx
push ecx
push eax
push str.JRE_Version___s__JRE_Restrict_Search___s_Selected___s_n
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 0x10
test esi, esi
jne 0x40153f
push dword [ebp - 0x1c]
push 0x405210
call sub.jli.dll_JLI_AcceptableRelease
test eax, eax
pop ecx
pop ecx
je 0x401525
call sub.jli.dll_JLI_FreeManifest
push dword [ebp - 0x10]
call sub.jli.dll_JLI_MemFree
pop ecx
jmp 0x401578
push 1
push dword [ebp - 0x1c]
push str.Unable_to_locate_JRE_meeting_specification___s_
call fcn.0040348e
add esp, 0xc
push 1
call dword [sym.imp.MSVCR71.dll_exit]
cmp dword [ebp - 0x20], 0
je 0x401556
push dword [ebp - 0x20]
lea eax, [ebp - 0x14c]
push eax
call sub.MSVCR71.dll_strcat
pop ecx
pop ecx
lea eax, [ebp - 0x14c]
push eax
call ebx
push dword [ebp - 0x10]
push esi
call fcn.0040380f
call sub.jli.dll_JLI_FreeManifest
push dword [ebp - 0x10]
call sub.jli.dll_JLI_MemFree
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret