Function at 0x499ac0
Capabilities:
Check for time delay via gettickcount
Check http status code
Check internet connectivity via wininet
Connect to http server
Create http request
Delete file
Download and write a file
Get http content length
Move file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Send data
Send http request
Send http request with host header
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b14cd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4744
call fcn.0047a610
mov eax, dword [0x4eb00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4620], ecx
mov dword [ebp - 0x46fc], 0
mov eax, dword [ebp + 0xc]
push eax
call sym.Install_vip.exe_int___cdecl_CreateDirTree_wchar_t_const__
add esp, 4
mov dword [ebp - 0x472c], 4
mov dword [ebp - 0x461c], 0
mov dword [ebp - 0x4624], 0
mov dword [ebp - 0x4614], 0
push 0
lea ecx, [ebp - 0x46d8]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4ce70c
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp - 0x4620]
cmp dword [eax], 0
je 0x499bbe
mov ecx, dword [ebp - 0x4620]
add ecx, 0xcc
push ecx
mov edx, dword [ebp - 0x4620]
add edx, 4
push edx
push 0x4ce720
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x60c]
push ecx
push 3
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x461c], eax
jmp 0x499c01
mov eax, dword [ebp - 0x46d8]
and eax, 4
jne 0x499be6
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x94]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x461c], eax
jmp 0x499c01
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x461c], eax
cmp dword [ebp - 0x461c], 0
jne 0x499c6f
push 0x4ce744
push 0x5f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4730], esp
push 0x4ce770
call fcn.00419020
mov dword [ebp - 0x4734], eax
mov dword [ebp - 4], 0
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x499c68
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 4
call dword [ebp + 0x14]
xor eax, eax
jmp 0x49b0c6
mov dword [ebp - 0x46dc], 0xbb8
push 4
lea ecx, [ebp - 0x46dc]
push ecx
push 2
mov edx, dword [ebp - 0x461c]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x4650], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4610]
call fcn.004096a0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4610]
call fcn.0040d410
push 0
push 0x4ce798
lea ecx, [ebp - 0x4610]
call fcn.0040ed80
test eax, eax
jne 0x499cde
mov dword [ebp - 0x4650], 7
jmp 0x499d0e
push 0
push 0x4ce7a8
lea ecx, [ebp - 0x4610]
call fcn.0040ed80
test eax, eax
jne 0x499d0e
mov dword [ebp - 0x4650], 8
mov ecx, dword [ebp - 0x4620]
mov dword [ecx + 0x1e0], 0x1bb
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x4610]
call fcn.004095c0
lea ecx, [ebp - 0x4618]
call fcn.004097c0
mov byte [ebp - 4], 2
push 8
push 0x4ce7bc
lea ecx, [ebp - 0x4610]
call fcn.0040ed80
mov dword [ebp - 0x463c], eax
cmp dword [ebp - 0x463c], 0
jle 0x499e0b
mov eax, dword [ebp - 0x463c]
sub eax, dword [ebp - 0x4650]
push eax
mov ecx, dword [ebp - 0x4650]
push ecx
lea edx, [ebp - 0x46e8]
push edx
lea ecx, [ebp - 0x4610]
call fcn.00411f80
mov dword [ebp - 0x46e0], eax
mov eax, dword [ebp - 0x46e0]
mov dword [ebp - 0x46e4], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x46e4]
push ecx
lea ecx, [ebp - 0x4618]
call fcn.00409610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x46e8]
call fcn.00409680
lea ecx, [ebp - 0x4610]
call fcn.004097f0
sub eax, dword [ebp - 0x463c]
push eax
lea edx, [ebp - 0x4680]
push edx
lea ecx, [ebp - 0x4610]
call fcn.00411eb0
mov dword [ebp - 0x46ec], eax
mov eax, dword [ebp - 0x46ec]
mov dword [ebp - 0x46f0], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x46f0]
push ecx
lea ecx, [ebp - 0x4610]
call fcn.00409610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4680]
call fcn.00409680
jmp 0x499e7d
lea ecx, [ebp - 0x4610]
call fcn.004097f0
sub eax, dword [ebp - 0x4650]
push eax
mov edx, dword [ebp - 0x4650]
push edx
lea eax, [ebp - 0x468c]
push eax
lea ecx, [ebp - 0x4610]
call fcn.00411f80
mov dword [ebp - 0x4684], eax
mov ecx, dword [ebp - 0x4684]
mov dword [ebp - 0x4688], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4688]
push edx
lea ecx, [ebp - 0x4618]
call fcn.00409610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x468c]
call fcn.00409680
push 0x4ce7c0
lea ecx, [ebp - 0x4610]
call fcn.004095c0
push 0
push 0x4ce7c4
lea ecx, [ebp - 0x4618]
call fcn.0040ed80
mov dword [ebp - 0x463c], eax
cmp dword [ebp - 0x463c], 0
jle 0x499f4c
lea ecx, [ebp - 0x4618]
call fcn.004097f0
sub eax, dword [ebp - 0x463c]
sub eax, 1
push eax
lea eax, [ebp - 0x4670]
push eax
lea ecx, [ebp - 0x4618]
call fcn.00411eb0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4670]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043dfd4
add esp, 4
mov ecx, dword [ebp - 0x4620]
mov dword [ecx + 0x1e0], eax
mov edx, dword [ebp - 0x463c]
push edx
lea eax, [ebp - 0x4698]
push eax
lea ecx, [ebp - 0x4618]
call fcn.00411df0
mov dword [ebp - 0x4690], eax
mov ecx, dword [ebp - 0x4690]
mov dword [ebp - 0x4694], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4694]
push edx
lea ecx, [ebp - 0x4618]
call fcn.00409610
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4698]
call fcn.00409680
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4670]
call fcn.00409680
mov dword [ebp - 0x4658], 0
mov eax, dword [ebp - 0x4620]
mov ecx, dword [ebp - 0x4658]
cmp ecx, dword [eax + 0x1b0]
jge 0x49a098
push 0
push bind
push 3
push 0
push 0
mov edx, dword [ebp - 0x4620]
movzx eax, word [edx + 0x1e0]
push eax
lea ecx, [ebp - 0x4618]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x461c]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4624], eax
cmp dword [ebp - 0x4624], 0
je 0x499fbb
jmp 0x49a098
mov edx, dword [ebp - 0x4658]
add edx, 1
mov dword [ebp - 0x4658], edx
mov eax, dword [ebp - 0x4620]
mov ecx, dword [ebp - 0x4658]
cmp ecx, dword [eax + 0x1b0]
jl 0x49a080
push 0x4ce7c8
push 0xa0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4748], esp
push 0x4ce7f8
call fcn.00419020
mov dword [ebp - 0x474c], eax
mov byte [ebp - 4], 8
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov byte [ebp - 4], 2
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x49a03d
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 4
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x461c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x469c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x469c]
jmp 0x49b0c6
mov ecx, dword [ebp - 0x4620]
mov edx, dword [ecx + 0x1b4]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x499f56
mov eax, dword [ebp - 0x4620]
cmp dword [eax], 0
je 0x49a103
mov ecx, dword [ebp - 0x4620]
add ecx, 0xe4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp - 0x4620]
add edx, 0xe4
push edx
push 0x2b
mov eax, dword [ebp - 0x4624]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [ebp - 0x4620]
add ecx, 0x148
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp - 0x4620]
add edx, 0x148
push edx
push 0x2c
mov eax, dword [ebp - 0x4624]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [ebp - 0x4620]
cmp dword [ecx + 0x1e0], 0x1bb
jne 0x49a14e
push 0
push 0x80803000
push 0x4ec318
push 0
push 0x4ce820
lea ecx, [ebp - 0x4610]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4ce834
mov edx, dword [ebp - 0x4624]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x4614], eax
jmp 0x49a185
push 0
push bind
push 0x4ec318
push 0
push 0x4ce83c
lea ecx, [ebp - 0x4610]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4ce850
mov eax, dword [ebp - 0x4624]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x4614], eax
cmp dword [ebp - 0x4614], 0
jne 0x49a23d
push 0x4ce858
push 0xcd
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4750], esp
push 0x4ce888
call fcn.00419020
mov dword [ebp - 0x46f4], eax
mov byte [ebp - 4], 9
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov byte [ebp - 4], 2
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x49a1ed
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 4
call dword [ebp + 0x14]
mov edx, dword [ebp - 0x4624]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x461c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46a0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46a0]
jmp 0x49b0c6
push 0x3e8
push 0
lea ecx, [ebp - 0x47c]
push ecx
call fcn.00433560
add esp, 0xc
push str.Accept:text_html_application_xml_q0.9_application_json___q0.8_r_n
lea edx, [ebp - 0x47c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Accept_Encoding:gzip_deflate_r_n
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Accept_Language:zh_CN_zh_q0.5_r_n
lea ecx, [ebp - 0x47c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Accept_Charset:gb2312_utf_8_q0.7__q0.7_r_n
lea edx, [ebp - 0x47c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4ce9bc
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x4618]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea ecx, [ebp - 0x47c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4cea20
lea edx, [ebp - 0x47c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4cea28
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x4628]
call fcn.004096a0
mov byte [ebp - 4], 0xa
push 0x4cea7c
lea ecx, [ebp - 0x4628]
call fcn.00414f80
xorps xmm0, xmm0
movlpd qword [ebp - 0x4638], xmm0
cmp dword [ebp + 0x10], 0
je 0x49a3af
lea ecx, [ebp - 0x4628]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_vip.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 0x4638], eax
mov dword [ebp - 0x4634], edx
cmp dword [ebp - 0x4634], 0
jl 0x49a3af
jg 0x49a356
cmp dword [ebp - 0x4638], 0
jbe 0x49a3af
lea ecx, [ebp - 0x4668]
call fcn.004097c0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x4634]
push edx
mov eax, dword [ebp - 0x4638]
push eax
push str.Range:bytes_I64d__r_n
lea ecx, [ebp - 0x4668]
push ecx
call fcn.00409d70
add esp, 0x10
lea ecx, [ebp - 0x4668]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
lea edx, [ebp - 0x47c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4668]
call fcn.00409680
push 0xa0000000
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x47c]
push ecx
mov edx, dword [ebp - 0x4614]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x4614]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x462c], 0
mov dword [ebp - 0x466c], 4
cmp dword [ebp + 0x10], 0
je 0x49a868
push 0
lea ecx, [ebp - 0x466c]
push ecx
lea edx, [ebp - 0x462c]
push edx
push 0x20000013
mov eax, dword [ebp - 0x4614]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x49a7a1
cmp dword [ebp - 0x462c], 0xc8
jl 0x49a450
cmp dword [ebp - 0x462c], 0xce
jg 0x49a450
jmp 0x49a79c
cmp dword [ebp - 0x462c], 0x12c
jl 0x49a46d
cmp dword [ebp - 0x462c], 0x133
jg 0x49a46d
jmp 0x49a79c
cmp dword [ebp - 0x462c], 0x190
jl 0x49a6ac
cmp dword [ebp - 0x462c], 0x1a1
jg 0x49a6ac
cmp dword [ebp - 0x462c], 0x1a0
je 0x49a4a9
cmp dword [ebp - 0x462c], 0x19d
jne 0x49a5d7
mov ecx, dword [ebp - 0x4614]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 0x400200
push 0x4ec318
push 0
push 0x4ceab0
lea ecx, [ebp - 0x4610]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
push 0x4ceac4
mov edx, dword [ebp - 0x4624]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x4614], eax
cmp dword [ebp - 0x4614], 0
jne 0x49a5bd
mov eax, dword [ebp - 0x462c]
push eax
push 0x4ceacc
push 0x113
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x46f8], esp
push 0x4ceafc
call fcn.00419020
mov dword [ebp - 0x4724], eax
mov byte [ebp - 4], 0xc
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
push eax
mov byte [ebp - 4], 0xa
call sym.Install_vip.exe_public:_void___cdecl_CNsLog::WriteLog_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
add esp, 0x28
cmp dword [ebp + 0x14], 0
je 0x49a55e
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 4
call dword [ebp + 0x14]
mov edx, dword [ebp - 0x4624]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x461c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46a4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46a4]
jmp 0x49b0c6
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x4614]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
jmp 0x49a6a7
mov edx, dword [ebp - 0x462c]
push edx
push 0x4ceb24
push 0x122
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4700], esp
push 0x4ceb54
call fcn.00419020
mov dword [ebp - 0x4704], eax
mov byte [ebp - 4], 0xd
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
push eax
mov byte [ebp - 4], 0xa
call sym.Install_vip.exe_public:_void___cdecl_CNsLog::WriteLog_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
add esp, 0x28
cmp dword [ebp + 0x14], 0
je 0x49a63b
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 4
call dword [ebp + 0x14]
mov ecx, dword [ebp - 0x4614]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4624]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x461c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46a8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46a8]
jmp 0x49b0c6
jmp 0x49a79c
cmp dword [ebp - 0x462c], 0x1f4
jl 0x49a79c
cmp dword [ebp - 0x462c], 0x1f9
jg 0x49a79c
mov ecx, dword [ebp - 0x462c]
push ecx
push 0x4ceb7c
push pe_nt_image_headers32
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4708], esp
push 0x4cebac
call fcn.00419020
mov dword [ebp - 0x470c], eax
mov byte [ebp - 4], 0xe
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
push eax
mov byte [ebp - 4], 0xa
call sym.Install_vip.exe_public:_void___cdecl_CNsLog::WriteLog_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
add esp, 0x28
cmp dword [ebp + 0x14], 0
je 0x49a730
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 4
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x4614]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4624]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x461c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46ac], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46ac]
jmp 0x49b0c6
jmp 0x49a868
push 0x4cebd4
push 0x13d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4710], esp
push 0x4cec04
call fcn.00419020
mov dword [ebp - 0x4714], eax
mov byte [ebp - 4], 0xf
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov byte [ebp - 4], 0xa
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x49a7fc
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 4
call dword [ebp + 0x14]
mov ecx, dword [ebp - 0x4614]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4624]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x461c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b0], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46b0]
jmp 0x49b0c6
mov ecx, dword [ebp - 0x4614]
push ecx
mov ecx, dword [ebp - 0x4620]
call sym.Install_vip.exe_private:_int___thiscall_CNsDownload::isGzip_void__
mov dword [ebp - 0x46d0], eax
mov dword [ebp - 0x466c], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x4644], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x464c], xmm0
push 0
lea edx, [ebp - 0x466c]
push edx
lea eax, [ebp - 0x4644]
push eax
push 0x20000005
mov ecx, dword [ebp - 0x4614]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x49a9a5
cmp dword [ebp + 0x18], 0
jne 0x49a9a5
cmp dword [ebp + 0x14], 0
je 0x49a9a5
push 0x4cec2c
push 0x155
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4718], esp
push 0x4cec6c
call fcn.00419020
mov dword [ebp - 0x471c], eax
mov byte [ebp - 4], 0x10
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov byte [ebp - 4], 0xa
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x49a939
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 4
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x4614]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4624]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x461c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46b4]
jmp 0x49b0c6
mov byte [ebp - 0x462d], 0
cmp dword [ebp - 0x4640], 0
jg 0x49a9c7
jl 0x49a9c0
cmp dword [ebp - 0x4644], 0
ja 0x49a9c7
mov byte [ebp - 0x462d], 1
mov eax, dword [ebp - 0x4644]
cmp eax, dword [ebp - 0x4638]
jne 0x49aabf
mov ecx, dword [ebp - 0x4640]
cmp ecx, dword [ebp - 0x4634]
jne 0x49aabf
cmp dword [ebp - 0x462c], 0xc8
jne 0x49aabf
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x4628]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043f35b
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x49aa53
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x4634]
push ecx
mov edx, dword [ebp - 0x4638]
push edx
mov eax, dword [ebp - 0x4634]
push eax
mov ecx, dword [ebp - 0x4638]
push ecx
mov edx, dword [ebp + 8]
push edx
push 2
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x4614]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4624]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x461c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b8], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46b8]
jmp 0x49b0c6
cmp dword [ebp + 0x10], 0
je 0x49aad1
cmp dword [ebp - 0x462c], 0xce
je 0x49aaee
lea ecx, [ebp - 0x4628]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xorps xmm0, xmm0
movlpd qword [ebp - 0x4638], xmm0
push 0
push 0
push 4
push 0
push 0
push 0x10000000
lea ecx, [ebp - 0x4628]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4664], eax
cmp dword [ebp - 0x4664], 0xffffffff
jne 0x49ab8a
mov eax, dword [ebp - 0x4614]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4624]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x461c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46bc], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46bc]
jmp 0x49b0c6
push 2
push 0
push 0
mov eax, dword [ebp - 0x4664]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x46c0], 0x1388
push 4
lea ecx, [ebp - 0x46c0]
push ecx
push 6
mov edx, dword [ebp - 0x461c]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x46cc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x467c], eax
mov dword [ebp - 0x4660], 0x64
mov eax, dword [ebp - 0x4620]
movzx ecx, byte [eax + 0x1ac]
test ecx, ecx
jne 0x49af8e
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x4620]
call sym.Install_vip.exe_public:_int___thiscall_CNsDownload::isStop_wchar_t_const__
test eax, eax
je 0x49ac4c
mov eax, dword [ebp - 0x464c]
cmp eax, dword [ebp - 0x4644]
jne 0x49ac25
mov ecx, dword [ebp - 0x4648]
cmp ecx, dword [ebp - 0x4640]
je 0x49ac47
cmp dword [ebp + 0x14], 0
je 0x49ac47
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 3
call dword [ebp + 0x14]
jmp 0x49af8e
mov dword [ebp - 0x4654], 0
lea eax, [ebp - 0x4654]
push eax
push 0x4000
lea ecx, [ebp - 0x460c]
push ecx
mov edx, dword [ebp - 0x4614]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x49ad45
push 0x4cec94
push 0x19c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4720], esp
push 0x4cecc8
call fcn.00419020
mov dword [ebp - 0x4754], eax
mov byte [ebp - 4], 0x11
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov byte [ebp - 4], 0xa
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____int__wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x49acd9
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 4
call dword [ebp + 0x14]
mov ecx, dword [ebp - 0x4614]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4624]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x461c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46c4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46c4]
jmp 0x49b0c6
cmp dword [ebp - 0x4654], 0
jne 0x49ad53
jmp 0x49af8e
mov byte [ebp - 4], 0x12
push 0
lea ecx, [ebp - 0x4728]
push ecx
mov edx, dword [ebp - 0x4654]
push edx
lea eax, [ebp - 0x460c]
push eax
mov ecx, dword [ebp - 0x4664]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x49addc
mov dword [ebp - 4], 0xa
jmp 0x49ae23
xorps xmm0, xmm0
movss dword [ebp - 0x465c], xmm0
mov eax, dword [ebp - 0x4654]
mov dword [ebp - 0x4674], eax
cvtsi2sd xmm0, dword [ebp - 0x4674]
mov ecx, dword [ebp - 0x4674]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4d0d90]
movsd qword [ebp - 0x473c], xmm0
cvtsd2ss xmm0, qword [ebp - 0x473c]
movss dword [ebp - 0x465c], xmm0
mov edx, dword [ebp - 0x4660]
mov dword [ebp - 0x4678], edx
cvtsi2sd xmm0, dword [ebp - 0x4678]
mov eax, dword [ebp - 0x4678]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4d0d90]
movsd qword [ebp - 0x4744], xmm0
cvtsd2ss xmm0, qword [ebp - 0x4744]
divss xmm0, dword [0x4d0cd0]
movss xmm1, dword [ebp - 0x465c]
divss xmm1, xmm0
movss dword [ebp - 0x465c], xmm1
mov ecx, dword [ebp - 0x4644]
cmp ecx, dword [ebp - 0x464c]
jne 0x49aeec
mov edx, dword [ebp - 0x4640]
cmp edx, dword [ebp - 0x4648]
jne 0x49aeec
movzx eax, byte [ebp - 0x462d]
test eax, eax
jne 0x49aeec
jmp 0x49af8e
cmp dword [ebp + 0x14], 0
je 0x49af3f
cvtss2sd xmm0, dword [ebp - 0x465c]
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x4644]
add ecx, dword [ebp - 0x4638]
mov edx, dword [ebp - 0x4640]
adc edx, dword [ebp - 0x4634]
push edx
push ecx
mov eax, dword [ebp - 0x464c]
add eax, dword [ebp - 0x4638]
mov ecx, dword [ebp - 0x4648]
adc ecx, dword [ebp - 0x4634]
push ecx
push eax
mov edx, dword [ebp + 8]
push edx
push 1
call dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x467c], eax
mov eax, dword [ebp - 0x467c]
sub eax, dword [ebp - 0x46cc]
mov dword [ebp - 0x4660], eax
jne 0x49af69
mov dword [ebp - 0x4660], 0x64
mov ecx, dword [ebp - 0x4654]
xor edx, edx
add ecx, dword [ebp - 0x464c]
adc edx, dword [ebp - 0x4648]
mov dword [ebp - 0x464c], ecx
mov dword [ebp - 0x4648], edx
jmp 0x49abe1
mov eax, dword [ebp - 0x4664]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x4644]
cmp ecx, dword [ebp - 0x464c]
jne 0x49afb7
mov edx, dword [ebp - 0x4640]
cmp edx, dword [ebp - 0x4648]
je 0x49afc6
movzx eax, byte [ebp - 0x462d]
test eax, eax
je 0x49b05f
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x46d0], 0
je 0x49aff9
push 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x4628]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call sym.Install_vip.exe_public:_static_class_CNsZlib____cdecl_CNsZlib::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_long_int___thiscall_CNsZlib::DecodeFile_wchar_t_const___wchar_t_const___unsigned_long_int_
jmp 0x49b011
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x4628]
call sym.Install_vip.exe_public:_char_const____thiscall_Json::StaticString::operator_char_const__void_const
push eax
call fcn.0043f35b
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x49b05f
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x4644]
add ecx, dword [ebp - 0x4638]
mov edx, dword [ebp - 0x4640]
adc edx, dword [ebp - 0x4634]
push edx
push ecx
mov eax, dword [ebp - 0x464c]
add eax, dword [ebp - 0x4638]
mov ecx, dword [ebp - 0x4648]
adc ecx, dword [ebp - 0x4634]
push ecx
push eax
mov edx, dword [ebp + 8]
push edx
push 2
call dword [ebp + 0x14]
mov eax, dword [ebp - 0x4614]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4624]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x461c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46d4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4628]
call fcn.00409680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4618]
call fcn.00409680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4610]
call fcn.00409680
mov eax, dword [ebp - 0x46d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042e9de
mov esp, ebp
pop ebp
ret 0x14