Function at 0x408fa9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x4976a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x2478]
jne 0x40900c
mov ecx, dword [edi + 0x2474]
test ecx, ecx
je 0x408fdc
test eax, eax
je 0x40900c
mov edx, dword [edi]
push ecx
push eax
push edi
call dword [edx + 0x10]
mov esi, eax
test esi, esi
jne 0x409000
push 1
call fcn.0040d2cd
pop ecx
test eax, eax
je 0x40900c
mov eax, 0x80070204
jmp 0x409237
call fcn.0040f458
mov eax, esi
jmp 0x409237
cmp dword [edi + 0x2478], 0
je 0x40903e
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x80
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringA]
mov esi, dword [edi + 0x24]
lea eax, [ebp - 0x218]
push eax
call fcn.0040b824
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.00409d35
mov dword [ebp - 0x2bc], eax
test eax, eax
js 0x409227
mov esi, str.Download_Status:_Download_Complete
call fcn.0040f592
cmp dword [0x49c100], 1
mov ebx, str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u251_737_install_src_windows_au_jucheck_DownloadManager.cpp
mov esi, 0x49c100
jg 0x4090cd
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.00423234
push eax
lea eax, [ebp - 0x2b4]
push str.DownloadManager_MOS_MODE
push eax
call fcn.00408a07
add esp, 0x14
push str.CDownloadManager::DownloadExecInstaller
push 0xa0
push ebx
push 1
mov edx, eax
mov ecx, esi
call fcn.00421620
push 0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.0040320c
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040320c
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 0x2b5], 1
call fcn.00402450
push 0x47a3ac
call fcn.0044c4d0
pop ecx
push eax
push 0x47a3ac
lea eax, [ebp - 0x250]
push eax
xor eax, eax
call fcn.0040ab50
cmp eax, 0xffffffff
je 0x40914f
cmp dword [0x49c100], 1
jg 0x409148
push str.MOS__cb_detected__do_not_run
lea ecx, [ebp - 0x234]
call fcn.00402450
push str.CDownloadManager::DownloadExecInstaller
push 0xa6
push ebx
push 1
mov edx, eax
mov ecx, esi
call fcn.00421620
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040320c
mov byte [ebp - 0x2b5], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x110]
push ecx
push edi
call dword [eax + 0x1c]
mov dword [ebp - 0x2bc], eax
test eax, eax
js 0x409196
cmp byte [ebp - 0x2b5], 0
je 0x409196
push dword [ebp + 0xc]
mov eax, dword [edi]
push 1
lea ecx, [ebp - 0x110]
push ecx
push edi
call dword [eax + 0x18]
mov dword [ebp - 0x2bc], eax
test eax, eax
jns 0x409216
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x409211
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x298]
call fcn.0042aa70
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
mov dword [ebp - 0x25c], 0x10
call esi
push 0x74
push ecx
push 0
mov edi, eax
call esi
push 0x72
mov ecx, eax
lea edx, [ebp - 0x298]
call fcn.0042aa90
pop ecx
mov ecx, edi
mov ebx, eax
call fcn.0042ab27
call fcn.0042abbf
push 0
push 1
lea ecx, [ebp - 0x27c]
call fcn.0040320c
push 0
push 1
lea ecx, [ebp - 0x298]
call fcn.0040320c
call fcn.0040f2f1
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
call fcn.0040f592
push 0
push 1
lea ecx, [ebp - 0x250]
call fcn.0040320c
jmp 0x409231
mov esi, str.Download_Status:_Download_Failed
call fcn.0040f592
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a659
leave
ret 8