Function at 0x40a6ab
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x4a9068]
xor eax, esp
mov dword [esp + 0x298], eax
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0x2478]
jne 0x40a713
mov edx, dword [esi + 0x2474]
test edx, edx
je 0x40a6e5
test ecx, ecx
je 0x40a713
mov eax, dword [esi]
push edx
push ecx
push esi
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x40a709
xor ecx, ecx
inc ecx
call fcn.0040e3dc
test eax, eax
je 0x40a713
mov eax, 0x80070204
jmp 0x40a8dd
call fcn.004105d4
jmp 0x40a8db
cmp dword [esi + 0x2478], 0
je 0x40a747
push 0x104
lea eax, [esp + 0x19c]
push eax
push 0x80
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [esi + 0x24]
lea eax, [esp + 0x198]
push eax
call fcn.0040cd3b
push ecx
lea eax, [esp + 0x94]
mov ecx, esi
push eax
call fcn.0040b35b
mov edi, eax
test edi, edi
js 0x40a8d1
mov ecx, str.Download_Status:_Download_Complete
call fcn.00410708
cmp dword [0x4ad0bc], 1
mov edi, str.CDownloadManager::DownloadExecInstaller
jg 0x40a7be
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.00426718
push eax
mov edx, str.DownloadManager_MOS_MODE
lea ecx, [esp + 0x40]
call fcn.0040a04e
pop ecx
push eax
push edi
push 0xa0
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_au_jucheck_DownloadManager.cpp
push 1
mov ecx, 0x4ad0bc
call fcn.00427376
lea ecx, [esp + 0x3c]
call fcn.004049ff
lea ecx, [esp + 0xc]
call fcn.004049ff
lea eax, [esp + 0x90]
mov bl, 1
push eax
lea ecx, [esp + 0x28]
call fcn.00403e1c
push 0
push 0x489e2c
lea ecx, [esp + 0x2c]
call fcn.0040bf60
cmp eax, 0xffffffff
je 0x40a820
cmp dword [0x4ad0bc], 1
jg 0x40a81e
push str.MOS__cb_detected__do_not_run
lea ecx, [esp + 0x10]
call fcn.00403e1c
push eax
push edi
push 0xa6
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_au_jucheck_DownloadManager.cpp
push 1
mov ecx, 0x4ad0bc
call fcn.00427376
lea ecx, [esp + 0xc]
call fcn.004049ff
xor bl, bl
mov eax, dword [esi]
lea ecx, [esp + 0x90]
push ecx
push esi
call dword [eax + 0x1c]
mov edi, eax
test edi, edi
js 0x40a858
test bl, bl
je 0x40a858
push dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push 1
push ecx
push esi
call dword [eax + 0x18]
mov edi, eax
test edi, edi
jns 0x40a8c6
mov ecx, str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x40a8c1
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x54]
call fcn.0042a2c3
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
mov dword [esp + 0x8c], 0x10
call esi
push eax
push 0x74
push 0
call esi
push eax
push 0x72
lea ecx, [esp + 0x64]
call fcn.0042a2eb
mov ecx, eax
call fcn.0042a3ca
mov ecx, eax
call fcn.0042a4ab
lea ecx, [esp + 0x6c]
call fcn.004049d1
lea ecx, [esp + 0x54]
call fcn.004049d1
call fcn.004104a4
mov ecx, str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
call fcn.00410708
lea ecx, [esp + 0x24]
call fcn.004049ff
jmp 0x40a8db
mov ecx, str.Download_Status:_Download_Failed
call fcn.00410708
mov eax, edi
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004489ea
mov esp, ebp
pop ebp
ret 8