Function at 0x1400f17e0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp], 0xfffffffffffffffe
mov esi, r9d
mov rdi, r8
mov r15, rdx
mov rbx, rcx
mov r14, qword [rcx]
mov dword [rbp - 0xc], 1
lea r8, [rbp - 0xc]
mov rcx, r14
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400f184f
mov r8d, dword [r15 + 0x80]
mov rcx, r14
mov rdx, r15
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400f1861
call fcn.140112c60
mov r15d, eax
shl r15, 0x20
or r15, 2
jmp 0x1400f1864
call fcn.140112c60
shl rax, 0x20
or rax, 2
jmp 0x1400f1932
xor r15d, r15d
mov dword [rbp - 0x10], 0
lea r8, [rbp - 0x10]
mov rcx, r14
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1400f188b
xor eax, eax
test r15, r15
jne 0x1400f18a5
jmp 0x1400f18c7
mov qword [rbp - 8], r15
call fcn.140112c60
shl rax, 0x20
or rax, 2
mov r15, qword [rbp - 8]
test r15, r15
je 0x1400f18c7
test rax, rax
jne 0x1400f18c7
mov eax, r15d
and eax, 3
lea rcx, [0x1401827b0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [r15 + 0x10]
jmp 0x1400f190a
test r15, r15
jne 0x1400f1924
jmp 0x1400f1932
mov rax, r15
shr rax, 0x20
cmp eax, 0x2733
je 0x1400f190e
mov rax, r15
jmp 0x1400f1932
mov rax, r15
shr rax, 0x20
cmp eax, 0x28
ja case.default.0x1400f18ff
lea rcx, [0x1401827c0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x1400f190a
movzx eax, byte [r15 + 0xf]
cmp al, 0xd
jne 0x1400f18dc
mov qword [rbp - 8], r15
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call fcn.1400f1b70
mov r15, qword [rbp - 8]
mov rcx, r15
mov rsi, rax
call fcn.140032440
mov rax, rsi
add rsp, 0x38
add esp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov al, 0x25
jmp 0x1400f190a
mov al, 0x23
jmp 0x1400f190a
mov al, 0x24
jmp 0x1400f190a
mov al, 0x1b
jmp 0x1400f190a
mov al, 0x22
jmp 0x1400f190a
mov al, 0x10
jmp 0x1400f190a
mov al, 0xe
jmp 0x1400f190a
mov al, 0x21
jmp 0x1400f190a
mov al, 0xb
jmp 0x1400f190a
mov al, 4
jmp 0x1400f190a
mov al, 0x28
jmp 0x1400f190a
mov al, 0xc
jmp 0x1400f190a
mov al, 9
jmp 0x1400f190a
mov al, 0x19
jmp 0x1400f190a
mov al, 0x18
jmp 0x1400f190a
mov al, 2
jmp 0x1400f190a
invalid
mov esi, dword [rax - 0x4f7814f1]
add ebp, ebx
jmp 0x1400f190a
mov al, 7
jmp 0x1400f190a
invalid
push qword [rax - 0x8a16ff]
mov al, 1
invalid
jne 0x1400f1992
invalid
mov al, 0xf
jmp 0x1400f190a
mov al, 3
jmp 0x1400f190a
mov al, 7
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 1
jmp 0x1400f190a
mov al, 0x1f
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x11
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x29
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x14
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 5
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x15
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0xd
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 6
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x12
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0xa
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 8
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x1e
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x20
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x16
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x27
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x13
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x17
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x1c
jmp 0x1400f190a
invalid
invalid
invalid
mov al, 0x1d
jmp 0x1400f190a
mov al, 0x26
jmp 0x1400f190a
mov al, 0x1a
jmp 0x1400f190a