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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x475080]
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 0x4650f0
push 1
push 0
push 0x4650e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jge 0x451ebc
xor eax, eax
jmp 0x452135
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x234]
push ecx
push 0x465110
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 0x451ef5
xor eax, eax
jmp 0x452135
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 0x4650d0
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 0x451f3e
xor eax, eax
jmp 0x452135
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.0041eb30
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 0x4520fc
xor ecx, ecx
mov word [ebp - 0x444], cx
push 0x208
push 0
lea edx, [ebp - 0x442]
push edx
call fcn.0041eb30
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.00405940
mov dword [ebp - 4], 0
lea edi, [ebp - 0x44c]
call fcn.00409d60
push 0x468b50
push str.http:__
lea edx, [ebp - 0x44c]
push edx
call fcn.00409a50
push 0x468b64
push str.https:__
lea eax, [ebp - 0x44c]
push eax
call fcn.00409a50
push 0x468b7c
push 0x468b80
lea ecx, [ebp - 0x44c]
push ecx
call fcn.00409a50
lea esi, [ebp - 0x448]
call fcn.00405900
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44c]
push edx
lea eax, [ebp - 0x444]
push eax
push 0x468b84
lea edi, [ebp - 0x448]
call fcn.00406090
add esp, 0xc
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x448]
call fcn.00405aa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4520bf
cmp dword [ebp + 0x10], 0
je 0x4520b8
push 0
push 0
lea eax, [ebp - 0x448]
call fcn.00405aa0
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0x14], eax
jmp 0x4520bf
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x4520db
lea eax, [ebp - 0x448]
call fcn.00405aa0
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.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x44c]
call fcn.00405b50
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.0041d97a
mov esp, ebp
pop ebp
ret