Function at 0x14007bfe0
Capabilities:
Get socket status

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x220], 0xfffffffffffffffe
mov r12, qword [rbp + 0x298]
cmp qword [r9], 0xffffffffffffffff
je 0x14007c036
mov dword [r12], 1
lea rax, [0x140294978]
mov qword [r12 + 8], rax
mov dword [rdx], 1
mov qword [rdx + 8], rax
jmp 0x14007c1ce
mov rsi, qword [r8]
cmp rsi, 0xffffffffffffffff
je 0x14007c1a6
mov qword [rbp + 0x208], r9
mov qword [rbp + 0x210], rdx
mov rdi, qword [rbp + 0x290]
mov qword [rbp + 0x200], r8
movzx eax, byte [r8 + 8]
mov byte [rbp + 0x21f], al
lea eax, [rsi + 1]
mov dword [rbp + 0x1fc], eax
lea r13, str.P__
test rdi, rdi
mov ebx, 0x1c
cmove rbx, rdi
mov r15, qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
test rdi, rdi
je 0x14007c0c0
mov dword [rbp - 0x50], ebx
mov rcx, rsi
mov rdx, rdi
lea r8, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_accept]
mov r14, rax
movsxd rbx, dword [rbp - 0x50]
jmp 0x14007c0d9
mov dword [rbp - 0x50], 0
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.WS2_32.dll_accept]
mov r14, rax
call r15
mov dword [r12], eax
mov qword [r12 + 8], r13
cmp r14, 0xffffffffffffffff
jne 0x14007c1e5
cmp eax, 0x4d5
je 0x14007c120
cmp eax, 0x2733
je 0x14007c120
cmp eax, 0x2745
jne 0x14007c130
test byte [rbp + 0x21f], 4
je 0x14007c147
jmp 0x14007c385
test byte [rbp + 0x21f], 1
je 0x14007c147
jmp 0x14007c1c1
cmp eax, 0x86
jne 0x14007c1c1
movzx ecx, byte [rbp + 0x21f]
and cl, 4
jne 0x14007c1c1
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x50], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov qword [rsp + 0x20], 0
mov ecx, dword [rbp + 0x1fc]
lea rdx, [rbp - 0x50]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_select]
mov r14d, eax
call r15
mov dword [r12], eax
mov qword [r12 + 8], r13
test r14d, r14d
js 0x14007c1c1
mov dword [r12], 0
lea rax, [0x140223e70]
mov qword [r12 + 8], rax
jmp 0x14007c090
mov dword [r12], 0x2719
lea r13, str.P__
mov qword [r12 + 8], r13
mov eax, 0x2719
jmp 0x14007c1c8
mov rdx, qword [rbp + 0x210]
mov dword [rdx], eax
mov qword [rdx + 8], r13
mov rax, rdx
add rsp, 0x2a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov dword [r12], 0
lea rax, [0x140223e70]
mov qword [r12 + 8], rax
mov qword [rbp + 0x1f0], r14
test rdi, rdi
mov rax, qword [rbp + 0x208]
je 0x14007c219
cmp rbx, 0x81
jae 0x14007c410
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0
cmp qword [rax], 0xffffffffffffffff
mov rdx, qword [rbp + 0x210]
je 0x14007c254
mov dword [r12], 1
lea r13, [0x140294978]
mov qword [r12 + 8], r13
mov eax, 1
jmp 0x14007c3bb
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x30]
mov rdx, qword [rax + 0x28]
mov rcx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
je 0x14007c396
mov dword [r12], 0
lea rax, [0x140223e70]
mov qword [r12 + 8], rax
mov rax, qword [rbp + 0x208]
mov qword [rax], r14
mov byte [rax + 8], select
mov ecx, 0x18
call fcn.1401c3b4c
movabs rcx, 0x100000001
mov qword [rax + 8], rcx
lea rcx, fcn.140006120
mov qword [rax], rcx
mov qword [rax + 0x10], 0
mov rcx, qword [rbp + 0x208]
mov qword [rcx + 0x10], 0
mov rsi, qword [rcx + 0x18]
mov qword [rcx + 0x18], rax
test rsi, rsi
mov rdx, qword [rbp + 0x210]
mov rax, qword [rbp + 0x200]
je 0x14007c335
lock dec dword [rsi + 8]
jne 0x14007c335
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rax, qword [rbp + 0x200]
mov rcx, qword [rbp + 0x208]
mov rdx, qword [rbp + 0x210]
lock dec dword [rsi + 0xc]
jne 0x14007c335
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rbp + 0x200]
mov rcx, qword [rbp + 0x208]
mov rdx, qword [rbp + 0x210]
mov dword [r12], 0
lea r8, [0x140223e70]
mov qword [r12 + 8], r8
mov eax, dword [rax + 0x38]
mov dword [rcx + 0x38], eax
mov byte [rcx + 0x3c], 0
mov qword [rcx + 0x40], 2
vmovups xmm0, xmmword [rbp - 0x50]
vmovups xmmword [rcx + 0x48], xmm0
mov eax, dword [rbp - 0x40]
mov dword [rcx + 0x58], eax
mov eax, dword [r12]
mov r13, qword [r12 + 8]
test eax, eax
je 0x14007c409
mov r14, qword [rbp + 0x1f0]
jmp 0x14007c3bb
mov eax, 0x2745
mov rdx, qword [rbp + 0x210]
jmp 0x14007c1c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
lea r13, str.P__
mov qword [r12 + 8], r13
test eax, eax
mov rdx, qword [rbp + 0x210]
je 0x14007c28c
mov dword [rdx], eax
mov qword [rdx + 8], r13
cmp r14, 0xffffffffffffffff
je 0x14007c1ce
mov dword [rbp - 0x50], 0
lea rax, [0x140223e70]
mov qword [rbp - 0x48], rax
mov byte [rbp + 0x1c8], 0
mov r8d, 1
lea rdx, [rbp + 0x1c8]
lea r9, [rbp - 0x50]
mov rcx, r14
call fcn.14007a2a0
mov rdx, qword [rbp + 0x210]
jmp 0x14007c1ce
xor eax, eax
jmp 0x14007c1c8
mov dword [rbp + 0x1b8], 0x2726
lea rax, str.P__
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x1c8]
lea rdx, [rbp + 0x1b8]
call fcn.14007ab00
lea rax, vtable.std::exception.0
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x48]
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x48], xmm0
lea rcx, [rbp + 0x1d0]
call fcn.1401ebac4
mov eax, dword [rbp + 0x1e0]
mov dword [rbp - 0x38], eax
mov rax, qword [rbp + 0x1e8]
mov qword [rbp - 0x30], rax
lea rax, vtable.std::system_error.0
mov qword [rbp - 0x50], rax
lea rdx, [0x14027f3a8]
lea rcx, [rbp - 0x50]
call fcn.1401eba1c
int3