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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473319
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x17ac
call fcn.004601c0
mov eax, dword [0x48f310]
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]
xor ebx, ebx
mov dword [ebp - 0x1700], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8d28]
push str.BEGIN_thread_installJreFunc
push str.INFO
mov dword [ebp - 0x16ec], esi
mov dword [ebp - 0x16f0], esi
call fcn.00414290
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 4]
push str.installJreFunc_start_
add ecx, 0x8e58
push ecx
call fcn.00401cf8
push ecx
mov eax, esp
mov dword [ebp - 0x16fc], esp
call fcn.00402a24
lea eax, [ebp - 0x1238]
call fcn.00401f4d
push ebx
push ebx
lea edi, [ebp - 0x1238]
call fcn.004012f5
mov byte [ebp - 4], 1
mov dword [ebp - 0x16f8], 3
mov byte [ebp - 0x16e5], bl
jmp 0x423ea0
cmp dword [ebp - 0x16f8], ebx
jle 0x4243dc
cmp byte [ebp - 0x16e5], 0
jne 0x4243dc
mov dword [ebp - 0x17b4], 0x4799b8
mov dword [ebp - 0x17a4], 0x4799c0
mov byte [ebp - 4], 2
or dword [ebp - 0x1700], 1
lea esi, [ebp - 0x1754]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x17ac], ebx
mov dword [ebp - 0x17a8], ebx
call fcn.004033a0
lea edx, [ebp - 0x179c]
lea edi, [ebp - 0x1708]
mov eax, esi
mov dword [ebp - 0x171c], edx
mov dword [ebp - 0x1718], 0
call fcn.00403360
mov edi, eax
mov dword [ebp - 4], 5
call fcn.0040a3d0
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x1708]
mov ebx, eax
test edi, edi
je 0x423f7b
push 0
lea ecx, [ebp - 0x1704]
call fcn.0046848c
mov eax, dword [edi + 4]
test eax, eax
je 0x423f57
cmp eax, 0xffffffff
jae 0x423f57
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0x1704]
and esi, edi
call fcn.004684b4
test esi, esi
je 0x423f7b
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push 0x20
mov ecx, ebx
call edx
movzx eax, ax
xor esi, esi
mov word [ebp - 0x1714], ax
cmp dword [ebp - 0x171c], esi
jne 0x423faf
mov eax, dword [ebp - 0x1748]
or eax, 4
push esi
lea ecx, [ebp - 0x1754]
call fcn.00403260
mov eax, dword [ebp - 0x17a4]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov edx, dword [ebp - 0x17b4]
mov eax, dword [edx + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x17b4]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x179c]
push eax
mov dword [ebp + edx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.00408c90
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x1760], esi
mov dword [ebp - 0x175c], esi
lea ecx, [ebp - 0x17a4]
push str.____Start_download_jre_attemptRemind
push ecx
mov byte [ebp - 4], 0xa
call fcn.004258e0
mov edx, dword [ebp - 0x16f8]
add esp, 8
push edx
push eax
call fcn.00425510
lea ecx, [ebp - 0x1254]
lea eax, [ebp - 0x17b4]
call fcn.00406bd0
mov ebx, dword [ebp - 0x16ec]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + 0x8d28]
call fcn.00401489
push eax
push str.INFO
mov ecx, esi
call fcn.00414290
lea ecx, [ebp - 0x1254]
call fcn.004012b8
lea edx, [ebp - 0x12cc]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
mov eax, esp
mov dword [ebp - 0x16f4], esp
call fcn.00402a24
lea eax, [ebp - 0x12b4]
call fcn.00401f4d
xor esi, esi
push esi
push esi
lea edi, [ebp - 0x12b4]
call fcn.004012f5
push ecx
mov eax, esp
mov dword [ebp - 0x16f4], esp
call fcn.00402a24
lea eax, [ebp - 0x1298]
call fcn.00401f4d
push esi
push esi
lea edi, [ebp - 0x1298]
call fcn.004012f5
mov dword [ebp - 0x127c], esi
mov dword [ebp - 0x1278], esi
push str.http:__dl.upzona.net_jre_packed.ebz
lea edi, [ebp - 0x12b4]
mov byte [ebp - 4], 0xe
call fcn.00401d13
mov byte [ebp - 4], 0xf
mov eax, dword [ebx + 4]
mov edi, dword [ebp - 0x16f0]
mov eax, dword [eax + 0x8d28]
mov esi, dword [edi]
push edi
push eax
lea ecx, [ebp - 0x12cc]
call fcn.00449bf0
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x8d28]
mov edx, dword [edi]
push edi
push eax
lea ecx, [ebp - 0x12cc]
lea eax, [ebp - 0x16f4]
mov dword [ebp - 0x16f4], ecx
push eax
lea ecx, [ebp - 0x1254]
call fcn.00449ef0
mov esi, eax
lea ecx, [ebp - 0x1238]
cmp ecx, esi
je 0x424199
push 0
push 1
mov edi, ecx
call fcn.004012f5
cmp dword [esi + 0x14], 8
jae 0x424171
mov eax, dword [esi + 0x10]
mov edx, edi
push esi
inc eax
push edx
call fcn.004014fd
add esp, 8
jmp 0x42417f
mov eax, dword [esi]
mov dword [ebp - 0x1238], eax
mov dword [esi], 0
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x1228], ecx
mov edx, dword [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x1224], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [ebp - 0x1254]
mov byte [ebp - 4], 0xf
call fcn.004012b8
cmp dword [ebp - 0x1228], 0
je 0x4241d3
lea eax, [ebp - 0x1238]
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4241d3
mov byte [ebp - 0x16e5], 1
test al, 0x10
je 0x4241da
mov byte [ebp - 0x16e5], 0
dec dword [ebp - 0x16f8]
cmp byte [ebp - 0x16e5], 0
mov edi, str.SUCCESS
jne 0x4241f3
mov edi, str.FAILED
push str.___End_download_jre_result
lea eax, [ebp - 0x1254]
call fcn.00401cc7
mov byte [ebp - 4], 0x11
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + 0x8d28]
push edi
push eax
call fcn.00401cf8
call fcn.00401489
push eax
push str.INFO
mov ecx, esi
call fcn.00414290
lea ecx, [ebp - 0x1254]
call fcn.004012b8
lea ecx, [ebp - 0x1298]
call fcn.004012b8
lea ecx, [ebp - 0x12b4]
call fcn.004012b8
lea edx, [ebp - 0x12cc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0x17b4]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x1754]
mov dword [ebp - 0x16f4], eax
mov dword [ebp + edx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
test byte [ebp - 0x175c], 1
lea eax, [ebp - 0x179c]
mov dword [ebp - 0x170c], eax
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
je 0x4242a4
mov ecx, dword [ebp - 0x178c]
mov eax, dword [ecx]
push eax
call fcn.004021b5
mov edx, dword [ebp - 0x178c]
mov dword [edx], 0
mov eax, dword [ebp - 0x177c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x176c]
mov dword [ecx], 0
mov edx, dword [ebp - 0x1788]
mov dword [edx], 0
mov eax, dword [ebp - 0x1778]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1768]
mov dword [ecx], 0
and dword [ebp - 0x175c], 0xfffffffe
mov dword [ebp - 0x1760], 0
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x1764]
mov ebx, eax
test eax, eax
je 0x424367
mov edi, dword [eax]
test edi, edi
je 0x42435e
push 0
lea ecx, [ebp - 0x16fc]
call fcn.0046848c
mov eax, dword [edi + 4]
test eax, eax
je 0x42433a
cmp eax, 0xffffffff
jae 0x42433a
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [ebp - 0x16fc]
and esi, edi
call fcn.004684b4
test esi, esi
je 0x42435e
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.00450827
add esp, 4
lea ecx, [ebp - 0x1798]
mov byte [ebp - 4], 0x12
call fcn.004684e5
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x17b4]
mov edx, dword [ecx + 4]
mov dword [ebp + edx - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x17a4]
mov ecx, dword [eax + 4]
mov dword [ebp + ecx - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov edx, dword [ebp - 0x17b4]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x1754]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00467ff1
mov esi, dword [ebp - 0x16ec]
add esp, 4
xor ebx, ebx
jmp 0x423ea0
mov edi, dword [esi + 4]
cmp word [edi + 0x90c], bx
lea esi, [edi + 0x90c]
jne 0x42441c
cmp word [edi + 0x704], 0
lea ebx, [edi + 0x704]
jne 0x424406
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x42441c
xor ecx, ecx
mov word [esi], cx
cmp word [esi], 0
jne 0x424428
lea esi, [edi + 0x704]
lea eax, [ebp - 0x1238]
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4245ee
test al, 0x10
jne 0x4245ee
cmp byte [ebp - 0x16e5], 0
je 0x4245da
mov edx, dword [ebp - 0x16f0]
mov eax, dword [edx + 0xc]
cmp dword [eax + 8], 0
je 0x42447a
mov ecx, dword [eax + 8]
fld1
mov eax, dword [ecx]
mov edx, dword [eax]
push ecx
fstp dword [esp]
push 1
push 2
call edx
push str.unpackJre
lea eax, [ebp - 0x1254]
call fcn.00401cc7
mov eax, dword [ebp - 0x16ec]
mov byte [ebp - 4], 0x14
mov ecx, dword [eax + 4]
add ecx, 0xbc4
lea ebx, [ebp - 0x1254]
call fcn.00440bf0
mov bl, 1
lea ecx, [ebp - 0x1254]
mov byte [ebp - 4], bl
call fcn.004012b8
lea eax, [ebp - 0x1238]
call fcn.00401489
push eax
lea eax, [ebp - 0x1254]
call fcn.00401cc7
push 0x47ae24
push eax
mov byte [ebp - 4], 0x15
call fcn.00401cf8
push esi
push eax
call fcn.00401cf8
call fcn.00401489
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.00450e0b
add esp, 0xc
lea ecx, [ebp - 0x1254]
mov dword [ebp - 0x16e4], 0x47b1c8
mov byte [ebp - 4], bl
call fcn.004012b8
mov esi, dword [ebp - 0x16ec]
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 - 0x1254]
call fcn.00401cc7
lea eax, [ebp - 0x1254]
push eax
mov byte [ebp - 4], 0x16
mov eax, dword [esi + 4]
add eax, 0xbc4
call fcn.00440cc0
lea ecx, [ebp - 0x1254]
mov byte [ebp - 4], bl
call fcn.004012b8
mov ecx, dword [esi + 4]
push str.ebz_
add ecx, 0x8e58
push ecx
call fcn.00401cf8
lea edx, [ebp - 0x21c]
push edx
push eax
call fcn.00401cf8
push 0x47aa08
push eax
call fcn.00401cf8
mov eax, dword [ebp - 0x16f0]
mov eax, dword [eax + 0xc]
cmp dword [eax + 8], 0
je 0x4245da
mov ecx, dword [eax + 8]
fld dword [0x481b6c]
mov edx, dword [ecx]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 0x64
push 0
call eax
lea eax, [ebp - 0x1238]
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x424612
mov ecx, dword [ebp - 0x16ec]
mov eax, dword [ecx + 4]
add eax, 0x8e20
push str.ebzDownloadFail
push eax
call fcn.00401cf8
push 0x47aa08
push eax
call fcn.00401cf8
push ecx
mov eax, esp
mov dword [ebp - 0x170c], esp
call fcn.00402a24
lea eax, [ebp - 0x1270]
call fcn.00401f4d
push 0
push 0
lea edi, [ebp - 0x1270]
call fcn.004012f5
mov edx, dword [ebp - 0x16ec]
mov byte [ebp - 4], 0x17
mov ebx, dword [edx + 4]
xor ecx, ecx
push 1
lea edx, [ebp - 0x121c]
mov word [ebp - 0x121c], cx
push edx
mov ecx, edi
call fcn.00426150
cmp dword [ebp - 0x1260], 0
je 0x4246c0
push 0x479464
push 0x479144
call fcn.00405c30
mov ebx, dword [ebp - 0x16ec]
add esp, 8
push eax
mov eax, dword [ebx + 4]
add eax, 0x8e58
push eax
call fcn.00401cf8
push 0
lea ecx, [ebp - 0x1270]
mov edi, eax
push ecx
or eax, 0xffffffff
call fcn.00401d62
push 0x47aa08
push 0x479144
mov esi, eax
call fcn.00405c30
add esp, 8
push eax
push esi
call fcn.00401cf8
jmp 0x4246e4
mov edx, dword [ebp - 0x16ec]
mov eax, dword [edx + 4]
push str.install_fail_
add eax, 0x8e58
push eax
call fcn.00401cf8
call fcn.004292e0
mov ebx, dword [ebp - 0x16ec]
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0x8d28]
add eax, 0x8e58
call fcn.00401489
push eax
push str.INFO
mov ecx, esi
call fcn.00414290
mov ecx, dword [ebx + 4]
push str.installJreFunc_finish_
add ecx, 0x8e58
push ecx
call fcn.00401cf8
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x8d28]
push str._____END_thread_installJreFunc
push str.INFO
call fcn.00414290
mov eax, dword [ebp - 0x16f0]
push eax
call fcn.00450827
add esp, 4
lea ecx, [ebp - 0x1270]
call fcn.004012b8
lea ecx, [ebp - 0x1238]
call fcn.004012b8
xor eax, eax
jmp 0x424788
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.0045080d
mov esp, ebp
pop ebp
ret 4