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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9edb
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x438], 0
lea eax, [ebp - 0x428]
push eax
push 0x4c2c40
push 1
push 0
push 0x4c2c30
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jge 0x47d5b0
xor eax, eax
jmp 0x47d839
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x43c]
push ecx
push 0x4c2c60
mov edx, dword [ebp - 0x428]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jge 0x47d5ef
xor eax, eax
jmp 0x47d839
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x43c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [edx + 0x14]
call ecx
lea edx, [ebp - 0x438]
push edx
push 0x4c2c20
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jge 0x47d63e
xor eax, eax
jmp 0x47d839
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00456880
add esp, 0xc
mov dword [ebp - 0x444], 0
lea edx, [ebp - 0x444]
push edx
push 0x104
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x438]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x438]
push eax
mov ecx, dword [edx + 0x40]
call ecx
mov dword [ebp - 0x440], 0
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x47d7f7
push 0x20a
push 0
lea eax, [ebp - 0x424]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x424]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x42c]
call fcn.00405080
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004097b0
push 0x4c48dc
push 0x4c48e0
lea ecx, [ebp - 0x42c]
call fcn.00409a70
push 0x4c48f0
push 0x4c48f4
lea ecx, [ebp - 0x42c]
call fcn.00409a70
push 0x4c4908
push 0x4c490c
lea ecx, [ebp - 0x42c]
call fcn.00409a70
lea ecx, [ebp - 0x434]
call fcn.00405120
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x424]
push ecx
push 0x4c4910
lea edx, [ebp - 0x434]
push edx
call fcn.00405800
add esp, 0x10
mov dword [ebp - 0x440], 1
lea ecx, [ebp - 0x434]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47d7b7
cmp dword [ebp + 0x10], 0
je 0x47d7ad
push 0
push 0
lea ecx, [ebp - 0x434]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0x440], eax
jmp 0x47d7b7
mov dword [ebp - 0x440], 0
cmp dword [ebp - 0x440], 0
je 0x47d7d6
lea ecx, [ebp - 0x434]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.00405060
mov edx, dword [ebp - 0x438]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x438]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x43c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x428]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 0x440]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret