Function at 0x140025f30
Capabilities:
Set socket configuration

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [rcx + 8]
mov r14, r9
mov r15, rdx
mov rdi, rcx
lock inc dword [rax + 0x30]
cmp qword [rdx], 0xffffffffffffffff
jne 0x140025f7a
mov rdx, qword [rsp + 0xf8]
xor r9d, r9d
mov rcx, qword [rcx + 8]
mov r8d, 0x2719
add rsp, 0x90
pop r15
pop r14
pop rdi
jmp fcn.140024bc0
mov qword [rsp + 0x80], rsi
test r8b, r8b
je 0x140025fa4
mov rdx, qword [rsp + 0xf8]
xor r9d, r9d
mov rcx, qword [rcx + 8]
lea r8d, [r9 + 1]
call fcn.140024bc0
jmp 0x1400261b7
mov r8d, dword [rsp + 0xe0]
mov esi, 1
mov edx, dword [rsp + 0xd8]
xor r9d, r9d
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x88], rbp
mov ebp, dword [rsp + 0xd0]
mov ecx, ebp
mov qword [rsp + 0x78], r12
xor r12d, r12d
mov qword [rsp + 0x70], r13
lea r13, [0x1405a3e20]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140026047
mov r8, r13
lea rcx, [rsp + 0x50]
call fcn.140023920
cmp ebp, 0x17
jne 0x14002606f
lea r9, [rsp + 0xb8]
mov dword [rsp + 0xb8], r12d
lea edx, [rsi + 0x28]
mov dword [rsp + 0x20], 4
lea r8d, [r12 + 0x1b]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
jmp 0x14002606f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x58], r13
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x50], eax
test eax, eax
setne byte [rsp + 0x54]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [r14]
cmp rcx, 0xffffffffffffffff
je 0x1400260a5
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r12d
movzx r8d, sil
mov byte [rsp + 0x64], r12b
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x68], r13
mov byte [rsp + 0xb0], r12b
call fcn.1400250c0
mov r13, qword [rsp + 0x70]
mov qword [r14], rbx
cmp rbx, 0xffffffffffffffff
jne 0x14002612d
mov rdi, qword [rdi + 8]
xor edx, edx
mov rbx, qword [rsp + 0xf8]
mov rax, qword [rsp + 0x58]
mov r9, rbx
lea r8d, [rdx + 2]
mov qword [rbx], rax
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x30], esi
mov dword [rbx + 0x14], r12d
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x1400261a2
lea rcx, [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], r12
mov rax, qword [rdi + 0x98]
test rax, rax
je 0x140026110
mov qword [rax + 0x20], rbx
jmp 0x140026117
mov qword [rdi + 0x90], rbx
mov qword [rdi + 0x98], rbx
lea rcx, [rdi + 0x60]
xchg dword [rdi + 0x58], esi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400261a2
mov rsi, qword [rsp + 0xf8]
lea rax, [rsp + 0x40]
mov r8, qword [rsp + 0xe8]
xor r9d, r9d
mov rcx, qword [r15]
mov rdx, rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x40], r12d
call qword [sym.imp.MSWSOCK.dll_AcceptEx]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x140026196
cmp eax, 0x3e5
je 0x140026196
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov r8d, eax
mov rdx, rsi
call fcn.140024bc0
jmp 0x1400261a2
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.140024b20
mov rbx, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x90
pop r15
pop r14
pop rdi
ret