Function at 0x14009ce50
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 0x14009ceb0
mov r8d, dword [rsi + 0x80]
mov rcx, r15
mov rdx, rsi
call sub.ws2_32.dll_connect
test eax, eax
je 0x14009cec2
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x14009cec4
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
jmp case.0x14009cf16.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 0x14009ceec
xor eax, eax
test rsi, rsi
jne 0x14009cefe
jmp 0x14009cf1e
call sym.std::sys::pal::windows::os::errno::h64d3f6efc49f2d2e
shl rax, 0x20
or rax, 2
test rsi, rsi
je 0x14009cf1e
test rax, rax
jne 0x14009cf1e
mov eax, esi
and eax, 3
lea rcx, [0x14018f9f8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [rsi + 0x10]
jmp 0x14009cf5d
test rsi, rsi
jne 0x14009cf6f
jmp case.0x14009cf16.39
mov rax, rsi
shr rax, 0x20
cmp eax, 0x2733
je 0x14009cf61
jmp 0x14009cf7a
mov rax, rsi
shr rax, 0x20
cmp eax, 0x28
ja case.default.0x14009cf53
lea rcx, [0x14018fa08]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x14009cf5d
movzx eax, byte [rsi + 0xf]
cmp al, 0xd
jne 0x14009cf7a
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call sym.socket2::sys::poll_connect::hbb0de32c8964e82f
mov rcx, rsi
mov rsi, rax
call fcn.14009cb90
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 0x14009cf5d
mov al, 0x23
jmp 0x14009cf5d
mov al, 0x24
jmp 0x14009cf5d
mov al, 0x1b
jmp 0x14009cf5d
mov al, 0x22
jmp 0x14009cf5d
mov al, 0x10
jmp 0x14009cf5d
mov al, 0xe
jmp 0x14009cf5d
mov al, 0x21
jmp 0x14009cf5d
mov al, 0xb
jmp 0x14009cf5d
mov al, 4
jmp 0x14009cf5d
mov al, 0x28
jmp 0x14009cf5d
mov al, 0xc
jmp 0x14009cf5d
mov al, 9
jmp 0x14009cf5d
mov al, 0x19
jmp 0x14009cf5d
mov al, 0x18
jmp 0x14009cf5d
mov al, 2
jmp 0x14009cf5d
mov al, 0xf
jmp 0x14009cf5d
mov al, 3
jmp 0x14009cf5d
mov al, 7
jmp 0x14009cf5d
mov al, 1
jmp 0x14009cf5d
mov al, 0x1f
jmp 0x14009cf5d
mov al, 0x11
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x29
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x14
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 5
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x15
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0xd
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 6
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x12
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0xa
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 8
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x1e
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x20
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x16
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x27
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x13
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x17
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x1c
jmp 0x14009cf5d
invalid
invalid
invalid
mov al, 0x1d
jmp 0x14009cf5d
mov al, 0x26
jmp 0x14009cf5d
mov al, 0x1a
jmp 0x14009cf5d