Function at 0x491270
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1590
mov eax, dword fs:[0]
push eax
mov eax, 0x15a8
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 - 0x1588], ecx
mov dword [ebp - 0x15b4], 0
lea eax, [ebp - 0x157c]
push eax
mov ecx, dword [ebp - 0x1588]
call sym.Install_adv.exe_public:_bool___thiscall_CNsInstaller::GetCloudInfo_struct_tagCloudInfo__
movzx ecx, al
test ecx, ecx
jne 0x4912e8
push 0
push 0xffffffffffffffff
push 0x7e9
mov edx, dword [ebp - 0x1588]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x491655
lea ecx, [ebp - 0x157c]
push ecx
push str.install_cloud
push 0x4cd2b8
call sym.Install_adv.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
mov edx, dword [ebp - 0x1588]
mov byte [edx + 0x1618], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call sym.Install_adv.exe_void___cdecl_GetCurPath_wchar_t__
add esp, 4
lea edx, [ebp - 0x14b4]
push edx
lea ecx, [ebp - 0x1580]
call fcn.004096a0
mov dword [ebp - 4], 0
push 0x2f
lea ecx, [ebp - 0x1580]
call fcn.00416d70
mov dword [ebp - 0x1594], eax
cmp dword [ebp - 0x1594], 0
jle 0x4913c6
lea ecx, [ebp - 0x1580]
call fcn.004097f0
sub eax, dword [ebp - 0x1594]
sub eax, 1
push eax
lea eax, [ebp - 0x15a4]
push eax
lea ecx, [ebp - 0x1580]
call fcn.004125e0
mov dword [ebp - 0x159c], eax
mov ecx, dword [ebp - 0x159c]
mov dword [ebp - 0x15a0], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x15a0]
push edx
lea ecx, [ebp - 0x1580]
call fcn.00409610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15a4]
call fcn.00409680
lea ecx, [ebp - 0x158c]
call fcn.004097c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1580]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x4cd2fc
lea edx, [ebp - 0x158c]
push edx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x158c]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x3ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x49154e
push 1
push sym.Install_adv.exe_private:_static_void___stdcall_CNsInstaller::DownNotify2_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea ecx, [ebp - 0x158c]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x14b4]
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_
lea edx, [ebp - 0x3ac]
push edx
lea ecx, [ebp - 0x1580]
call fcn.004095c0
push 0x2f
lea ecx, [ebp - 0x1580]
call fcn.00416d70
mov dword [ebp - 0x1598], eax
cmp dword [ebp - 0x1598], 0
jle 0x4914d2
lea ecx, [ebp - 0x1580]
call fcn.004097f0
sub eax, dword [ebp - 0x1598]
sub eax, 1
push eax
lea eax, [ebp - 0x15b0]
push eax
lea ecx, [ebp - 0x1580]
call fcn.004125e0
mov dword [ebp - 0x15a8], eax
mov ecx, dword [ebp - 0x15a8]
mov dword [ebp - 0x15ac], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x15ac]
push edx
lea ecx, [ebp - 0x1580]
call fcn.00409610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15b0]
call fcn.00409680
lea ecx, [ebp - 0x1590]
call fcn.004097c0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1580]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x4cd308
lea edx, [ebp - 0x1590]
push edx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x1590]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push sym.Install_adv.exe_private:_static_void___stdcall_CNsInstaller::DownNotify2_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea ecx, [ebp - 0x1590]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea eax, [ebp - 0x3ac]
push eax
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 byte [ebp - 4], 2
lea ecx, [ebp - 0x1590]
call fcn.00409680
jmp 0x491576
push 1
push sym.Install_adv.exe_private:_static_void___stdcall_CNsInstaller::DownNotify2_int__wchar_t_const___long_long___int64___long_long___int64___double_
push 0
lea ecx, [ebp - 0x158c]
call sym.Install_adv.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x14b4]
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 - 0x1588]
movzx eax, byte [edx + 0x1618]
test eax, eax
je 0x4915d3
push 0
push 0xffffffffffffffff
push 0x7e9
mov ecx, dword [ebp - 0x1588]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 0x1581], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158c]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1580]
call fcn.00409680
mov al, byte [ebp - 0x1581]
jmp 0x491655
push 0
push 0xfffffffffffffffe
push 0x7e9
mov eax, dword [ebp - 0x1588]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push 1
lea edx, [ebp - 0x12ac]
push edx
lea ecx, [ebp - 0x158c]
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
push 0
push 0x2710
push 0x7e9
mov eax, dword [ebp - 0x1588]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 0x1582], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158c]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1580]
call fcn.00409680
mov al, byte [ebp - 0x1582]
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