Function at 0x454930
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e693
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
push str.DownloadFileDirectly...
lea ecx, [ebp - 0x34]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405260
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
push str.iForbidURLDownloadToFile
mov ecx, 0x4a4b5c
call fcn.00401fc0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00448210
add esp, 0x10
cmp dword [ebp - 0x20], 1
jne 0x4549fb
push str.URLDownloadToFile_is_not_allowed
lea ecx, [ebp - 0x38]
call fcn.00401ee0
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x38]
push edx
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405260
mov eax, dword [ebp - 0x28]
jmp 0x454bdc
mov ecx, 0x4a4b78
call fcn.004067f0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.004067b0
test eax, eax
je 0x454a4f
push str.Backup_BITs_is_disabled_in_Manifest
lea ecx, [ebp - 0x3c]
call fcn.00401ee0
mov dword [ebp - 4], 2
push 0
lea eax, [ebp - 0x3c]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405260
mov eax, dword [ebp - 0x28]
jmp 0x454bdc
call fcn.0044c660
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x454aa4
mov ecx, dword [ebp - 0x2c]
call fcn.004067d0
test eax, eax
je 0x454aa4
push str.Backup_BITs_is_disabled_on_64bit_system_in_Manifest
lea ecx, [ebp - 0x40]
call fcn.00401ee0
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0x40]
push ecx
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405260
mov eax, dword [ebp - 0x28]
jmp 0x454bdc
lea ecx, [ebp - 0x18]
call fcn.00454430
mov dword [ebp - 4], 4
mov ecx, 0x4a4b78
call fcn.004010a0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x4c]
add edx, 8
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004069e0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x454ae1
mov dword [ebp - 0x10], 1
lea edx, [ebp - 0x18]
push edx
push 0
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00401fc0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x454b15
mov dword [ebp - 0x28], 1
jmp 0x454bc4
mov ecx, 0x4a4b78
call fcn.004030e0
test eax, eax
jne 0x454bc4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401fa0
mov byte [ebp - 4], 5
push str.http:__
push str.https:__
lea ecx, [ebp - 0x30]
call fcn.00403150
test eax, eax
je 0x454bb8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x30]
call fcn.00401fc0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x454b87
mov dword [ebp - 0x28], 1
jmp 0x454bb8
push str.DownloadFileDirectly_failed:
lea ecx, [ebp - 0x44]
call fcn.00401ee0
mov byte [ebp - 4], 6
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x44]
push edx
push 2
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.00405260
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00405260
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00454410
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8