Function at 0x14005fbc0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x14005fe86
mov rsi, r9
mov rbx, rdx
mov rdi, rcx
test r8b, r8b
je 0x14005fc5e
movzx eax, byte [rbx]
test al, 8
je 0x14005fc5e
mov dword [rsp + 0x34], 0
or al, 8
mov byte [rbx], al
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14005fc5e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x1400ab638]
shr rcx, 1
movabs rdx, 0x595588bd12bf6fe8
cmp rcx, rdx
je 0x14005fc5e
mov rcx, qword [0x1400ab630]
mov r8, qword [rcx + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp r8, rcx
je 0x14005fc5e
lea rcx, [0x1400ab630]
mov edx, eax
call r8
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14005fe52
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
mov rax, qword [0x1400ab638]
shr rax, 1
movabs r14, 0x595588bd12bf6fe8
cmp rax, r14
je 0x14005fcb4
mov rax, qword [0x1400ab630]
mov rax, qword [rax + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rcx
je 0x14005fcb4
lea rcx, [0x1400ab630]
mov edx, ebp
call rax
jmp 0x14005fcb9
test ebp, ebp
setne al
movzx eax, al
or rax, 2
mov dword [rsi], ebp
mov dword [rsi + 4], 0
lea r15, [0x1400ab630]
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rax
mov rcx, qword [0x1400ab638]
mov rdx, rcx
shr rdx, 1
cmp rdx, r14
je 0x14005fd31
mov rcx, qword [0x1400ab630]
mov r8, qword [rcx + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp r8, rcx
je 0x14005fd28
lea rcx, [0x1400ab630]
mov edx, 0x2733
call r8
mov rax, qword [rsi + 0x10]
cmp rax, 1
jne 0x14005fd28
mov eax, 1
mov rcx, qword [0x1400ab638]
jmp 0x14005fd6d
mov ebp, dword [rsi]
mov rcx, qword [0x1400ab638]
cmp ebp, 0x2733
jne 0x14005fd6d
lea r8, [0x1400ab630]
mov rdx, r8
test rax, rax
je 0x14005fd4c
mov rdx, qword [rsi + 8]
xor r9d, r9d
cmp rdx, r8
sete r9b
xor r8d, r8d
cmp qword [rdx + 8], rcx
sete r8b
test rcx, rcx
cmove r8d, r9d
test r8b, r8b
jne 0x14005fdec
shr rcx, 1
cmp rcx, r14
je 0x14005fd9f
mov rcx, qword [0x1400ab630]
mov r8, qword [rcx + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp r8, rcx
je 0x14005fd9f
lea rcx, [0x1400ab630]
mov edx, 0x4d5
call r8
mov rax, qword [rsi + 0x10]
cmp rax, 1
je 0x14005fe86
cmp dword [rsi], 0x4d5
jne 0x14005fe86
mov rcx, r15
test rax, rax
je 0x14005fdc1
mov rcx, qword [rsi + 8]
mov rax, qword [0x1400ab638]
xor edx, edx
cmp rcx, r15
sete dl
xor r8d, r8d
cmp qword [rcx + 8], rax
sete r8b
test rax, rax
cmove r8d, edx
cmp r8b, 1
jne 0x14005fe86
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov rcx, rdi
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [rbx], 0xfc
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14005fe52
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rax, qword [0x1400ab638]
shr rax, 1
cmp rax, r14
je 0x14005fe62
mov rax, qword [0x1400ab630]
mov rax, qword [rax + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rcx
je 0x14005fe62
lea rcx, [0x1400ab630]
mov edx, edi
call rax
jmp 0x14005fe67
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x14005fe86
test edi, edi
setne al
movzx eax, al
or rax, 2
mov dword [rsi], edi
mov dword [rsi + 4], 0
lea rcx, [0x1400ab630]
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret