Function at 0x408eeb
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 0x408f4e
mov ecx, dword [edi + 0x2474]
test ecx, ecx
je 0x408f1e
test eax, eax
je 0x408f4e
mov edx, dword [edi]
push ecx
push eax
push edi
call dword [edx + 0x10]
mov esi, eax
test esi, esi
jne 0x408f42
push 1
call fcn.0044a640
pop ecx
test eax, eax
je 0x408f4e
mov eax, 0x80070204
jmp 0x409179
call fcn.0044a640
mov eax, esi
jmp 0x409179
cmp dword [edi + 0x2478], 0
je 0x408f80
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.0040b853
lea edx, [ebp - 0x110]
mov ecx, edi
call fcn.0044a640
mov dword [ebp - 0x2bc], eax
test eax, eax
js 0x409169
mov esi, str.Download_Status:_Download_Complete
call fcn.0044a640
cmp dword [0x49c100], 1
mov ebx, str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_au_jucheck_DownloadManager.cpp
mov esi, 0x49c100
jg 0x40900f
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.0044a640
push eax
lea eax, [ebp - 0x2b4]
push str.DownloadManager_MOS_MODE
push eax
call fcn.0044a640
add esp, 0x14
push str.CDownloadManager::DownloadExecInstaller
push 0xa0
push ebx
push 1
mov edx, eax
mov ecx, esi
call fcn.00421538
push 0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.0040321f
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040321f
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 0x2b5], 1
call fcn.0040246d
push 0x47a3a8
call fcn.0044c4a0
pop ecx
push eax
push 0x47a3a8
lea eax, [ebp - 0x250]
push eax
xor eax, eax
call fcn.0044a640
cmp eax, 0xffffffff
je 0x409091
cmp dword [0x49c100], 1
jg 0x40908a
push str.MOS__cb_detected__do_not_run
lea ecx, [ebp - 0x234]
call fcn.0040246d
push str.CDownloadManager::DownloadExecInstaller
push 0xa6
push ebx
push 1
mov edx, eax
mov ecx, esi
call fcn.00421538
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.0040321f
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 0x4090d8
cmp byte [ebp - 0x2b5], 0
je 0x4090d8
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 0x409158
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Signature_Failed
jmp 0x409153
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea eax, [ebp - 0x298]
call fcn.0042a9c8
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.0042a9e8
pop ecx
mov ecx, edi
mov ebx, eax
call fcn.0042aa7f
call fcn.0042ab17
push 0
push 1
lea ecx, [ebp - 0x27c]
call fcn.0040321f
push 0
push 1
lea ecx, [ebp - 0x298]
call fcn.0040321f
call fcn.0044a640
mov esi, str.Download_Status:_Verification_of_Downloaded_File_Version_Failed
call fcn.0044a640
push 0
push 1
lea ecx, [ebp - 0x250]
call fcn.0040321f
jmp 0x409173
mov esi, str.Download_Status:_Download_Failed
call fcn.0044a640
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a628
leave
ret 8