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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450497
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x467080]
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 0x458db0
push 1
push 0
push 0x458da0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jge 0x446d6c
xor eax, eax
jmp 0x446fe2
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x234]
push ecx
push 0x458dd0
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 0x446da5
xor eax, eax
jmp 0x446fe2
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 0x458d90
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 0x446dee
xor eax, eax
jmp 0x446fe2
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.00419d00
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 0x446fa9
xor ecx, ecx
mov word [ebp - 0x444], cx
push 0x208
push 0
lea edx, [ebp - 0x442]
push edx
call fcn.00419d00
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.004058e0
mov dword [ebp - 4], 0
lea edi, [ebp - 0x44c]
call fcn.0040a4d0
push 0x45c2fc
push str.http:__
lea ecx, [ebp - 0x44c]
call fcn.00410eb0
push 0x45c310
push str.https:__
lea ecx, [ebp - 0x44c]
call fcn.00410eb0
push 0x45c328
push 0x45c32c
lea ecx, [ebp - 0x44c]
call fcn.00410eb0
lea esi, [ebp - 0x448]
call fcn.004058a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44c]
push edx
lea eax, [ebp - 0x444]
push eax
push 0x45c330
lea edi, [ebp - 0x448]
call fcn.00406080
add esp, 0xc
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x448]
call fcn.00405a60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446f6c
cmp dword [ebp + 0x10], 0
je 0x446f65
push 0
push 0
lea eax, [ebp - 0x448]
call fcn.00405a60
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0x14], eax
jmp 0x446f6c
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x446f88
lea eax, [ebp - 0x448]
call fcn.00405a60
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.00405990
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44c]
call fcn.00405990
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.00418dfa
mov esp, ebp
pop ebp
ret