Function at 0x40a673
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x4aa068]
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 0x40a6db
mov edx, dword [esi + 0x2474]
test edx, edx
je 0x40a6ad
test ecx, ecx
je 0x40a6db
mov eax, dword [esi]
push edx
push ecx
push esi
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x40a6d1
xor ecx, ecx
inc ecx
call fcn.0040e3a8
test eax, eax
je 0x40a6db
mov eax, 0x80070204
jmp 0x40a8a5
call fcn.004105a0
jmp 0x40a8a3
cmp dword [esi + 0x2478], 0
je 0x40a70f
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.0040ccfe
push ecx
lea eax, [esp + 0x94]
mov ecx, esi
push eax
call fcn.0040b322
mov edi, eax
test edi, edi
js 0x40a899
mov ecx, str.Download_Status:_Download_Complete
call fcn.004106d4
cmp dword [0x4ae0bc], 1
mov edi, str.CDownloadManager::DownloadExecInstaller
jg 0x40a786
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.004265f2
push eax
mov edx, str.DownloadManager_MOS_MODE
lea ecx, [esp + 0x40]
call fcn.0040a016
pop ecx
push eax
push edi
push 0xa0
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_au_jucheck_DownloadManager.cpp
push 1
mov ecx, 0x4ae0bc
call fcn.00427250
lea ecx, [esp + 0x3c]
call fcn.004049c7
lea ecx, [esp + 0xc]
call fcn.004049c7
lea eax, [esp + 0x90]
mov bl, 1
push eax
lea ecx, [esp + 0x28]
call fcn.00403e12
push 0
push 0x48b15c
lea ecx, [esp + 0x2c]
call fcn.0040bf23
cmp eax, 0xffffffff
je 0x40a7e8
cmp dword [0x4ae0bc], 1
jg 0x40a7e6
push str.MOS__cb_detected__do_not_run
lea ecx, [esp + 0x10]
call fcn.00403e12
push eax
push edi
push 0xa6
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_au_jucheck_DownloadManager.cpp
push 1
mov ecx, 0x4ae0bc
call fcn.00427250
lea ecx, [esp + 0xc]
call fcn.004049c7
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 0x40a820
test bl, bl
je 0x40a820
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 0x40a88e
mov ecx, str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x40a889
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x54]
call fcn.0042a0be
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.0042a0e0
mov ecx, eax
call fcn.0042a152
mov ecx, eax
call fcn.0042a1c5
lea ecx, [esp + 0x6c]
call fcn.004049c7
lea ecx, [esp + 0x54]
call fcn.004049c7
call fcn.00410470
mov ecx, str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
call fcn.004106d4
lea ecx, [esp + 0x24]
call fcn.004049c7
jmp 0x40a8a3
mov ecx, str.Download_Status:_Download_Failed
call fcn.004106d4
mov eax, edi
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004484c4
mov esp, ebp
pop ebp
ret 8