Function at 0x463500
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [0x49c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x524], ecx
push 0x48a254
push 0x1f57
call sym.Install_adv.exe_int___cdecl_NsResSize_int__wchar_t_const__
add esp, 8
mov dword [ebp - 0x534], eax
cmp dword [ebp - 0x534], 0
jg 0x46353f
jmp 0x463787
mov eax, dword [ebp - 0x534]
push eax
call fcn.00450b8d
add esp, 4
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x530], ecx
mov edx, dword [ebp - 0x530]
push edx
push 0x48a25c
push 0x1f57
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x538], 0
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x528], eax
push 4
mov ecx, dword [ebp - 0x528]
push ecx
lea edx, [ebp - 0x538]
push edx
call fcn.0042be50
add esp, 0xc
mov eax, dword [ebp - 0x528]
add eax, 4
mov dword [ebp - 0x528], eax
push 0x20a
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0042b9d0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx ecx, word [ebp + eax*2 - 0x212]
cmp ecx, 0x5c
jne 0x46360c
push 0x48a264
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x46361e
push str._nscomponent_setup.exe
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 0x52c], 0
jmp 0x463639
mov ecx, dword [ebp - 0x52c]
add ecx, 1
mov dword [ebp - 0x52c], ecx
mov edx, dword [ebp - 0x52c]
cmp edx, dword [ebp - 0x538]
jge 0x46376c
push 0x310
mov eax, dword [ebp - 0x528]
push eax
lea ecx, [ebp - 0x520]
push ecx
call fcn.0042be50
add esp, 0xc
mov edx, dword [ebp - 0x528]
add edx, 0x310
mov dword [ebp - 0x528], edx
lea eax, [ebp - 0x520]
push eax
call sym.Install_adv.exe_int___cdecl_CheckInstalled_wchar_t_const__
add esp, 4
test eax, eax
jne 0x463767
lea ecx, [ebp - 0x520]
push ecx
mov edx, dword [ebp - 0x524]
add edx, 0xbee
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.nscomponent_setup.exe
call sym.Install_adv.exe_public:_static_class_CNsProcess____cdecl_CNsProcess::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_void___thiscall_CNsProcess::KillProcess_wchar_t_const__
mov eax, dword [ebp - 0x524]
mov dword [eax + 0xb4c], 0xfffffffe
mov ecx, dword [ebp - 0x524]
cmp dword [ecx + 4], 0
je 0x4636ef
push 0
push 0xfffffffffffffffe
push 0x7ea
mov edx, dword [ebp - 0x524]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x524]
mov byte [ecx + 0xb45], 1
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push sym.Install_adv.exe_private:_static_void___stdcall_CNsInstaller::DownNotify_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x458]
push ecx
call sym.Install_adv.exe_public:_static_class_CNsDownload____cdecl_CNsDownload::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsDownload::GetHttpFile_wchar_t_const___wchar_t_const___int__void____stdcall___int__wchar_t_const___long_long___int64___long_long___int64___double___int_
mov edx, dword [ebp - 0x524]
movzx eax, byte [edx + 0xb46]
test eax, eax
je 0x463767
cmp dword [ebp - 0x214], 0
je 0x46375a
lea ecx, [ebp - 0x250]
push ecx
mov ecx, dword [ebp - 0x524]
call sym.Install_adv.exe_private:_void___thiscall_CNsInstaller::DoSetup_wchar_t_const__
jmp 0x463767
push 0
mov ecx, dword [ebp - 0x524]
call sym.Install_adv.exe_private:_void___thiscall_CNsInstaller::DoSetup_wchar_t_const__
jmp 0x46362a
mov edx, dword [ebp - 0x530]
mov dword [ebp - 0x540], edx
mov eax, dword [ebp - 0x540]
push eax
call fcn.00450b88
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429d20
mov esp, ebp
pop ebp
ret