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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1ce1
mov eax, dword fs:[0]
push eax
mov eax, 0x1230
call fcn.0047ad70
mov eax, dword [0x4ec00c]
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_adv.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.004097c0
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 0x49b904
mov ecx, dword [ebp - 0x122c]
add ecx, 1
mov dword [ebp - 0x122c], ecx
mov edx, dword [ebp - 0x122c]
cmp edx, dword [ebp - 0x1238]
jge 0x49bb88
mov eax, dword [ebp - 0x1220]
push eax
push 0
lea ecx, [ebp - 0x1010]
push ecx
call fcn.00433ca0
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_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea ecx, [ebp - 0x1010]
push ecx
call sym.Install_adv.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
je 0x49b967
jmp 0x49b8f5
mov edx, dword [ebp - 0x1220]
push edx
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00433ca0
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_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0x1010]
push eax
call sym.Install_adv.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
je 0x49b9bb
jmp 0x49b8f5
mov ecx, dword [ebp - 0x1220]
push ecx
push 0
lea edx, [ebp - 0x1010]
push edx
call fcn.00433ca0
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_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1230]
call fcn.004096a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1220]
push eax
push 0
lea ecx, [ebp - 0x1010]
push ecx
call fcn.00433ca0
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_adv.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 0x49ba7e
lea edx, [ebp - 0x1010]
push edx
lea eax, [ebp - 0x1218]
push eax
push 0x4d0048
lea ecx, [ebp - 0x1224]
push ecx
call fcn.00409d70
add esp, 0x10
jmp 0x49baa0
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.00409d70
add esp, 0x10
push 0x4d0080
push 0x4d0084
lea ecx, [ebp - 0x1224]
call fcn.0040dc00
push 0
push 0
lea ecx, [ebp - 0x1224]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x1230]
call sym.Install_adv.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 0x49bb74
mov edx, dword [ebp - 0x1220]
push edx
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00433ca0
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_adv.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 0x49bb5a
push 5
push 0
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1224]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x49bb74
push 5
push 0
push 0
lea ecx, [ebp - 0x1224]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_adv.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.00409680
jmp 0x49b8f5
mov edx, dword [ebp - 0x1220]
push edx
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x1010]
push ecx
push str.showmsg
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_adv.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 0x49bc45
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1234]
call fcn.004096a0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1220]
push ecx
push 0
lea edx, [ebp - 0x1010]
push edx
call fcn.00433ca0
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push str.showtitle
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_adv.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_adv.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.00409680
mov edx, dword [ebp - 0x1220]
push edx
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x1010]
push ecx
push str.showurl
mov ecx, dword [ebp - 0x121c]
add ecx, 0x45c
call sym.Install_adv.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 0x49bca5
push 5
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
push 0x4d00d0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1224]
call fcn.00409680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f10e
mov esp, ebp
pop ebp
ret