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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x180067048]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rcx
xor ebp, ebp
nop
mov rdi, qword [rsi + 0x28]
mov edx, 0xffffffff
mov rbx, rbp
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [rdi + 0x50]
test r8, r8
je 0x18000717e
mov rax, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x48]
test rax, rax
je 0x180007148
mov rbx, qword [rax]
mov rax, qword [rbx + 0x10]
mov rcx, rdx
mov rbx, qword [rbx + 8]
dec rax
shr rcx, 1
and edx, 1
and rcx, rax
lea rax, [r8 - 1]
mov rbx, qword [rbx + rcx*8]
mov rbx, qword [rbx + rdx*8]
mov qword [rdi + 0x50], rax
test rax, rax
jne 0x18000717a
mov qword [rdi + 0x48], rbp
jmp 0x18000717e
inc qword [rdi + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x180007338
mov rax, qword [rbx]
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov dword [rsp + 0x40], 1
xor r9d, r9d
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 1
lea ecx, [rdx + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x18000727e
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x180007262
mov rax, qword [rbx + 0x10]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x180007240
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x180007240
sub ecx, dword [rax + 0x28]
xor r9d, r9d
mov rax, qword [rax + 0x28]
mov r8d, ecx
mov rcx, qword [rbx]
add rdx, rax
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rbx + 0x10]
test eax, eax
jle 0x180007237
cdqe
add qword [rcx + 0x28], rax
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x20]
cmp qword [rcx + 0x28], rax
jne 0x180007259
mov dword [rcx + 0x34], 1
jmp 0x180007259
mov dword [rcx + 0x34], 3
jmp 0x180007259
mov rcx, qword [rbx]
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
mov rax, qword [rbx + 0x10]
mov dword [rax + 0x34], 1
mov rax, qword [rbx + 0x10]
cmp dword [rax + 0x34], ebp
jne 0x1800072d3
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
call fcn.180007370
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180007110
jns 0x180007262
mov rcx, qword [rbx]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x30], ebp
mov r8d, 0x1007
mov dword [rsp + 0x34], 4
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
jne 0x1800072c0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
jmp 0x1800072c4
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x180007262
mov rax, qword [rbx + 0x10]
mov dword [rax + 0x34], 3
mov r8d, dword [rbx + 0x18]
mov edx, dword [rbx + 8]
mov rcx, qword [0x18006b810]
call fcn.180005580
mov rcx, qword [rbx + 0x10]
test eax, eax
je 0x180007317
mov r8, rcx
mov r9b, 1
mov rcx, qword [0x18006b810]
mov edx, eax
mov rcx, qword [rcx]
call fcn.1800121b0
mov edx, 0x20
mov rcx, rbx
call fcn.180037f3c
jmp 0x180007110
test rcx, rcx
je 0x180007326
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov edx, 0x20
mov rcx, rbx
call fcn.180037f3c
jmp 0x180007110
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800377f0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret