Function at 0x4685fa
Capabilities:
Create http request
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
mov edi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
push eax
call fcn.00402eaf
mov esi, eax
test esi, esi
jns 0x46865c
push str.Failed_to_copy_download_source_URL.
push esi
push 0xf
push 5
push 0x90
push str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
call fcn.00401228
add esp, 0x18
jmp 0x4687c5
xor eax, eax
push eax
push eax
push eax
push eax
push str.Burn
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x4686b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x46868a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x468691
mov esi, 0x80004005
push esi
push 0x93
mov ebx, str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
push ebx
call fcn.00401225
push str.Failed_to_open_internet_session
push esi
push 0xf
push 5
push 0x93
push ebx
jmp 0x46864f
lea eax, [ebp - 8]
push eax
push 0x78
push str.DownloadTimeout
push str.WiXBurn
call fcn.0046668c
mov eax, dword [ebp - 8]
test eax, eax
je 0x468706
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 2
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 8]
push eax
push 6
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp - 8]
push eax
push 5
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 4]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
call fcn.00467bf7
test eax, eax
jns 0x468738
push eax
push dword [ebp - 4]
push str.Ignoring_failure_to_get_size_and_time_for_URL:__ls__error_0x_x_
push 3
call fcn.0040a2d7
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
call fcn.00467cc3
push dword [ebp + 0x1c]
lea eax, [ebp - 4]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
call fcn.004677fc
mov esi, eax
test esi, esi
jns 0x4687a1
push dword [ebp - 4]
push str.Failed_to_download_URL:__ls
push esi
push 0xf
push 5
push 0xab
push str.d:_awixwix_srclibsdutilwixtoolset.dutildlutil.cpp
call fcn.00401228
add esp, 0x1c
jmp 0x4687b6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4687b6
xor ecx, ecx
cmp word [eax], cx
je 0x4687b6
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc], 0xffffffff
je 0x4687c5
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4687d2
push eax
call fcn.0040367f
test edi, edi
je 0x4687dd
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 4], 0
je 0x4687eb
push dword [ebp - 4]
call fcn.0040367f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18