Function at 0x140064b90
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
cmp rcx, 0xffffffffffffffff
je 0x140064e5d
mov rsi, r9
mov rbx, rdx
mov rdi, rcx
test r8b, r8b
je 0x140064c2e
movzx eax, byte [rbx]
test al, 8
je 0x140064c2e
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 0x140064c2e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x1400b3478]
shr rcx, 1
movabs rdx, 0x595588bd12bf6fe8
cmp rcx, rdx
je 0x140064c2e
mov rcx, qword [0x1400b3470]
mov r8, qword [rcx + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp r8, rcx
je 0x140064c2e
lea rcx, [0x1400b3470]
mov edx, eax
call r8
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x140064e29
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x1400b3478]
shr rcx, 1
movabs r14, 0x595588bd12bf6fe8
cmp rcx, r14
je 0x140064c89
mov rcx, qword [0x1400b3470]
mov r8, qword [rcx + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp r8, rcx
je 0x140064c89
lea rcx, [0x1400b3470]
mov edx, eax
mov ebp, eax
call r8
mov ecx, eax
mov eax, ebp
jmp 0x140064c8e
test eax, eax
setne cl
movzx ecx, cl
or rcx, 2
mov dword [rsi], eax
mov dword [rsi + 4], 0
lea r15, [0x1400b3470]
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rcx
mov rdx, qword [0x1400b3478]
mov r8, rdx
shr r8, 1
cmp r8, r14
je 0x140064d05
mov rax, qword [0x1400b3470]
mov rax, qword [rax + 0x30]
lea rdx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rdx
je 0x140064cfc
lea rcx, [0x1400b3470]
mov edx, 0x2733
call rax
mov rcx, qword [rsi + 0x10]
cmp rcx, 1
jne 0x140064cfc
mov ecx, 1
mov rdx, qword [0x1400b3478]
jmp 0x140064d40
mov eax, dword [rsi]
mov rdx, qword [0x1400b3478]
cmp eax, 0x2733
jne 0x140064d40
lea r8, [0x1400b3470]
mov rax, r8
test rcx, rcx
je 0x140064d1f
mov rax, qword [rsi + 8]
xor r9d, r9d
cmp rax, r8
sete r9b
xor r8d, r8d
cmp qword [rax + 8], rdx
sete r8b
test rdx, rdx
cmove r8d, r9d
test r8b, r8b
jne 0x140064dbe
shr rdx, 1
cmp rdx, r14
je 0x140064d71
mov rax, qword [0x1400b3470]
mov rax, qword [rax + 0x30]
lea rdx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rdx
je 0x140064d71
lea rcx, [0x1400b3470]
mov edx, 0x4d5
call rax
mov rcx, qword [rsi + 0x10]
cmp rcx, 1
je 0x140064e5d
cmp dword [rsi], 0x4d5
jne 0x140064e5d
mov rax, r15
test rcx, rcx
je 0x140064d93
mov rax, qword [rsi + 8]
mov rcx, qword [0x1400b3478]
xor edx, edx
cmp rax, r15
sete dl
xor r8d, r8d
cmp qword [rax + 8], rcx
sete r8b
test rcx, rcx
cmove r8d, edx
cmp r8b, 1
jne 0x140064e5d
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 0x140064e29
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [0x1400b3478]
shr rcx, 1
cmp rcx, r14
je 0x140064e39
mov rcx, qword [0x1400b3470]
mov r8, qword [rcx + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp r8, rcx
je 0x140064e39
lea rcx, [0x1400b3470]
mov edx, eax
mov edi, eax
call r8
mov ecx, eax
mov eax, edi
jmp 0x140064e3e
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x140064e5d
test eax, eax
setne cl
movzx ecx, cl
or rcx, 2
mov dword [rsi], eax
mov dword [rsi + 4], 0
lea rax, [0x1400b3470]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rcx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret