Function at 0x440f60
Capabilities:
Check if file exists
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a4e7
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x10]
push eax
push 0x44f65c
push 1
push 0
push 0x44f64c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jge 0x440fcc
xor eax, eax
jmp 0x441242
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x234]
push ecx
push 0x44f67c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jge 0x441005
xor eax, eax
jmp 0x441242
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [edx + 0x14]
call ecx
lea edx, [ebp - 0x228]
push edx
push 0x44f63c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jge 0x44104e
xor eax, eax
jmp 0x441242
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.0041a420
add esp, 0xc
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x230]
push eax
push 0x104
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [eax + 0x40]
call edx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x441209
xor ecx, ecx
mov word [ebp - 0x444], cx
push 0x208
push 0
lea edx, [ebp - 0x442]
push edx
call fcn.0041a420
add esp, 0xc
lea eax, [ebp - 0x444]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x44c]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00405850
mov dword [ebp - 4], 0
lea edi, [ebp - 0x44c]
call fcn.0040ace0
push 0x452bb8
push str.http:__
lea ecx, [ebp - 0x44c]
call fcn.00411640
push 0x452bcc
push str.https:__
lea ecx, [ebp - 0x44c]
call fcn.00411640
push 0x452be4
push 0x452be8
lea ecx, [ebp - 0x44c]
call fcn.00411640
lea esi, [ebp - 0x448]
call fcn.00405810
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44c]
push edx
lea eax, [ebp - 0x444]
push eax
push 0x452bec
lea edi, [ebp - 0x448]
call fcn.00405ff0
add esp, 0xc
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x448]
call fcn.00405a90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4411cc
cmp dword [ebp + 0x10], 0
je 0x4411c5
push 0
push 0
lea eax, [ebp - 0x448]
call fcn.00405a90
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0x14], eax
jmp 0x4411cc
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x4411e8
lea eax, [ebp - 0x448]
call fcn.00405a90
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x448]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44c]
call fcn.00405a70
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041957a
mov esp, ebp
pop ebp
ret