Function at 0x409bd5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dc2e
mov eax, dword fs:[0]
push eax
mov eax, 0x10fc
call fcn.00456f60
mov eax, dword [0x4956a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1054]
mov esi, edx
xor ebx, ebx
mov edi, ecx
push eax
push ebx
lea edx, [ebp - 0x1064]
mov ecx, str.PreDownldStatus
mov dword [ebp - 0x106c], edi
mov dword [ebp - 0x1058], esi
mov dword [ebp - 0x1064], ebx
mov byte [esi], bl
mov dword [ebp - 0x1054], 4
call fcn.004102c8
lea eax, [ebp - 0x1054]
push eax
push ebx
mov edx, esi
mov ecx, str.LocalFileName
mov dword [ebp - 0x1054], 0x104
call fcn.004102c8
add esp, 0x10
test eax, eax
je 0x409c9b
cmp dword [ebp - 0x1054], ebx
je 0x409c9b
call fcn.00414c2b
test eax, eax
jne 0x409c9b
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x409cbc
push ebx
push str.LocalFileName
push ebx
call fcn.00410602
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x409cdb
call fcn.00414c2b
test eax, eax
jne 0x409cdb
mov dword [ebp - 0x1054], 4
jmp 0x409cf2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x2478], ebx
je 0x409cd4
cmp dword [ebp - 0x1064], 8
jne 0x409c9b
xor eax, eax
jmp 0x40a04d
push esi
lea ecx, [edi + 0x370]
mov dword [ebp - 0x1054], 2
call fcn.004117f9
pop ecx
mov eax, dword [ebp - 0x1054]
cmp dword [ebp - 0x1064], eax
je 0x409d07
push eax
call fcn.0041070c
pop ecx
mov esi, 0x7ff
push esi
lea eax, [ebp - 0x80f]
push ebx
push eax
mov dword [ebp - 0x105c], ebx
mov byte [ebp - 0x810], bl
call fcn.0044b630
add esp, 0xc
push esi
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.0044b630
add esp, 0xc
cmp dword [ebp - 0x1054], 2
mov dword [ebp - 0x1060], 0x77
jne 0x409f89
mov esi, str.Downloading_file
call fcn.00410b95
push dword [ebp - 0x1058]
mov eax, dword [edi]
lea esi, [edi + 0x370]
push esi
push edi
call dword [eax + 0x14]
mov dword [ebp - 0x105c], eax
mov dword [edi + 0x2478], ebx
cmp eax, ebx
jl 0x409eb6
push dword [ebp - 0x1058]
push str.LocalFileName
push ebx
call fcn.00410602
lea edx, [edi + 0x2378]
add esp, 0xc
mov dword [ebp - 0x1054], 8
cmp byte [edx], bl
je 0x409dbf
mov ecx, dword [ebp - 0x1058]
call fcn.00414b73
test eax, eax
je 0x409de9
mov ecx, dword [ebp - 0x1058]
push esi
call fcn.004150a2
pop ecx
mov dword [ebp - 0x1060], eax
cmp eax, ebx
je 0x409f7d
mov dword [ebp - 0x1060], 0x88
cmp eax, 0xfffffffc
je 0x409df3
mov dword [ebp - 0x1060], 0x74
mov esi, str.Download_Status:_Verification_of_Installer_failed
mov dword [ebp - 0x105c], 0x80004005
call fcn.00410b95
call fcn.004108ea
push dword [ebp - 0x1058]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [edi + 0x2480], ebx
je 0x40a03d
push 0xf
pop eax
mov dword [ebp - 0x103c], eax
mov dword [ebp - 0x1040], ebx
mov byte [ebp - 0x1050], bl
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x1024], ebx
mov byte [ebp - 0x1034], bl
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1014], 0x10
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
call esi
push dword [ebp - 0x1060]
mov edi, eax
push ecx
push ebx
call esi
push 0x72
mov ecx, eax
lea edx, [ebp - 0x1050]
call fcn.0042c409
pop ecx
mov ecx, edi
mov edx, eax
call fcn.0042c495
call fcn.0042c52b
push ebx
push 1
lea ecx, [ebp - 0x1034]
call fcn.00403353
push ebx
push 1
lea ecx, [ebp - 0x1050]
call fcn.00403353
jmp 0x40a047
mov esi, dword [edi + 0x2484]
lea eax, [esi - 0x190]
mov dword [ebp - 0x1068], esi
mov dword [ebp - 0x1060], 0x77
cmp eax, 0xc7
ja 0x409f7d
cmp dword [0x49a024], 3
jg 0x409f54
lea eax, [ebp - 0x1108]
push eax
call fcn.00402897
lea eax, [ebp - 0x1108]
push str.Downloading_Java_Update_files_failed__rc_is
push eax
mov dword [ebp - 4], ebx
call fcn.00405650
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x1108]
push eax
call fcn.0040aca7
lea eax, [ebp - 0x1108]
push eax
push 0x197
push 3
mov ebx, str.CDownloadManager::DownloadFiles
mov edi, str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_au_jucheck_DownloadManager.cpp
mov esi, 0x49a024
call fcn.004016a1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1108]
call fcn.004015c3
mov esi, dword [ebp - 0x1068]
mov edi, dword [ebp - 0x106c]
xor ebx, ebx
mov eax, 0x193
cmp esi, eax
je 0x409f72
add eax, 0x61
cmp esi, eax
je 0x409f72
mov ecx, 0x1f7
cmp esi, ecx
jne 0x409f72
push ebx
push ebx
push ecx
jmp 0x409f75
push ebx
push ebx
push eax
call fcn.0040bf48
add esp, 0xc
cmp dword [ebp - 0x105c], ebx
jl 0x409e07
cmp dword [ebp - 0x1054], 4
jne 0x40a022
mov esi, str.Download_Status:_Bef_Stage2_PreDL
call fcn.00410b95
push 4
call fcn.0041070c
pop ecx
push dword [ebp - 0x1058]
mov esi, 0x800
push str.__s_
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.00449ae8
add esp, 0x14
lea eax, [edi + 0xff0]
push eax
push str.__download
push str._s__s
push 0xffffffffffffffff
lea eax, [ebp - 0x1010]
push esi
push eax
call fcn.00449ae8
add esp, 0x18
push 1
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x1060], 0x77
call fcn.0040a8dd
test eax, eax
jne 0x40a018
mov dword [ebp - 0x105c], ebx
jmp 0x40a02e
mov dword [ebp - 0x105c], 0x80004005
cmp dword [ebp - 0x105c], ebx
jl 0x409e07
push 8
call fcn.0041070c
pop ecx
mov esi, str.Download_Status:_Stage2_PreDL_Success
jmp 0x40a042
mov esi, str.Download_Status:_Stage2_PreDL_Failed
call fcn.00410b95
mov eax, dword [ebp - 0x105c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449589
leave
ret