Function at 0x426748
Capabilities:
Create http request
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x18]
push ebx
push dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.004304a4
mov esi, eax
cmp esi, ebx
jge 0x42679d
push str.Failed_to_copy_download_source_URL.
push esi
call fcn.0042eef6
pop ecx
pop ecx
jmp 0x4268f7
push ebx
push ebx
push ebx
push ebx
push str.Burn
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x4267e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4267c7
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x4267d2
mov esi, 0x80004005
push esi
push 0x93
push str.downloadengine.cpp
call fcn.0043166e
push str.Failed_to_open_internet_session
jmp 0x426790
lea eax, [ebp - 0xc]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.0043701a
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x42683b
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 2
push dword [ebp - 4]
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 6
push dword [ebp - 4]
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 5
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 8]
lea eax, [ebp - 8]
push dword [edi + 4]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x24]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00426417
mov esi, eax
cmp esi, ebx
jge 0x426876
push dword [ebp - 8]
push str.Failed_to_get_size_and_time_for_URL:__ls
push esi
call fcn.0042eef6
add esp, 0xc
jmp 0x4268f7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x24]
lea esi, [ebp - 0x1c]
call fcn.00425d85
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x24]
push dword [edi + 8]
push dword [edi + 4]
push eax
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.004264d4
mov esi, eax
cmp esi, ebx
jge 0x4268d5
push dword [ebp - 8]
push str.Failed_to_download_URL:__ls
push esi
call fcn.0042eef6
add esp, 0xc
jmp 0x4268e8
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4268e8
cmp word [eax], bx
je 0x4268e8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0xffffffff
je 0x4268f7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x426904
push dword [ebp - 0x14]
call fcn.0042f657
cmp dword [ebp - 4], ebx
je 0x426912
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], ebx
je 0x42691f
push dword [ebp - 8]
call fcn.0042f657
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20