Function at 0x140095c80
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
cmp byte [rcx + 0x470], 0
je 0x140095f25
xor esi, esi
nop dword [rax]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x478]
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140095e86
lea r8, reloc.WS2_32.dll_accept
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x140095e20
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x70]
lea edx, [rax + 6]
lea r8d, [rax + 1]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x140095d3f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov r8d, 0x1ca
lea rcx, str._CSockAcceptor::Accept__setsockopt_nodelay_failed_with__d__line:_d
call fcn.1400098a0
mov qword [rsp + 0x68], rsi
mov rax, qword [rbx]
mov r9, qword [rbx + 0x480]
mov r8, rdi
lea rdx, [rsp + 0x68]
mov rcx, rbx
call qword [rax + 0x40]
test al, al
je 0x140095dad
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140095d79
lea rcx, [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [rax + 0x30]
movzx edi, al
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140095d9f
add rcx, 0x10
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
nop
test dil, dil
jne 0x140095cc0
jmp 0x1400960dc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], 0x1d1
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x478]
mov qword [rsp + 0x30], rax
lea rax, str._CSockAcceptor::Accept__m_sListen:_d_port:_d_CreateStream_failed_with_WSAGetLastError__:__d_at_line__d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1d1
lea r9, str.CSockAcceptor::Accept
lea r8, str...includesonetlibsphstreamSockAcceptor.cpp
mov edx, 4
lea rcx, [0x1401399a0]
call fcn.14007a380
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140095e1b
lea rcx, [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x1400960dc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], 0x1c1
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x478]
mov qword [rsp + 0x30], rax
lea rax, str._CSockAcceptor::Accept__m_sListen:_d_port:_d_ioctlsocket_failed_with_WSAGetLastError__:__d_at_line__d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1c1
lea r9, str.CSockAcceptor::Accept
lea r8, str...includesonetlibsphstreamSockAcceptor.cpp
mov edx, 4
lea rcx, [0x1401399a0]
call fcn.14007a380
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1400960dc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x140095f2c
cmp qword [rbx + 0x480], 0
je 0x140095f25
xor eax, eax
mov qword [rsp + 0x60], rax
lea ecx, [rax + 0x38]
call fcn.14009dbb8
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
or r9d, 0xffffffff
mov r8, rbx
mov rdx, qword [rbx + 0x478]
mov rcx, rax
call fcn.140095260
nop
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140095f01
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbx + 0x480]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140095f25
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov al, 1
jmp 0x1400960de
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2728
jne 0x140095fef
lea rcx, str.accept_failed_with_WSAEMFILE_n
call fcn.1400098a0
mov edx, 0x1388
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [rbx + 0x480], 0
je 0x140095fe8
xor eax, eax
mov qword [rsp + 0x60], rax
lea ecx, [rax + 0x38]
call fcn.14009dbb8
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov r9d, 0x1388
mov r8, rbx
mov rdx, qword [rbx + 0x478]
mov rcx, rax
call fcn.140095260
nop
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140095fc4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbx + 0x480]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140095fe8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov al, 1
jmp 0x1400960de
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2726
jne 0x14009605c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], 0x1aa
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x478]
mov qword [rsp + 0x30], rax
lea rax, str._CSockAcceptor::Accept__Listen:_d_port:_d_accept_failed_with_WSAGetLastError__:__d_at_line__d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1aa
lea r9, str.CSockAcceptor::Accept
lea r8, str...includesonetlibsphstreamSockAcceptor.cpp
mov edx, 4
lea rcx, [0x1401399a0]
call fcn.14007a380
xor ecx, ecx
call fcn.1400b5ad4
int3
call fcn.1400a8794
mov edx, dword [rax]
lea rcx, str.accept_failed_with__d_n
call fcn.1400098a0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], 0x1b6
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x478]
mov qword [rsp + 0x30], rax
lea rax, str.m_sListen:_d_port:_d_accept_failed_with_WSAGetLastError__:__d_at_line__d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1b6
lea r9, str.CSockAcceptor::Accept
lea r8, str...includesonetlibsphstreamSockAcceptor.cpp
mov edx, 4
lea rcx, [0x1401399a0]
call fcn.14007a380
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2726
jne 0x1400960dc
xor ecx, ecx
call fcn.1400b5ad4
int3
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14009d860
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret