Function at 0x10006302
Capabilities:
Query environment variable
Terminate process

Disassembly:
sub esp, 0x20
push ebx
push ebp
xor ebx, ebx
push str._JAVA_VERSION_SET
mov dword [esp + 0x14], ebx
mov ebp, ebx
mov dword [esp + 0x10], ebx
call dword [sym.imp.MSVCR120.dll_getenv]
pop ecx
test eax, eax
je 0x1000633c
cmp byte [eax], bl
je 0x10006551
push eax
call sym.jli.dll__JLI_StringDup_4
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
jmp 0x10006551
push esi
push edi
mov edi, dword [esp + 0x38]
jmp 0x1000641d
cmp byte [esi], 0x2d
jne 0x10006433
push edi
push eax
call fcn.10004908
push str._version:
push esi
mov byte [esp + 0x23], al
call fcn.1000809a
add esp, 0x10
test eax, eax
jne 0x10006374
push str.Error:_Specifying_an_alternate_JDK_JRE_version_is_no_longer_supported._n__The_use_of_the_flag__version:_is_no_longer_valid._n__Please_download_and_execute_the_appropriate_version.
jmp 0x1000639b
push str._jre_restrict_search
push esi
call fcn.100099d8
pop ecx
pop ecx
test eax, eax
je 0x10006396
push str._jre_no_restrict_search
push esi
call fcn.100099d8
pop ecx
pop ecx
test eax, eax
jne 0x100063a3
push str.Error:_Specifying_an_alternate_JDK_JRE_is_no_longer_supported._n__The_related_flags__jre_restrict_search___jre_no_restrict_search_are_also_no_longer_valid.
call sym.jli.dll_JLI_ReportErrorMessage
pop ecx
jmp 0x1000641d
push str._jar
push esi
call fcn.100099d8
mov ecx, dword [esp + 0x20]
test eax, eax
push 1
pop eax
cmove ecx, eax
push esi
mov dword [esp + 0x24], ecx
call fcn.10004976
add esp, 0xc
test al, al
je 0x100063da
cmp byte [esp + 0x13], bl
je 0x100063da
dec dword [esp + 0x34]
add edi, 4
mov esi, dword [edi]
push str._Djava.awt.headlesstrue
push esi
call fcn.100099d8
pop ecx
pop ecx
test eax, eax
jne 0x100063f2
inc eax
mov dword [esp + 0x14], eax
jmp 0x1000641d
push str._Djava.awt.headless
push esi
call fcn.1000809a
pop ecx
pop ecx
test eax, eax
jne 0x10006409
mov dword [esp + 0x14], ebx
jmp 0x1000641d
push str._splash:
push esi
call fcn.1000809a
pop ecx
pop ecx
test eax, eax
jne 0x1000641d
lea ebp, [esi + 8]
mov eax, dword [esp + 0x34]
add edi, 4
dec eax
mov dword [esp + 0x34], eax
mov esi, dword [edi]
test esi, esi
jne 0x10006347
mov esi, ebx
test eax, eax
jle 0x1000643b
mov esi, dword [edi]
cmp dword [esp + 0x18], ebx
je 0x10006495
test esi, esi
je 0x10006495
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10008240
pop ecx
pop ecx
test eax, eax
je 0x10006479
push esi
cmp eax, 0xffffffff
jne 0x10006463
push str.Error:_Unable_to_access_jarfile__s
jmp 0x10006468
push str.Error:_Invalid_or_corrupt_jarfile__s
call sym.jli.dll_JLI_ReportErrorMessage
pop ecx
xor eax, eax
pop ecx
inc eax
push eax
call dword [sym.imp.MSVCR120.dll_exit]
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x100064a9
test ebp, ebp
jne 0x100064b1
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x1000652d
mov ebx, esi
jmp 0x100064a9
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
test ebp, ebp
je 0x100064ed
test edi, edi
jne 0x100064ed
push ebp
call fcn.100099de
mov dword [esp], 0x1000c8f0
lea esi, [eax + 1]
call fcn.100099de
pop ecx
add eax, esi
push eax
call sym.jli.dll__JLI_MemAlloc_4
mov esi, eax
push 0x1000c8f0
push esi
call fcn.10009c46
push ebp
push esi
call sub.MSVCR120.dll_strcat
push esi
call dword [sym.imp.MSVCR120.dll__putenv]
add esp, 0x14
test ebx, ebx
je 0x1000652d
test edi, edi
jne 0x1000652d
push ebx
call fcn.100099de
mov edi, 0x1000c904
push edi
lea esi, [eax + 1]
call fcn.100099de
pop ecx
pop ecx
add eax, esi
push eax
call sym.jli.dll__JLI_MemAlloc_4
mov esi, eax
push edi
push esi
call fcn.10009c46
push ebx
push esi
call sub.MSVCR120.dll_strcat
push esi
call dword [sym.imp.MSVCR120.dll__putenv]
add esp, 0x14
cmp dword [esp + 0x20], 0
je 0x10006543
push dword [esp + 0x20]
call sym.jli.dll__JLI_StringDup_4
mov ecx, dword [esp + 0x3c]
mov dword [ecx], eax
cmp dword [esp + 0x24], 0
jne 0x1000654f
call fcn.10008108
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret