Function at 0x14002e400
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400a5038]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rcx
lea rax, vtable.LogItem.0
mov qword [rsp + 0x60], rax
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], si
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
mov dword [rbp - 0x58], 1
mov dword [rbp - 0x54], 1
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], sil
lea r8d, [rsi + 3]
lea rdx, [0x1400923d4]
lea rcx, [rsp + 0x40]
call fcn.140024110
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002e4e7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e4e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e5e0
call fcn.1400570c4
mov dword [rbp - 0x58], esi
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140026680
mov rdi, rax
mov dword [rax + 0x48], 1
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov r8d, 2
lea rdx, [0x1400923d8]
lea rcx, [rsp + 0x40]
call fcn.140024110
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002e573
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e56e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e5e0
call fcn.1400570c4
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
mov r8d, 0x1d
lea rdx, str.AcceptClientSocket_called...
lea rcx, [rsp + 0x40]
call fcn.140024110
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14001df20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002e5ed
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e5e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002e5e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400570c4
nop
lea rcx, [rsp + 0x60]
call fcn.14001d880
cmp qword [rbx + 0x208], 0xffffffffffffffff
jne 0x14002e65e
mov rax, qword [rbx + 0x200]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], 1
mov qword [rsp + 0x38], 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 1
jne 0x14002e5f7
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x200]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rbx + 0x208], rax
cmp rax, 0xffffffffffffffff
je 0x14002e686
jmp 0x14002e5f7
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400570a0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x60]
call fcn.14001d6d0
nop
mov rcx, rax
call fcn.14001def0
mov rcx, rax
lea rdx, [0x1400923d4]
call fcn.14001dd30
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.1400269a0
mov rcx, rax
mov rdx, rbx
call fcn.140026680
mov rcx, rax
lea rdx, [rsp + 0x34]
call fcn.1400269a0
mov rcx, rax
lea rdx, [0x1400923d8]
call fcn.14001dd30
mov rcx, rax
lea rdx, str.Socket_server_error_on_accept_operation_occured.
call fcn.14001dd30
nop
lea rcx, [rsp + 0x60]
call fcn.14001d880
lea rdx, str.SocketHeciServer::SocketServer::AcceptClientSocket
lea rcx, [rsp + 0x40]
call fcn.1400239a0
nop
mov r8d, edi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140028be0
lea rdx, [0x1400a0fc8]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3