Function at 0x460030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474e77
mov eax, dword fs:[0]
push eax
mov eax, 0x1924
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 - 0x191c], ecx
push str.HofoSetup
mov eax, dword [ebp - 0x191c]
add eax, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x460083
jmp 0x4604bc
lea ecx, [ebp - 0x1910]
call fcn.004096c0
mov dword [ebp - 4], 0
push str.http:__jssetup.com_update_install_data2.zip
lea ecx, [ebp - 0x1910]
push ecx
call fcn.00409d20
add esp, 8
mov ecx, dword [ebp - 0x191c]
add ecx, 0xbe8
call fcn.00409700
test eax, eax
jle 0x4600d6
mov edx, dword [ebp - 0x191c]
add edx, 0xbe8
push edx
lea ecx, [ebp - 0x1910]
call fcn.00409540
push 0x1001
push 0
lea eax, [ebp - 0x13fc]
push eax
call fcn.0042b9d0
add esp, 0xc
push 0x50
push 0x1000
lea ecx, [ebp - 0x13fc]
push ecx
lea ecx, [ebp - 0x1910]
call fcn.00409710
push eax
call sym.Install_adv.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsNet::GetUrlInfo_wchar_t_const___char___int__int_
lea edx, [ebp - 0x13fc]
push edx
call fcn.00434840
add esp, 4
cmp eax, 0xa
jae 0x46013d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1910]
call fcn.004095a0
jmp 0x4604bc
call sym.Install_adv.exe_public:_static_class_CNsNet____cdecl_CNsNet::Instance_void_
mov ecx, eax
call sym.Install_adv.exe_public:_int___thiscall_CNsNet::GetInfoLen_void_
mov dword [ebp - 0x1928], eax
mov eax, dword [ebp - 0x1928]
push eax
lea ecx, [ebp - 0x13fc]
push ecx
call sym.Install_adv.exe_void___cdecl_EasyEncode_char___int_
add esp, 8
push 0xfde9
lea edx, [ebp - 0x13fc]
push edx
lea ecx, [ebp - 0x1500]
call fcn.0041e050
mov dword [ebp - 0x192c], eax
mov eax, dword [ebp - 0x192c]
mov dword [ebp - 0x1930], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1930]
call fcn.00418ca0
push eax
lea ecx, [ebp - 0x1920]
call fcn.004095e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1500]
call fcn.004195a0
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::constructor_void_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1920]
call fcn.00409710
push eax
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::Parse_wchar_t_const__
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b9d0
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push str.DName
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x1918]
call fcn.004095e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x191c]
add ecx, 0x24
push ecx
lea ecx, [ebp - 0x1914]
call fcn.004095e0
mov byte [ebp - 4], 6
push 0x48ac3c
lea ecx, [ebp - 0x1914]
call fcn.00415520
lea ecx, [ebp - 0x1918]
call fcn.00412710
movzx edx, al
test edx, edx
jne 0x460279
push 0
lea ecx, [ebp - 0x1914]
call fcn.00409710
push eax
lea ecx, [ebp - 0x1918]
call fcn.0040f3c0
test eax, eax
jge 0x4602cc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1914]
call fcn.004095a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1918]
call fcn.004095a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1920]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1910]
call fcn.004095a0
jmp 0x4604bc
mov dword [ebp - 0x1924], 0
lea eax, [ebp - 0x1924]
push eax
push 0x48ac40
push 0x1f56
call sym.Install_adv.exe_int___cdecl_NsResGetBuff_int__wchar_t_const___void__
add esp, 0xc
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b9d0
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push 0x48ac48
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0x48ac54
lea eax, [ebp - 0x3f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x46038e
cmp dword [ebp - 0x1924], 0
je 0x46038e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1914]
call fcn.004095a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1918]
call fcn.004095a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1920]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1910]
call fcn.004095a0
jmp 0x4604bc
push 0x1f4
push 0
lea ecx, [ebp - 0x3f8]
push ecx
call fcn.0042b9d0
add esp, 0xc
lea edx, [ebp - 0x3f8]
push edx
push 0x48ac5c
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
lea eax, [ebp - 0x3f8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x460424
lea ecx, [ebp - 0x1908]
call fcn.0040e0c0
mov byte [ebp - 4], 7
push 1
push 9
push 8
push 0xc8
push 0x12c
push 0xa
push 0
call sym.Install_adv.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
add eax, 0x212
push eax
lea ecx, [ebp - 0x3f8]
push ecx
call sym.Install_adv.exe_public:_static_class_CNsApp____cdecl_CNsApp::Instance_void_
mov edx, dword [eax + 4]
push edx
lea ecx, [ebp - 0x1908]
call fcn.0040e910
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1908]
call fcn.0040e350
push 0x1f4
push 0
lea eax, [ebp - 0x3f8]
push eax
call fcn.0042b9d0
add esp, 0xc
lea ecx, [ebp - 0x3f8]
push ecx
push str.DSwitch
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_int___thiscall_CNsXml::GetXmlNodeValue_wchar_t_const___wchar_t__
push 0x48ac78
lea edx, [ebp - 0x3f8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x46046e
push 0
call fcn.00431ae1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1914]
call fcn.004095a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1918]
call fcn.004095a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x190c]
call sym.Install_adv.exe_public:_void___thiscall_CNsXml::destructor_void_
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1920]
call fcn.004095a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1910]
call fcn.004095a0
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