Function at 0x427214
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.00431171
mov esi, eax
cmp esi, ebx
jge 0x427269
push str.Failed_to_copy_download_source_URL.
push esi
call fcn.0042fa86
pop ecx
pop ecx
jmp 0x4273c3
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 0x4272b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x427293
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x42729e
mov esi, 0x80004005
push esi
push 0x93
push str.downloadengine.cpp
call fcn.0043294e
push str.Failed_to_open_internet_session
jmp 0x42725c
lea eax, [ebp - 0xc]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.00437d08
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x427307
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.00426ee3
mov esi, eax
cmp esi, ebx
jge 0x427342
push dword [ebp - 8]
push str.Failed_to_get_size_and_time_for_URL:__ls
push esi
call fcn.0042fa86
add esp, 0xc
jmp 0x4273c3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x24]
lea esi, [ebp - 0x1c]
call fcn.00426851
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.00426fa0
mov esi, eax
cmp esi, ebx
jge 0x4273a1
push dword [ebp - 8]
push str.Failed_to_download_URL:__ls
push esi
call fcn.0042fa86
add esp, 0xc
jmp 0x4273b4
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4273b4
cmp word [eax], bx
je 0x4273b4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0xffffffff
je 0x4273c3
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x4273d0
push dword [ebp - 0x14]
call fcn.004301e8
cmp dword [ebp - 4], ebx
je 0x4273de
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], ebx
je 0x4273eb
push dword [ebp - 8]
call fcn.004301e8
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20