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

Disassembly:
push rsi
push rdi
push r13
push r14
sub rsp, 0x38
mov r14d, dword [rcx + 0x194]
xor r13d, r13d
shr r14d, 2
mov rdi, rcx
and r14b, 1
mov esi, r13d
cmp qword [rcx + 0xc8], r13
jne 0x14004ebf6
mov qword [rsp + 0x70], r12
add rcx, 0x130
mov qword [rsp + 0x30], r15
mov r15d, r13d
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [rdi + 0x17b], sil
je 0x14004e98b
mov rsi, qword [rdi + 0x28]
test rsi, rsi
jne 0x14004e98b
movzx eax, byte [rdi + 0x178]
test al, al
je 0x14004ec40
mov qword [rsp + 0x60], rbx
mov rbx, rsi
mov qword [rsp + 0x68], rbp
mov byte [rdi + 0x17b], r13b
test rsi, rsi
je 0x14004eb82
nop dword [rax + rax]
lea rcx, [rsi + 8]
mov rdx, qword [rsi + 0x158]
lea rbp, [rsi]
mov rsi, qword [rcx]
cmp byte [rbx + 0x168], r13b
je 0x14004eb76
test rdx, rdx
je 0x14004e9e9
movzx eax, byte [rdx + 8]
test al, al
je 0x14004eb76
cmp byte [rdx + 9], r13b
je 0x14004eb76
mov r15d, 1
cmp byte [rbx + 0x160], r13b
je 0x14004ee46
mov rax, qword [rbx]
test rax, rax
jne 0x14004ea0e
cmp rbx, qword [rdi + 0x28]
jne 0x14004ec8a
mov r8, qword [rcx]
test r8, r8
jne 0x14004ea26
cmp rbx, qword [rdi + 0x20]
jne 0x14004ecd4
mov qword [rdi + 0x20], rax
jmp 0x14004ea29
mov qword [r8], rax
mov r8, qword [rbx]
mov rax, qword [rcx]
test r8, r8
jne 0x14004ea3a
mov qword [rdi + 0x28], rax
jmp 0x14004ea3e
mov qword [r8 + 8], rax
mov qword [rbx], r13
mov qword [rcx], r13
mov byte [rbx + 0x160], r13b
test rdx, rdx
jne 0x14004eb4d
mov rax, qword [rdi + 0x10]
mov qword [rbx], rax
mov qword [rcx], r13
cmp qword [rdi + 0x18], r13
jne 0x14004ea6a
mov qword [rdi + 0x18], rbx
jmp 0x14004ea72
mov rax, qword [rdi + 0x10]
mov qword [rax + 8], rbx
mov qword [rdi + 0x10], rbx
test r14b, r14b
jne 0x14004eb6f
mov rax, qword [rbx + 0x108]
test rax, rax
je 0x14004eac3
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
movabs rax, 0x624dd2f1a9fbe77
sub rcx, qword [0x1400cda18]
mul rcx
mov rax, qword [rbp + 0x108]
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
mov qword [rbx + 0x100], rcx
mov rcx, qword [rbp + 0x10]
cmp rax, qword [rdi + 0x188]
jne 0x14004eb10
test rcx, rcx
jne 0x14004ed68
cmp qword [rbx + 0x18], r13
jne 0x14004ed1e
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], r13
cmp qword [rdi + 0x48], r13
jne 0x14004eaff
mov qword [rdi + 0x48], rbx
mov qword [rdi + 0x40], rbx
jmp 0x14004eb6f
mov rax, qword [rdi + 0x40]
mov qword [rax + 0x18], rbx
mov qword [rdi + 0x40], rbx
jmp 0x14004eb6f
test rcx, rcx
jne 0x14004edfc
cmp qword [rbx + 0x18], r13
jne 0x14004edb2
mov rax, qword [rdi + 0x50]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], r13
cmp qword [rdi + 0x58], r13
jne 0x14004eb3f
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x50], rbx
jmp 0x14004eb6f
mov rax, qword [rdi + 0x50]
mov qword [rax + 0x18], rbx
mov qword [rdi + 0x50], rbx
jmp 0x14004eb6f
mov rax, qword [rdi + 0x30]
mov qword [rbx], rax
mov qword [rcx], r13
cmp qword [rdi + 0x38], r13
jne 0x14004eb63
mov qword [rdi + 0x38], rbx
jmp 0x14004eb6b
mov rax, qword [rdi + 0x30]
mov qword [rax + 8], rbx
mov qword [rdi + 0x30], rbx
mov byte [rbx + 0x168], r13b
mov rbx, rsi
test rsi, rsi
jne 0x14004e9b0
lea rcx, [rdi + 0x130]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14b, r14b
je 0x14004ebd4
test r15d, r15d
je 0x14004ebd4
mov rcx, qword [rdi + 0x170]
lea rdx, [0x1400bfcc4]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x14004ebd4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14004ebd4
lea rdx, str.Failed_to_signal_resume_of_connection_via_inter_thread_communication_channel.
mov rcx, rdi
call fcn.140058130
mov rbp, qword [rsp + 0x68]
mov eax, r15d
mov r15, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x60]
mov r12, qword [rsp + 0x70]
add rsp, 0x38
pop r14
pop r13
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c21e0]
lea rax, str.NULL__daemon__worker_pool
mov r9d, 0xa9b
lea rdx, [0x1400c1348]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c2360]
lea rax, str._NULL___prev____daemon__shutdown_
mov r9d, 0xaa4
lea rdx, [0x1400c13e8]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c24c0]
lea rax, str._NULL____pos___next_____pos____daemon__suspended_connections_tail__
mov r9d, 0xabd
lea rdx, [0x1400c1568]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c2600]
lea rax, str._NULL____pos___prev_____pos____daemon__suspended_connections_head__
mov r9d, 0xabd
lea rdx, [0x1400c1608]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c28e0]
lea rax, [0x1400c0c18]
mov r9d, 0xacd
lea rdx, [0x1400c18d8]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c2820]
lea rax, [0x1400c0b78]
mov r9d, 0xacd
lea rdx, [0x1400c17e8]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c2a50]
lea rax, str.NULL___pos___prevX
mov r9d, 0xad1
lea rdx, [0x1400c1ab8]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c2980]
lea rax, str.NULL___pos___nextX
mov r9d, 0xad1
lea rdx, [0x1400c1988]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
lea r8, [0x1400c2420]
lea rax, str.pos__suspended
mov r9d, 0xaba
lea rdx, [0x1400c1498]
mov qword [rsp + 0x20], rax
call fcn.140005c40
mov ecx, 2
call fcn.1400622c8
mov rcx, rax
call fcn.140063028
call fcn.1400638ac
int3