Function at 0x443e80
Capabilities:
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
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 0x45bf57
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x47a0
call fcn.00426d00
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x1c], 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 - 0x4790], ecx
mov eax, dword [ebp + 0xc]
push eax
call sym.Install_vip.exe_int___cdecl_CreateDirTree_wchar_t_const__
add esp, 4
mov dword [ebp - 0x4e4], 4
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x44fc], 0
mov dword [ebp - 0x498], 0
push 0
lea ecx, [ebp - 0x4e8]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x466ac0
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp - 0x4790]
cmp dword [eax], 0
je 0x443f74
mov ecx, dword [ebp - 0x4790]
add ecx, 0xcc
push ecx
mov edx, dword [ebp - 0x4790]
add edx, 4
push edx
push 0x466ad4
lea eax, [ebp - 0x4690]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x4690]
push ecx
push 3
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4e0], eax
jmp 0x443fb7
mov eax, dword [ebp - 0x4e8]
and eax, 4
jne 0x443f9c
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x490]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4e0], eax
jmp 0x443fb7
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4e0], eax
cmp dword [ebp - 0x4e0], 0
jne 0x443ff7
push 0x466af8
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x443ff0
sub esp, 8
fldz
fstp qword [esp]
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 0x44507e
mov dword [ebp - 0x44f8], 0xbb8
push 4
lea ecx, [ebp - 0x44f8]
push ecx
push 2
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x4dc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405940
mov dword [ebp - 4], 0
lea esi, [ebp - 0x494]
call fcn.00405900
mov byte [ebp - 4], 1
mov ecx, 8
mov edx, 0x466b28
lea esi, [ebp - 0x4dc]
call fcn.0040b380
mov dword [ebp - 0x44f4], eax
cmp dword [ebp - 0x44f4], 0
jle 0x444117
mov eax, dword [ebp - 0x44f4]
sub eax, 7
lea ecx, [ebp - 0x4dc]
push ecx
mov ecx, 7
lea edx, [ebp - 0x46a4]
call fcn.0040e6a0
mov dword [ebp - 0x4794], eax
mov edx, dword [ebp - 0x4794]
mov dword [ebp - 0x4798], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4798]
lea edi, [ebp - 0x494]
call fcn.004059f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x46a4]
call fcn.00405b50
lea eax, [ebp - 0x4dc]
call fcn.00405ab0
sub eax, dword [ebp - 0x44f4]
lea ecx, [ebp - 0x4dc]
push ecx
lea ecx, [ebp - 0x46a8]
call fcn.0040e750
mov dword [ebp - 0x479c], eax
mov edx, dword [ebp - 0x479c]
mov dword [ebp - 0x47a0], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x47a0]
lea edi, [ebp - 0x4dc]
call fcn.004059f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x46a8]
call fcn.00405b50
jmp 0x444135
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x494]
call fcn.00405a60
mov edx, 0x466b2c
lea edi, [ebp - 0x4dc]
call fcn.00405a60
mov dword [ebp - 0x4d4], 0
mov eax, dword [ebp - 0x4790]
mov ecx, dword [ebp - 0x4d4]
cmp ecx, dword [eax + 0x1b0]
jge 0x444252
push 0
push SysReAllocString
push 3
push 0
push 0
mov edx, dword [ebp - 0x4790]
movzx eax, word [edx + 0x1e0]
push eax
lea eax, [ebp - 0x494]
call fcn.00405aa0
push eax
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x44fc], eax
cmp dword [ebp - 0x44fc], 0
je 0x4441a4
jmp 0x444252
mov edx, dword [ebp - 0x4d4]
add edx, 1
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4790]
mov ecx, dword [ebp - 0x4d4]
cmp ecx, dword [eax + 0x1b0]
jl 0x44423a
push 0x466b30
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x4441f7
sub esp, 8
fldz
fstp qword [esp]
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 - 0x4e0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46ac], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46ac]
jmp 0x44507e
mov ecx, dword [ebp - 0x4790]
mov edx, dword [ecx + 0x1b4]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44413f
mov eax, dword [ebp - 0x4790]
cmp dword [eax], 0
je 0x4442bd
mov ecx, dword [ebp - 0x4790]
add ecx, 0xe4
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp - 0x4790]
add edx, 0xe4
push edx
push 0x2b
mov eax, dword [ebp - 0x44fc]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [ebp - 0x4790]
add ecx, 0x148
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov edx, dword [ebp - 0x4790]
add edx, 0x148
push edx
push 0x2c
mov eax, dword [ebp - 0x44fc]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push SysReAllocString
push 0x477168
push 0
push 0x466b6c
lea eax, [ebp - 0x4dc]
call fcn.00405aa0
push eax
push 0x466b80
mov ecx, dword [ebp - 0x44fc]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x444381
push 0x466b88
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x444331
sub esp, 8
fldz
fstp qword [esp]
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 - 0x44fc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b0], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46b0]
jmp 0x44507e
xor edx, edx
mov word [ebp - 0x408], dx
push 0x3e6
push 0
lea eax, [ebp - 0x406]
push eax
call fcn.0041eb30
add esp, 0xc
push str.Accept:text_html_application_xml_q0.9_application_json___q0.8_r_n
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Accept_Encoding:gzip_deflate_r_n
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Accept_Language:zh_CN_zh_q0.5_r_n
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Accept_Charset:gb2312_utf_8_q0.7__q0.7_r_n
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Host:
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x494]
call fcn.00405aa0
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x466d60
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.User_Agent:Mozilla_5.0__Windows_NT_6.1__r_n
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405940
mov byte [ebp - 4], 4
push 0x466cd4
lea ecx, [ebp - 0x14]
call fcn.00411460
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
cmp dword [ebp + 0x10], 0
je 0x4444fb
lea eax, [ebp - 0x14]
call fcn.00405aa0
push eax
call sym.Install_vip.exe_long_long___int64____cdecl_FileSize_wchar_t_const__
add esp, 4
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4b4], edx
cmp dword [ebp - 0x4b4], 0
jl 0x4444fb
jg 0x4444a3
cmp dword [ebp - 0x4b8], 0
jbe 0x4444fb
lea esi, [ebp - 0x4694]
call fcn.00405900
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4b4]
push ecx
mov edx, dword [ebp - 0x4b8]
push edx
push str.Range:bytes_I64d__r_n
lea edi, [ebp - 0x4694]
call fcn.00406090
add esp, 0xc
lea eax, [ebp - 0x4694]
call fcn.00405aa0
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4694]
call fcn.00405b50
push 0xa0000000
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x498]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x498]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x4ac], 4
cmp dword [ebp + 0x10], 0
je 0x4448e1
push 0
lea edx, [ebp - 0x4ac]
push edx
lea eax, [ebp - 0x40c]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x498]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x444848
cmp dword [ebp - 0x40c], 0xc8
jl 0x44459c
cmp dword [ebp - 0x40c], 0xce
jg 0x44459c
jmp 0x444843
cmp dword [ebp - 0x40c], 0x12c
jl 0x4445b9
cmp dword [ebp - 0x40c], 0x133
jg 0x4445b9
jmp 0x444843
cmp dword [ebp - 0x40c], 0x190
jl 0x44478a
cmp dword [ebp - 0x40c], 0x1a1
jg 0x44478a
cmp dword [ebp - 0x40c], 0x1a0
je 0x4445f5
cmp dword [ebp - 0x40c], 0x19d
jne 0x4446ec
mov edx, dword [ebp - 0x498]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 0x400200
push 0x477168
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x4dc]
call fcn.00405aa0
push eax
push 0x466dd0
mov eax, dword [ebp - 0x44fc]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x498], 0
jne 0x4446d2
push 0x466dd8
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x444676
sub esp, 8
fldz
fstp qword [esp]
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 - 0x44fc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46b4]
jmp 0x44507e
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x498]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
jmp 0x444785
push 0x466e14
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x44471c
sub esp, 8
fldz
fstp qword [esp]
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 - 0x498]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x44fc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46b8], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46b8]
jmp 0x44507e
jmp 0x444843
cmp dword [ebp - 0x40c], 0x1f4
jl 0x444843
cmp dword [ebp - 0x40c], 0x1f9
jg 0x444843
push 0x466e44
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x4447da
sub esp, 8
fldz
fstp qword [esp]
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 - 0x498]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44fc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46bc], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46bc]
jmp 0x44507e
jmp 0x4448e1
push 0x466e74
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x444878
sub esp, 8
fldz
fstp qword [esp]
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 - 0x498]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x44fc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46c0], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46c0]
jmp 0x44507e
mov edx, dword [ebp - 0x498]
push edx
mov ecx, dword [ebp - 0x4790]
call sym.Install_vip.exe_private:_int___thiscall_CNsDownload::isGzip_void__
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4ac], 8
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0
push 0
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x4a8]
push ecx
push 0x20000005
mov edx, dword [ebp - 0x498]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4449f8
cmp dword [ebp + 0x18], 0
jne 0x4449f8
push 0x466ea4
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x44498f
sub esp, 8
fldz
fstp qword [esp]
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 - 0x498]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44fc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46c4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46c4]
jmp 0x44507e
mov byte [ebp - 0x15], 0
cmp dword [ebp - 0x4a4], 0
jg 0x444a14
jl 0x444a10
cmp dword [ebp - 0x4a8], 0
ja 0x444a14
mov byte [ebp - 0x15], 1
mov ecx, dword [ebp - 0x4a8]
cmp ecx, dword [ebp - 0x4b8]
jne 0x444b03
mov edx, dword [ebp - 0x4a4]
cmp edx, dword [ebp - 0x4b4]
jne 0x444b03
cmp dword [ebp - 0x40c], 0xc8
jne 0x444b03
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0x14]
call fcn.00405aa0
push eax
call fcn.00435750
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x444a9a
sub esp, 8
fldz
fstp qword [esp]
mov edx, dword [ebp - 0x4b4]
push edx
mov eax, dword [ebp - 0x4b8]
push eax
mov ecx, dword [ebp - 0x4b4]
push ecx
mov edx, dword [ebp - 0x4b8]
push edx
mov eax, dword [ebp + 8]
push eax
push 2
call dword [ebp + 0x14]
mov ecx, dword [ebp - 0x498]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44fc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46c8], 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46c8]
jmp 0x44507e
cmp dword [ebp + 0x10], 0
je 0x444b15
cmp dword [ebp - 0x40c], 0xce
je 0x444b38
lea eax, [ebp - 0x14]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
push 0
push 0
push 4
push 0
push 0
push 0x10000000
lea eax, [ebp - 0x14]
call fcn.00405aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4bc], eax
cmp dword [ebp - 0x4bc], 0xffffffff
jne 0x444bce
mov ecx, dword [ebp - 0x498]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x44fc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46cc], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46cc]
jmp 0x44507e
push 2
push 0
push 0
mov ecx, dword [ebp - 0x4bc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x4ec], 0x1388
push 4
lea edx, [ebp - 0x4ec]
push edx
push 6
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4d0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x49c], 0x64
mov ecx, dword [ebp - 0x4790]
movzx edx, byte [ecx + 0x1ac]
test edx, edx
jne 0x444f55
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4790]
call sym.Install_vip.exe_public:_int___thiscall_CNsDownload::isStop_wchar_t_const__
test eax, eax
je 0x444c8d
mov ecx, dword [ebp - 0x4c8]
cmp ecx, dword [ebp - 0x4a8]
jne 0x444c69
mov edx, dword [ebp - 0x4c4]
cmp edx, dword [ebp - 0x4a4]
je 0x444c88
cmp dword [ebp + 0x14], 0
je 0x444c88
sub esp, 8
fldz
fstp qword [esp]
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 3
call dword [ebp + 0x14]
jmp 0x444f55
mov dword [ebp - 0x4698], 0
lea ecx, [ebp - 0x4698]
push ecx
push 0x4000
lea edx, [ebp - 0x44f0]
push edx
mov eax, dword [ebp - 0x498]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x444d58
push 0x466ed4
call sym.Install_vip.exe_public:_static_class_CNsLog____cdecl_CNsLog::Instance_void_
mov ecx, eax
call sym.Install_vip.exe_public:_void___thiscall_CNsLog::WriteLog_wchar_t_const__
cmp dword [ebp + 0x14], 0
je 0x444cef
sub esp, 8
fldz
fstp qword [esp]
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 - 0x498]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x44fc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46d0], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46d0]
jmp 0x44507e
cmp dword [ebp - 0x4698], 0
jne 0x444d66
jmp 0x444f55
mov byte [ebp - 4], 6
push 0
lea edx, [ebp - 0x46a0]
push edx
mov eax, dword [ebp - 0x4698]
push eax
lea ecx, [ebp - 0x44f0]
push ecx
mov edx, dword [ebp - 0x4bc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x444df3
mov dword [ebp - 4], 4
jmp 0x444e34
fldz
fstp dword [ebp - 0x469c]
mov ecx, dword [ebp - 0x4698]
mov dword [ebp - 0x47a8], ecx
mov dword [ebp - 0x47a4], 0
fild qword [ebp - 0x47a8]
fstp dword [ebp - 0x469c]
mov edx, dword [ebp - 0x49c]
mov dword [ebp - 0x47b0], edx
mov dword [ebp - 0x47ac], 0
fild qword [ebp - 0x47b0]
fdiv qword [0x469128]
fdivr dword [ebp - 0x469c]
fstp dword [ebp - 0x469c]
mov eax, dword [ebp - 0x4a8]
cmp eax, dword [ebp - 0x4c8]
jne 0x444eb7
mov ecx, dword [ebp - 0x4a4]
cmp ecx, dword [ebp - 0x4c4]
jne 0x444eb7
movzx edx, byte [ebp - 0x15]
test edx, edx
jne 0x444eb7
jmp 0x444f55
cmp dword [ebp + 0x14], 0
je 0x444f06
fld dword [ebp - 0x469c]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp - 0x4a8]
add eax, dword [ebp - 0x4b8]
mov ecx, dword [ebp - 0x4a4]
adc ecx, dword [ebp - 0x4b4]
push ecx
push eax
mov edx, dword [ebp - 0x4c8]
add edx, dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4c4]
adc eax, dword [ebp - 0x4b4]
push eax
push edx
mov ecx, dword [ebp + 8]
push ecx
push 1
call dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4cc], eax
mov edx, dword [ebp - 0x4cc]
sub edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x49c], edx
jne 0x444f30
mov dword [ebp - 0x49c], 0x64
mov eax, dword [ebp - 0x4698]
xor ecx, ecx
add eax, dword [ebp - 0x4c8]
adc ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x4c8], eax
mov dword [ebp - 0x4c4], ecx
jmp 0x444c25
mov edx, dword [ebp - 0x4bc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4a8]
cmp eax, dword [ebp - 0x4c8]
jne 0x444f7e
mov ecx, dword [ebp - 0x4a4]
cmp ecx, dword [ebp - 0x4c4]
je 0x444f8a
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x44501a
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x4d8], 0
je 0x444fba
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0x14]
call fcn.00405aa0
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 0x444fcf
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
call fcn.00405aa0
push eax
call fcn.00435750
add esp, 8
cmp dword [ebp + 0x14], 0
je 0x44501a
sub esp, 8
fldz
fstp qword [esp]
mov eax, dword [ebp - 0x4a8]
add eax, dword [ebp - 0x4b8]
mov ecx, dword [ebp - 0x4a4]
adc ecx, dword [ebp - 0x4b4]
push ecx
push eax
mov edx, dword [ebp - 0x4c8]
add edx, dword [ebp - 0x4b8]
mov eax, dword [ebp - 0x4c4]
adc eax, dword [ebp - 0x4b4]
push eax
push edx
mov ecx, dword [ebp + 8]
push ecx
push 2
call dword [ebp + 0x14]
mov edx, dword [ebp - 0x498]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x44fc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x46d8], 1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
call fcn.00405b50
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4dc]
call fcn.00405b50
mov eax, dword [ebp - 0x46d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 0x14