Function at 0x14008a3b4
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 [0x1402bff08]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor r12d, r12d
mov r15, r9
cmp qword [rcx + 0x68], 0xffffffffffffffff
mov r14, r8
mov rbx, rcx
mov ebp, r12d
lea r13d, [r12 + 1]
mov dword [rsp + 0x40], r13d
jne 0x14008a654
xor eax, eax
lea rdi, [rcx + 0x78]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x18], eax
lea esi, [rax + 0x10]
movups xmmword [rcx + 0x94], xmm0
movups xmmword [rcx + 0xa4], xmm0
movups xmmword [rcx + 0xb4], xmm0
mov qword [rcx + 0xc4], rax
lea eax, [rsi + 0xc]
cmp word [r8], r13w
jne 0x14008a43c
mov word [rdi], r13w
jmp 0x14008a453
cmp word [r8], 0x17
mov r9, rsi
mov rdx, rax
mov rcx, rdi
cmove r9, rax
call section..text
mov rax, qword [rsp + 0xd0]
movsxd rdx, dword [rbx + 0x274]
mov rcx, qword [rbx + 0x268]
mov qword [rbx + 0x240], rax
mov qword [rbx + 0x70], r12
mov dword [rbx + 0x254], r12d
mov qword [rbx + 0x220], r15
call fcn.1401d2678
test rax, rax
je 0x14008a696
mov qword [rbx + 0x268], rax
mov eax, dword [rbx + 0x274]
mov dword [rbx + 0x270], eax
cmp word [rdi], r13w
je 0x14008a4fc
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 0x14008a4cc
movzx eax, word [r14]
lea rbp, [rsp + 0x48]
mov word [rsp + 0x48], ax
cmp word [rdi], r13w
je 0x14008a4fc
mov r8d, 6
mov edx, r13d
mov rcx, rbp
call fcn.140093b9c
mov qword [rbx + 0x68], rax
test rax, rax
je 0x14008a6db
jmp 0x14008a517
xor r8d, r8d
mov edx, r13d
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x68], rax
test eax, eax
js 0x14008a720
mov qword [rbx + 0x258], r12
mov dword [rbx + 0x2a4], r12d
mov dword [rbx + 0x260], r12d
cmp word [rdi], r13w
je 0x14008a55b
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 0x14008a765
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], r12w
je 0x14008a5af
cmp word [rdi], r13w
je 0x14008a5f1
cmp word [rdx], 0x17
mov eax, 0x1c
mov rcx, qword [rbx + 0x68]
cmove esi, eax
mov r8d, esi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14008a5e6
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x3e1
jmp 0x14008a5fe
cmp word [rdi], r13w
je 0x14008a5f1
cmp word [r14], 0x17
mov eax, 0x1c
mov rcx, qword [rbx + 0x68]
mov rdx, r14
cmove esi, eax
mov r8d, esi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14008a5e6
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x3ed
jmp 0x14008a5fe
mov rcx, qword [rbx + 0x20]
call fcn.14008efc8
jmp 0x14008a62f
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x3f9
or dword [rbx + 0x258], 0xffffffff
lea rdi, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibAsyncSocket.c
mov rcx, qword [rbx + 0x238]
lea r9, [fcn.14008a234]
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], r12
call fcn.140094da0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401c0ed0
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.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibAsyncSocket.c
mov ebx, 0xfd
mov dword [rsp + 0x20], eax
mov esi, 0x384
mov r9d, ebx
mov r8d, esi
mov rdx, rdi
xor ecx, ecx
call fcn.14009718c
mov r8d, esi
lea rcx, str.CRITICALEXIT2__FILE:__s__LINE:__d_r_n
mov rdx, rdi
call fcn.140001090
mov ecx, ebx
call fcn.1401c761c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfe
lea rdi, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibAsyncSocket.c
mov ebx, 0x3a0
mov dword [rsp + 0x20], eax
mov r9d, esi
mov r8d, ebx
mov rdx, rdi
xor ecx, ecx
call fcn.14009718c
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rdi
call fcn.140001090
mov ecx, esi
call fcn.1401c761c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfd
lea rdi, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibAsyncSocket.c
mov esi, 0x3bc
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, esi
mov rdx, rdi
xor ecx, ecx
call fcn.14009718c
mov r8d, esi
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rdi
call fcn.140001090
mov ecx, ebx
call fcn.1401c761c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfd
lea rdi, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibAsyncSocket.c
mov esi, 0x3c0
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, esi
mov rdx, rdi
xor ecx, ecx
call fcn.14009718c
mov r8d, esi
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rdi
call fcn.140001090
mov ecx, ebx
call fcn.1401c761c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x3ce
mov dword [rsp + 0x20], r12d
mov r9d, eax
lea rdx, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibAsyncSocket.c
xor ecx, ecx
call fcn.14009718c
mov ecx, 0xfd
call fcn.1401c761c
int3