Function at 0x14000a290
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1400bc040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rbx, r9
mov r14, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x14000a544
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov r12d, 4
test r8b, r8b
je 0x14000a352
movzx eax, byte [rdx]
test al, 8
je 0x14000a352
or al, 8
mov dword [rsp + 0x40], r15d
mov byte [rdx], al
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000a352
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r12 + rcx]
cmp dword [0x1400e7520], eax
jle 0x14000a34c
lea rcx, [0x1400e7520]
call fcn.14008ccb0
cmp dword [0x1400e7520], 0xffffffff
jne 0x14000a34c
lea rcx, [0x140092c70]
call fcn.14008d2fc
lea rcx, [0x1400e7520]
call fcn.14008cc44
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
test eax, eax
jne 0x14000a369
mov dword [rbx], r15d
jmp 0x14000a4bf
mov rax, qword gs:[0x58]
mov qword [rsp + 0xa0], rsi
mov esi, r12d
mov qword [rsp + 0x50], r13
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x1400e7520], eax
jle 0x14000a3bc
lea rcx, [0x1400e7520]
call fcn.14008ccb0
cmp dword [0x1400e7520], 0xffffffff
jne 0x14000a3bc
lea rcx, [0x140092c70]
call fcn.14008d2fc
lea rcx, [0x1400e7520]
call fcn.14008cc44
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r13, [0x1400bc0d0]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov edx, dword [0x1400e7520]
cmp edx, dword [rsi]
jle 0x14000a419
lea rcx, [0x1400e7520]
call fcn.14008ccb0
mov edx, dword [0x1400e7520]
cmp edx, 0xffffffff
jne 0x14000a419
lea rcx, [0x140092c70]
call fcn.14008d2fc
lea rcx, [0x1400e7520]
call fcn.14008cc44
mov edx, dword [0x1400e7520]
mov rcx, qword [rbx + 8]
mov rax, qword [0x1400bc0d8]
cmp qword [rcx + 8], rax
jne 0x14000a432
cmp dword [rbx], 0x2733
je 0x14000a484
cmp edx, dword [rsi]
jle 0x14000a463
lea rcx, [0x1400e7520]
call fcn.14008ccb0
cmp dword [0x1400e7520], 0xffffffff
jne 0x14000a463
lea rcx, [0x140092c70]
call fcn.14008d2fc
lea rcx, [0x1400e7520]
call fcn.14008cc44
mov rdx, qword [rbx + 8]
mov rax, qword [0x1400bc0d8]
cmp qword [rdx + 8], rax
jne 0x14000a53d
cmp dword [rbx], 0x4d5
jne 0x14000a53d
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r14], 0xfc
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
test eax, eax
jne 0x14000a4e1
mov dword [rbx], r15d
mov rsi, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14008cbe0
add rsp, 0x68
pop r15
pop r14
pop rbp
pop rbx
ret
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov eax, dword [r12 + rdx]
cmp dword [0x1400e7520], eax
jle 0x14000a526
lea rcx, [0x1400e7520]
call fcn.14008ccb0
cmp dword [0x1400e7520], 0xffffffff
jne 0x14000a526
lea rcx, [0x140092c70]
call fcn.14008d2fc
lea rcx, [0x1400e7520]
call fcn.14008cc44
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov eax, edi
jmp 0x14000a4b2
mov eax, r15d
jmp 0x14000a4c9