Function at 0x1000cfa5
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
sub esp, 0x438
lea ebp, [esp - 4]
mov eax, dword [0x10053130]
xor eax, ebp
mov dword [ebp + 0x438], eax
push 0x94
mov eax, 0x1003a5d9
call fcn.10022028
mov eax, dword [ebp + 0x444]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x1fe
mov word [ebp + 0x38], ax
xor ebx, ebx
lea eax, [ebp + 0x3a]
push ebx
push eax
call fcn.10022680
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
push str.__04d__02d__02d__02d:_02d:_02d:_04d_
lea eax, [ebp + 0x38]
push 0x100
push eax
call fcn.100016e6
add esp, 0x34
push 7
pop edi
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], edi
call fcn.10001816
push str.Notice__CSUDownloadFileObject::DownloadToFile__Downloading__s_to__s_n
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], ebx
call fcn.1000217b
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.1000217b
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.1000219d
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.10001fc3
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.10001987
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001987
push ebx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.10001987
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUDownloadFileObject::GetPathOnDisk_void_
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUDownloadFileObject::GetFileURL_void_
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x1000d0d4
lea ecx, [ebp + 4]
mov edx, dword [ebp - 0x10]
push dword [edx]
push dword [eax]
push ecx
call fcn.100226fa
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.10001128
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001128
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp]
call fcn.10001987
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUDownloadFileObject::GetFileURL_void_
push dword [eax]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001128
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x24]
push esi
lea ecx, [ebp - 0x40]
mov dword [esi + 0x44], eax
call fcn.1000bb74
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov dword [ebp - 4], 5
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUDownloadFileObject::GetPathOnDisk_void_
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUDownloadFileObject::GetFileURL_void_
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov eax, dword [eax]
push ebx
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], eax
call fcn.10001128
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001128
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x44], ebx
cmp dword [ebp - 0x10], ebx
je 0x1000d2bc
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call sym.SoftwareUpdateFiles.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSUDownloadFileObject::GetPathOnDisk_void_
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001128
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x1fe
mov word [ebp + 0x238], ax
lea eax, [ebp + 0x23a]
push ebx
push eax
call fcn.10022680
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x38]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x3e]
push eax
movzx eax, word [ebp - 0x40]
push eax
push str.__04d__02d__02d__02d:_02d:_02d:_04d_
lea eax, [ebp + 0x238]
push 0x100
push eax
call fcn.100016e6
add esp, 0x34
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], edi
call fcn.10001816
push str.Error__CSUDownloadFileObject::DownloadToFile__URLDownloadToFile_failed_with_error_0x_x_n
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], edi
call fcn.1000217b
mov esi, eax
lea eax, [ebp + 0x238]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.1000217b
push esi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 9
call fcn.1000219d
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xa
call fcn.10001fc3
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x68]
call fcn.10001987
push ebx
push esi
lea ecx, [ebp - 0xa0]
call fcn.10001987
push ebx
push esi
lea ecx, [ebp - 0x84]
call fcn.10001987
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x1000d2a7
lea eax, [ebp + 0x20]
push dword [ebp - 0x10]
push eax
call fcn.100226fa
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.10001987
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x438]
xor ecx, ebp
call fcn.10022019
add ebp, 0x43c
leave
ret 4