Function at 0x1400112bc
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
jmp 0x140011af0
push rbp
push rsi
push rdi
sub rsp, 0xa60
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1d0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0xa38], rax
lea rcx, [0x1400240a5]
call fcn.1400113d4
mov dword [rbp + 4], 1
mov dword [rbp + 4], 1
jmp 0x140011b46
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xc
jg 0x140011e0d
mov dword [rbp + 0x24], 0
lea rdx, [rbp + 0x50]
mov cx, 0x101
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rax, [rbp + 0x208]
lea rcx, str.blog.sina.com.cn
mov rdi, rax
mov rsi, rcx
mov ecx, send
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 0x208]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rbp + 0x238], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x238]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rax + rcx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rbp + 0x258], rax
mov rdx, qword [rbp + 0x258]
lea rcx, str.web_server_ip_is_:__s_n
call fcn.1400111cc
mov eax, 2
mov word [rbp + 0x278], ax
mov rcx, qword [rbp + 0x258]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x27c], eax
mov cx, 0x50
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x27a], ax
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x2a8], rax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x278]
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rbp + 0x2c4], eax
cmp dword [rbp + 0x2c4], 0
jge 0x140011c57
lea rcx, str.connect_error_n
call fcn.1400111cc
mov eax, 1
jmp 0x140011e1b
lea rax, [rbp + 0x2f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea r9, [rbp + 0x208]
mov r8d, dword [rbp + 4]
lea rdx, str.GET__s_articlelist_5890965060_0__d.html_HTTP_1.1_r_nHost:_s_r_nConnection:_Keep_Alive_r_n_r_n
lea rcx, [rbp + 0x2f0]
call fcn.14001139d
lea rcx, str.send_buf_is:_n
call fcn.1400111cc
lea rdx, [rbp + 0x2f0]
lea rcx, [0x14001af58]
call fcn.1400111cc
lea rcx, [rbp + 0x2f0]
call fcn.14001119f
inc rax
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x2f0]
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rbp + 0x2c4], eax
cmp dword [rbp + 0x2c4], 0
jge 0x140011cf5
lea rcx, str.send_error_n
call fcn.1400111cc
mov eax, 1
jmp 0x140011e1b
lea rdx, [0x14001af70]
lea rcx, str.test.txt
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x708], rax
xor eax, eax
cmp eax, 1
je 0x140011dc1
lea rax, [rbp + 0x724]
mov rdi, rax
xor eax, eax
mov ecx, 2
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, 1
lea rdx, [rbp + 0x724]
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x2c4], eax
cmp dword [rbp + 0x2c4], 0
jge 0x140011d6a
lea rcx, str.recv_error_n
call fcn.1400111cc
jmp 0x140011dc1
cmp dword [rbp + 0x2c4], 0
jne 0x140011d83
lea rcx, str.connection_has_been_closed_by_web_server_n
call fcn.1400111cc
jmp 0x140011dc1
cmp dword [rbp + 0x24], 0
jne 0x140011d9c
lea rcx, str.writing_data_to_file..._n
call fcn.1400111cc
mov dword [rbp + 0x24], 1
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rbp + rax + 0x724]
mov rdx, qword [rbp + 0x708]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_fputc]
jmp 0x140011d10
mov rcx, qword [rbp + 0x708]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov edx, dword [rbp + 4]
lea rcx, str.list_index_is________________________________________d_n_n_n
call fcn.1400111cc
mov ecx, 1
call fcn.1400112fd
imul eax, eax, 0x3e8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140011b3e
lea rcx, str._n_n_ndone_______n_n_n
call fcn.1400111cc
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ae30]
call fcn.140011361
mov rax, rdi
mov rcx, qword [rbp + 0xa38]
xor rcx, rbp
call fcn.1400111e5
lea rsp, [rbp + 0xa40]
pop rdi
pop rsi
pop rbp
ret