Function at 0x4987a0
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab854
mov eax, dword fs:[0]
push eax
mov eax, 0x32b4
call fcn.00430e90
mov eax, dword [0x4e3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3258], ecx
movzx eax, byte [0x4e6b31]
test eax, eax
je 0x4987e7
xor eax, eax
jmp 0x4990f5
mov byte [0x4e6b31], 1
mov ecx, dword [ebp - 0x3258]
mov dword [ecx], 0
mov edx, dword [ebp - 0x3258]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x3258]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x3258]
add ecx, 0x26c
call fcn.00416da0
mov dword [ebp - 0x3274], 0x19000
mov ecx, dword [ebp - 0x3274]
push ecx
call fcn.00430705
add esp, 4
mov dword [ebp - 0x32c0], eax
mov edx, dword [ebp - 0x32c0]
mov dword [ebp - 0x3268], edx
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_void___thiscall_CNsNet::constructor_void_
mov dword [ebp - 4], 0
push 0x50
mov eax, dword [ebp - 0x3274]
push eax
mov ecx, dword [ebp - 0x3268]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_int___thiscall_CNsNet::GetUrlInfo_wchar_t_const___char___int__int_
mov dword [ebp - 0x3294], eax
cmp dword [ebp - 0x3294], 0
je 0x4988c6
mov eax, dword [ebp - 0x3258]
cmp dword [eax + 0x460], 0
je 0x4988c6
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_int___thiscall_CNsNet::GetInfoLen_void_
mov dword [ebp - 0x3298], eax
mov ecx, dword [ebp - 0x3298]
push ecx
mov edx, dword [ebp - 0x3268]
push edx
call sym.Install_silent.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
cmp dword [ebp - 0x3294], 0
je 0x4988e8
mov eax, dword [ebp - 0x3268]
push eax
mov ecx, dword [ebp - 0x3258]
call sym.Install_silent.exe_private:_bool___thiscall_CNsUpdate::CheckInfo_char_const__
movzx ecx, al
test ecx, ecx
jne 0x49893d
mov edx, dword [ebp - 0x3274]
push edx
mov eax, dword [ebp - 0x3268]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x3258]
call sym.Install_silent.exe_private:_bool___thiscall_CNsUpdate::GetInfoEx_wchar_t_const___char___unsigned_int_
mov byte [ebp - 0x3261], al
movzx edx, byte [ebp - 0x3261]
test edx, edx
jne 0x49893d
mov dword [ebp - 0x329c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_void___thiscall_CNsNet::destructor_void_
mov eax, dword [ebp - 0x329c]
jmp 0x4990f5
xor ecx, ecx
mov eax, dword [ebp - 0x3274]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00430705
add esp, 4
mov dword [ebp - 0x32a0], eax
mov eax, dword [ebp - 0x32a0]
mov dword [ebp - 0x327c], eax
mov ecx, dword [ebp - 0x3274]
push ecx
mov edx, dword [ebp - 0x327c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3268]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x3268]
mov dword [ebp - 0x32a4], ecx
mov edx, dword [ebp - 0x32a4]
push edx
call fcn.004303f9
add esp, 4
mov eax, dword [ebp - 0x327c]
push eax
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::Parse_wchar_t_const__
mov ecx, dword [ebp - 0x327c]
mov dword [ebp - 0x32a8], ecx
mov edx, dword [ebp - 0x32a8]
push edx
call fcn.004303f9
add esp, 4
lea eax, [ebp - 0x27e0]
push eax
push 0x4c8bd0
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push str.disable
lea ecx, [ebp - 0x27e0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x498aba
push 0x3e8
push 0
lea edx, [ebp - 0x3f8]
push edx
call fcn.00456880
add esp, 0xc
lea eax, [ebp - 0x3f8]
push eax
push str.DMsg
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea ecx, [ebp - 0x3f8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x498ab3
lea ecx, [ebp - 0x3254]
call fcn.004149d0
mov byte [ebp - 4], 1
push 1
push 9
push 8
push 0xc8
push 0x12c
push 0xa
push 0
call sym.Install_silent.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
add eax, 0x212
push eax
lea edx, [ebp - 0x3f8]
push edx
call sym.Install_silent.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x3254]
call fcn.004150a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3254]
call fcn.00414b70
push 0
call fcn.0045cd6b
push 0x4c8bfc
lea ecx, [ebp - 0x27e0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x498b0d
cmp dword [ebp + 0xc], 0
je 0x498adf
push 0
push 0
push 1
call dword [ebp + 0xc]
mov byte [0x4e6b31], 0
mov dword [ebp - 0x32ac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_void___thiscall_CNsNet::destructor_void_
mov eax, dword [ebp - 0x32ac]
jmp 0x4990f5
mov ecx, dword [ebp - 0x3258]
call sym.Install_silent.exe_private:_void___thiscall_CNsUpdate::CheckSetup_void_
lea edx, [ebp - 0x7e0]
push edx
push 0x4c8c04
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x7e0]
push eax
mov ecx, dword [ebp - 0x3258]
call sym.Install_silent.exe_private:_void___thiscall_CNsUpdate::CheckTask_wchar_t_const__
mov dword [ebp - 0x328c], 0
push str.File
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeCount_wchar_t_const__
mov dword [ebp - 0x3288], eax
cmp dword [ebp + 0xc], 0
je 0x498b86
mov ecx, dword [ebp - 0x3288]
push ecx
mov edx, dword [ebp - 0x328c]
push edx
push 2
call dword [ebp + 0xc]
mov dword [ebp - 0x3284], 0
mov dword [ebp - 0x326c], 0
mov dword [ebp - 0x3280], 0
jmp 0x498bb5
mov eax, dword [ebp - 0x3280]
add eax, 1
mov dword [ebp - 0x3280], eax
mov ecx, dword [ebp - 0x3280]
cmp ecx, dword [ebp - 0x3288]
jge 0x49906d
mov edx, dword [ebp - 0x3258]
cmp dword [edx], 0
je 0x498c29
mov eax, dword [ebp - 0x3258]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x3258]
mov dword [ecx + 8], 1
cmp dword [ebp + 0xc], 0
je 0x498bfb
push 0
push 0
push 4
call dword [ebp + 0xc]
mov byte [0x4e6b31], 0
mov dword [ebp - 0x32b0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_void___thiscall_CNsNet::destructor_void_
mov eax, dword [ebp - 0x32b0]
jmp 0x4990f5
lea edx, [ebp - 0x326c]
push edx
lea eax, [ebp - 0x27e0]
push eax
push 0x4c8c18
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea ecx, [ebp - 0x27e0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x498c63
jmp 0x498ba6
lea edx, [ebp - 0x7e0]
push edx
lea ecx, [ebp - 0x3278]
call fcn.00405080
mov byte [ebp - 4], 2
lea eax, [ebp - 0x27e0]
push eax
lea ecx, [ebp - 0x3278]
call fcn.00409cc0
lea ecx, [ebp - 0x326c]
push ecx
lea edx, [ebp - 0x27e0]
push edx
push str.SavePath
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0x27e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x498cd4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3278]
call fcn.00405060
jmp 0x498ba6
mov ecx, dword [ebp - 0x3258]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x3260]
call fcn.00405080
mov byte [ebp - 4], 3
lea edx, [ebp - 0x27e0]
push edx
lea ecx, [ebp - 0x3260]
call fcn.00409cc0
lea eax, [ebp - 0x326c]
push eax
lea ecx, [ebp - 0x27e0]
push ecx
push str.RealPath
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea edx, [ebp - 0x3260]
push edx
lea ecx, [ebp - 0x3270]
call fcn.00405320
mov byte [ebp - 4], 4
mov byte [ebp - 0x3259], 0
lea eax, [ebp - 0x27e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x498de3
mov ecx, dword [ebp - 0x3258]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x3270]
call fcn.00405250
lea edx, [ebp - 0x27e0]
push edx
lea ecx, [ebp - 0x3270]
call fcn.00409cc0
mov byte [ebp - 0x3259], 1
push 0x410
push 0
lea eax, [ebp - 0x2db0]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x3260]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x2db0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x3270]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea edx, [ebp - 0x2ba8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x2db0]
push eax
mov ecx, dword [ebp - 0x3258]
add ecx, 0x26c
call fcn.0041eeb0
lea ecx, [ebp - 0x326c]
push ecx
lea edx, [ebp - 0x27e0]
push edx
push str.Size
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
lea eax, [ebp - 0x27e0]
push eax
call fcn.0045e97b
add esp, 4
mov dword [ebp - 0x3290], eax
lea ecx, [ebp - 0x326c]
push ecx
lea edx, [ebp - 0x27e0]
push edx
push 0x4c8c5c
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
mov eax, dword [ebp - 0x3290]
push eax
lea ecx, [ebp - 0x27e0]
push ecx
lea ecx, [ebp - 0x3270]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x3258]
call sym.Install_silent.exe_public:_int___thiscall_CNsUpdate::VerifyFile_wchar_t_const___wchar_t_const___int_
test eax, eax
jne 0x498f9c
lea ecx, [ebp - 0x3260]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_NsDeleteFileEx_wchar_t_const__
add esp, 4
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0
lea ecx, [ebp - 0x3260]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x3278]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x3258]
add ecx, 0x278
call sym.Install_silent.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 - 0x3284]
add eax, 1
mov dword [ebp - 0x3284], eax
mov ecx, dword [ebp - 0x3290]
push ecx
lea edx, [ebp - 0x27e0]
push edx
lea ecx, [ebp - 0x3260]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x3258]
call sym.Install_silent.exe_public:_int___thiscall_CNsUpdate::VerifyFile_wchar_t_const___wchar_t_const___int_
test eax, eax
jne 0x498f84
mov eax, dword [ebp - 0x3258]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x3258]
mov dword [ecx + 0xc], 1
cmp dword [ebp + 0xc], 0
je 0x498f17
push 0
push 0
push 5
call dword [ebp + 0xc]
lea ecx, [ebp - 0x3260]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [0x4e6b31], 0
mov dword [ebp - 0x32b4], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3270]
call fcn.00405060
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3260]
call fcn.00405060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3278]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_void___thiscall_CNsNet::destructor_void_
mov eax, dword [ebp - 0x32b4]
jmp 0x4990f5
movzx edx, byte [ebp - 0x3259]
test edx, edx
je 0x498f9c
mov eax, dword [ebp - 0x3258]
mov dword [eax + 4], 1
cmp dword [ebp + 0xc], 0
je 0x498fb5
mov ecx, dword [ebp - 0x3288]
push ecx
mov edx, dword [ebp - 0x328c]
push edx
push 2
call dword [ebp + 0xc]
lea eax, [ebp - 0x326c]
push eax
lea ecx, [ebp - 0x27e0]
push ecx
push 0x4c8c64
mov ecx, dword [ebp - 0x3258]
add ecx, 0x45c
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t___int__
push str.hide
lea edx, [ebp - 0x27e0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x49900b
push 0
push 0
push 0
lea ecx, [ebp - 0x3260]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
jmp 0x49903b
push str.show
lea eax, [ebp - 0x27e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x49903b
push 5
push 0
push 0
lea ecx, [ebp - 0x3260]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_int___cdecl_DoRun_wchar_t_const___wchar_t_const___int__int_
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3270]
call fcn.00405060
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3260]
call fcn.00405060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3278]
call fcn.00405060
jmp 0x498ba6
cmp dword [ebp - 0x3284], 0
jle 0x4990bd
cmp dword [ebp + 0xc], 0
je 0x499085
push 0
push 0
push 3
call dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3258]
call sym.Install_silent.exe_private:_void___thiscall_CNsUpdate::SaveUpdateCfg_void_
mov byte [0x4e6b31], 0
mov dword [ebp - 0x32b8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_void___thiscall_CNsNet::destructor_void_
mov eax, dword [ebp - 0x32b8]
jmp 0x4990f5
cmp dword [ebp + 0xc], 0
je 0x4990cc
push 0
push 0
push 1
call dword [ebp + 0xc]
mov byte [0x4e6b31], 0
mov dword [ebp - 0x32bc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29a0]
call sym.Install_silent.exe_public:_void___thiscall_CNsNet::destructor_void_
mov eax, dword [ebp - 0x32bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fc0d
mov esp, ebp
pop ebp
ret 0xc