Function at 0x4263f7
Capabilities:
Connect socket
Get socket status
Initialize winsock library
Receive data
Receive data on socket
Reference http user-agent string
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466dcc
mov eax, dword fs:[0]
push eax
mov eax, 0x19318
call fcn.00438820
mov eax, dword [0x483e68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19320], ecx
push 0x46bb7c
lea ecx, [ebp - 0x1902c]
mov dword [ebp - 4], 2
call fcn.00402446
mov esi, str.GET___HTTP_1.1_r_n
xor ebx, ebx
push esi
mov byte [ebp - 4], 3
mov byte [ebp - 0x19010], bl
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov esi, str.Accept:_text_html__application_xhtmlxml____r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov esi, str.Accept_Language:_zh_CN_r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov esi, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov esi, str.Accept_Encoding:_gzip__deflate_r_n
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x19064]
push str.Host:
push eax
call fcn.00424e0a
mov esi, 0x46b8cc
push esi
push eax
lea eax, [ebp - 0x19048]
push eax
mov byte [ebp - 4], 4
call fcn.00424e74
add esp, 0x18
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 5
call fcn.00402179
push ebx
push 1
lea ecx, [ebp - 0x19048]
call fcn.00401713
push ebx
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x19064]
call fcn.00401713
mov edi, str.DNT:_1_r_n
push edi
call fcn.00435c90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
mov edi, str.Connection:_Keep_Alive_r_n
push edi
call fcn.00435c90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
push esi
sub esp, 0x1c
lea eax, [ebp + 0x40]
mov ecx, esp
mov dword [ebp - 0x1931c], esp
push eax
call fcn.00421ba7
sub esp, 0x1c
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x19318], esp
push eax
mov byte [ebp - 4], 6
call fcn.00421ba7
mov ecx, dword [ebp - 0x19320]
lea eax, [ebp - 0x19080]
push eax
mov byte [ebp - 4], 3
call fcn.004262c2
push eax
lea eax, [ebp - 0x19048]
push str.Authorization:_Basic
push eax
mov byte [ebp - 4], 7
call fcn.00424e9f
add esp, 0xc
push eax
lea eax, [ebp - 0x19064]
push eax
mov byte [ebp - 4], 8
call fcn.00424e74
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x1902c]
mov byte [ebp - 4], 9
call fcn.00402179
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x19064]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x19048]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x19080]
mov byte [ebp - 4], 3
call fcn.00401713
push esi
call fcn.00435c90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1902c]
call fcn.00402475
cmp dword [ebp - 0x19018], 0x10
mov esi, dword [ebp - 0x1901c]
mov eax, dword [ebp - 0x1902c]
jae 0x426643
lea eax, [ebp - 0x1902c]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x19320], eax
mov eax, dword [ebp + 8]
jae 0x426655
lea eax, [ebp + 8]
mov dword [ebp - 0x1931c], eax
lea eax, [ebp - 0x19314]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4267e7
mov eax, 0x101
cmp word [ebp - 0x19314], ax
jne 0x4267e1
push 6
push edi
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x19318], eax
cmp eax, 0xffffffff
je 0x4267e7
push dword [ebp - 0x1931c]
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x4266bc
push dword [ebp - 0x19318]
jmp 0x4267db
push 2
pop ecx
mov word [ebp - 0x1903c], cx
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push 8
mov dword [ebp - 0x19038], eax
lea eax, [ebp - 0x19034]
push ebx
push eax
call fcn.004374f0
add esp, 0xc
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1903a], ax
push 0x10
lea eax, [ebp - 0x1903c]
push eax
push dword [ebp - 0x19318]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x4266b1
push ebx
push esi
push dword [ebp - 0x19320]
mov esi, dword [ebp - 0x19318]
push esi
call dword [sym.imp.WS2_32.dll_send]
lea eax, [ebp - 0x19010]
test eax, eax
je 0x4267da
lea eax, [ebp - 0x19320]
test eax, eax
je 0x4267da
lea eax, [ebp - 0x19010]
mov dword [ebp - 0x1931c], eax
mov dword [ebp - 0x19318], 0x18fff
lea eax, [ebp - 0x19324]
push eax
push ebx
push ebx
lea eax, [ebp - 0x19184]
push eax
push esi
mov dword [ebp - 0x19180], esi
mov dword [ebp - 0x19184], edi
mov dword [ebp - 0x19324], 0xa
mov dword [ebp - 0x19320], 0x3e8
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x4267c9
lea eax, [ebp - 0x19184]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x426755
push ebx
push dword [ebp - 0x19318]
push dword [ebp - 0x1931c]
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jle 0x4267cf
add dword [ebp - 0x1931c], eax
sub dword [ebp - 0x19318], eax
jne 0x426755
jmp 0x4267cf
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea eax, [ebp - 0x11]
sub eax, dword [ebp - 0x19318]
mov byte [eax], bl
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x19010]
push str.HTTP_1.1_200_OK
push eax
call fcn.0043a3f0
pop ecx
pop ecx
test eax, eax
je 0x426849
mov esi, edi
push ebx
push edi
lea ecx, [ebp - 0x1902c]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp + 0x24]
call fcn.00401713
push ebx
push edi
lea ecx, [ebp + 0x40]
call fcn.00401713
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00435805
leave
ret 0x54
xor esi, esi
jmp 0x426800