Function at 0x4011bc
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 0x4053c4
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 0x401229
cmp byte [eax], 0
je 0x40158c
push eax
call sub.jli.dll_JLI_StringDup
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x40158c
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 0x401349
cmp byte [esi], 0x2d
jne 0x401359
push 9
push str._version:
push esi
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401272
add esi, 9
mov dword [ebp - 0x30], esi
jmp 0x401349
push str._jre_restrict_search
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x40128f
mov dword [ebp - 0x28], 1
jmp 0x401349
push str._no_jre_restrict_search
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4012a8
and dword [ebp - 0x28], eax
jmp 0x401349
push str._jar
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4012c0
mov dword [ebp - 0x2c], 1
push str._classpath
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
je 0x4012e2
push 0x405370
push esi
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4012f5
cmp dword [ebp + 8], 2
jl 0x4012f5
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 0x40130f
mov dword [ebp - 8], 1
jmp 0x401344
push 0x14
push str._Djava.awt.headless
push esi
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401329
and dword [ebp - 8], eax
jmp 0x401344
push 8
push str._splash:
push esi
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401344
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 0x401249
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
jg 0x401366
xor esi, esi
jmp 0x401371
mov esi, dword [ebx]
mov dword [edi], esi
dec eax
add edi, 4
add ebx, 4
cmp eax, ecx
jle 0x401382
mov edx, dword [ebx]
mov dword [edi], edx
add edi, 4
add ebx, 4
dec eax
jne 0x401375
cmp dword [ebp - 0x2c], ecx
mov ebx, dword [sym.imp.MSVCR71.dll__putenv]
mov dword [edi], ecx
je 0x4013e3
cmp esi, ecx
je 0x4013e3
lea eax, [ebp - 0x24]
push eax
push esi
call sub.jli.dll_JLI_ParseManifest
test eax, eax
pop ecx
pop ecx
je 0x4013c4
cmp eax, 0xffffffff
push 1
push esi
jne 0x4013b2
push str.Unable_to_access_jarfile__s
jmp 0x4013b7
push str.Invalid_or_corrupt_jarfile__s
call fcn.00403550
add esp, 0xc
jmp 0x40159f
cmp dword [ebp - 8], 0
jne 0x4013f0
cmp dword [ebp - 4], 0
jne 0x4013fc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401476
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
jmp 0x4013f0
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 0x401433
cmp dword [ebp - 8], 0
jne 0x401433
push dword [ebp - 4]
call sub.MSVCR71.dll_strlen
mov esi, 0x4052e0
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 0x401476
cmp dword [ebp - 8], 0
jne 0x401476
push dword [ebp - 0xc]
call sub.MSVCR71.dll_strlen
mov esi, 0x4052cc
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 0x401480
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x40148b
mov byte [ebp - 0x18], al
cmp dword [ebp - 0x20], 0
je 0x40149f
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 0x401524
push dword [ebp - 0x1c]
call sub.jli.dll_JLI_ValidVersionString
test eax, eax
pop ecx
jne 0x4014c1
push 1
push dword [ebp - 0x1c]
push str.Syntax_error_in_version_specification___s_
jmp 0x4013b7
lea eax, [ebp - 0x24]
push eax
call fcn.00403753
cmp byte [0x40804a], 0
pop ecx
mov esi, eax
je 0x40150d
test esi, esi
mov eax, str.null
mov edx, esi
jne 0x4014e3
mov edx, eax
cmp byte [ebp - 0x18], 0
mov ecx, str.true
jne 0x4014f3
mov ecx, str.false
cmp dword [ebp - 0x1c], 0
je 0x4014fc
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 0x401543
push dword [ebp - 0x1c]
push str.1.6.0_35_b10
call sub.jli.dll_JLI_AcceptableRelease
test eax, eax
pop ecx
pop ecx
je 0x401534
call sub.jli.dll_JLI_FreeManifest
push dword [ebp - 0x10]
call sub.jli.dll_JLI_MemFree
pop ecx
jmp 0x40158c
push 1
push dword [ebp - 0x1c]
push str.Unable_to_locate_JRE_meeting_specification___s_
jmp 0x4013b7
cmp dword [ebp - 0x20], 0
je 0x40156a
push dword [ebp - 0x20]
call sub.MSVCR71.dll_strlen
cmp eax, 0x104
pop ecx
ja 0x401591
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.004038d0
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
push 1
push str.Error:_main_class:_attribute_exceeds_system_limits_n
call fcn.0040352d
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCR71.dll_exit]
int3