Function at 0x4251cd
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.0042ecb2
mov esi, eax
cmp esi, ebx
jge 0x425222
push str.Failed_to_copy_download_source_URL.
push esi
call fcn.0042d996
pop ecx
pop ecx
jmp 0x42537c
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 0x42526e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x42524c
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x425257
mov esi, 0x80004005
push esi
push 0x96
push str.downloadengine.cpp
call fcn.0042fdc3
push str.Failed_to_open_internet_session
jmp 0x425215
lea eax, [ebp - 0xc]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.00435786
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x4252c0
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.00424e99
mov esi, eax
cmp esi, ebx
jge 0x4252fb
push dword [ebp - 8]
push str.Failed_to_get_size_and_time_for_URL:__ls
push esi
call fcn.0042d996
add esp, 0xc
jmp 0x42537c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x24]
lea esi, [ebp - 0x1c]
call fcn.00424807
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.00424f59
mov esi, eax
cmp esi, ebx
jge 0x42535a
push dword [ebp - 8]
push str.Failed_to_download_URL:__ls
push esi
call fcn.0042d996
add esp, 0xc
jmp 0x42536d
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x42536d
cmp word [eax], bx
je 0x42536d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], 0xffffffff
je 0x42537c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
je 0x425389
push dword [ebp - 0x14]
call fcn.0042dd7e
cmp dword [ebp - 4], ebx
je 0x425397
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], ebx
je 0x4253a4
push dword [ebp - 8]
call fcn.0042dd7e
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20