Function at 0x440bf0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45be40
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x475080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6e8], ecx
mov dword [ebp - 0x4a0], 4
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x484], 0
push 0
lea eax, [ebp - 0x4a4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x466548
lea ecx, [ebp - 0x47c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edx, dword [ebp - 0x6e8]
cmp dword [edx], 0
je 0x440cce
mov eax, dword [ebp - 0x6e8]
add eax, 0xcc
push eax
mov ecx, dword [ebp - 0x6e8]
add ecx, 4
push ecx
push 0x46655c
lea edx, [ebp - 0x644]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x644]
push eax
push 3
lea ecx, [ebp - 0x47c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x49c], eax
jmp 0x440d11
mov edx, dword [ebp - 0x4a4]
and edx, 4
jne 0x440cf6
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x49c], eax
jmp 0x440d11
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x47c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0
jne 0x440d32
push 0x466580
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__
xor eax, eax
jmp 0x4413cb
mov dword [ebp - 0x4ac], 0xbb8
push 4
lea edx, [ebp - 0x4ac]
push edx
push 2
mov eax, dword [ebp - 0x49c]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea esi, [ebp - 0x480]
call fcn.00405900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x494]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405940
mov byte [ebp - 4], 1
lea edi, [ebp - 0x494]
call fcn.00409d60
push 0x4665ac
push 0x4665b0
lea edx, [ebp - 0x494]
push edx
call fcn.00409a50
xor ecx, ecx
mov edx, 0x4665c0
lea esi, [ebp - 0x494]
call fcn.0040b380
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], 0
jle 0x440e67
mov eax, dword [ebp - 0x4a8]
lea ecx, [ebp - 0x650]
lea edx, [ebp - 0x494]
call fcn.0040e7d0
mov dword [ebp - 0x6ec], eax
mov eax, dword [ebp - 0x6ec]
mov dword [ebp - 0x6f0], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6f0]
lea edi, [ebp - 0x480]
call fcn.004059f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x650]
call fcn.00405b50
lea eax, [ebp - 0x494]
call fcn.00405ab0
sub eax, dword [ebp - 0x4a8]
lea ecx, [ebp - 0x494]
push ecx
lea ecx, [ebp - 0x654]
call fcn.0040e750
mov dword [ebp - 0x6f4], eax
mov edx, dword [ebp - 0x6f4]
mov dword [ebp - 0x6f8], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6f8]
lea edi, [ebp - 0x494]
call fcn.004059f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x654]
call fcn.00405b50
jmp 0x440e88
lea eax, [ebp - 0x494]
lea edi, [ebp - 0x480]
call fcn.004059f0
mov edx, 0x4665c4
lea edi, [ebp - 0x494]
call fcn.00405a60
mov dword [ebp - 0x48c], 0
mov eax, dword [ebp - 0x6e8]
mov ecx, dword [ebp - 0x48c]
cmp ecx, dword [eax + 0x1b0]
jge 0x440f7d
push 0
push SysReAllocString
push 3
push 0
push 0
movzx edx, word [ebp + 0x1c]
push edx
lea eax, [ebp - 0x480]
call fcn.00405aa0
push eax
mov eax, dword [ebp - 0x49c]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0x4b0], 0
je 0x440eee
jmp 0x440f7d
mov ecx, dword [ebp - 0x48c]
add ecx, 1
mov dword [ebp - 0x48c], ecx
mov edx, dword [ebp - 0x6e8]
mov eax, dword [ebp - 0x48c]
cmp eax, dword [edx + 0x1b0]
jl 0x440f65
push 0x4665c8
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__
mov ecx, dword [ebp - 0x49c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x658], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x480]
call fcn.00405b50
mov eax, dword [ebp - 0x658]
jmp 0x4413cb
mov edx, dword [ebp - 0x6e8]
mov eax, dword [edx + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x440e92
mov ecx, dword [ebp - 0x6e8]
cmp dword [ecx], 0
je 0x440fe6
mov edx, dword [ebp - 0x6e8]
add edx, 0xe4
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp - 0x6e8]
add eax, 0xe4
push eax
push 0x2b
mov ecx, dword [ebp - 0x4b0]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [ebp - 0x6e8]
add edx, 0x148
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [ebp - 0x6e8]
add eax, 0x148
push eax
push 0x2c
mov ecx, dword [ebp - 0x4b0]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push SysReAllocString
push 0x477180
push 0
push 0x466600
lea eax, [ebp - 0x494]
call fcn.00405aa0
push eax
push str.POST
mov edx, dword [ebp - 0x4b0]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0
jne 0x441087
push 0x466620
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__
mov eax, dword [ebp - 0x4b0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x49c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x65c], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x480]
call fcn.00405b50
mov eax, dword [ebp - 0x65c]
jmp 0x4413cb
xor edx, edx
mov word [ebp - 0x3fc], dx
push 0x3e6
push 0
lea eax, [ebp - 0x3fa]
push eax
call fcn.0041eb30
add esp, 0xc
push 0x466650
lea ecx, [ebp - 0x3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4666d8
lea edx, [ebp - 0x3fc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x466718
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x466768
lea ecx, [ebp - 0x3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x46675c
lea edx, [ebp - 0x3fc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x480]
call fcn.00405aa0
push eax
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4667c0
lea ecx, [ebp - 0x3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4667c8
lea edx, [ebp - 0x3fc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0xa0000000
lea ecx, [ebp - 0x3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea edx, [ebp - 0x3fc]
push edx
mov eax, dword [ebp - 0x484]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
mov eax, dword [ebp - 0x484]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov ecx, dword [ebp - 0x484]
push ecx
mov ecx, dword [ebp - 0x6e8]
call sym.Install_vip.exe_public:_int___thiscall_CNsNet::isGzip_void__
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x498], 0x4000
mov edx, dword [ebp - 0x498]
cmp edx, dword [ebp + 0x18]
jl 0x4411c8
mov eax, dword [ebp + 0x18]
sub eax, 1
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x488], 0
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
call fcn.0041eb30
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x6e8]
movzx edx, byte [ecx + 0x1ac]
test edx, edx
jne 0x4412dd
mov eax, dword [ebp - 0x488]
add eax, dword [ebp - 0x498]
cmp eax, dword [ebp + 0x18]
jge 0x4412dd
mov dword [ebp - 0x648], 0
lea ecx, [ebp - 0x648]
push ecx
mov edx, dword [ebp - 0x498]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x484]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4412af
push 0x46681c
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__
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4b0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x49c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x660], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x480]
call fcn.00405b50
mov eax, dword [ebp - 0x660]
jmp 0x4413cb
cmp dword [ebp - 0x648], 0
jne 0x4412ba
jmp 0x4412dd
mov edx, dword [ebp - 0x488]
add edx, dword [ebp - 0x648]
mov dword [ebp - 0x488], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x648]
mov dword [ebp - 0x10], eax
jmp 0x4411ea
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0
cmp dword [ebp - 0x490], 0
jne 0x441300
mov edx, dword [ebp + 0x14]
push edx
call fcn.0041f1c0
add esp, 4
cmp dword [ebp - 0x488], eax
je 0x441373
mov dword [ebp - 0x64c], 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x64c]
push ecx
mov edx, dword [ebp - 0x488]
push edx
mov eax, dword [ebp + 0x14]
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::DecodeGZipBuffer_unsigned_char___long_int__unsigned_char____long_int__
cmp dword [ebp - 0x64c], 0
je 0x441373
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x64c]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.0041f250
add esp, 0xc
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp + 0x18]
mov byte [ecx], 0
mov edx, dword [ebp - 0x6e8]
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x1b8], eax
mov ecx, dword [ebp - 0x64c]
push ecx
call fcn.0041eae8
add esp, 4
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4b0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x49c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x664], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x494]
call fcn.00405b50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x480]
call fcn.00405b50
mov eax, dword [ebp - 0x664]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d97a
mov esp, ebp
pop ebp
ret 0x18