Function at 0x140073e80
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov r13, qword [rcx]
mov qword [rbp - 0x20], rcx
mov r15, qword [r13]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov rax, qword [rax + 8]
test rax, rax
je 0x140073ed4
mov rcx, qword [rax + 8]
jmp 0x140073ed6
xor ecx, ecx
mov edx, 0x278
call fcn.1400372f0
mov rsi, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0
movzx edi, byte [r13 + 0x10]
mov rax, qword [r13 + 8]
lea rcx, [r15 + 0x28]
mov qword [rsi + 0x20], 0
lea rdx, [0x1400744d0]
mov qword [rsi + 0x28], rdx
mov dword [rsi + 0x30], 0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x38], rcx
mov qword [rsi + 0x40], rax
lea rax, [rsi + 0x48]
mov qword [rbp - 0x18], rax
mov qword [rsi + 0x48], 0xffffffffffffffff
cmp qword [r13 + 0x88], 0
je 0x140074381
lea rbx, [r13 + 0x68]
mov qword [rbp - 0x10], 0
mov rax, qword [r13 + 0x98]
mov r14, qword [rax]
mov rax, qword [r13 + 0x80]
mov rcx, rbx
call qword [rax + 0x18]
lea rcx, [rbp - 0x10]
lea r8, [rbp + 0xf]
mov rdx, rax
call r14
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
mov qword [rbp - 0x10], 0
lea rax, [0x14015422d]
mov qword [rbp - 8], rax
mov r9, qword [rcx + 0x28]
lea r8, [0x1400753b0]
lea rdx, [rbp - 0x10]
call fcn.140035010
mov r14, rax
mov qword [rsi + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsi + 0x68], xmm0
mov dword [rsi + 0x90], 2
mov byte [rsi + 0x94], 0
movups xmmword [rsi + 0xa0], xmm0
mov dword [rsi + 0xb0], 0
mov qword [rsi + 0x98], 2
cmp qword [r13 + 0x88], 0
mov qword [rbp - 0x40], r15
je 0x140074021
lea rcx, [rsi + 0xb8]
mov rax, qword [r13 + 0x80]
mov qword [rsi + 0xd0], rax
mov rdx, qword [r13 + 0x90]
mov qword [rsi + 0xe0], rdx
mov rdx, rbx
call qword [rax + ioctlsocket]
mov r14, qword [rsi + 0x50]
mov r15, qword [rsi + 0x70]
jmp 0x140074036
movups xmmword [rsi + 0xd0], xmm0
mov qword [rsi + 0xe0], 0
xor r15d, r15d
lea r12, [rsi + 0x58]
lea rax, [rsi + 0x68]
mov rcx, qword [r13 + 0x98]
mov qword [rsi + 0xe8], rcx
mov qword [r12], 0xffffffffffffffff
mov byte [rsi + 0x60], 0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
test r15, r15
je 0x140074082
lock dec dword [r15 + 8]
jne 0x140074082
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
lock dec dword [r15 + 0xc]
jne 0x140074082
mov rax, qword [r15]
mov rcx, r15
call qword [rax + ioctlsocket]
lea r15, [r14 + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [r14 + 0x78]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x88], 0
test rax, rax
je 0x1400740ae
mov qword [rax + 0x30], r12
mov qword [r14 + 0x78], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
shr dil, 2
and dil, 1
mov eax, dword [r13 + 0x40]
mov dword [rsi + 0xf0], eax
mov qword [rsi + 0xf8], 0
mov byte [rsi + 0x220], dil
xorps xmm0, xmm0
movups xmmword [rsi + 0x228], xmm0
mov rax, qword [rbp - 0x20]
mov qword [rsi + 0x238], rax
lea rcx, [rsi + 0x240]
mov rdx, rbx
call fcn.140056dc0
mov qword [rbp - 0x28], rsi
mov r14d, dword [r13 + 0x40]
mov r15, qword [rbp - 0x40]
mov rax, qword [r15 + 0x30]
lock inc dword [rax + 0x30]
cmp qword [r13 + 8], 0xffffffffffffffff
je 0x14007422c
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, 1
mov r8d, 6
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14007424e
mov rbx, rax
cmp r14d, 0x17
jne 0x140074183
mov dword [rbp - 0x10], 0
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x10]
mov rcx, rbx
mov edx, 0x29
mov r8d, 0x1b
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rdi, qword [rbp - 0x18]
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
lea r14, [rbp - 0x10]
je 0x1400741b7
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov byte [rbp + 0xf], 0
lea rdx, [rbp + 0xf]
lea r9, [rbp - 0x10]
mov r8b, 1
call fcn.140073af0
mov r8, rsi
add r8, 0x100
mov qword [rdi], rbx
mov dword [rbp - 0x10], 0
mov rcx, qword [r13 + 8]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x90
mov dword [rsp + 0x20], 0x90
mov rdx, rbx
xor r9d, r9d
call sub.MSWSOCK.dll_AcceptEx
mov edi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rbx, qword [r15 + 0x30]
test edi, edi
jne 0x140074327
cmp eax, 0x3e5
je 0x140074327
mov dword [rsi + 0x30], 1
lea rcx, [0x14014efa0]
mov qword [rsi], rcx
mov dword [rsi + 0x10], eax
jmp 0x1400742e0
mov rbx, qword [r15 + 0x30]
mov dword [rsi + 0x30], 1
lea rax, [0x14014efa0]
mov qword [rsi], rax
mov qword [rsi + 0x10], 0x2719
jmp 0x1400742e7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rax, qword [0x14014efa8]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x140074291
mov rax, qword [0x14014efa0]
mov rax, qword [rax + 0x30]
lea rcx, [0x1400056a0]
cmp rax, rcx
je 0x140074291
lea rcx, [0x14014efa0]
mov edx, edi
call rax
mov rbx, qword [rbp - 0x18]
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1400742c1
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0
mov byte [rbp + 0xf], 0
lea rdx, [rbp + 0xf]
lea r9, [rbp - 0x10]
mov r8b, 1
call fcn.140073af0
mov qword [rbx], 0xffffffffffffffff
mov rbx, qword [r15 + 0x30]
mov dword [rsi + 0x30], 1
lea rax, [0x14014efa0]
mov qword [rsi], rax
mov dword [rsi + 0x10], edi
mov dword [rsi + 0x14], 0
mov rcx, qword [rbx + 0x28]
mov r8d, 2
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140074359
lea rdi, [rbx + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsi + 0x20], 0
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14007433a
mov qword [rax + 0x20], rsi
jmp 0x140074341
mov ecx, 1
xor eax, eax
lock cmpxchg dword [rsi + 0x30], ecx
cmp eax, 1
je 0x1400742e7
jmp 0x140074359
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x98], rsi
mov eax, 1
xchg dword [rbx + 0x58], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rax, [rbp - 0x30]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rbp - 0x38]
call fcn.140075410
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movups xmmword [rbp - 8], xmm0
lea rax, [0x140122a78]
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x10]
call fcn.140037890
int3