Function at 0x180027f60
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x124], 0
mov rbx, rcx
mov rdi, qword [rcx + 0x20]
jne 0x1800281bb
mov qword [rsp + 0x40], rbp
xor ebp, ebp
mov byte [rcx + 0x124], 1
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x48], rsi
test rcx, rcx
je 0x180027fa3
call fcn.180023e50
mov qword [rbx + 0x38], rbp
lea rcx, [rdi + 0x130]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [rbx + 0x160], bpl
je 0x180028018
mov rax, qword [rbx]
test rax, rax
jne 0x180027fcb
cmp rbx, qword [rdi + 0x28]
jne 0x1800281c6
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x180027fe9
cmp rbx, qword [rdi + 0x20]
jne 0x180028210
test rcx, rcx
jne 0x180027fe9
mov qword [rdi + 0x20], rax
jmp 0x180027fec
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
test rcx, rcx
jne 0x180028008
mov qword [rdi + 0x28], rax
mov byte [rbx + 0x160], bpl
jmp 0x18002811a
mov qword [rcx + 8], rax
mov byte [rbx + 0x160], bpl
jmp 0x18002811a
mov eax, dword [rdi + 0x194]
and eax, 4
test al, al
jne 0x1800280d1
mov rax, qword [rdi + 0x188]
cmp qword [rbx + 0x108], rax
mov rax, qword [rbx + 0x10]
jne 0x180028081
test rax, rax
jne 0x18002804c
cmp rbx, qword [rdi + 0x48]
jne 0x18002825a
mov rcx, qword [rbx + 0x18]
test rcx, rcx
jne 0x18002806a
cmp rbx, qword [rdi + 0x40]
jne 0x1800282a4
test rcx, rcx
jne 0x18002806a
mov qword [rdi + 0x40], rax
jmp 0x18002806e
mov qword [rcx + 0x10], rax
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
test rcx, rcx
jne 0x1800280c5
mov qword [rdi + 0x48], rax
jmp 0x1800280c9
test rax, rax
jne 0x180028090
cmp rbx, qword [rdi + 0x58]
jne 0x1800282ee
mov rcx, qword [rbx + 0x18]
test rcx, rcx
jne 0x1800280ae
cmp rbx, qword [rdi + 0x50]
jne 0x180028338
test rcx, rcx
jne 0x1800280ae
mov qword [rdi + 0x50], rax
jmp 0x1800280b2
mov qword [rcx + 0x10], rax
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
test rcx, rcx
jne 0x1800280c5
mov qword [rdi + 0x58], rax
jmp 0x1800280c9
mov qword [rcx + 0x18], rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x10], rbp
mov rax, qword [rbx]
test rax, rax
jne 0x1800280e3
cmp rbx, qword [rdi + 0x18]
jne 0x180028382
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x180028101
cmp rbx, qword [rdi + 0x10]
jne 0x1800283cc
test rcx, rcx
jne 0x180028101
mov qword [rdi + 0x10], rax
jmp 0x180028104
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
test rcx, rcx
jne 0x180028116
mov qword [rdi + 0x18], rax
jmp 0x18002811a
mov qword [rcx + 8], rax
mov qword [rbx + 8], rbp
mov qword [rbx], rbp
mov rax, qword [rdi + 0x30]
mov qword [rbx], rax
mov qword [rbx + 8], rbp
cmp qword [rdi + 0x38], rbp
jne 0x180028138
mov qword [rdi + 0x38], rbx
jmp 0x180028140
mov rax, qword [rdi + 0x30]
mov qword [rax + 8], rbx
mov qword [rdi + 0x30], rbx
lea rcx, [rdi + 0x130]
mov byte [rbx + 0x168], bpl
mov byte [rbx + 0x123], bpl
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [rdi + 0x194]
and eax, 4
test al, al
je 0x1800281b1
cmp qword [rdi + 0x168], 0xffffffffffffffff
je 0x1800281b1
mov rcx, qword [rdi + 0x170]
lea rdx, [0x18008b8a4]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x1800281b1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1800281b1
lea rdx, str.Failed_to_signal_end_of_connection_via_inter_thread_communication_channel
mov rcx, rdi
call fcn.180029dd0
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea r8, [0x18008e0e0]
lea rax, str._NULL____connection___next_____connection____daemon__suspended_connections_tail__
mov r9d, 0xc6f
lea rdx, [0x18008de08]
mov qword [rsp + 0x20], rax
call fcn.180008b10
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
call fcn.18003392c
call fcn.180035304
int3
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea r8, [0x18008e280]
lea rax, str._NULL____connection___prev_____connection____daemon__suspended_connections_head__
mov r9d, 0xc6f
lea rdx, [0x18008deb8]
mov qword [rsp + 0x20], rax
call fcn.180008b10
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
call fcn.18003392c
call fcn.180035304
int3
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea r8, [0x18008e330]
lea rax, [0x18008e3e0]
mov r9d, 0xc79
lea rdx, [0x18008dfa8]
mov qword [rsp + 0x20], rax
call fcn.180008b10
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
call fcn.18003392c
call fcn.180035304
int3
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea r8, [0x18008e550]
lea rax, [0x18008e480]
mov r9d, 0xc79
lea rdx, [0x18008e068]
mov qword [rsp + 0x20], rax
call fcn.180008b10
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
call fcn.18003392c
call fcn.180035304
int3
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea r8, [0x18008e600]
lea rax, [0x18008e6b0]
mov r9d, 0xc7d
lea rdx, [0x18008e148]
mov qword [rsp + 0x20], rax
call fcn.180008b10
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
call fcn.18003392c
call fcn.180035304
int3
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea r8, [0x18008e810]
lea rax, [0x18008e770]
mov r9d, 0xc7d
lea rdx, [0x18008e2e8]
mov qword [rsp + 0x20], rax
call fcn.180008b10
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
call fcn.18003392c
call fcn.180035304
int3
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea r8, [0x18008e8d0]
lea rax, str._NULL____connection___next_____connection____daemon__connections_tail__
mov r9d, 0xc81
lea rdx, [0x18008e398]
mov qword [rsp + 0x20], rax
call fcn.180008b10
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
call fcn.18003392c
call fcn.180035304
int3
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea r8, [0x18008ea40]
lea rax, str._NULL____connection___prev_____connection____daemon__connections_head__
mov r9d, 0xc81
lea rdx, [0x18008e438]
mov qword [rsp + 0x20], rax
call fcn.180008b10
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
call fcn.18003392c
call fcn.180035304
int3