Function at 0x442530
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c34d
mov eax, dword fs:[0]
push eax
mov eax, 0x10200
call fcn.00426d00
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1020c], ecx
movzx eax, byte [0x478f58]
test eax, eax
je 0x442579
xor eax, eax
jmp 0x442c56
mov byte [0x478f58], 1
mov ecx, dword [ebp - 0x1020c]
mov dword [ecx], 0
mov edx, dword [ebp - 0x1020c]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x1020c]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x1020c]
add ecx, 0x26c
call fcn.00419900
push 0x50
push 0x5000
lea ecx, [ebp - 0xf40c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.Install_vip.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsNet::GetUrlInfo_wchar_t_const___char___int__int_
mov eax, dword [ebp - 0x1020c]
cmp dword [eax + 0x460], 0
je 0x44260c
call sym.Install_vip.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsNet::GetInfoLen_void_
mov dword [ebp - 0xf7f8], eax
mov ecx, dword [ebp - 0xf7f8]
push ecx
lea edx, [ebp - 0xf40c]
push edx
call sym.Install_vip.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
push 0x5000
lea eax, [ebp - 0xa014]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0xf40c]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [ebp - 0xa014]
push edx
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::Parse_wchar_t_const__
lea eax, [ebp - 0xf7f4]
push eax
push str.Switch
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push str.disable
lea ecx, [ebp - 0xf7f4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x44271a
push 0xc8
push 0
lea edx, [ebp - 0xf98c]
push edx
call fcn.0041eb30
add esp, 0xc
lea eax, [ebp - 0xf98c]
push eax
push 0x4668d4
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0xf98c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x442713
lea edx, [ebp - 0xfd9c]
push edx
call fcn.0040a2f0
mov dword [ebp - 4], 0
push 9
push 8
push 0xc8
push 0x12c
push 0xa
push 0
call fcn.00401000
mov esi, eax
add esi, 0x212
call fcn.00401000
mov eax, dword [eax + 4]
push eax
mov edi, esi
lea edx, [ebp - 0xf98c]
lea eax, [ebp - 0xfd9c]
call fcn.0040ac90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfd9c]
push ecx
call fcn.0040a480
push 0
call fcn.0041e8c0
push 0x4668e0
lea edx, [ebp - 0xf7f4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x44274d
cmp dword [ebp + 0xc], 0
je 0x44273f
push 0
push 0
push 1
call dword [ebp + 0xc]
mov byte [0x478f58], 0
xor eax, eax
jmp 0x442c56
mov ecx, dword [ebp - 0x1020c]
call sym.Install_vip.exe_private:_void___thiscall_CNsUpdate::CheckSetup_void_
lea eax, [ebp - 0xa3fc]
push eax
push 0x4668e8
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0xa3fc]
push ecx
mov ecx, dword [ebp - 0x1020c]
call sym.Install_vip.exe_private:_void___thiscall_CNsUpdate::CheckTask_wchar_t_const__
mov dword [ebp - 0xa404], 0
push str.File
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeCount_wchar_t_const__
mov dword [ebp - 0xa408], eax
cmp dword [ebp + 0xc], 0
je 0x4427bc
mov edx, dword [ebp - 0xa408]
push edx
mov eax, dword [ebp - 0xa404]
push eax
push 2
call dword [ebp + 0xc]
mov dword [ebp - 0xa40c], 0
mov dword [ebp - 0xa400], 0
mov dword [ebp - 0xfda0], 0
jmp 0x4427eb
mov ecx, dword [ebp - 0xfda0]
add ecx, 1
mov dword [ebp - 0xfda0], ecx
mov edx, dword [ebp - 0xfda0]
cmp edx, dword [ebp - 0xa408]
jge 0x442c0b
mov eax, dword [ebp - 0x1020c]
cmp dword [eax], 0
je 0x44283f
mov ecx, dword [ebp - 0x1020c]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x1020c]
mov dword [edx + 8], 1
cmp dword [ebp + 0xc], 0
je 0x442831
push 0
push 0
push 4
call dword [ebp + 0xc]
mov byte [0x478f58], 0
xor eax, eax
jmp 0x442c56
lea eax, [ebp - 0xa400]
push eax
lea ecx, [ebp - 0xf7f4]
push ecx
push 0x4668fc
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea edx, [ebp - 0xfdb0]
push edx
lea ecx, [ebp - 0xa3fc]
call fcn.00405940
mov dword [ebp - 4], 1
lea eax, [ebp - 0xf7f4]
push eax
lea ecx, [ebp - 0xfdb0]
call fcn.00411460
lea ecx, [ebp - 0xa400]
push ecx
lea edx, [ebp - 0xf7f4]
push edx
push str.SavePath
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
mov ecx, dword [ebp - 0x1020c]
add ecx, 0x10
lea eax, [ebp - 0xfda8]
push eax
call fcn.00405940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf7f4]
push ecx
lea ecx, [ebp - 0xfda8]
call fcn.00411460
lea edx, [ebp - 0xa400]
push edx
lea eax, [ebp - 0xf7f4]
push eax
push str.RealPath
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0xfda8]
lea esi, [ebp - 0xfdac]
call fcn.00405920
mov byte [ebp - 4], 3
mov byte [ebp - 0xfdb1], 0
lea ecx, [ebp - 0xf7f4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4429b0
mov edx, dword [ebp - 0x1020c]
add edx, 0x10
lea edi, [ebp - 0xfdac]
call fcn.00405a60
lea edx, [ebp - 0xf7f4]
push edx
lea ecx, [ebp - 0xfdac]
call fcn.00411460
mov byte [ebp - 0xfdb1], 1
push 0x410
push 0
lea eax, [ebp - 0x101c4]
push eax
call fcn.0041eb30
add esp, 0xc
lea eax, [ebp - 0xfda8]
call fcn.00405aa0
push eax
lea ecx, [ebp - 0x101c4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xfdac]
call fcn.00405aa0
push eax
lea edx, [ebp - 0xffbc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x101c4]
push eax
mov ecx, dword [ebp - 0x1020c]
add ecx, 0x26c
call fcn.0041c9f0
lea ecx, [ebp - 0xa400]
push ecx
lea edx, [ebp - 0xf7f4]
push edx
push str.Size
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0xf7f4]
push eax
call fcn.00434360
add esp, 4
mov dword [ebp - 0xfda4], eax
lea ecx, [ebp - 0xa400]
push ecx
lea edx, [ebp - 0xf7f4]
push edx
push 0x466940
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
mov eax, dword [ebp - 0xfda4]
push eax
lea ecx, [ebp - 0xf7f4]
push ecx
lea eax, [ebp - 0xfdac]
call fcn.00405aa0
push eax
mov ecx, dword [ebp - 0x1020c]
call sym.Install_vip.exe_public:_int___thiscall_CNsUpdate::VerifyFile_wchar_t_const___wchar_t_const___int_
test eax, eax
jne 0x442b3c
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0
lea eax, [ebp - 0xfda8]
call fcn.00405aa0
push eax
lea eax, [ebp - 0xfdb0]
call fcn.00405aa0
push eax
mov ecx, dword [ebp - 0x1020c]
add ecx, 0x27c
call sym.Install_vip.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 eax, dword [ebp - 0xa40c]
add eax, 1
mov dword [ebp - 0xa40c], eax
mov ecx, dword [ebp - 0xfda4]
push ecx
lea edx, [ebp - 0xf7f4]
push edx
lea eax, [ebp - 0xfda8]
call fcn.00405aa0
push eax
mov ecx, dword [ebp - 0x1020c]
call sym.Install_vip.exe_public:_int___thiscall_CNsUpdate::VerifyFile_wchar_t_const___wchar_t_const___int_
test eax, eax
jne 0x442b24
mov eax, dword [ebp - 0x1020c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x1020c]
mov dword [ecx + 0xc], 1
cmp dword [ebp + 0xc], 0
je 0x442ac6
push 0
push 0
push 5
call dword [ebp + 0xc]
lea eax, [ebp - 0xfda8]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [0x478f58], 0
mov dword [ebp - 0x101c8], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0xfdac]
call fcn.00405b50
mov byte [ebp - 4], 1
lea eax, [ebp - 0xfda8]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xfdb0]
call fcn.00405b50
mov eax, dword [ebp - 0x101c8]
jmp 0x442c56
movzx edx, byte [ebp - 0xfdb1]
test edx, edx
je 0x442b3c
mov eax, dword [ebp - 0x1020c]
mov dword [eax + 4], 1
cmp dword [ebp + 0xc], 0
je 0x442b55
mov ecx, dword [ebp - 0xa408]
push ecx
mov edx, dword [ebp - 0xa404]
push edx
push 2
call dword [ebp + 0xc]
lea eax, [ebp - 0xa400]
push eax
lea ecx, [ebp - 0xf7f4]
push ecx
push 0x466948
call sym.Install_vip.exe_public:_static_class_CNsXml____cdecl_CNsXml::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
push str.hide
lea edx, [ebp - 0xf7f4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x442ba6
push 0
push 0
push 0
lea eax, [ebp - 0xfda8]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x442bd6
push str.show
lea eax, [ebp - 0xf7f4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x442bd6
push 5
push 0
push 0
lea eax, [ebp - 0xfda8]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov byte [ebp - 4], 2
lea eax, [ebp - 0xfdac]
call fcn.00405b50
mov byte [ebp - 4], 1
lea eax, [ebp - 0xfda8]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xfdb0]
call fcn.00405b50
jmp 0x4427dc
cmp dword [ebp - 0xa40c], 0
jle 0x442c3e
cmp dword [ebp + 0xc], 0
je 0x442c23
push 0
push 0
push 3
call dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1020c]
call sym.Install_vip.exe_private:_void___thiscall_CNsUpdate::SaveUpdateCfg_void_
mov byte [0x478f58], 0
mov eax, 1
jmp 0x442c56
cmp dword [ebp + 0xc], 0
je 0x442c4d
push 0
push 0
push 1
call dword [ebp + 0xc]
mov byte [0x478f58], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 0xc