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 0x4053c8
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 0x401585
push eax
call sub.jli.dll_JLI_StringDup
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x401585
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 0x405374
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 0x4013dc
cmp esi, ecx
je 0x4013dc
lea eax, [ebp - 0x24]
push eax
push esi
call sub.jli.dll_JLI_ParseManifest
test eax, eax
pop ecx
pop ecx
je 0x4013bd
cmp eax, 0xffffffff
push 1
push esi
jne 0x4013ab
push str.Unable_to_access_jarfile__s
jmp 0x4013b0
push str.Invalid_or_corrupt_jarfile__s
call fcn.004034e9
add esp, 0xc
jmp 0x401598
cmp dword [ebp - 8], 0
jne 0x4013e9
cmp dword [ebp - 4], 0
jne 0x4013f5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40146f
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
jmp 0x4013e9
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 0x40142c
cmp dword [ebp - 8], 0
jne 0x40142c
push dword [ebp - 4]
call sub.MSVCR71.dll_strlen
mov esi, 0x4052e4
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 0x40146f
cmp dword [ebp - 8], 0
jne 0x40146f
push dword [ebp - 0xc]
call sub.MSVCR71.dll_strlen
mov esi, 0x4052d0
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 0x401479
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x401484
mov byte [ebp - 0x18], al
cmp dword [ebp - 0x20], 0
je 0x401498
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 0x40151d
push dword [ebp - 0x1c]
call sub.jli.dll_JLI_ValidVersionString
test eax, eax
pop ecx
jne 0x4014ba
push 1
push dword [ebp - 0x1c]
push str.Syntax_error_in_version_specification___s_
jmp 0x4013b0
lea eax, [ebp - 0x24]
push eax
call fcn.004036ec
cmp byte [0x40804a], 0
pop ecx
mov esi, eax
je 0x401506
test esi, esi
mov eax, str.null
mov edx, esi
jne 0x4014dc
mov edx, eax
cmp byte [ebp - 0x18], 0
mov ecx, str.true
jne 0x4014ec
mov ecx, str.false
cmp dword [ebp - 0x1c], 0
je 0x4014f5
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 0x40153c
push dword [ebp - 0x1c]
push str.1.6.0_18_b07
call sub.jli.dll_JLI_AcceptableRelease
test eax, eax
pop ecx
pop ecx
je 0x40152d
call sub.jli.dll_JLI_FreeManifest
push dword [ebp - 0x10]
call sub.jli.dll_JLI_MemFree
pop ecx
jmp 0x401585
push 1
push dword [ebp - 0x1c]
push str.Unable_to_locate_JRE_meeting_specification___s_
jmp 0x4013b0
cmp dword [ebp - 0x20], 0
je 0x401563
push dword [ebp - 0x20]
call sub.MSVCR71.dll_strlen
cmp eax, 0x104
pop ecx
ja 0x40158a
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.00403869
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.004034c6
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCR71.dll_exit]
int3