Function at 0x462210
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475170
mov eax, dword fs:[0]
push eax
mov eax, 0x15a8
call fcn.00450fe0
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 - 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 0x462288
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 0x4625f5
lea ecx, [ebp - 0x157c]
push ecx
push str.install_cloud
push 0x48a5c8
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 + 0xb50], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0042b9d0
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.004095e0
mov dword [ebp - 4], 0
push 0x2f
lea ecx, [ebp - 0x1580]
call fcn.00416be0
mov dword [ebp - 0x1594], eax
cmp dword [ebp - 0x1594], 0
jle 0x462366
lea ecx, [ebp - 0x1580]
call fcn.00409700
sub eax, dword [ebp - 0x1594]
sub eax, 1
push eax
lea eax, [ebp - 0x15a4]
push eax
lea ecx, [ebp - 0x1580]
call fcn.00412500
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.00409540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15a4]
call fcn.004095a0
lea ecx, [ebp - 0x158c]
call fcn.004096c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1580]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x48a60c
lea edx, [ebp - 0x158c]
push edx
call fcn.00409d20
add esp, 0x10
lea ecx, [ebp - 0x158c]
call fcn.00409710
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 0x4624ee
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 fcn.00409710
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.004094f0
push 0x2f
lea ecx, [ebp - 0x1580]
call fcn.00416be0
mov dword [ebp - 0x1598], eax
cmp dword [ebp - 0x1598], 0
jle 0x462472
lea ecx, [ebp - 0x1580]
call fcn.00409700
sub eax, dword [ebp - 0x1598]
sub eax, 1
push eax
lea eax, [ebp - 0x15b0]
push eax
lea ecx, [ebp - 0x1580]
call fcn.00412500
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.00409540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15b0]
call fcn.004095a0
lea ecx, [ebp - 0x1590]
call fcn.004096c0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1580]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x48a618
lea edx, [ebp - 0x1590]
push edx
call fcn.00409d20
add esp, 0x10
lea ecx, [ebp - 0x1590]
call fcn.00409710
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 fcn.00409710
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.004095a0
jmp 0x462516
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 fcn.00409710
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 + 0xb50]
test eax, eax
je 0x462573
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.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1580]
call fcn.004095a0
mov al, byte [ebp - 0x1581]
jmp 0x4625f5
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 fcn.00409710
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.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1580]
call fcn.004095a0
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.00429d20
mov esp, ebp
pop ebp
ret