Function at 0x1401f5f50
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r9d
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov r15, qword [rcx]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x28]
mov rcx, r15
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1401f5fb0
mov r8d, dword [rsi + 0x80]
mov rcx, r15
mov rdx, rsi
call sub.ws2_32.dll_connect
test eax, eax
je 0x1401f5fc2
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x1401f5fc4
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
jmp case.0x1401f6016.39
xor esi, esi
mov dword [rsp + 0x2c], 0
lea r8, [rsp + 0x2c]
mov rcx, r15
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1401f5fec
xor eax, eax
test rsi, rsi
jne 0x1401f5ffe
jmp 0x1401f601e
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
test rsi, rsi
je 0x1401f601e
test rax, rax
jne 0x1401f601e
mov eax, esi
and eax, 3
lea rcx, [0x14032a990]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [rsi + 0x10]
jmp 0x1401f605d
test rsi, rsi
jne 0x1401f606f
jmp case.0x1401f6016.39
mov rax, rsi
shr rax, 0x20
cmp eax, 0x2733
je 0x1401f6061
jmp 0x1401f607a
mov rax, rsi
shr rax, 0x20
cmp eax, 0x28
ja case.default.0x1401f6053
lea rcx, [0x14032a9a0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x1401f605d
movzx eax, byte [rsi + 0xf]
cmp al, 0xd
jne 0x1401f607a
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call sym.socket2::sys::poll_connect::h5291264f699a6073
mov rcx, rsi
mov rsi, rax
call fcn.1401f5c90
invalid
dec dword [rax - 0x77]
invalid
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rsi
pop rsi
pop r15
ret
mov al, 0x25
jmp 0x1401f605d
mov al, 0x23
jmp 0x1401f605d
mov al, 0x24
jmp 0x1401f605d
mov al, 0x1b
jmp 0x1401f605d
mov al, 0x22
jmp 0x1401f605d
mov al, 0x10
jmp 0x1401f605d
mov al, 0xe
jmp 0x1401f605d
mov al, 0x21
jmp 0x1401f605d
mov al, 0xb
jmp 0x1401f605d
mov al, 4
jmp 0x1401f605d
mov al, 0x28
jmp 0x1401f605d
mov al, 0xc
jmp 0x1401f605d
mov al, 9
jmp 0x1401f605d
mov al, 0x19
jmp 0x1401f605d
mov al, 0x18
jmp 0x1401f605d
mov al, 2
jmp 0x1401f605d
mov al, 0xf
jmp 0x1401f605d
mov al, 3
jmp 0x1401f605d
mov al, 7
jmp 0x1401f605d
mov al, 1
jmp 0x1401f605d
mov al, 0x1f
jmp 0x1401f605d
mov al, 0x11
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x29
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x14
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 5
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x15
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0xd
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 6
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x12
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0xa
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 8
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x1e
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x20
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x16
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x27
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x13
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x17
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x1c
jmp 0x1401f605d
invalid
invalid
invalid
mov al, 0x1d
jmp 0x1401f605d
mov al, 0x26
jmp 0x1401f605d
mov al, 0x1a
jmp 0x1401f605d