Function at 0x40b35b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472f78
mov eax, dword fs:[0]
push eax
mov eax, 0x10ec
call fcn.00449a20
mov eax, dword [0x4a9068]
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.004101c6
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.004101c6
add esp, 0x10
test eax, eax
je 0x40b41a
cmp dword [ebp - 0x1050], 0
je 0x40b41a
mov ecx, esi
call fcn.00414824
test eax, eax
jne 0x40b41a
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 0x40b43c
push 0
mov edx, edi
xor ecx, ecx
call fcn.00410312
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x40b45c
mov ecx, esi
call fcn.00414824
test eax, eax
jne 0x40b45c
push 4
pop edi
mov dword [ebp - 0x1050], edi
jmp 0x40b472
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x2474], 0
je 0x40b455
cmp dword [ebp - 0x105c], 8
jne 0x40b41a
xor eax, eax
jmp 0x40b75f
push 2
pop edi
lea ecx, [ebx + 0x36c]
mov dword [ebp - 0x1050], edi
mov edx, esi
call fcn.0041075c
cmp dword [ebp - 0x105c], edi
je 0x40b481
push edi
call fcn.00410417
pop ecx
push 0x800
xor edi, edi
lea eax, [ebp - 0x1010]
push edi
push eax
call fcn.0044be20
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x800
push edi
push eax
call fcn.0044be20
mov eax, dword [ebp - 0x1050]
add esp, 0xc
mov dword [ebp - 0x1054], 0x77
cmp eax, 2
jne 0x40b6b9
mov ecx, str.Downloading_file
call fcn.00410708
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 0x40b5e7
push esi
mov edx, str.LocalFileName
xor ecx, ecx
call fcn.00410312
lea edx, [ebx + 0x2374]
mov dword [ebp - 0x1050], 8
cmp byte [edx], 0
pop ecx
je 0x40b522
push ecx
push ecx
mov ecx, esi
call fcn.0041473f
pop ecx
pop ecx
test eax, eax
je 0x40b53f
lea edx, [ebx + 0x36c]
mov ecx, esi
call fcn.00414cc5
mov edx, eax
mov dword [ebp - 0x1054], edx
test edx, edx
je 0x40b6ab
mov ecx, str.Download_Status:_Verification_of_Installer_failed
mov edi, 0x80004005
call fcn.00410708
cmp dword [ebp - 0x1054], 0xfffffffc
mov ecx, 0x88
push 0x74
pop eax
cmovne ecx, eax
mov dword [ebp - 0x1054], ecx
call fcn.004104a4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebx + 0x247c], 0
je 0x40b753
lea ecx, [ebp - 0x104c]
call fcn.0042a2c3
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.0042a2eb
mov ecx, eax
call fcn.0042a3ca
mov ecx, eax
call fcn.0042a4ab
lea ecx, [ebp - 0x1034]
call fcn.004049d1
lea ecx, [ebp - 0x104c]
call fcn.004049d1
jmp 0x40b75d
mov ecx, dword [ebx + 0x2480]
mov dword [ebp - 0x1058], ecx
mov dword [ebp - 0x1054], 0x77
lea eax, [ecx - 0x190]
cmp eax, 0xc7
ja 0x40b6ab
cmp dword [0x4ad0bc], 3
jg 0x40b682
push ecx
push ecx
lea ecx, [ebp - 0x10f8]
call fcn.00403eb7
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10f8]
mov edx, str.Downloading_Java_Update_files_failed__rc_is
call fcn.00406a62
push dword [ebp - 0x1058]
lea ecx, [ebp - 0x10f8]
call fcn.00405856
lea eax, [ebp - 0x10f8]
mov ecx, 0x4ad0bc
push eax
push str.CDownloadManager::DownloadFiles
push 0x1a6
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_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 0x40b6a0
add eax, 0x61
cmp ecx, eax
je 0x40b6a0
cmp ecx, 0x1f7
jne 0x40b6a0
push edx
push edx
mov edx, ecx
jmp 0x40b6a4
push edx
push edx
mov edx, eax
call fcn.0040d385
pop ecx
pop ecx
test edi, edi
js 0x40b566
mov eax, dword [ebp - 0x1050]
cmp eax, 4
jne 0x40b73c
mov ecx, str.Download_Status:_Bef_Stage2_PreDL
call fcn.00410708
push 4
call fcn.00410417
pop ecx
push esi
push str.__s_
push 0xffffffffffffffff
mov edi, 0x800
lea eax, [ebp - 0x1010]
push edi
push eax
call fcn.0040a32a
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.0040a32a
add esp, 0x18
mov dword [ebp - 0x1054], 0x77
lea eax, [ebp - 0x810]
push 1
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0040be84
test eax, eax
jne 0x40b737
xor edi, edi
jmp 0x40b744
mov edi, 0x80004005
test edi, edi
js 0x40b566
push 8
call fcn.00410417
pop ecx
mov ecx, str.Download_Status:_Stage2_PreDL_Success
jmp 0x40b758
mov ecx, str.Download_Status:_Stage2_PreDL_Failed
call fcn.00410708
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.004489ea
leave
ret 8