Function at 0x14001e0c0
Capabilities:
Get socket status

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x250
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1f0], rcx
mov dword [rbp + 0x1f8], edx
mov qword [rbp + 0x200], r8
mov dword [rbp - 0x40], 0
mov dword [rbp + 0x1cc], 0
jmp 0x14001e11a
mov eax, dword [rbp + 0x1cc]
mov rdx, qword [rbp + rax*8 - 0x38]
mov rax, qword [rbp + 0x1f0]
mov rax, qword [rax]
cmp rdx, rax
je 0x14001e127
add dword [rbp + 0x1cc], 1
mov eax, dword [rbp - 0x40]
cmp dword [rbp + 0x1cc], eax
jb 0x14001e0f9
jmp 0x14001e128
nop
mov eax, dword [rbp - 0x40]
cmp dword [rbp + 0x1cc], eax
jne 0x14001e159
mov eax, dword [rbp - 0x40]
cmp eax, 0x3f
ja 0x14001e159
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rax]
mov eax, dword [rbp + 0x1cc]
mov qword [rbp + rax*8 - 0x38], rdx
mov eax, dword [rbp - 0x40]
add eax, 1
mov dword [rbp - 0x40], eax
mov rcx, qword [rbp + 0x200]
movabs rdx, 0x20c49ba5e353f7cf
mov rax, rcx
imul rdx
mov rax, rdx
sar rax, 7
sar rcx, 0x3f
mov rdx, rcx
sub rax, rdx
mov dword [rbp - 0x48], eax
mov rcx, qword [rbp + 0x200]
movabs rdx, 0x20c49ba5e353f7cf
mov rax, rcx
imul rdx
mov rax, rdx
sar rax, 7
mov rdx, rcx
sar rdx, 0x3f
sub rax, rdx
imul rdx, rax, 0x3e8
mov rax, rcx
sub rax, rdx
imul eax, eax, 0x3e8
mov dword [rbp - 0x44], eax
cmp qword [rbp + 0x200], 0
js 0x14001e1d2
lea rdx, [rbp - 0x48]
jmp 0x14001e1d7
mov edx, 0
cmp dword [rbp + 0x1f8], 1
jne 0x14001e1e6
lea rcx, [rbp - 0x40]
jmp 0x14001e1eb
mov ecx, 0
cmp dword [rbp + 0x1f8], 0
jne 0x14001e1fa
lea rax, [rbp - 0x40]
jmp 0x14001e1ff
mov eax, 0
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.WSOCK32.dll_select]
call rax
mov dword [rbp + 0x1c8], eax
jmp 0x14001e288
cmp qword [rbp + 0x200], 0
js 0x14001e236
lea rdx, [rbp - 0x48]
jmp 0x14001e23b
mov edx, 0
cmp dword [rbp + 0x1f8], 1
jne 0x14001e24a
lea rcx, [rbp - 0x40]
jmp 0x14001e24f
mov ecx, 0
cmp dword [rbp + 0x1f8], 0
jne 0x14001e25e
lea rax, [rbp - 0x40]
jmp 0x14001e263
mov eax, 0
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.WSOCK32.dll_select]
call rax
mov dword [rbp + 0x1c8], eax
cmp dword [rbp + 0x1c8], 0xffffffff
jne 0x14001e2a8
mov rax, qword [sym.imp.WSOCK32.dll_WSAGetLastError]
call rax
cmp eax, 0x2714
jne 0x14001e2a8
mov eax, 1
jmp 0x14001e2ad
mov eax, 0
test al, al
jne 0x14001e226
cmp dword [rbp + 0x1c8], 0xffffffff
jne 0x14001e305
mov ecx, 0x20
call sym.__cxa_allocate_exception
mov rbx, rax
mov rax, qword [sym.imp.WSOCK32.dll_WSAGetLastError]
call rax
lea r9, str.Failed_to_select_socket
lea r8, [0x140134f20]
mov edx, eax
mov rcx, rbx
call method.std::system_error.system_error_int__std::_V2::error_category_const__char_const_
mov r8, qword [method.std::system_error.system_error__]
lea rax, [0x14013eea0]
mov rdx, rax
mov rcx, rbx
call sym.__cxa_throw
cmp dword [rbp + 0x1c8], 0
jne 0x14001e375
mov ecx, 0x10
call sym.__cxa_allocate_exception
mov rbx, rax
lea rax, str.Request_timed_out
mov rdx, rax
mov rcx, rbx
call method.http::ResponseError.runtime_error_char_const_
lea rax, [method.http::ResponseError.ResponseError__]
mov r8, rax
lea rax, [0x14013d540]
mov rdx, rax
mov rcx, rbx
call sym.__cxa_throw
mov rsi, rax
mov rcx, rbx
call sym.__cxa_free_exception
mov rax, rsi
mov rcx, rax
call dbg._Unwind_Resume
mov rsi, rax
mov rcx, rbx
call sym.__cxa_free_exception
mov rax, rsi
mov rcx, rax
call dbg._Unwind_Resume
nop
add rsp, 0x250
pop rbx
pop rsi
pop rbp
ret