Function at 0x1400234b0
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa8
mov r15, rcx
xor edi, edi
mov rcx, qword [r8]
mov r12, 0xffffffffffffffff
mov ebx, r9d
mov r13, r8
cmp rcx, r12
je 0x140023514
xorps xmm0, xmm0
mov qword [rbp - 0x21], rdi
lea r9, [rbp - 0x31]
mov byte [rbp + 0x4f], dil
mov r8b, 1
lea rdx, [rbp + 0x4f]
movups xmmword [rbp - 0x31], xmm0
call fcn.1400113c0
mov qword [r13], r12
mov rax, qword [r15 + 8]
lock inc dword [rax + 0x30]
mov r14, qword [rbp + 0x8f]
mov rsi, qword [rbp + 0x97]
test r14, r14
je 0x140023550
mov eax, edi
lock xadd dword [r14], eax
cmp eax, 1
jne 0x140023550
mov rcx, qword [r15 + 8]
xor r9d, r9d
mov r8d, 0x3e3
mov rdx, rsi
call fcn.140022470
mov r8d, dword [rbp + 0x77]
xorps xmm0, xmm0
mov edx, dword [rbp + 0x6f]
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov ecx, ebx
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, r12
lea rcx, [rbp - 0x31]
mov rbx, rax
sete dl
call fcn.1400124a0
cmp rbx, r12
je 0x1400235c2
cmp dword [rbp + 0x67], 0x17
jne 0x1400235bf
lea r9, [rbp + 0x8f]
mov dword [rbp + 0x8f], edi
mov edx, 0x29
mov dword [rsp + 0x20], 4
mov r8d, 0x1b
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r12, rbx
mov r13, qword [r13]
cmp r13, 0xffffffffffffffff
je 0x140023718
xorps xmm0, xmm0
mov qword [rbp - 0x39], rdi
mov rcx, r13
movups xmmword [rbp - 0x49], xmm0
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
lea rcx, [rbp - 0x49]
mov ebx, eax
setne dl
call fcn.1400124a0
test ebx, ebx
je 0x140023718
mov rbx, qword [0x1401ef008]
lea rcx, section..data
movabs rax, 0x4d54ee85da812030
mov dword [rbp - 0x5d], edi
add rax, rbx
cmp rax, 1
jbe 0x14002363f
mov rax, qword [section..data]
mov edx, 0x2733
call qword [rax + 0x30]
mov rbx, qword [0x1401ef008]
lea rcx, section..data
jmp 0x140023641
mov al, 1
mov qword [rbp - 0x59], rcx
lea rdx, [rbp - 0x19]
movzx eax, al
lea rcx, [rbp - 0x49]
add rax, 2
mov dword [rbp - 0x61], 0x2733
movups xmm0, xmmword [rbp - 0x61]
mov qword [rbp - 0x51], rax
movsd xmm1, qword [rbp - 0x51]
movsd qword [rbp - 9], xmm1
movups xmmword [rbp - 0x19], xmm0
call fcn.1400104e0
test al, al
jne 0x1400236e6
movabs rax, 0x4d54ee85da812030
mov dword [rbp - 0x5d], edi
add rax, rbx
lea rbx, section..data
cmp rax, 1
jbe 0x1400236ab
mov rax, qword [section..data]
mov edx, 0x4d5
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x1400236ad
mov al, 1
movzx eax, al
lea rdx, [rbp - 0x19]
add rax, 2
mov dword [rbp - 0x61], 0x4d5
mov qword [rbp - 0x51], rax
lea rcx, [rbp - 0x49]
movsd xmm1, qword [rbp - 0x51]
mov qword [rbp - 0x59], rbx
movups xmm0, xmmword [rbp - 0x61]
movsd qword [rbp - 9], xmm1
movups xmmword [rbp - 0x19], xmm0
call fcn.1400104e0
test al, al
je 0x140023718
lea r8, [rbp + 0x8f]
mov dword [rbp + 0x8f], edi
mov edx, 0x8004667e
mov rcx, r13
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
lea rcx, [rbp - 0x49]
setne dl
call fcn.1400124a0
mov rax, qword [rbp + 0x5f]
xor r9d, r9d
mov qword [rax], r12
cmp r12, 0xffffffffffffffff
jne 0x14002373d
mov rcx, qword [r15 + 8]
lea r8, [rbp - 0x31]
mov rdx, rsi
call fcn.140022370
jmp 0x1400237bd
mov r8, qword [rbp + 0x7f]
lea rax, [rbp + 0x5f]
mov qword [rsp + 0x38], rsi
mov rdx, r12
mov r12, qword [rbp + 0x57]
mov qword [rsp + 0x30], rax
mov rcx, r12
mov eax, dword [rbp + 0x87]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rbp + 0x5f], edi
call sub.MSWSOCK.dll_AcceptEx
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x140023796
cmp eax, 0x3e5
je 0x140023796
mov rcx, qword [r15 + 8]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call fcn.140022470
jmp 0x1400237bd
test r14, r14
je 0x1400237b1
lock xadd dword [r14], edi
cmp edi, 1
jne 0x1400237b1
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CancelIoEx]
mov rcx, qword [r15 + 8]
mov rdx, rsi
call fcn.140022520
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret