Function at 0x4268e0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474211
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1794
call fcn.004675f0
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8d28]
push str.BEGIN_thread_installJreFunc
mov ebx, esi
push str.INFO
mov dword [ebp - 0x16f4], esi
mov dword [ebp - 0x16ec], ebx
call fcn.00417c10
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
push str.installJreFunc_start_
add ecx, 0x8e58
push ecx
call fcn.0040260d
lea eax, [ebp - 0x1254]
call fcn.004025a7
mov edi, 3
mov byte [ebp - 4], 1
mov dword [ebp - 0x16f0], edi
mov byte [ebp - 0x16e5], 0
jmp 0x426980
test edi, edi
jle 0x426b81
cmp byte [ebp - 0x16e5], 0
jne 0x426b81
lea edx, [ebp - 0x17a4]
push edx
call fcn.0040263e
lea eax, [ebp - 0x1794]
push str.____Start_download_jre_attemptRemind
push eax
mov byte [ebp - 4], 2
call fcn.00427f50
add esp, 8
push edi
push eax
call fcn.00427c10
lea ecx, [ebp - 0x1238]
push ecx
lea eax, [ebp - 0x17a4]
call fcn.004026d1
mov byte [ebp - 4], 3
mov edx, dword [esi + 4]
mov edi, dword [edx + 0x8d28]
call fcn.00402639
push eax
push str.INFO
mov ecx, edi
call fcn.00417c10
lea ecx, [ebp - 0x1238]
call fcn.004025ff
lea eax, [ebp - 0x12cc]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x12b4]
call fcn.004025a7
lea eax, [ebp - 0x1298]
call fcn.004025a7
xor eax, eax
mov dword [ebp - 0x127c], eax
mov dword [ebp - 0x1278], eax
push str.http:__dl.upzona.net_jre_packed.ebz
lea edi, [ebp - 0x12b4]
mov byte [ebp - 4], 6
call fcn.00402628
mov byte [ebp - 4], 7
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x8d28]
mov esi, dword [ebx]
push ebx
push eax
lea edi, [ebp - 0x12cc]
call fcn.0044c930
mov ebx, dword [ebp - 0x16f4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x8d28]
mov ecx, ebx
push ecx
mov ecx, dword [ecx]
mov edx, edi
mov dword [ebp - 0x16f8], edx
push eax
lea edx, [ebp - 0x1238]
push edx
lea edx, [ebp - 0x16f8]
call fcn.0044cbf0
mov byte [ebp - 4], 8
call fcn.00403325
mov esi, eax
lea eax, [ebp - 0x1254]
call fcn.00403979
lea ecx, [ebp - 0x1238]
mov byte [ebp - 4], 7
call fcn.004025ff
cmp dword [ebp - 0x1244], 0
je 0x426adc
lea eax, [ebp - 0x1254]
call fcn.00402639
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426adc
mov byte [ebp - 0x16e5], 1
test al, 0x10
je 0x426ae3
mov byte [ebp - 0x16e5], 0
dec dword [ebp - 0x16f0]
cmp byte [ebp - 0x16e5], 0
mov edi, str.SUCCESS
jne 0x426afc
mov edi, str.FAILED
push str.___End_download_jre_result
lea eax, [ebp - 0x1238]
call fcn.004025ce
mov byte [ebp - 4], 9
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + 0x8d28]
push edi
push eax
call fcn.0040260d
call fcn.00402639
push eax
push str.INFO
mov ecx, esi
call fcn.00417c10
lea ecx, [ebp - 0x1238]
call fcn.004025ff
lea ecx, [ebp - 0x1298]
call fcn.004025ff
lea ecx, [ebp - 0x12b4]
call fcn.004025ff
lea edx, [ebp - 0x12cc]
push edx
call fcn.00401000
lea eax, [ebp - 0x17a4]
mov byte [ebp - 4], 1
call fcn.00402210
mov esi, dword [ebp - 0x16f4]
mov edi, dword [ebp - 0x16f0]
mov ebx, esi
jmp 0x426980
mov ebx, dword [esi + 4]
cmp word [ebx + 0x90c], 0
lea edi, [ebx + 0x90c]
jne 0x426bce
cmp word [ebx + 0x704], 0
jne 0x426ba6
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
push 0x104
push edi
lea eax, [ebx + 0x704]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x426bc0
mov word [edi], ax
cmp word [edi], 0
jne 0x426bce
add ebx, 0x704
jmp 0x426bd0
mov ebx, edi
lea eax, [ebp - 0x1254]
call fcn.00402639
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426d87
test al, 0x10
jne 0x426d87
cmp byte [ebp - 0x16e5], 0
je 0x426d73
mov ecx, dword [ebp - 0x16ec]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 8], 0
je 0x426c22
mov ecx, dword [eax + 8]
fld1
mov edx, dword [ecx]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 1
push 2
call eax
push str.unpackJre
lea eax, [ebp - 0x1238]
call fcn.004025ce
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 4]
add ecx, 0xbc4
lea edi, [ebp - 0x1238]
call fcn.00414770
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004025ff
lea eax, [ebp - 0x1254]
call fcn.00402639
push eax
lea eax, [ebp - 0x1238]
call fcn.004025ce
push 0x47c7f8
push eax
mov byte [ebp - 4], 0xb
call fcn.0040260d
push ebx
push eax
call fcn.0040260d
call fcn.00402639
push eax
lea edx, [ebp - 0x16e0]
xor ecx, ecx
push 0x208
push edx
mov dword [ebp - method.std::error_category.virtual_4], vtable.CommandWithOneArg.0
mov word [ebp - 0x16e0], cx
call fcn.004533f1
add esp, 0xc
lea ecx, [ebp - 0x1238]
mov dword [ebp - 0x16e4], 0x47cb8c
mov byte [ebp - 4], 1
call fcn.004025ff
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8d30]
mov edx, dword [ecx]
mov edx, dword [edx]
push 0x100
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x16e4]
push eax
call edx
push str.unpackJre
lea eax, [ebp - 0x1238]
call fcn.004025ce
lea eax, [ebp - 0x1238]
push eax
mov byte [ebp - 4], 0xc
mov eax, dword [esi + 4]
add eax, 0xbc4
call fcn.00414820
lea ecx, [ebp - 0x1238]
mov byte [ebp - 4], 1
call fcn.004025ff
mov ecx, dword [esi + 4]
push str.ebz_
add ecx, 0x8e58
push ecx
call fcn.0040260d
lea edx, [ebp - 0x21c]
push edx
push eax
call fcn.0040260d
push 0x47bfec
push eax
call fcn.0040260d
mov eax, dword [ebp - 0x16ec]
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 0
je 0x426d73
mov ecx, dword [eax + 8]
fld dword [0x483400]
mov edx, dword [ecx]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 0x64
push 0
call eax
lea eax, [ebp - 0x1254]
call fcn.00402639
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x426da5
mov eax, dword [esi + 4]
add eax, 0x8e20
push str.ebzDownloadFail
push eax
call fcn.0040260d
push 0x47bfec
push eax
call fcn.0040260d
lea eax, [ebp - 0x1270]
call fcn.004025a7
xor ecx, ecx
mov byte [ebp - 4], 0xd
mov ebx, dword [esi + 4]
push 1
lea edx, [ebp - 0x121c]
mov word [ebp - 0x121c], cx
push edx
lea ecx, [ebp - 0x1270]
call fcn.00429180
cmp dword [ebp - 0x1260], 0
je 0x426e2e
push 0x47abec
push 0x47a8cc
call fcn.004089f0
add esp, 8
push eax
mov eax, dword [esi + 4]
add eax, 0x8e58
push eax
call fcn.0040260d
push 0
lea ecx, [ebp - 0x1270]
mov edi, eax
push ecx
or eax, 0xffffffff
call fcn.004030d3
push 0x47bfec
push 0x47a8cc
mov edi, eax
call fcn.004089f0
add esp, 8
push eax
push edi
call fcn.0040260d
jmp 0x426e47
mov edx, dword [esi + 4]
push str.install_fail_
add edx, 0x8e58
push edx
call fcn.0040260d
call fcn.0042d3a0
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x8d28]
add eax, 0x8e58
call fcn.00402639
push eax
push str.INFO
mov ecx, edi
call fcn.00417c10
mov eax, dword [esi + 4]
push str.installJreFunc_finish_
add eax, 0x8e58
push eax
call fcn.0040260d
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x8d28]
push str._____END_thread_installJreFunc
push str.INFO
call fcn.00417c10
mov edx, dword [ebp - 0x16ec]
push edx
call fcn.004532eb
add esp, 4
lea ecx, [ebp - 0x1270]
call fcn.004025ff
lea ecx, [ebp - 0x1254]
call fcn.004025ff
xor eax, eax
jmp 0x426eea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret 4