Function at 0x14000e100
Capabilities:
Get socket status
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
movaps xmmword [rsp + 0x250], xmm6
mov rax, qword [rcx + 0x50]
mov r13d, 0xffffffff
cmp dword [rax], 0
jne 0x14000e758
mov rsi, rcx
lea r14, [rcx + 0x150]
movabs r12, 0x595588bd12bf6fe8
lea r15, [0x140109178]
xorps xmm6, xmm6
nop dword [rax]
call fcn.1400a1dd0
mov rdi, rax
call fcn.1400a1db4
cmp rdi, 0x989680
jne 0x14000e180
imul rax, rax, 0x64
cmp qword [rsi + 0x168], rax
jge 0x14000e1cc
jmp 0x14000e5d4
mov rcx, rax
or rcx, rdi
shr rcx, 0x20
je 0x14000e193
cqo
idiv rdi
jmp 0x14000e197
xor edx, edx
div edi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rdi
or rdx, rax
shr rdx, 0x20
je 0x14000e1b8
cqo
idiv rdi
jmp 0x14000e1bc
xor edx, edx
div edi
add rax, rcx
cmp qword [rsi + 0x168], rax
jl 0x14000e5d4
test byte [rsi + 0xc0], 2
jne 0x14000e2c0
mov rcx, qword [rsi + 0xb8]
cmp rcx, 0xffffffffffffffff
je 0x14000e21a
mov dword [rsp + 0x48], 1
mov edx, 0x8004667e
lea r8, [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x14000e264
movups xmmword [r14], xmm6
mov qword [r14 + 0x10], 0
or byte [rsi + 0xc0], 2
jmp 0x14000e2c0
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, r12
je 0x14000e244
mov rax, qword [0x140109178]
mov rcx, r15
mov edx, 0x2719
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x14000e249
mov ecx, 3
mov qword [rsi + 0x150], 0x2719
mov qword [rsi + 0x158], r15
mov qword [rsi + 0x160], rcx
jmp 0x14000e2c0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, r12
jne 0x14000e282
test edi, edi
setne al
jmp 0x14000e291
mov rax, qword [0x140109178]
mov rcx, r15
mov edx, edi
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [rsi + 0x150], edi
mov dword [rsi + 0x154], 0
mov qword [rsi + 0x158], r15
mov qword [rsi + 0x160], rax
nop word cs:[rax + rax]
mov rax, qword [rsi + 0x78]
mov rcx, qword [rsi + 0x80]
sub rcx, rax
cmove rax, rcx
cmp rcx, 8
mov edx, 8
cmovb rdx, rcx
add rax, rdx
sub rcx, rdx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsi + 0xb8]
mov qword [rsp + 0x20], r14
mov r8d, 1
lea rdx, [rsp + 0x30]
xor r9d, r9d
call fcn.14000f390
test eax, eax
jg 0x14000e62c
je 0x14000e657
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, r12
je 0x14000e341
mov rax, qword [0x140109178]
mov rcx, r15
mov edx, 0x2733
call qword [rax + 0x30]
mov rax, qword [rsi + 0x160]
mov ecx, dword [rsi + 0x150]
cmp rax, 1
je 0x14000e3a0
cmp ecx, 0x2733
jne 0x14000e3a0
mov rbx, r15
test rax, rax
je 0x14000e36b
mov rbx, qword [rsi + 0x158]
mov rdx, qword [0x140109180]
xor edi, edi
cmp rbx, r15
setne dil
xor ebp, ebp
cmp qword [rbx + 8], rdx
setne bpl
test rdx, rdx
cmove ebp, edi
cmp bpl, 1
je 0x14000e3a7
jmp 0x14000e41f
mov rdx, qword [0x140109180]
shr rdx, 1
cmp rdx, r12
je 0x14000e3ce
mov rax, qword [0x140109178]
mov rcx, r15
mov edx, 0x4d5
call qword [rax + 0x30]
mov rax, qword [rsi + 0x160]
mov ecx, dword [rsi + 0x150]
mov edx, 0xffffffff
cmp rax, 1
je 0x14000e755
cmp ecx, 0x4d5
jne 0x14000e755
mov rcx, r15
test rax, rax
je 0x14000e3f8
mov rcx, qword [rsi + 0x158]
mov rax, qword [0x140109180]
xor ebp, ebp
cmp rcx, r15
setne bpl
xor ebx, ebx
cmp qword [rcx + 8], rax
setne bl
test rax, rax
cmove ebx, ebp
test bl, bl
jne 0x14000e755
call fcn.1400a1dd0
mov rdi, rax
call fcn.1400a1db4
cmp rdi, 0x989680
jne 0x14000e440
imul rax, rax, 0x64
jmp 0x14000e47f
mov rcx, rax
or rcx, rdi
shr rcx, 0x20
je 0x14000e453
cqo
idiv rdi
jmp 0x14000e457
xor edx, edx
div edi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rdi
or rdx, rax
shr rdx, 0x20
je 0x14000e478
cqo
idiv rdi
jmp 0x14000e47c
xor edx, edx
div edi
add rax, rcx
mov rcx, qword [rsi + 0x168]
test rcx, rcx
js 0x14000e4d0
test rax, rax
jns 0x14000e500
mov edx, 0x7fffffff
movabs rbp, 0x8000000000000000
cmp rax, rbp
je 0x14000e550
mov rbp, rax
neg rbp
movabs rbx, 0x7fffffffffffffff
sub rbx, rcx
cmp rbx, rbp
jge 0x14000e500
jmp 0x14000e550
test rax, rax
js 0x14000e500
movabs rdx, 0x8000000000000000
cmp rcx, rdx
je 0x14000e530
mov rdx, rcx
neg rdx
movabs rbp, 0x7fffffffffffffff
sub rbp, rax
cmp rbp, rdx
jl 0x14000e530
nop dword [rax]
sub rcx, rax
mov edx, 0x7fffffff
movabs rax, 0x7a11fffffffff
cmp rcx, rax
jg 0x14000e550
mov rax, rcx
movabs rdx, 0x431bde82d7b634db
imul rdx
cmp rcx, 0xfffffffffff0bdc0
jg 0x14000e534
xor edx, edx
jmp 0x14000e550
mov rax, rdx
shr rax, 0x3f
sar rdx, 0x12
add rdx, rax
nop word cs:[rax + rax]
nop dword [rax]
mov rcx, qword [rsi + 0xb8]
cmp rcx, 0xffffffffffffffff
je 0x14000e69e
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], 1
test edx, edx
js 0x14000e5a0
mov eax, edx
imul rax, rax, 0x10624dd3
shr rax, 0x26
mov dword [rsp + 0x28], eax
imul eax, eax, 0x3e8
sub edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x2c], eax
lea rax, [rsp + 0x28]
jmp 0x14000e5a2
xor eax, eax
add ecx, 1
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x14000e6f3
movups xmmword [r14], xmm6
mov qword [r14 + 0x10], 0
jmp 0x14000e150
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, r12
je 0x14000e602
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, 0x274c
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x14000e607
mov ecx, 3
mov qword [rsi + 0x150], 0x274c
lea rax, [0x140109178]
mov qword [rsi + 0x158], rax
mov qword [rsi + 0x160], rcx
jmp 0x14000e758
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rsi + 0x78]
mov qword [rcx], rdx
add rdx, 8
mov rcx, qword [rsi + 0x38]
mov qword [rcx], rdx
mov rcx, qword [rsi + 0x50]
mov dword [rcx], eax
mov rax, qword [rsi + 0x38]
mov rax, qword [rax]
movzx edx, byte [rax]
jmp 0x14000e755
mov rax, qword [0x1401090d0]
shr rax, 1
cmp rax, r12
je 0x14000e685
mov rax, qword [0x1401090c8]
lea rcx, [0x1401090c8]
mov edx, 2
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x14000e68a
mov ecx, 3
mov qword [rsi + 0x150], 2
lea rax, [0x1401090c8]
jmp 0x14000e6e3
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, r12
je 0x14000e6cc
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, 0x2719
call qword [rax + 0x30]
mov ecx, 2
test al, al
je 0x14000e6d1
mov ecx, 3
mov qword [rsi + 0x150], 0x2719
lea rax, [0x140109178]
mov qword [rsi + 0x158], rax
mov qword [rsi + 0x160], rcx
jmp 0x14000e750
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rax, qword [0x140109180]
shr rax, 1
cmp rax, r12
jne 0x14000e711
test edi, edi
setne al
jmp 0x14000e724
mov rax, qword [0x140109178]
lea rcx, [0x140109178]
mov edx, edi
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov dword [rsi + 0x150], edi
mov dword [rsi + 0x154], 0
lea rcx, [0x140109178]
mov qword [rsi + 0x158], rcx
mov qword [rsi + 0x160], rax
mov edx, 0xffffffff
mov r13d, edx
mov eax, r13d
movaps xmm6, xmmword [rsp + 0x250]
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret