Function at 0x40b322
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472a59
mov eax, dword fs:[0]
push eax
mov eax, 0x10ec
call fcn.00449500
mov eax, dword [0x4a8068]
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
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1058]
and dword [ebp - 0x105c], 0
mov edx, str.PreDownldStatus
push eax
lea eax, [ebp - 0x105c]
mov dword [ebp - 0x1058], 4
push eax
xor ecx, ecx
mov byte [esi], 0
call fcn.00410192
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1050], 0x104
push eax
mov edi, str.LocalFileName
xor ecx, ecx
push esi
mov edx, edi
call fcn.00410192
add esp, 0x10
test eax, eax
je 0x40b3e1
cmp dword [ebp - 0x1050], 0
je 0x40b3e1
mov ecx, esi
call fcn.00414724
test eax, eax
jne 0x40b3e1
push eax
push eax
push 3
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x40b403
push 0
mov edx, edi
xor ecx, ecx
call fcn.004102de
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x40b423
mov ecx, esi
call fcn.00414724
test eax, eax
jne 0x40b423
push 4
pop edi
mov dword [ebp - 0x1050], edi
jmp 0x40b439
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x2474], 0
je 0x40b41c
cmp dword [ebp - 0x105c], 8
jne 0x40b3e1
xor eax, eax
jmp 0x40b726
push 2
pop edi
lea ecx, [ebx + 0x36c]
mov dword [ebp - 0x1050], edi
mov edx, esi
call fcn.00410728
cmp dword [ebp - 0x105c], edi
je 0x40b448
push edi
call fcn.004103e3
pop ecx
push 0x800
xor edi, edi
lea eax, [ebp - 0x1010]
push edi
push eax
call fcn.0044b900
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x800
push edi
push eax
call fcn.0044b900
mov eax, dword [ebp - 0x1050]
add esp, 0xc
mov dword [ebp - 0x1054], 0x77
cmp eax, 2
jne 0x40b680
mov ecx, str.Downloading_file
call fcn.004106d4
mov eax, dword [ebx]
lea ecx, [ebx + 0x36c]
push esi
push ecx
push ebx
call dword [eax + 0x14]
mov edi, eax
xor edx, edx
mov dword [ebx + 0x2474], edx
test edi, edi
js 0x40b5ae
push esi
mov edx, str.LocalFileName
xor ecx, ecx
call fcn.004102de
lea edx, [ebx + 0x2374]
mov dword [ebp - 0x1050], 8
cmp byte [edx], 0
pop ecx
je 0x40b4e9
push ecx
push ecx
mov ecx, esi
call fcn.0041463f
pop ecx
pop ecx
test eax, eax
je 0x40b506
lea edx, [ebx + 0x36c]
mov ecx, esi
call fcn.00414bc5
mov edx, eax
mov dword [ebp - 0x1054], edx
test edx, edx
je 0x40b672
mov ecx, str.Download_Status:_Verification_of_Installer_failed
mov edi, 0x80004005
call fcn.004106d4
cmp dword [ebp - 0x1054], 0xfffffffc
mov ecx, 0x88
push 0x74
pop eax
cmovne ecx, eax
mov dword [ebp - 0x1054], ecx
call fcn.00410470
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebx + 0x247c], 0
je 0x40b71a
lea ecx, [ebp - 0x104c]
call fcn.0042a0be
mov dword [ebp - 0x1018], 0x10
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call esi
push eax
push dword [ebp - 0x1054]
push 0
call esi
push eax
push 0x72
lea ecx, [ebp - 0x104c]
call fcn.0042a0e0
mov ecx, eax
call fcn.0042a152
mov ecx, eax
call fcn.0042a1c5
lea ecx, [ebp - 0x1034]
call fcn.004049c7
lea ecx, [ebp - 0x104c]
call fcn.004049c7
jmp 0x40b724
mov ecx, dword [ebx + 0x2480]
mov dword [ebp - 0x1058], ecx
mov dword [ebp - 0x1054], 0x77
lea eax, [ecx - 0x190]
cmp eax, 0xc7
ja 0x40b672
cmp dword [0x4ac0bc], 3
jg 0x40b649
push ecx
push ecx
lea ecx, [ebp - 0x10f8]
call fcn.00403ead
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10f8]
mov edx, str.Downloading_Java_Update_files_failed__rc_is
call fcn.00406a2a
push dword [ebp - 0x1058]
lea ecx, [ebp - 0x10f8]
call fcn.0040581e
lea eax, [ebp - 0x10f8]
mov ecx, 0x4ac0bc
push eax
push str.CDownloadManager::DownloadFiles
push 0x1a6
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_au_jucheck_DownloadManager.cpp
push 3
call fcn.00402d4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10f8]
call fcn.00402bf1
mov ecx, dword [ebp - 0x1058]
xor edx, edx
mov eax, 0x193
cmp ecx, eax
je 0x40b667
add eax, 0x61
cmp ecx, eax
je 0x40b667
cmp ecx, 0x1f7
jne 0x40b667
push edx
push edx
mov edx, ecx
jmp 0x40b66b
push edx
push edx
mov edx, eax
call fcn.0040d348
pop ecx
pop ecx
test edi, edi
js 0x40b52d
mov eax, dword [ebp - 0x1050]
cmp eax, 4
jne 0x40b703
mov ecx, str.Download_Status:_Bef_Stage2_PreDL
call fcn.004106d4
push 4
call fcn.004103e3
pop ecx
push esi
push str.__s_
push 0xffffffffffffffff
mov edi, 0x800
lea eax, [ebp - 0x1010]
push edi
push eax
call fcn.0040a2f2
add esp, 0x14
lea eax, [ebx + 0xfec]
push eax
push str.__download
push str._s__s
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.0040a2f2
add esp, 0x18
mov dword [ebp - 0x1054], 0x77
lea eax, [ebp - 0x810]
push 1
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0040be47
test eax, eax
jne 0x40b6fe
xor edi, edi
jmp 0x40b70b
mov edi, 0x80004005
test edi, edi
js 0x40b52d
push 8
call fcn.004103e3
pop ecx
mov ecx, str.Download_Status:_Stage2_PreDL_Success
jmp 0x40b71f
mov ecx, str.Download_Status:_Stage2_PreDL_Failed
call fcn.004106d4
mov eax, edi
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.004484c4
leave
ret 8