Function at 0x14009b32c
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14030ef00]
xor rax, rsp
mov qword [rsp + 0x68], rax
or r13, 0xffffffffffffffff
mov r12d, 1
mov r14, r9
mov rsi, r8
mov rbx, rcx
mov dword [rsp + 0x40], r12d
cmp qword [rcx + 0x68], r13
jne 0x14009b604
xor eax, eax
lea rdi, [rcx + 0x78]
xorps xmm0, xmm0
xor r15d, r15d
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x18], eax
lea ebp, [rax + 0x10]
movups xmmword [rcx + 0x94], xmm0
mov qword [rcx + 0xa4], rax
mov dword [rcx + 0xac], eax
movups xmmword [rcx + 0xb0], xmm0
mov qword [rcx + 0xc0], rax
mov dword [rcx + 0xc8], eax
lea eax, [rbp + 0xc]
test r8, r8
je 0x14009b3f3
cmp word [r8], r12w
jne 0x14009b3c6
mov word [rdi], r12w
jmp 0x14009b3f3
test rdi, rdi
jne 0x14009b3dd
call fcn.1401ebba4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401eac1c
jmp 0x14009b3f3
cmp word [rsi], 0x17
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
cmove r8, rax
call fcn.140210d80
mov rax, qword [rsp + 0xd0]
movsxd rdx, dword [rbx + 0x274]
mov rcx, qword [rbx + 0x268]
mov qword [rbx + 0x240], rax
mov qword [rbx + 0x70], r15
mov dword [rbx + 0x254], r15d
mov qword [rbx + 0x220], r14
call fcn.1401f2724
test rax, rax
je 0x14009b647
mov qword [rbx + 0x268], rax
mov eax, dword [rbx + 0x274]
mov dword [rbx + 0x270], eax
cmp word [rdi], r12w
je 0x14009b4ed
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], eax
movzx eax, word [rbx + 0xcc]
movups xmmword [rsp + 0x48], xmm0
test ax, ax
jne 0x14009b46f
movzx eax, word [rsi]
lea rcx, [rsp + 0x48]
mov word [rsp + 0x48], ax
cmp word [rcx], r15w
je 0x14009b4d7
mov r8d, 6
mov edx, r12d
call fcn.1400a637c
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x258], r15
mov dword [rbx + 0x2a4], r15d
mov dword [rbx + 0x260], r15d
cmp word [rdi], r12w
je 0x14009b50a
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rax
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14009b68c
jmp 0x14009b50a
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x3c6
mov qword [rbx + 0x68], r13
jmp 0x14009b5ae
xor r8d, r8d
mov edx, r12d
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x68], rax
test eax, eax
js 0x14009b6b9
jmp 0x14009b491
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
lea rdx, [rbx + 0xcc]
cmp word [rdx], r15w
je 0x14009b55f
cmp word [rbx + 0x78], r12w
je 0x14009b5a1
cmp word [rdx], 0x17
mov eax, 0x1c
mov rcx, qword [rbx + 0x68]
cmove ebp, eax
mov r8d, ebp
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, r13d
je 0x14009b596
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x3ed
jmp 0x14009b5ae
cmp word [rbx + 0x78], r12w
je 0x14009b5a1
cmp word [rsi], 0x17
mov eax, 0x1c
mov rcx, qword [rbx + 0x68]
mov rdx, rsi
cmove ebp, eax
mov r8d, ebp
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, r13d
je 0x14009b596
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x3f9
jmp 0x14009b5ae
mov rcx, qword [rbx + 0x20]
call fcn.1400a0978
jmp 0x14009b5df
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x405
mov rcx, qword [rbx + 0x238]
lea rdi, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibAsyncSocket.c
mov qword [rsp + 0x28], rdi
lea r9, [fcn.14009b17c]
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rdx, rbx
mov dword [rbx + 0x258], r13d
call fcn.1400a7950
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401dbdb0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rcx + 0x68]
lea rdi, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibAsyncSocket.c
mov ebx, 0x380
mov dword [rsp + 0x20], eax
mov r8d, ebx
mov rdx, rdi
mov r9d, 0xfd
xor ecx, ecx
call fcn.1400aa2f8
mov r8d, ebx
lea rcx, str.CRITICALEXIT2__FILE:__s__LINE:__d_r_n
mov rdx, rdi
call fcn.14000105c
mov ecx, 0xfd
call fcn.1401e2ef8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfe
lea rdi, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibAsyncSocket.c
mov ebx, 0x39f
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8d, ebx
mov rdx, rdi
xor ecx, ecx
call fcn.1400aa2f8
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rdi
call fcn.14000105c
mov ecx, esi
call fcn.1401e2ef8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x3da
mov dword [rsp + 0x20], r15d
mov r9d, eax
lea rdx, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibAsyncSocket.c
xor ecx, ecx
call fcn.1400aa2f8
mov ecx, 0xfd
call fcn.1401e2ef8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x3cc
lea rdi, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermicrostackILibAsyncSocket.c
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov rdx, rdi
mov r9d, 0xfd
xor ecx, ecx
call fcn.1400aa2f8
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rdi
call fcn.14000105c
mov ecx, 0xfd
call fcn.1401e2ef8
int3