Function at 0x140001c50
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
Terminate process

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1050
call fcn.1400033f0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rsi, rcx
mov edi, 2
mov ecx, edi
xor r8d, r8d
mov edx, 1
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001caf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Could_not_create_socket:__d_n
call fcn.140001270
xor eax, eax
jmp 0x140001ec5
mov ecx, 0x50
mov word [rsp + 0x28], di
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x2c]
mov ecx, edi
lea rdx, str.2.189.59.238
mov word [rsp + 0x2a], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x140001d14
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Error_code:__d_n
call fcn.140001270
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x140001ec5
lea r8, str.GET__electro_fix_reverses_HTTP_1.1_r_nHost:_elcdn.ir_r_nConnection:_close_r_n_r_n
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call fcn.1400012d0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140001d36
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140001cf0
xor r9d, r9d
mov qword [rsp + 0x1078], r14
mov r8d, 0xfff
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
movsxd r14, eax
test eax, eax
jg 0x140001d9d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Error_code:__d_n
call fcn.140001270
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x140001ebd
mov qword [rsp + 0x1080], r15
lea rdx, str.Content_Length:
lea r15, [rsi + r14]
mov rcx, rsi
mov byte [r15], 0
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140001ded
mov ecx, 4
call fcn.140001390
lea rcx, str.Error_code:_30060_n
call fcn.140001270
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, str.Content_Length:__d
call fcn.140001330
lea rdx, str._r_n_r_n
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rdi, rax
test rax, rax
jne 0x140001e44
mov ecx, 4
call fcn.140001390
lea rcx, str.Error_code:_30070_n
call fcn.140001270
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8d, [rax + 4]
sub r8d, esi
sub r8d, r14d
add r8d, dword [rsp + 0x20]
test r8d, r8d
jle 0x140001ea8
xor r9d, r9d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x140001e9e
mov ecx, 4
call fcn.140001390
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Error_code:__d_n
call fcn.140001270
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add eax, r14d
movsxd rcx, eax
mov byte [rcx + rsi], 0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov r15, qword [rsp + 0x1080]
lea rax, [rdi + 4]
mov r14, qword [rsp + 0x1078]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400025f0
add rsp, 0x1050
pop rdi
pop rsi
pop rbx
ret