Function at 0x14000b8a0
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x14004e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rbx, r9
mov r14, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x14000bb54
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov r12d, 4
test r8b, r8b
je 0x14000b962
movzx eax, byte [rdx]
test al, 8
je 0x14000b962
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 0x14000b962
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r12 + rcx]
cmp dword [0x1401a39d4], eax
jle 0x14000b95c
lea rcx, [0x1401a39d4]
call fcn.140036480
cmp dword [0x1401a39d4], 0xffffffff
jne 0x14000b95c
lea rcx, [0x14003ac80]
call fcn.1400367f0
lea rcx, [0x1401a39d4]
call fcn.140036414
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 0x14000b979
mov dword [rbx], r15d
jmp 0x14000bacf
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 [0x1401a39d4], eax
jle 0x14000b9cc
lea rcx, [0x1401a39d4]
call fcn.140036480
cmp dword [0x1401a39d4], 0xffffffff
jne 0x14000b9cc
lea rcx, [0x14003ac80]
call fcn.1400367f0
lea rcx, [0x1401a39d4]
call fcn.140036414
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r13, [0x14019f948]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov edx, dword [0x1401a39d4]
cmp edx, dword [rsi]
jle 0x14000ba29
lea rcx, [0x1401a39d4]
call fcn.140036480
mov edx, dword [0x1401a39d4]
cmp edx, 0xffffffff
jne 0x14000ba29
lea rcx, [0x14003ac80]
call fcn.1400367f0
lea rcx, [0x1401a39d4]
call fcn.140036414
mov edx, dword [0x1401a39d4]
mov rcx, qword [rbx + 8]
mov rax, qword [0x14019f950]
cmp qword [rcx + 8], rax
jne 0x14000ba42
cmp dword [rbx], 0x2733
je 0x14000ba94
cmp edx, dword [rsi]
jle 0x14000ba73
lea rcx, [0x1401a39d4]
call fcn.140036480
cmp dword [0x1401a39d4], 0xffffffff
jne 0x14000ba73
lea rcx, [0x14003ac80]
call fcn.1400367f0
lea rcx, [0x1401a39d4]
call fcn.140036414
mov rdx, qword [rbx + 8]
mov rax, qword [0x14019f950]
cmp qword [rdx + 8], rax
jne 0x14000bb4d
cmp dword [rbx], 0x4d5
jne 0x14000bb4d
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 0x14000baf1
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.140036340
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 [0x1401a39d4], eax
jle 0x14000bb36
lea rcx, [0x1401a39d4]
call fcn.140036480
cmp dword [0x1401a39d4], 0xffffffff
jne 0x14000bb36
lea rcx, [0x14003ac80]
call fcn.1400367f0
lea rcx, [0x1401a39d4]
call fcn.140036414
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 0x14000bac2
mov eax, r15d
jmp 0x14000bad9