Function at 0x1400113a2
Capabilities:
Connect socket
Convert ip address from string
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
jmp 0x140011f30
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x156
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7d8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x788], rax
lea rcx, [0x1400260a8]
call fcn.140011401
nop
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140011fb9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Could_not_create_socket:__d_n
call fcn.1400111e5
nop
xor eax, eax
jmp 0x14001227f
mov eax, 2
mov word [rbp + 0x28], ax
mov cx, 0x50
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x2a], ax
lea r8, [rbp + 0x2c]
mov rdx, qword [rbp + 0x7b0]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
nop
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jge 0x140012026
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Connect_error:__d_n
call fcn.1400111e5
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
xor eax, eax
jmp 0x14001227f
lea r8, str.GET___HTTP_1.1_r_nHost:_myip.electro_r_nConnection:_close_r_n_r_n
mov edx, 0x400
lea rcx, [rbp + 0x60]
call fcn.1400112f3
nop
lea rcx, [rbp + 0x60]
call fcn.1400111ae
xor r9d, r9d
mov r8d, eax
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x140012084
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Send_failed:__d_n
call fcn.1400111e5
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
xor eax, eax
jmp 0x14001227f
xor r9d, r9d
mov r8d, 0x3ff
mov rdx, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x474], eax
cmp dword [rbp + 0x474], 0
jg 0x1400120d4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Recv_failed:__d_n
call fcn.1400111e5
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
xor eax, eax
jmp 0x14001227f
movsxd rax, dword [rbp + 0x474]
mov rcx, qword [rbp + 0x7b8]
mov byte [rcx + rax], 0
lea rdx, str.Content_Length:
mov rcx, qword [rbp + 0x7b8]
call fcn.1400111b3
mov qword [rbp + 0x498], rax
cmp qword [rbp + 0x498], 0
jne 0x140012129
lea rcx, str.Content_Length_header_not_found_n
call fcn.1400111e5
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
xor eax, eax
jmp 0x14001227f
lea r8, [rbp + 0x4b4]
lea rdx, str.Content_Length:__d
mov rcx, qword [rbp + 0x498]
call fcn.14001104b
nop
lea rdx, str._r_n_r_n
mov rcx, qword [rbp + 0x7b8]
call fcn.1400111b3
mov qword [rbp + 0x4d8], rax
cmp qword [rbp + 0x4d8], 0
jne 0x140012187
lea rcx, str.Response_body_not_found_n
call fcn.1400111e5
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
xor eax, eax
jmp 0x14001227f
mov rax, qword [rbp + 0x4d8]
add rax, 4
mov qword [rbp + 0x4d8], rax
mov rax, qword [rbp + 0x7b8]
mov rcx, qword [rbp + 0x4d8]
sub rcx, rax
mov rax, rcx
mov dword [rbp + 0x4f4], eax
mov eax, dword [rbp + 0x4f4]
mov ecx, dword [rbp + 0x474]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x514], eax
mov eax, dword [rbp + 0x514]
mov ecx, dword [rbp + 0x4b4]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x534], eax
cmp dword [rbp + 0x534], 0
jle 0x14001226d
movsxd rax, dword [rbp + 0x474]
mov rcx, qword [rbp + 0x7b8]
add rcx, rax
mov rax, rcx
xor r9d, r9d
mov r8d, dword [rbp + 0x534]
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x474], eax
cmp dword [rbp + 0x474], 0
jg 0x14001224a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Recv_failed:__d_n
call fcn.1400111e5
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
xor eax, eax
jmp 0x14001227f
mov eax, dword [rbp + 0x514]
mov ecx, dword [rbp + 0x4f4]
add ecx, eax
mov eax, ecx
add eax, dword [rbp + 0x474]
cdqe
mov rcx, qword [rbp + 0x7b8]
mov byte [rcx + rax], 0
mov rcx, qword [rbp + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rax, qword [rbp + 0x4d8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140011384
mov rax, rdi
mov rcx, qword [rbp + 0x788]
xor rcx, rbp
call fcn.1400111fe
lea rsp, [rbp + 0x798]
pop rdi
pop rbp
ret