Function at 0x401e5b
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
push edi
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x13c], 0xffffffff
mov eax, dword [0x40c418]
mov dword [ebp - 0x120], eax
mov ecx, dword [0x40c41c]
mov dword [ebp - 0x11c], ecx
mov edx, dword [0x40c420]
mov dword [ebp - 0x118], edx
mov eax, dword [0x40c424]
mov dword [ebp - 0x114], eax
mov cx, word [0x40c428]
mov word [ebp - 0x110], cx
mov dl, byte [0x40c42a]
mov byte [ebp - 0x10e], dl
mov ecx, 0x42
xor eax, eax
lea edi, [ebp - 0x10d]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push str._JAVA_VERSION_SET
call dword [sym.imp.MSVCRTD.dll_getenv]
add esp, 4
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
je 0x401f29
mov eax, dword [ebp - 0x154]
movsx ecx, byte [eax]
test ecx, ecx
je 0x401f24
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.MSVCRTD.dll__strdup]
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x4023d5
mov edx, dword [ebp + 8]
lea eax, [edx*4 + 4]
push eax
call fcn.00402ad6
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x134]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x138], 0
je 0x4020c8
mov eax, dword [ebp - 0x138]
movsx ecx, byte [eax]
cmp ecx, 0x2d
jne 0x4020c8
push 9
push 0x40c440
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.MSVCRTD.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401fc6
mov eax, dword [ebp - 0x138]
add eax, 9
mov dword [ebp - 0x130], eax
jmp 0x4020b1
push 0x40c44c
mov ecx, dword [ebp - 0x138]
push ecx
call sub.MSVCRTD.dll_strcmp
add esp, 8
test eax, eax
jne 0x401fed
mov dword [ebp - 0x13c], 1
jmp 0x4020b1
push 0x40c464
mov edx, dword [ebp - 0x138]
push edx
call sub.MSVCRTD.dll_strcmp
add esp, 8
test eax, eax
jne 0x402014
mov dword [ebp - 0x13c], 0
jmp 0x4020b1
push 0x40c47c
mov eax, dword [ebp - 0x138]
push eax
call sub.MSVCRTD.dll_strcmp
add esp, 8
test eax, eax
jne 0x402036
mov dword [ebp - 0x124], 1
push 0x40c484
mov ecx, dword [ebp - 0x138]
push ecx
call sub.MSVCRTD.dll_strcmp
add esp, 8
test eax, eax
je 0x402066
push 0x40c490
mov edx, dword [ebp - 0x138]
push edx
call sub.MSVCRTD.dll_strcmp
add esp, 8
test eax, eax
jne 0x40209d
cmp dword [ebp + 8], 1
jl 0x40209d
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x138]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x138]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
sub ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
jmp 0x401f6d
cmp dword [ebp + 8], 0
jg 0x4020da
mov dword [ebp - 0x128], 0
jmp 0x40210b
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x128]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
test ecx, ecx
jle 0x402139
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
jmp 0x40210b
mov edx, dword [ebp - 4]
mov dword [edx], 0
cmp dword [ebp - 0x124], 0
je 0x4021ba
cmp dword [ebp - 0x128], 0
je 0x4021ba
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.00404920
add esp, 8
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x4021b8
cmp dword [ebp - 0x12c], 0xffffffff
jne 0x40219a
push 1
mov edx, dword [ebp - 0x128]
push edx
push str.Unable_to_access_jarfile__s
call fcn.004044e8
add esp, 0xc
jmp 0x4021b0
push 1
mov eax, dword [ebp - 0x128]
push eax
push str.Invalid_or_corrupt_jarfile__s
call fcn.004044e8
add esp, 0xc
push 1
call dword [sym.imp.MSVCRTD.dll_exit]
jmp 0x4021df
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x144], 0
cmp dword [ebp - 0x130], 0
je 0x4021f4
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x148], ecx
cmp dword [ebp - 0x13c], 0xffffffff
je 0x402209
mov dl, byte [ebp - 0x13c]
mov byte [ebp - 0x144], dl
cmp dword [ebp - 0x14c], 0
je 0x402227
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.MSVCRTD.dll__strdup]
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp - 0x148], 0
jne 0x40224a
call fcn.00405486
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCRTD.dll_free]
add esp, 4
jmp 0x4023d5
mov eax, dword [ebp - 0x148]
push eax
call fcn.004059f7
add esp, 4
test eax, eax
jne 0x40227b
push 1
mov ecx, dword [ebp - 0x148]
push ecx
push str.Syntax_error_in_version_specification___s_
call fcn.004044e8
add esp, 0xc
push 1
call dword [sym.imp.MSVCRTD.dll_exit]
lea edx, [ebp - 0x150]
push edx
call fcn.00404557
add esp, 4
mov dword [ebp - 0x140], eax
xor eax, eax
mov al, byte [0x40f0b2]
test eax, eax
je 0x402325
cmp dword [ebp - 0x140], 0
je 0x4022b6
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x158], ecx
jmp 0x4022c0
mov dword [ebp - 0x158], 0x40c4fc
movsx edx, byte [ebp - 0x144]
test edx, edx
je 0x4022d7
mov dword [ebp - 0x15c], 0x40c504
jmp 0x4022e1
mov dword [ebp - 0x15c], str.false
cmp dword [ebp - 0x148], 0
je 0x4022f8
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x160], eax
jmp 0x402302
mov dword [ebp - 0x160], str.null
mov ecx, dword [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x160]
push eax
push str.JRE_Version___s__JRE_Restrict_Search___s_Selected___s_n
call dword [sym.imp.MSVCRTD.dll_printf]
add esp, 0x10
cmp dword [ebp - 0x140], 0
jne 0x40237b
mov ecx, dword [ebp - 0x148]
push ecx
push 0x40c558
call fcn.00405837
add esp, 8
test eax, eax
je 0x40235d
call fcn.00405486
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCRTD.dll_free]
add esp, 4
jmp 0x4023d5
push 1
mov eax, dword [ebp - 0x148]
push eax
push str.Unable_to_locate_JRE_meeting_specification___s_
call fcn.004044e8
add esp, 0xc
push 1
call dword [sym.imp.MSVCRTD.dll_exit]
cmp dword [ebp - 0x14c], 0
je 0x40239a
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x120]
push edx
call sub.MSVCRTD.dll_strcat
add esp, 8
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.MSVCRTD.dll__putenv]
add esp, 4
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call fcn.0040474b
add esp, 8
call fcn.00405486
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.MSVCRTD.dll_free]
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret