Function at 0x1400073f0
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x11a8
call fcn.140232c50
sub rsp, rax
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x1190], rax
mov rax, qword [rsp + 0x1210]
mov r15, qword [rsp + 0x1218]
mov rdi, rdx
mov r13, rcx
movzx ebx, r8w
lea rdx, str.CONNECT__s:_d_HTTP_1.0_r_nuser_agent:_MTTP2.0_r_nhost:__s_r_ncontent_length:_0_r_nproxy_connection:_Keep_Alive_r_npragma:_no_cache_r_n_r_n
lea rcx, [rsp + 0x260]
mov r8d, 0x7d
mov qword [rsp + 0x40], rax
mov r14, r9
call fcn.1401e75a0
lea rcx, [rsp + 0x2e0]
lea rdx, str.CONNECT__s:_d_HTTP_1.0_r_nuser_agent:_MTTP2.0_r_nProxy_Authorization:_Basic__s_r_nhost:__s_r_ncontent_length:_0_r_nproxy_connection:_Keep_Alive_r_npragma:_no_cache_r_n_r_n
mov r8d, 0x9c
call fcn.1401e75a0
mov r12d, dword [rsp + 0x1228]
xor ebp, ebp
movzx r8d, bx
mov rdx, rdi
mov rcx, r13
mov r9d, r12d
mov esi, ebp
call fcn.140007090
test eax, eax
je 0x14000783b
test r14, r14
je 0x140007541
cmp byte [r14], sil
je 0x140007541
mov r9, qword [rsp + 0x40]
lea rdx, str._s:_s
lea rcx, [rsp + 0xb90]
mov r8, r14
mov dword [rsp + 0x30], 0x400
call fcn.1401e8aa0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0xb90]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0xd90]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rcx, [rsp + 0xb90]
call fcn.1400014c0
movsxd rdx, dword [rsp + 0x30]
movzx r9d, word [rsp + 0x1220]
mov byte [rsp + rdx + 0xd90], sil
lea rax, [rsp + 0xd90]
lea rcx, [rsp + 0x380]
lea rdx, [rsp + 0x2e0]
mov r8, r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.1401e8aa0
jmp 0x140007567
movzx r9d, word [rsp + 0x1220]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x380]
mov r8, r15
mov qword [rsp + 0x20], r15
call fcn.1401e8aa0
cmp dword [reloc.WS2_32.dll_accept], 1
mov edi, eax
jg 0x140007591
lea r9, [rsp + 0x380]
lea rdx, str....._base_srcwin32TSocket.c
mov r8d, 0xbd
mov ecx, 1
call fcn.1400045f0
test edi, edi
jle 0x1400075bc
movsxd rax, esi
mov r8d, edi
xor r9d, r9d
lea rdx, [rsp + rax + 0x380]
sub r8d, esi
mov rcx, r13
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x1400075fa
add esi, eax
cmp esi, edi
jl 0x140007595
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x50], 1
cmp r12d, 0xffffffff
je 0x14000762a
mov eax, 0x10624dd3
lea rbx, [rsp + 0x38]
mul r12d
shr edx, 6
mov dword [rsp + 0x38], edx
imul edx, edx, 0x3e8
sub r12d, edx
imul r12d, r12d, 0x3e8
mov dword [rsp + 0x3c], r12d
jmp 0x14000762d
cmp dword [reloc.WS2_32.dll_accept], 3
jg 0x14000783b
lea r9, str.Fail_to_send_header.
lea rdx, str....._base_srcwin32TSocket.c
mov r8d, 0xc4
mov ecx, 3
call fcn.1400045f0
jmp 0x14000783b
mov rbx, rbp
lea rcx, [rsp + 0x380]
xor edx, edx
mov r8d, 0x804
call fcn.1401e6750
mov edi, ebp
nop word [rax + rax]
xor r9d, r9d
lea rdx, [rsp + 0x50]
xor r8d, r8d
lea ecx, [r9 + 1]
mov qword [rsp + 0x20], rbx
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
je 0x14000780b
test eax, eax
je 0x14000780b
movsxd rax, edi
mov r8d, 0x800
xor r9d, r9d
lea rdx, [rsp + rax + 0x380]
sub r8d, edi
mov rcx, r13
call sub.WS2_32.dll_recv
cmp eax, 0xffffffff
je 0x1400077ee
test eax, eax
je 0x1400077ee
add edi, eax
cmp edi, 4
jl 0x140007700
movsxd rax, edi
cmp byte [rsp + rax + 0x37f], 0xa
jne 0x1400076e3
movzx ecx, byte [rsp + rax + 0x37e]
cmp cl, 0xa
je 0x140007711
cmp cl, 0xd
jne 0x1400076e3
cmp byte [rsp + rax + 0x37d], 0xa
jne 0x1400076e3
cmp byte [rsp + rax + 0x37c], cl
je 0x140007711
lea rdx, str._r_n_r_n
lea rcx, [rsp + 0x380]
call fcn.1401eae68
test rax, rax
jne 0x1400077c4
cmp edi, 0x800
jl 0x140007650
jmp 0x14000783b
mov ecx, ebp
test edi, edi
jle 0x1400077b3
lea rdx, [rsp + 0x380]
movzx eax, byte [rdx]
cmp al, 0x20
jne 0x14000773f
mov byte [rdx], 0
test rbp, rbp
jne 0x140007747
movsxd rax, ecx
lea rbp, [rsp + rax + 0x381]
jmp 0x140007747
cmp al, 0xd
je 0x140007752
cmp al, 0xa
je 0x140007752
inc ecx
inc rdx
cmp ecx, edi
jl 0x140007723
jmp 0x14000775d
movsxd rax, ecx
mov byte [rsp + rax + 0x380], 0
test rbp, rbp
je 0x1400077b3
mov rcx, rbp
call fcn.1401eb7f8
mov edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 2
jne 0x1400077b3
cmp dword [reloc.WS2_32.dll_accept], 1
jg 0x1400077a9
lea r9, str.HTTP_Proxy_connected.
lea rdx, str....._base_srcwin32TSocket.c
mov r8d, 0x10f
mov ecx, 1
call fcn.1400045f0
mov eax, 1
jmp 0x14000783d
cmp dword [reloc.WS2_32.dll_accept], 1
jg 0x14000783b
mov r8d, 0x10b
jmp 0x1400077d3
cmp dword [reloc.WS2_32.dll_accept], 1
jg 0x14000783b
mov r8d, VarUI4FromDisp
lea r9, [rsp + 0x380]
lea rdx, str....._base_srcwin32TSocket.c
mov ecx, 1
call fcn.1400045f0
jmp 0x14000783b
cmp dword [reloc.WS2_32.dll_accept], 3
jg 0x14000783b
call sub.WS2_32.dll_WSAGetLastError
lea r9, str.recv_error__u
mov r8d, 0xe9
jmp 0x140007826
cmp dword [reloc.WS2_32.dll_accept], 3
jg 0x14000783b
call sub.WS2_32.dll_WSAGetLastError
lea r9, str.socket_error__u
mov r8d, 0xe1
lea rdx, str....._base_srcwin32TSocket.c
mov ecx, 3
mov dword [rsp + 0x20], eax
call fcn.1400045f0
xor eax, eax
mov rcx, qword [rsp + 0x1190]
xor rcx, rsp
call fcn.1401e6720
add rsp, 0x11a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret