Function at 0x473ed0
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2e8
movaps xmmword [rsp + 0x2b0], xmm6
movaps xmmword [rsp + 0x2c0], xmm7
movaps xmmword [rsp + 0x2d0], xmm8
xor r13d, r13d
mov rax, qword [rcx + 0x58]
mov rbp, qword [rcx + 0x30]
movq xmm8, qword [rcx + 0x50]
movq xmm7, qword [rcx + 0x40]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x48]
mov rbx, rcx
mov rsi, rdx
mov qword [rsp + 0x40], rax
imul rax, qword [rcx + 0x38], 0x3e8
mov qword [rsp + 0x48], rax
lea rax, [rcx + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [sym.imp.msvcrt.dll__errno]
mov qword [rsp + 0x68], rax
nop dword [rax + rax]
test rbp, rbp
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
je 0x473fe5
cmp rax, 0xffffffffffffffff
je 0x473fe5
call sym.std::chrono::_V2::steady_clock::now__
lea r12, [rsp + 0xa0]
movabs r15, 0x271000000000
movabs r14, 0x431bde82d7b634db
mov qword [rsp + 0x60], rax
lea eax, [rsi + 1]
mov dword [rsp + 0x5c], eax
lea rdi, [rsp + 0x80]
nop dword [rax]
mov qword [rsp + 0xa8], rsi
mov dword [rsp + 0xa0], 1
mov qword [rsp + 0x80], r15
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r12
mov ecx, dword [rsp + 0x5c]
call qword [sym.imp.WS2_32.dll_select]
cdqe
test rax, rax
jns 0x474030
call qword [sym.imp.msvcrt.dll__errno]
cmp dword [rax], 4
je 0x473fbb
mov edx, 2
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
nop
movaps xmm6, xmmword [rsp + 0x2b0]
mov eax, r13d
movaps xmm7, xmmword [rsp + 0x2c0]
movaps xmm8, xmmword [rsp + 0x2d0]
add rsp, 0x2e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
jne 0x474095
call sym.std::chrono::_V2::steady_clock::now__
sub rax, qword [rsp + 0x60]
mov rcx, rax
imul r14
sar rcx, 0x3f
sar rdx, 0x12
sub rdx, rcx
cmp rdx, qword [rsp + 0x48]
jg 0x473fe5
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0xa8], 0xf4240
jmp 0x474080
mov rax, qword [rsp + 0x68]
call rax
cmp dword [rax], 4
jne 0x473fa0
mov rdx, r12
mov rcx, r12
call sym.nanosleep
cmp eax, 0xffffffff
je 0x474070
jmp 0x473fa0
movdqa xmm0, xmm7
mov ecx, 0x1000
pxor xmm6, xmm6
mov byte [rsp + 0x7f], 0
movhps xmm0, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rsi
movaps xmmword [rsp + 0xb0], xmm0
movdqa xmm0, xmm8
movhps xmm0, qword [rsp + 0x38]
movaps xmmword [rsp + 0xd0], xmm6
lea r14, method.httplib::detail::SocketStream.SocketStream__
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xe0], 0
call sym.operator_new_unsigned_long_long_
xor edx, edx
mov r8d, 0x1000
lea r13, [rax + 0x1000]
mov rcx, rax
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe0], r13
call sym.memset
cmp rbp, 1
mov rdx, r12
mov rcx, rbx
mov qword [rsp + 0x20], rdi
sete r8b
lea r9, [rsp + 0x7f]
movzx r8d, r8b
mov qword [rsp + 0xd8], r13
movups xmmword [rsp + 0xe8], xmm6
mov qword [rsp + 0x90], 0
call method.httplib::Server.process_request_httplib::Stream__bool__bool__std::function_void__httplib::Request___const_
mov r13d, eax
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x474178
mov r8d, 3
mov rdx, rdi
mov rcx, rdi
call rax
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xa0], r14
test rcx, rcx
je 0x474192
call sym.operator_delete_void_
test r13b, r13b
je 0x473fe5
movzx eax, byte [rsp + 0x7f]
test al, al
jne 0x4741b0
sub rbp, 1
jmp 0x473f50
mov r13d, eax
jmp 0x473fe5