Function at 0x4844e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa407
mov eax, dword fs:[0]
push eax
mov eax, 0x4de0
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 - 0x4dd0], ecx
push str.HofoSetup
mov eax, dword [ebp - 0x4dd0]
add eax, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x484533
jmp 0x4849d5
mov dword [ebp - 0x4ddc], 0
lea ecx, [ebp - 0x4ddc]
push ecx
push 0x4c5d00
push 0x1f41
call sym.Install_silent.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
test eax, eax
jne 0x48455f
jmp 0x4849d5
mov dword [ebp - 0x4dd8], 0
lea edx, [ebp - 0x4dd8]
push edx
push 0x4c5d08
push 0x1f56
call sym.Install_silent.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
mov dword [ebp - 0x4de0], eax
cmp dword [ebp - 0x4de0], 0
je 0x48459f
cmp dword [ebp - 0x4dd8], 0
je 0x48459f
jmp 0x4849d5
lea ecx, [ebp - 0x4dc4]
call fcn.00405120
mov dword [ebp - 4], 0
push str.http:__hofosoft.cn_update_install_data2.zip
lea eax, [ebp - 0x4dc4]
push eax
call fcn.00405800
add esp, 8
mov ecx, dword [ebp - 0x4dd0]
add ecx, 0x16b4
call fcn.004053a0
test eax, eax
jle 0x4845f2
mov ecx, dword [ebp - 0x4dd0]
add ecx, 0x16b4
push ecx
lea ecx, [ebp - 0x4dc4]
call fcn.00404ff0
mov dword [ebp - 0x4dc0], 0x2800
mov edx, dword [ebp - 0x4dc0]
push edx
push 0
lea eax, [ebp - 0x4810]
push eax
call fcn.00456880
add esp, 0xc
push 0x50
mov ecx, dword [ebp - 0x4dc0]
push ecx
lea edx, [ebp - 0x4810]
push edx
lea ecx, [ebp - 0x4dc4]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_silent.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_int___thiscall_CNsNet::GetUrlInfo_wchar_t_const___char___int__int_
lea eax, [ebp - 0x4810]
push eax
call fcn.0045cd90
add esp, 4
cmp eax, 0xa
jae 0x484667
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4dc4]
call fcn.00405060
jmp 0x4849d5
call sym.Install_silent.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_silent.exe_public:_int___thiscall_CNsNet::GetInfoLen_void_
mov dword [ebp - 0x4de4], eax
mov ecx, dword [ebp - 0x4de4]
push ecx
lea edx, [ebp - 0x4810]
push edx
call sym.Install_silent.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
push 0xfde9
lea eax, [ebp - 0x4810]
push eax
lea ecx, [ebp - 0x4914]
call fcn.00417510
mov dword [ebp - 0x4de8], eax
mov ecx, dword [ebp - 0x4de8]
mov dword [ebp - 0x4dec], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4dec]
call fcn.00406ec0
push eax
lea ecx, [ebp - 0x4dd4]
call fcn.00405080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4914]
call fcn.00406ed0
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_void___thiscall_CNsXml::constructor_void_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dd4]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::Parse_wchar_t_const__
mov dword [ebp - 0x4dc0], 0x2000
mov edx, dword [ebp - 0x4dc0]
push edx
push 0
lea eax, [ebp - 0x2010]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x2010]
push ecx
push str.DName
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea edx, [ebp - 0x2010]
push edx
lea ecx, [ebp - 0x4dcc]
call fcn.00405080
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4dd0]
add eax, 0x24
push eax
lea ecx, [ebp - 0x4dc8]
call fcn.00405080
mov byte [ebp - 4], 6
push 0x4c5d74
lea ecx, [ebp - 0x4dc8]
call fcn.00409cc0
lea ecx, [ebp - 0x4dcc]
call fcn.00417460
movzx ecx, al
test ecx, ecx
jne 0x4847af
push 0
lea ecx, [ebp - 0x4dc8]
call sym.Install_silent.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x4dcc]
call fcn.00404fb0
test eax, eax
jge 0x484802
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4dc8]
call fcn.00405060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dcc]
call fcn.00405060
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4dd4]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4dc4]
call fcn.00405060
jmp 0x4849d5
mov edx, dword [ebp - 0x4dc0]
push edx
push 0
lea eax, [ebp - 0x2010]
push eax
call fcn.00456880
add esp, 0xc
lea ecx, [ebp - 0x2010]
push ecx
push 0x4c5d78
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0x4c5d84
lea edx, [ebp - 0x2010]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4848a3
cmp dword [ebp - 0x4dd8], 0
je 0x4848a3
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4dc8]
call fcn.00405060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dcc]
call fcn.00405060
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4dd4]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4dc4]
call fcn.00405060
jmp 0x4849d5
mov eax, dword [ebp - 0x4dc0]
push eax
push 0
lea ecx, [ebp - 0x2010]
push ecx
call fcn.00456880
add esp, 0xc
lea edx, [ebp - 0x2010]
push edx
push 0x4c5d8c
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x48493b
lea ecx, [ebp - 0x4db8]
call fcn.004149d0
mov byte [ebp - 4], 7
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 ecx, [ebp - 0x2010]
push ecx
call sym.Install_silent.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov edx, dword [eax + 4]
push edx
lea ecx, [ebp - 0x4db8]
call fcn.004150a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4db8]
call fcn.00414b70
mov eax, dword [ebp - 0x4dc0]
push eax
push 0
lea ecx, [ebp - 0x2010]
push ecx
call fcn.00456880
add esp, 0xc
lea edx, [ebp - 0x2010]
push edx
push str.DSwitch
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0x4c5da8
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x484987
push 0
call fcn.0045cd6b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4dc8]
call fcn.00405060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4dcc]
call fcn.00405060
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4dbc]
call sym.Install_silent.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4dd4]
call fcn.00405060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4dc4]
call fcn.00405060
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