Function at 0x14004c280
Capabilities:
Get socket status

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rdi, rcx
mov r14b, 1
mov byte [rcx + 0x11], r14b
xor r15d, r15d
lea r12, vtable.std::_LaunchPad_class_std::unique_ptr_class_std::tuple_class__lambda_9bd2c14e4c0a8cf22a8c6995f43ac3cb____struct_std::default_delete_class_std::tuple_class__lambda_9bd2c14e4c0a8cf22a8c6995f43ac3cb_____.0
nop dword [rax]
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 1
mov dword [rbp + 0x200], r15d
mov dword [rbp + 0x204], 0x186a0
lea ecx, [rax + 1]
lea rax, [rbp + 0x200]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x14004c310
cmp qword [rdi + 0x18], 0xffffffffffffffff
je 0x14004c4b6
jmp 0x14004c2c0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_accept]
cmp rax, 0xffffffffffffffff
je 0x14004c4a3
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401d6e64
mov rbx, rax
test rax, rax
je 0x14004c34c
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rax], xmm0
jmp 0x14004c34f
mov rbx, r15
mov qword [rbp + 0x208], rbx
lea rcx, [rsp + 0x48]
call fcn.1401b7a0c
test eax, eax
je 0x14004c36b
mov ecx, eax
call fcn.1401b7d68
mov byte [rsp + 0x30], 1
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1401b7680
test eax, eax
je 0x14004c394
mov ecx, eax
call fcn.1401b7d68
mov byte [rbp - 0x60], 1
mov rcx, qword [rsp + 0x50]
mov qword [rbp - 0x58], rcx
mov byte [rsp + 0x58], 0
call fcn.1401b7704
test eax, eax
je 0x14004c3b6
mov ecx, eax
call fcn.1401b7d68
mov byte [rbp - 0x60], 0
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x40], r12
mov qword [rbp + 0x208], r15
mov qword [rsp + 0x60], rbx
lea r8, [rsp + 0x40]
lea rdx, [0x1400336b0]
lea rcx, [rsp + 0x70]
call fcn.1401b71d8
mov ecx, 1
cmp eax, 4
cmovne ecx, eax
test ecx, ecx
je 0x14004c3fa
call fcn.1401b7d68
cmp byte [rsp + 0x58], 0
jne 0x14004c422
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.1401b7a78
test eax, eax
je 0x14004c41b
mov ecx, eax
call fcn.1401b7d68
cmp byte [rsp + 0x58], 0
je 0x14004c401
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004c437
mov edx, reloc.WS2_32.dll_recv
call fcn.1401d6ea0
nop
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1401b7764
test eax, eax
je 0x14004c454
mov ecx, eax
call fcn.1401b7d68
mov rcx, rbx
call fcn.1401b7640
mov rcx, rsi
call fcn.1401b79d4
nop
cmp dword [rsp + 0x78], 0
jne 0x14004c476
mov ecx, 1
call fcn.1401b7da4
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.1401b70b4
test eax, eax
je 0x14004c494
mov ecx, eax
call fcn.1401b7d68
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], r15d
jmp 0x14004c2c0
mov rcx, qword [rdi + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x14004c4b6
call qword [sym.imp.WS2_32.dll_closesocket]
xor r14b, r14b
movabs rsi, 0x112e0be826d694b3
call fcn.1401b72e4
add rax, 0x186a0
imul rcx, rax, 0x64
mov rax, rsi
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x30], rdx
imul rax, rdx, 0x3b9aca00
sub rcx, rax
mov dword [rsp + 0x38], ecx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.1401b7164
lea rcx, [rdi + 0x138]
call fcn.1401b7704
test eax, eax
je 0x14004c520
mov ecx, eax
call fcn.1401b7d68
cmp dword [rdi + 0x188], 0
je 0x14004c546
lea rcx, [rdi + 0x138]
call fcn.1401b7764
test eax, eax
je 0x14004c541
mov ecx, eax
call fcn.1401b7d68
nop
jmp 0x14004c4c0
lea rcx, [rdi + 0x138]
call fcn.1401b7764
test eax, eax
je 0x14004c55e
mov ecx, eax
call fcn.1401b7d68
nop
mov byte [rdi + 0x11], 0
movzx eax, r14b
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret