Function at 0x427847
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.0043178b
mov esi, eax
cmp esi, ebx
jge 0x42789c
push str.Failed_to_copy_download_source_URL.
push esi
call fcn.004300f7
pop ecx
pop ecx
jmp 0x4279f6
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 0x4278e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4278c6
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x4278d1
mov esi, 0x80004005
push esi
push 0x93
push str.downloadengine.cpp
call fcn.00432f68
push str.Failed_to_open_internet_session
jmp 0x42788f
lea eax, [ebp - 0xc]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.00437b23
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x42793a
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.00427516
mov esi, eax
cmp esi, ebx
jge 0x427975
push dword [ebp - 8]
push str.Failed_to_get_size_and_time_for_URL:__ls
push esi
call fcn.004300f7
add esp, 0xc
jmp 0x4279f6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x24]
lea esi, [ebp - 0x1c]
call fcn.00426e84
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.004275d3
mov esi, eax
cmp esi, ebx
jge 0x4279d4
push dword [ebp - 8]
push str.Failed_to_download_URL:__ls
push esi
call fcn.004300f7
add esp, 0xc
jmp 0x4279e7
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4279e7
cmp word [eax], bx
je 0x4279e7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0xffffffff
je 0x4279f6
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x427a03
push dword [ebp - 0x14]
call fcn.00430858
cmp dword [ebp - 4], ebx
je 0x427a11
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], ebx
je 0x427a1e
push dword [ebp - 8]
call fcn.00430858
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20