Function at 0x14000b990
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov rbx, r9
mov r14, rdx
mov rbp, rcx
cmp rcx, 0xffffffffffffffff
je 0x14000bc44
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov r12d, 4
test r8b, r8b
je 0x14000ba52
movzx eax, byte [rdx]
test al, 8
je 0x14000ba52
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 0x14000ba52
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r12 + rcx]
cmp dword [0x1405df224], eax
jle 0x14000ba4c
lea rcx, [0x1405df224]
call fcn.14003a8f0
cmp dword [0x1405df224], 0xffffffff
jne 0x14000ba4c
lea rcx, [0x14003f350]
call fcn.14003ac60
lea rcx, [0x1405df224]
call fcn.14003a884
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 0x14000ba69
mov dword [rbx], r15d
jmp 0x14000bbbf
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 [0x1405df224], eax
jle 0x14000babc
lea rcx, [0x1405df224]
call fcn.14003a8f0
cmp dword [0x1405df224], 0xffffffff
jne 0x14000babc
lea rcx, [0x14003f350]
call fcn.14003ac60
lea rcx, [0x1405df224]
call fcn.14003a884
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r13, [0x1405daf48]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov edx, dword [0x1405df224]
cmp edx, dword [rsi]
jle 0x14000bb19
lea rcx, [0x1405df224]
call fcn.14003a8f0
mov edx, dword [0x1405df224]
cmp edx, 0xffffffff
jne 0x14000bb19
lea rcx, [0x14003f350]
call fcn.14003ac60
lea rcx, [0x1405df224]
call fcn.14003a884
mov edx, dword [0x1405df224]
mov rcx, qword [rbx + 8]
mov rax, qword [0x1405daf50]
cmp qword [rcx + 8], rax
jne 0x14000bb32
cmp dword [rbx], 0x2733
je 0x14000bb84
cmp edx, dword [rsi]
jle 0x14000bb63
lea rcx, [0x1405df224]
call fcn.14003a8f0
cmp dword [0x1405df224], 0xffffffff
jne 0x14000bb63
lea rcx, [0x14003f350]
call fcn.14003ac60
lea rcx, [0x1405df224]
call fcn.14003a884
mov rdx, qword [rbx + 8]
mov rax, qword [0x1405daf50]
cmp qword [rdx + 8], rax
jne 0x14000bc3d
cmp dword [rbx], 0x4d5
jne 0x14000bc3d
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 0x14000bbe1
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.14003a7b0
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 [0x1405df224], eax
jle 0x14000bc26
lea rcx, [0x1405df224]
call fcn.14003a8f0
cmp dword [0x1405df224], 0xffffffff
jne 0x14000bc26
lea rcx, [0x14003f350]
call fcn.14003ac60
lea rcx, [0x1405df224]
call fcn.14003a884
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 0x14000bbb2
mov eax, r15d
jmp 0x14000bbc9