Function at 0x40b366
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1040]
mov eax, 0x1040
call fcn.0044f450
push 0xffffffffffffffff
push 0x47c4a3
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4b4294]
xor eax, ebp
mov dword [ebp + 0x103c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x1048]
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push str.PreDownldStatus
push ebx
mov dword [ebp - 0x18], ebx
mov byte [esi], bl
call fcn.0041145f
push dword [ebp + 0x104c]
push esi
call fcn.00415b88
add esp, 0x14
test eax, eax
je 0x40b3ec
cmp dword [edi + 0x2474], ebx
je 0x40b3e5
cmp dword [ebp - 0x18], 8
jne 0x40b3ec
xor eax, eax
jmp 0x40b664
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x40b40b
push esi
call fcn.00415be1
pop ecx
test eax, eax
jne 0x40b40b
push 4
pop ebx
mov dword [ebp - 0x14], ebx
jmp 0x40b420
push 2
pop ebx
lea eax, [edi + 0x36c]
mov dword [ebp - 0x14], ebx
push esi
push eax
call fcn.004116e3
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x40b435
push ebx
push str.PreDownldStatus
push 0
call fcn.00411870
add esp, 0xc
push 0x800
lea eax, [ebp + 0x3c]
push 0
push eax
call fcn.00452680
push 0x800
lea eax, [ebp + 0x83c]
push 0
push eax
call fcn.00452680
add esp, 0x18
mov dword [ebp - 0x10], 0x77
cmp ebx, 2
jne 0x40b5ce
push str.Downloading_file
call fcn.00411fd0
mov eax, dword [edi]
pop ecx
push esi
lea ecx, [edi + 0x36c]
push ecx
push edi
call dword [eax + 0x14]
and dword [edi + 0x2474], 0
mov ebx, eax
test ebx, ebx
js 0x40b502
push esi
push str.LocalFileName
push 0
call fcn.00411926
lea eax, [edi + 0x2374]
add esp, 0xc
cmp byte [eax], 0
je 0x40b4c1
push 0x20
push 0x800c
push eax
push esi
call fcn.004162df
add esp, 0x10
test eax, eax
je 0x40b4db
lea eax, [edi + 0x36c]
push eax
push esi
call fcn.004156f7
mov dword [ebp - 0x10], eax
pop ecx
pop ecx
test eax, eax
je 0x40b647
push str.Download_Status:_Verification_of_Installer_failed
mov ebx, 0x80004005
call fcn.00411fd0
cmp dword [ebp - 0x10], 0xfffffffc
mov eax, 0x88
pop ecx
push 0x74
pop edx
cmovne eax, edx
mov dword [ebp - 0x10], eax
jmp 0x40b68e
mov eax, dword [edi + 0x2480]
mov dword [ebp - 0x14], eax
add eax, 0xfffffe70
push 0x77
pop ecx
mov dword [ebp - 0x10], ecx
cmp eax, 0xc7
ja 0x40b68e
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.004252a1
test al, al
je 0x40b598
push 1
lea ecx, [ebp - 0xb0]
call fcn.00403036
and dword [ebp - 4], 0
lea eax, [ebp - 0xb0]
push str.Downloading_Java_Update_files_failed__rc_is
push eax
call fcn.004023b6
pop ecx
pop ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
call fcn.00403b68
lea eax, [ebp - 0xb0]
push eax
push str.CDownloadManager::DownloadFiles
push 0x1a6
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_au_jucheck_DownloadManager.cpp
push 3
call fcn.00424fbb
mov ecx, eax
call fcn.0040692a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00403e6c
mov eax, dword [ebp - 0x14]
mov ecx, 0x193
cmp eax, ecx
je 0x40b5ab
add ecx, 0x61
cmp eax, ecx
jne 0x40b5b2
xor eax, eax
push eax
push eax
push ecx
jmp 0x40b5c0
mov edx, 0x1f7
cmp eax, edx
jne 0x40b5ab
xor eax, eax
push eax
push eax
push edx
push eax
call fcn.00410069
add esp, 0x10
jmp 0x40b68e
xor ebx, ebx
cmp dword [ebp - 0x14], 4
jne 0x40b647
push str.Download_Status:_Bef_Stage2_PreDL
call fcn.00411fd0
push 4
push str.PreDownldStatus
push ebx
call fcn.00411870
push esi
push str.__s_
push 0xffffffffffffffff
mov ebx, 0x800
lea eax, [ebp + 0x3c]
push ebx
push eax
call fcn.0040cb09
lea eax, [edi + 0xfec]
push eax
push str.__download
push str._s__s
push 0xffffffffffffffff
lea eax, [ebp + 0x83c]
push ebx
push eax
call fcn.0040cb09
add esp, 0x3c
lea eax, [ebp + 0x83c]
push 0x77
pop ecx
push 1
push eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x10], ecx
push eax
mov ecx, edi
call fcn.0040b70d
test eax, eax
jne 0x40b689
xor ebx, ebx
push 8
push str.PreDownldStatus
push 0
call fcn.00411870
push str.Download_Status:_Stage2_PreDL_Success
call fcn.00411fd0
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x103c]
xor ecx, ebp
call fcn.0044f332
add ebp, 0x1040
leave
ret 8
mov ebx, 0x80004005
call fcn.004111fc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [edi + 0x247c], 0
je 0x40b6fd
lea ecx, [ebp]
call fcn.0042f64f
lea ecx, [ebp]
mov dword [ebp - 4], 1
call fcn.0042f8dd
mov dword [ebp - 4], 2
call fcn.0042b478
push eax
push dword [ebp - 0x10]
call fcn.0042b478
push eax
push 0x72
lea ecx, [ebp]
call fcn.0042f7da
mov ecx, eax
call fcn.0042f9c4
mov ecx, eax
call fcn.0042f94a
lea ecx, [ebp + 0x18]
call fcn.00405bea
lea ecx, [ebp]
call fcn.00405bea
jmp 0x40b662
push str.Download_Status:_Stage2_PreDL_Failed
call fcn.00411fd0
pop ecx
jmp 0x40b662