Function at 0x40bbaa
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1040]
mov eax, 0x1040
call fcn.00450f80
push 0xffffffffffffffff
push 0x47b490
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp + 0x103c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x1048]
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push str.PreDownldStatus
push ebx
mov dword [ebp - 0x18], ebx
mov byte [esi], bl
call fcn.00411cfc
push dword [ebp + 0x104c]
push esi
call fcn.004166fb
add esp, 0x14
test eax, eax
je 0x40bc30
cmp dword [edi + 0x2474], ebx
je 0x40bc29
cmp dword [ebp - 0x18], 8
jne 0x40bc30
xor eax, eax
jmp 0x40bea8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jl 0x40bc4f
push esi
call fcn.00416754
pop ecx
test eax, eax
jne 0x40bc4f
push 4
pop ebx
mov dword [ebp - 0x14], ebx
jmp 0x40bc64
push 2
pop ebx
lea eax, [edi + 0x36c]
mov dword [ebp - 0x14], ebx
push esi
push eax
call fcn.00411f80
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x40bc79
push ebx
push str.PreDownldStatus
push 0
call fcn.0041210d
add esp, 0xc
push 0x800
lea eax, [ebp + 0x3c]
push 0
push eax
call fcn.004541a0
push 0x800
lea eax, [ebp + 0x83c]
push 0
push eax
call fcn.004541a0
add esp, 0x18
mov dword [ebp - 0x10], 0x77
cmp ebx, 2
jne 0x40be12
push str.Downloading_file
call fcn.00412911
mov eax, dword [edi]
pop ecx
push esi
lea ecx, [edi + 0x36c]
push ecx
push edi
call dword [eax + 0x14]
and dword [edi + 0x2474], 0
mov ebx, eax
test ebx, ebx
js 0x40bd46
push esi
push str.LocalFileName
push 0
call fcn.004121c3
lea eax, [edi + 0x2374]
add esp, 0xc
cmp byte [eax], 0
je 0x40bd05
push 0x20
push 0x800c
push eax
push esi
call fcn.00416e52
add esp, 0x10
test eax, eax
je 0x40bd1f
lea eax, [edi + 0x36c]
push eax
push esi
call fcn.0041626a
mov dword [ebp - 0x10], eax
pop ecx
pop ecx
test eax, eax
je 0x40be8b
push str.Download_Status:_Verification_of_Installer_failed
mov ebx, 0x80004005
call fcn.00412911
cmp dword [ebp - 0x10], 0xfffffffc
mov eax, 0x88
pop ecx
push 0x74
pop edx
cmovne eax, edx
mov dword [ebp - 0x10], eax
jmp 0x40bed2
mov eax, dword [edi + 0x2480]
mov dword [ebp - 0x14], eax
add eax, 0xfffffe70
push 0x77
pop ecx
mov dword [ebp - 0x10], ecx
cmp eax, 0xc7
ja 0x40bed2
push 3
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x40bddc
push 1
lea ecx, [ebp - 0xb0]
call fcn.004037e9
and dword [ebp - 4], 0
lea eax, [ebp - 0xb0]
push str.Downloading_Java_Update_files_failed__rc_is
push eax
call fcn.00402c16
pop ecx
pop ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
call fcn.004042ce
lea eax, [ebp - 0xb0]
push eax
push str.CDownloadManager::DownloadFiles
push 0x1a6
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_au_jucheck_DownloadManager.cpp
push 3
call fcn.00425c61
mov ecx, eax
call fcn.0040718f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.004045d2
mov eax, dword [ebp - 0x14]
mov ecx, 0x193
cmp eax, ecx
je 0x40bdef
add ecx, 0x61
cmp eax, ecx
jne 0x40bdf6
xor eax, eax
push eax
push eax
push ecx
jmp 0x40be04
mov edx, 0x1f7
cmp eax, edx
jne 0x40bdef
xor eax, eax
push eax
push eax
push edx
push eax
call fcn.004108e3
add esp, 0x10
jmp 0x40bed2
xor ebx, ebx
cmp dword [ebp - 0x14], 4
jne 0x40be8b
push str.Download_Status:_Bef_Stage2_PreDL
call fcn.00412911
push 4
push str.PreDownldStatus
push ebx
call fcn.0041210d
push esi
push 0x487a28
push 0xffffffffffffffff
mov ebx, 0x800
lea eax, [ebp + 0x3c]
push ebx
push eax
call fcn.0040d39b
lea eax, [edi + 0xfec]
push eax
push str.__download
push str._s__s
push 0xffffffffffffffff
lea eax, [ebp + 0x83c]
push ebx
push eax
call fcn.0040d39b
add esp, 0x3c
lea eax, [ebp + 0x83c]
push 0x77
pop ecx
push 1
push eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x10], ecx
push eax
mov ecx, edi
call fcn.0040bf53
test eax, eax
jne 0x40becd
xor ebx, ebx
push 8
push str.PreDownldStatus
push 0
call fcn.0041210d
push str.Download_Status:_Stage2_PreDL_Success
call fcn.00412911
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x103c]
xor ecx, ebp
call fcn.00450e68
add ebp, 0x1040
leave
ret 8
mov ebx, 0x80004005
call fcn.00411a99
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [edi + 0x247c], 0
je 0x40bf41
lea ecx, [ebp]
call fcn.0043078e
lea ecx, [ebp]
mov dword [ebp - 4], 1
call fcn.00430a04
mov dword [ebp - 4], 2
call fcn.0042c575
push eax
push dword [ebp - 0x10]
call fcn.0042c575
push eax
push 0x72
lea ecx, [ebp]
call fcn.00430907
mov ecx, eax
call fcn.00430aeb
mov ecx, eax
call fcn.00430a71
lea ecx, [ebp + 0x18]
call fcn.004063fd
lea ecx, [ebp]
call fcn.004063fd
jmp 0x40bea6
push str.Download_Status:_Stage2_PreDL_Failed
call fcn.00412911
pop ecx
jmp 0x40bea6