Function at 0x140009ed0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3b8
mov rax, qword [0x1402698e0]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov r12, qword [rsp + 0x420]
mov rdi, rcx
xor ecx, ecx
movsxd rbp, r9d
mov r13d, r8d
mov r14, rdx
mov r15b, 1
call fcn.140199f14
mov esi, r13d
add rbp, rax
nop word [rax + rax]
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
cmp ebx, 0xffffffff
jne 0x14000a010
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2728
je 0x14000a044
sub ecx, 0xb
je 0x14000a044
cmp ecx, 0x14
je 0x14000a044
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Msg_Send_send_returns__d
lea rcx, [rsp + 0x260]
mov r8d, eax
call fcn.140197bf8
mov rcx, qword [0x14027d328]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [0x14027d200], 0
je 0x140009ffb
call fcn.140009400
lea rcx, [0x140227d9c]
lea rdx, [0x140227da0]
test al, al
cmovne rdx, rcx
lea rcx, [0x14027d200]
call fcn.140197bc8
mov rbx, rax
test rax, rax
je 0x140009ffb
lea rcx, [rsp + 0x2a0]
call fcn.14000c430
lea r9, [rsp + 0x260]
lea r8, [rsp + 0x2a0]
lea rdx, str._n_s__s_n
mov rcx, rbx
call fcn.14019c0ec
mov rcx, rbx
call fcn.14019be84
mov rcx, qword [0x14027d328]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
or eax, 0xffffffff
jmp 0x14000a1f3
cmp dword [0x14027d0e0], 0
je 0x14000a03f
movzx r9d, r15b
mov r8d, ebx
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x20], rdi
call fcn.14000bda0
movzx r15d, r15b
test ebx, ebx
mov eax, 0
cmovg r15d, eax
add r14, rbx
sub esi, ebx
test esi, esi
jle 0x14000a1f0
nop dword [rax]
xor ecx, ecx
call fcn.140199f14
mov ecx, ebp
mov qword [rsp + 0x58], rdi
sub ecx, eax
xor eax, eax
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], ecx
test ecx, ecx
jle 0x14000a0a9
xor edx, edx
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea ecx, [rdx + 0x40]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x14000a1cd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x14000a050
mov ecx, 0x274c
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, qword [0x14027d328]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [0x14027d200], 0
je 0x140009ffb
call fcn.140009400
lea rcx, [0x140227d9c]
lea rdx, [0x140227da0]
test al, al
cmovne rdx, rcx
lea rcx, [0x14027d200]
call fcn.140197bc8
mov rdi, rax
test rax, rax
je 0x140009ffb
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call sub.KERNEL32.dll_GetCurrentProcessId
lea rdx, str.Process_ID:__d___Thread_ID:__ld
lea rcx, [rsp + 0x2a0]
mov r9d, ebx
mov r8d, eax
call fcn.140197bf8
lea rcx, [rsp + 0x38]
call fcn.14019d5ac
lea rcx, [rsp + 0x38]
call fcn.14019d748
lea rcx, [rsp + 0x2a0]
mov r9, rax
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a150
lea rcx, [rsp + 0x2a0]
lea r8, str.__m__d__Y__H:_M:_S
mov edx, 0x3c
add rcx, rax
call fcn.140199be0
movzx r8d, word [rsp + 0x40]
lea rcx, [rsp + 0x2a0]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a187
lea rcx, [rsp + 0x2a0]
lea rdx, str.._3.3hu
add rcx, rax
call fcn.140197bf8
lea r9, str.Msg_Send_send_timed_out
lea r8, [rsp + 0x2a0]
lea rdx, str._n_s__s_n
mov rcx, rdi
call fcn.14019c0ec
mov rcx, rdi
jmp 0x140009ff6
test eax, eax
jle 0x14000a0a9
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x140009f20
jmp 0x14000a0a9
mov eax, r13d
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.14019aa20
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret