Function at 0x14006bab0
Capabilities:
Connect socket
Enumerate pe sections
Set socket configuration

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x448
mov r15d, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x38], 1
mov rbx, qword [rcx]
lea r8, [rsp + 0x38]
mov rcx, rbx
mov edx, 0x8004667e
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x14006bb11
cmp word [rsi], 0
je 0x14006bb25
mov ecx, dword [rsi + 0x14]
movzx eax, word [rsi + 0x1c]
rol ax, 8
mov edx, dword [rsi + 0x18]
movups xmm0, xmmword [rsi + 4]
mov r8d, 0x1c
mov bp, 0x17
jmp 0x14006bb3d
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x14006bd5f
movzx eax, word [rsi + 6]
rol ax, 8
mov ecx, dword [rsi + 2]
xorps xmm0, xmm0
mov r8d, 0x10
mov bp, 2
mov word [rsp + 0x38], bp
mov word [rsp + 0x3a], ax
mov dword [rsp + 0x3c], ecx
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], edx
lea rdx, [rsp + 0x38]
mov rcx, rbx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x14006bb6a
xor esi, esi
jmp 0x14006bb79
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov dword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov rcx, rbx
mov edx, 0x8004667e
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x14006bbc2
test rsi, rsi
je 0x14006bbdb
mov ebp, esi
and ebp, 3
lea rax, [0x14006bdc0]
movsxd rcx, dword [rax + rbp*4]
add rcx, rax
jmp rcx
movzx eax, byte [rsi + 0x10]
cmp al, 0xd
je 0x14006bc0a
mov rdi, rsi
jmp 0x14006bd5f
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov ebp, esi
and ebp, 3
jmp 0x14006bd17
xor edi, edi
jmp 0x14006bd5f
movzx eax, byte [rsi + 0xf]
cmp al, 0xd
jne 0x14006bbba
jmp 0x14006bc0a
test r14, r14
jne 0x14006bc20
test r15d, r15d
jne 0x14006bc20
lea rdi, str.cannot_set_a_0_duration_timeout
jmp 0x14006bd17
mov eax, r15d
imul rax, rax, 0x10624dd3
shr rax, 0x26
cmp r15d, 0x3e8
mov ecx, 1
mov edx, eax
cmovb edx, ecx
mov dword [rsp + 0x30], r14d
test r14d, r14d
cmovne edx, eax
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x240], 1
mov qword [rsp + 0x248], rbx
lea rcx, [rsp + 0x250]
mov r8d, 0x1f8
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x48]
mov r8d, 0x1f8
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x240]
lea r9, [rsp + 0x38]
mov ecx, 1
xor edx, edx
call sub.WS2_32.dll_select
test eax, eax
je 0x14006bcd4
cmp eax, 0xffffffff
jne 0x14006bcdd
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x14006bd17
lea rdi, str.connection_timed_out
jmp 0x14006bce9
cmp dword [rsp + 0x240], 1
jne 0x14006bd02
xor edi, edi
cmp ebp, 1
jne 0x14006bd5f
lea rbx, [rsi - 1]
lea rbp, [rsi + 7]
mov rcx, qword [rsi - 1]
mov rax, qword [rsi + 7]
call qword [rax]
jmp 0x14006bd33
mov rcx, rdi
call dbg.take_error
mov rdi, rdx
test rax, rax
jne 0x14006bd17
test rdi, rdi
je 0x14006bd72
test rsi, rsi
je 0x14006bd5f
cmp ebp, 1
jne 0x14006bd5f
lea rbx, [rsi - 1]
lea rbp, [rsi + 7]
mov rcx, qword [rsi - 1]
mov rax, qword [rsi + 7]
call qword [rax]
mov rax, qword [rbp]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14006bd4c
mov r8, qword [rax + 0x10]
mov rcx, qword [rbx]
call sym.__rust_dealloc
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x448
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor edi, edi
xor ecx, ecx
call dbg.drop_in_place<core::option::Option<std::io::error::Error>>
jmp 0x14006bce9