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

Disassembly:
push rbx
push r12
push r13
sub rsp, 0x2b0
mov rax, qword [0x1800a0040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, qword [rsp + 0x300]
mov r11, r9
mov qword [rsp + 0x60], r9
mov r10, r8
mov qword [rsp + 0x58], r8
movzx r13d, dl
mov r12, rcx
cmp rcx, 0xffffffffffffffff
jne 0x180033868
mov edx, 0x2719
mov rcx, rbx
call fcn.18000f540
xor eax, eax
jmp 0x180033b1c
cmp byte [rsp + 0x2f8], 0
mov qword [rsp + 0x2a8], rsi
je 0x18003388b
test r13b, 0x10
je 0x18003388b
xor esi, esi
mov dword [rbx], esi
xor eax, eax
jmp 0x180033b14
mov ecx, dword [0x1800a2a00]
mov rax, qword gs:[0x58]
mov qword [rsp + 0x2d8], rbp
lea rax, [rax + rcx*8]
mov qword [rsp + 0x2a0], rdi
lea rdi, [rbx + 8]
mov qword [rsp + 0x298], r14
mov qword [rsp + 0x290], r15
mov r15, qword [rax]
mov ecx, 4
add r15, rcx
mov qword [rsp + 0x68], rax
xor esi, esi
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x30], rsi
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov r8d, r11d
mov rdx, r10
mov dword [rsp + 0x20], esi
mov rcx, r12
mov dword [rsp + 0x40], esi
call qword [sym.imp.WS2_32.dll_WSASend]
mov ecx, dword [r15]
mov ebp, eax
cmp dword [0x1800a40a0], ecx
jle 0x180033948
lea rcx, [0x1800a40a0]
call fcn.180050638
cmp dword [0x1800a40a0], 0xffffffff
lea rdi, [rbx + 8]
jne 0x180033948
lea rcx, [0x18007f660]
call fcn.180050b14
lea rcx, [0x1800a40a0]
call fcn.1800505cc
lea rdi, [rbx + 8]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x1800a0e08]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
mov eax, dword [rbx]
cmp eax, 0x40
jne 0x180033974
mov edx, 0x2746
jmp 0x180033980
cmp eax, 0x4d2
jne 0x18003398c
mov edx, 0x274d
mov rcx, rbx
call fcn.18000f540
lea rdi, [rbx + 8]
test ebp, ebp
jne 0x18003399f
movsxd rax, dword [rsp + 0x40]
mov dword [rbx], esi
test eax, eax
jns 0x180033af4
test r13b, 1
jne 0x180033af2
mov edx, dword [0x1800a40a0]
cmp edx, dword [r15]
jle 0x1800339e9
lea rcx, [0x1800a40a0]
call fcn.180050638
mov edx, dword [0x1800a40a0]
cmp edx, 0xffffffff
jne 0x1800339e9
lea rcx, [0x18007f660]
call fcn.180050b14
lea rcx, [0x1800a40a0]
call fcn.1800505cc
mov edx, dword [0x1800a40a0]
mov rcx, qword [rdi]
mov rax, qword [0x1800a0e10]
cmp qword [rcx + 8], rax
jne 0x180033a01
cmp dword [rbx], 0x2733
je 0x180033a53
cmp edx, dword [r15]
jle 0x180033a33
lea rcx, [0x1800a40a0]
call fcn.180050638
cmp dword [0x1800a40a0], 0xffffffff
jne 0x180033a33
lea rcx, [0x18007f660]
call fcn.180050b14
lea rcx, [0x1800a40a0]
call fcn.1800505cc
mov rcx, qword [rdi]
mov rax, qword [0x1800a0e10]
cmp qword [rcx + 8], rax
jne 0x180033af2
cmp dword [rbx], 0x4d5
jne 0x180033af2
lea ecx, [r12 + 1]
mov qword [rsp + 0x78], r12
xor r9d, r9d
mov dword [rsp + 0x70], 1
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x180033a8f
mov r10, qword [rsp + 0x58]
mov r11, qword [rsp + 0x60]
mov dword [rbx], esi
jmp 0x1800338e0
mov rax, qword [rsp + 0x68]
mov edx, 4
mov rax, qword [rax]
mov edx, dword [rdx + rax]
cmp dword [0x1800a40a0], edx
jle 0x180033ad4
lea rcx, [0x1800a40a0]
call fcn.180050638
cmp dword [0x1800a40a0], 0xffffffff
jne 0x180033ad4
lea rcx, [0x18007f660]
call fcn.180050b14
lea rcx, [0x1800a40a0]
call fcn.1800505cc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x1800a0e08]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
xor eax, eax
mov r14, qword [rsp + 0x298]
mov rdi, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x2d8]
mov r15, qword [rsp + 0x290]
mov rsi, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180050570
add rsp, 0x2b0
pop r13
pop r12
pop rbx
ret