Function at 0x431cf0
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 0x44aa34
mov eax, dword fs:[0]
push eax
sub esp, 0x6b4
mov eax, dword [0x45e080]
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 - 0x6b0], ecx
mov dword [ebp - 0x4a4], 4
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x484], 0
push 0
lea eax, [ebp - 0x4a8]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4508f0
lea ecx, [ebp - 0x47c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edx, dword [ebp - 0x6b0]
cmp dword [edx], 0
je 0x431dce
mov eax, dword [ebp - 0x6b0]
add eax, 0xcc
push eax
mov ecx, dword [ebp - 0x6b0]
add ecx, 4
push ecx
push 0x450904
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 - 0x4a0], eax
jmp 0x431e11
mov edx, dword [ebp - 0x4a8]
and edx, 4
jne 0x431df6
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4a0], eax
jmp 0x431e11
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x47c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
jne 0x431e32
push 0x450928
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 0x4324d6
mov dword [ebp - 0x4b0], 0xbb8
push 4
lea edx, [ebp - 0x4b0]
push edx
push 2
mov eax, dword [ebp - 0x4a0]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 0x498]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405850
mov dword [ebp - 4], 0
lea esi, [ebp - 0x480]
call fcn.00405810
mov byte [ebp - 4], 1
xor ecx, ecx
mov edx, 0x450954
lea esi, [ebp - 0x498]
call fcn.0040acb0
add eax, 2
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
add ecx, 1
mov edx, 0x450958
lea esi, [ebp - 0x498]
call fcn.0040acb0
mov dword [ebp - 0x4ac], eax
cmp dword [ebp - 0x4ac], 0
jle 0x431f78
mov edx, dword [ebp - 0x4ac]
sub edx, dword [ebp - 0x488]
push edx
mov eax, dword [ebp - 0x488]
push eax
lea ecx, [ebp - 0x650]
push ecx
lea ecx, [ebp - 0x498]
call fcn.0040efa0
mov dword [ebp - 0x6b4], eax
mov edx, dword [ebp - 0x6b4]
mov dword [ebp - 0x6b8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6b8]
lea edi, [ebp - 0x480]
call fcn.00405900
mov byte [ebp - 4], 1
lea eax, [ebp - 0x650]
call fcn.00405a70
lea eax, [ebp - 0x498]
call fcn.004059b0
sub eax, dword [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x654]
push eax
lea ecx, [ebp - 0x498]
call fcn.00414ec0
mov dword [ebp - 0x6bc], eax
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp - 0x6c0], ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6c0]
lea edi, [ebp - 0x498]
call fcn.00405900
mov byte [ebp - 4], 1
lea eax, [ebp - 0x654]
call fcn.00405a70
jmp 0x431f96
mov edx, dword [ebp + 8]
lea edi, [ebp - 0x480]
call fcn.00405970
mov edx, 0x45095c
lea edi, [ebp - 0x498]
call fcn.00405970
mov dword [ebp - 0x490], 0
mov edx, dword [ebp - 0x6b0]
mov eax, dword [ebp - 0x490]
cmp eax, dword [edx + 0x1b0]
jge 0x432088
push 0
push SysReAllocString
push 3
push 0
push 0
push 0x50
lea eax, [ebp - 0x480]
call fcn.00405a90
push eax
mov ecx, dword [ebp - 0x4a0]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x4b4], 0
je 0x431ff9
jmp 0x432088
mov edx, dword [ebp - 0x490]
add edx, 1
mov dword [ebp - 0x490], edx
mov eax, dword [ebp - 0x6b0]
mov ecx, dword [ebp - 0x490]
cmp ecx, dword [eax + 0x1b0]
jl 0x432070
push 0x450960
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 - 0x4a0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x658], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x480]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x498]
call fcn.00405a70
mov eax, dword [ebp - 0x658]
jmp 0x4324d6
mov eax, dword [ebp - 0x6b0]
mov ecx, dword [eax + 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x431fa0
mov edx, dword [ebp - 0x6b0]
cmp dword [edx], 0
je 0x4320f1
mov eax, dword [ebp - 0x6b0]
add eax, 0xe4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp - 0x6b0]
add ecx, 0xe4
push ecx
push 0x2b
mov edx, dword [ebp - 0x4b4]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x6b0]
add eax, 0x148
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov ecx, dword [ebp - 0x6b0]
add ecx, 0x148
push ecx
push 0x2c
mov edx, dword [ebp - 0x4b4]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push SysReAllocString
push 0x4600e8
push 0
push 0x450998
lea eax, [ebp - 0x498]
call fcn.00405a90
push eax
push str.POST
mov eax, dword [ebp - 0x4b4]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0
jne 0x432192
push 0x4509b8
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 - 0x4b4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4a0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x65c], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x480]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x498]
call fcn.00405a70
mov eax, dword [ebp - 0x65c]
jmp 0x4324d6
xor eax, eax
mov word [ebp - 0x3fc], ax
push 0x3e6
push 0
lea ecx, [ebp - 0x3fa]
push ecx
call fcn.0041a420
add esp, 0xc
push 0x4509e8
lea edx, [ebp - 0x3fc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x450a70
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x450ab0
lea ecx, [ebp - 0x3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x450b00
lea edx, [ebp - 0x3fc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x450af4
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x480]
call fcn.00405a90
push eax
lea ecx, [ebp - 0x3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x450b58
lea edx, [ebp - 0x3fc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x450b60
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x3fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0xa0000000
lea edx, [ebp - 0x3fc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x3fc]
push eax
mov ecx, dword [ebp - 0x484]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x484]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edx, dword [ebp - 0x484]
push edx
mov ecx, dword [ebp - 0x6b0]
call sym.Install_vip.exe_public:_int___thiscall_CNsNet::isGzip_void__
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x49c], 0x4000
mov eax, dword [ebp - 0x49c]
cmp eax, dword [ebp + 0x18]
jl 0x4322d3
mov ecx, dword [ebp + 0x18]
sub ecx, 1
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x48c], 0
mov edx, dword [ebp + 0x18]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
call fcn.0041a420
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x6b0]
movzx eax, byte [edx + 0x1ac]
test eax, eax
jne 0x4323e8
mov ecx, dword [ebp - 0x48c]
add ecx, dword [ebp - 0x49c]
cmp ecx, dword [ebp + 0x18]
jge 0x4323e8
mov dword [ebp - 0x648], 0
lea edx, [ebp - 0x648]
push edx
mov eax, dword [ebp - 0x49c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x484]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4323ba
push 0x450bb4
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 - 0x484]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4b4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4a0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x660], 0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x480]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x498]
call fcn.00405a70
mov eax, dword [ebp - 0x660]
jmp 0x4324d6
cmp dword [ebp - 0x648], 0
jne 0x4323c5
jmp 0x4323e8
mov eax, dword [ebp - 0x48c]
add eax, dword [ebp - 0x648]
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x648]
mov dword [ebp - 0x10], ecx
jmp 0x4322f5
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
cmp dword [ebp - 0x494], 0
jne 0x43240b
mov eax, dword [ebp + 0x14]
push eax
call fcn.0041ada0
add esp, 4
cmp dword [ebp - 0x48c], eax
je 0x43247e
mov dword [ebp - 0x64c], 0
lea ecx, [ebp + 0x18]
push ecx
lea edx, [ebp - 0x64c]
push edx
mov eax, dword [ebp - 0x48c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
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 0x43247e
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x64c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0041ae30
add esp, 0xc
mov edx, dword [ebp + 0x14]
add edx, dword [ebp + 0x18]
mov byte [edx], 0
mov eax, dword [ebp - 0x6b0]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x1b8], ecx
mov edx, dword [ebp - 0x64c]
push edx
call fcn.0041a3dd
add esp, 4
mov eax, dword [ebp - 0x484]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4b4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x4a0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x664], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x480]
call fcn.00405a70
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x498]
call fcn.00405a70
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.0041957a
mov esp, ebp
pop ebp
ret 0x14