Function at 0x42786c
Capabilities:
Create http request

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.00431729
mov esi, eax
cmp esi, ebx
jge 0x4278c1
push str.Failed_to_copy_download_source_URL.
push esi
call fcn.00430126
pop ecx
pop ecx
jmp 0x427a1b
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 0x42790d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4278eb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x4278f6
mov esi, 0x80004005
push esi
push 0x93
push str.downloadengine.cpp
call fcn.00432f06
push str.Failed_to_open_internet_session
jmp 0x4278b4
lea eax, [ebp - 0xc]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.00437ac0
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x42795f
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.0042753b
mov esi, eax
cmp esi, ebx
jge 0x42799a
push dword [ebp - 8]
push str.Failed_to_get_size_and_time_for_URL:__ls
push esi
call fcn.00430126
add esp, 0xc
jmp 0x427a1b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x24]
lea esi, [ebp - 0x1c]
call fcn.00426ea9
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.004275f8
mov esi, eax
cmp esi, ebx
jge 0x4279f9
push dword [ebp - 8]
push str.Failed_to_download_URL:__ls
push esi
call fcn.00430126
add esp, 0xc
jmp 0x427a0c
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x427a0c
cmp word [eax], bx
je 0x427a0c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0xffffffff
je 0x427a1b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x427a28
push dword [ebp - 0x14]
call fcn.00430887
cmp dword [ebp - 4], ebx
je 0x427a36
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], ebx
je 0x427a43
push dword [ebp - 8]
call fcn.00430887
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20