Function at 0x14000b8f0
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rbx, r9
mov r14, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x14000bba4
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov r12d, 4
test r8b, r8b
je 0x14000b9b2
movzx eax, byte [rdx]
test al, 8
je 0x14000b9b2
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 0x14000b9b2
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r12 + rcx]
cmp dword [0x140054184], eax
jle 0x14000b9ac
lea rcx, [0x140054184]
call fcn.1400386d0
cmp dword [0x140054184], 0xffffffff
jne 0x14000b9ac
lea rcx, [0x14003d2f0]
call fcn.140038a40
lea rcx, [0x140054184]
call fcn.140038664
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 0x14000b9c9
mov dword [rbx], r15d
jmp 0x14000bb1f
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 [0x140054184], eax
jle 0x14000ba1c
lea rcx, [0x140054184]
call fcn.1400386d0
cmp dword [0x140054184], 0xffffffff
jne 0x14000ba1c
lea rcx, [0x14003d2f0]
call fcn.140038a40
lea rcx, [0x140054184]
call fcn.140038664
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r13, [0x140050100]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov edx, dword [0x140054184]
cmp edx, dword [rsi]
jle 0x14000ba79
lea rcx, [0x140054184]
call fcn.1400386d0
mov edx, dword [0x140054184]
cmp edx, 0xffffffff
jne 0x14000ba79
lea rcx, [0x14003d2f0]
call fcn.140038a40
lea rcx, [0x140054184]
call fcn.140038664
mov edx, dword [0x140054184]
mov rcx, qword [rbx + 8]
mov rax, qword [0x140050108]
cmp qword [rcx + 8], rax
jne 0x14000ba92
cmp dword [rbx], 0x2733
je 0x14000bae4
cmp edx, dword [rsi]
jle 0x14000bac3
lea rcx, [0x140054184]
call fcn.1400386d0
cmp dword [0x140054184], 0xffffffff
jne 0x14000bac3
lea rcx, [0x14003d2f0]
call fcn.140038a40
lea rcx, [0x140054184]
call fcn.140038664
mov rdx, qword [rbx + 8]
mov rax, qword [0x140050108]
cmp qword [rdx + 8], rax
jne 0x14000bb9d
cmp dword [rbx], 0x4d5
jne 0x14000bb9d
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 0x14000bb41
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.140038590
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 [0x140054184], eax
jle 0x14000bb86
lea rcx, [0x140054184]
call fcn.1400386d0
cmp dword [0x140054184], 0xffffffff
jne 0x14000bb86
lea rcx, [0x14003d2f0]
call fcn.140038a40
lea rcx, [0x140054184]
call fcn.140038664
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 0x14000bb12
mov eax, r15d
jmp 0x14000bb29