Function at 0x403633
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x447504]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x354], eax
mov eax, dword [ebp + 0xc]
push edi
push str.Setting_up_Online_JRE
mov dword [ebp - 0x358], eax
call fcn.00409c63
pop ecx
call fcn.00402bea
mov edi, str.JWrapper_
push edi
push dword [0x44aa24]
mov ebx, eax
lea eax, [ebp - 0x248]
call fcn.00409a7e
push dword [0x44aa40]
lea eax, [ebp - 0x248]
push eax
call fcn.00418d20
mov esi, str._version.txt
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.00418d20
push dword [ebp - 0x358]
lea eax, [ebp - 0x140]
push eax
mov byte [ebp - 0x140], 0
call fcn.00418d20
push esi
push dword [0x44aa40]
lea esi, [ebp - 0x140]
push edi
call fcn.0040a2a6
add esp, 0x2c
call fcn.00408c8e
push eax
push str.platform
push ebx
push str._time
call fcn.0040a2ca
call fcn.00408c6a
push eax
mov eax, esi
push str.os
push eax
call fcn.0040a285
add esp, 0x1c
push ebx
call fcn.00418a1a
cmp byte [0x44aa2e], 0
pop ecx
jne 0x40371e
cmp byte [ebp + 0x10], 0
jne 0x40371e
call fcn.00405877
lea eax, [ebp - 0x140]
push eax
push str._JREDownload__Fetching_JRE_Version_from__s_n
call fcn.00409ab5
lea eax, [ebp - 0x248]
push eax
push str._JREDownload__Saving_into__s_n
call fcn.00409ab5
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00407bed
add esp, 0x18
test eax, eax
je 0x4039a4
call fcn.004011ed
test al, al
je 0x403770
push 0xffffffffffffffff
call fcn.00407948
jmp 0x403775
call fcn.00404e35
lea eax, [ebp - 0x248]
push eax
push str._JREDownload__JRE_version_downloaded_OK___s__n
call fcn.00409ab5
lea eax, [ebp - 0x248]
push 0x440b50
push eax
call fcn.0041a088
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4037b3
call fcn.00418f19
push dword [eax]
push str._JREDownload___Unable_to_open_version_file____d__n
call fcn.00409ab5
pop ecx
pop ecx
push str._JREDownload__Extracting_version..._n
xor esi, esi
call fcn.00409ab5
pop ecx
jmp 0x4037db
cmp eax, 0xd
je 0x403820
cmp eax, 0xa
je 0x403820
cmp eax, 0x20
je 0x403820
cmp esi, 0x32
mov byte [ebp + esi - 0x38], al
jge 0x4037e9
inc esi
push ebx
call fcn.0041b809
cmp eax, 0xffffffff
pop ecx
jne 0x4037c2
jmp 0x40382b
push str._n_JREDownload__Version_invalid__too_long__n
call fcn.00409ab5
test ebx, ebx
pop ecx
je 0x4037ff
push ebx
call fcn.0041b78d
pop ecx
cmp byte [0x44aa2e], 0
jne 0x4039c3
cmp byte [ebp + 0x10], 0
jne 0x4039c3
call fcn.00405840
jmp 0x4039c3
push str._n_JREDownload__Spaces_in_version_file__assuming_EOF_n
call fcn.00409ab5
pop ecx
test ebx, ebx
je 0x403836
push ebx
call fcn.0041b78d
pop ecx
lea eax, [ebp - 0x38]
push eax
push str._JREDownload__JRE_Version_is__s_n
mov byte [ebp + esi - 0x38], 0
call fcn.00409ab5
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x354]
call fcn.004035c3
add esp, 0x10
test al, al
je 0x403886
lea eax, [ebp - 0x38]
push eax
push dword [0x44aa40]
mov eax, dword [0x44aa1c]
push dword [ebp - 0x354]
call fcn.00401cb4
mov eax, dword [0x44aa1c]
add esp, 0xc
jmp 0x4039c5
push 0x104
call fcn.00418af7
pop ecx
push dword [ebp - 0x354]
mov ebx, eax
mov esi, ebx
call fcn.00401ce3
pop ecx
push ebx
call fcn.004099d0
pop ecx
mov ecx, ebx
call fcn.00401340
push dword [0x44aa40]
lea esi, [ebp - 0x350]
push edi
push dword [ebp - 0x358]
mov byte [ebp - 0x350], 0
call fcn.0040a2a6
add esp, 0xc
push str._archive.p2.l2
lea eax, [ebp - 0x38]
push eax
push 0x440248
call fcn.0040a2a6
add esp, 0xc
push ebx
call fcn.0040169a
cmp byte [0x44aa2e], 0
pop ecx
mov dword [0x456de8], eax
jne 0x403907
cmp byte [ebp + 0x10], 0
jne 0x403907
call fcn.00405877
push ebx
push str._JREDownload__Extracting_JRE_archive_to__s_n
call fcn.00409ab5
lea eax, [ebp - 0x350]
push ebx
push eax
call fcn.00407cd4
add esp, 0x10
test eax, eax
jne 0x40393c
push str._JREDownload__Failed_to_download_and_extract_JRE_archive._n
call fcn.00409ab5
pop ecx
push ebx
call fcn.00418a1a
jmp 0x4039c2
lea eax, [ebp - 0x38]
push eax
push dword [0x44aa40]
mov eax, dword [0x44aa1c]
push dword [ebp - 0x354]
call fcn.00401cb4
add esp, 0xc
push str._JREDownload__Regenerating_jsa..._n
call fcn.00409ab5
pop ecx
push ebx
call fcn.00401645
pop ecx
mov esi, eax
call fcn.00406bce
mov edi, eax
push esi
push edi
call fcn.00406c27
mov edx, str._Xshare:dump
mov ecx, edi
call fcn.00406bfc
call fcn.00406c56
push edi
call fcn.00418a1a
add esp, 0xc
push str.Setting_up_Online_JRE
call fcn.00409c8b
pop ecx
mov eax, ebx
jmp 0x4039c5
cmp byte [0x44aa2e], 0
jne 0x4039b8
cmp byte [ebp + 0x10], 0
jne 0x4039b8
call fcn.00405840
push str._JREDownload__Failed_to_download_JRE_version_file_n
call fcn.00409b66
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418a0b
leave
ret