Function at 0x1400aaf20
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 ebp, 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 0x1400aaf7e
cmp word [rsi], 0
je 0x1400aaf92
movups xmm0, xmmword [rsi + 4]
mov eax, dword [rsi + 0x14]
mov edx, dword [rsi + 0x18]
movzx ecx, word [rsi + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1400aafa7
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x1400ab206
mov eax, dword [rsi + 2]
movzx ecx, word [rsi + 6]
mov r8d, 0x10
mov r9w, 2
xorps xmm0, xmm0
rol cx, 8
mov word [rsp + 0x38], r9w
mov word [rsp + 0x3a], cx
mov dword [rsp + 0x3c], eax
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 0x1400aafd9
xor esi, esi
jmp 0x1400aafe8
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 0x1400ab029
test rsi, rsi
je 0x1400ab04d
mov r15d, esi
and r15d, 3
lea rax, [0x1400ab378]
movsxd rcx, dword [rax + r15*4]
add rcx, rax
jmp rcx
movzx eax, byte [rsi + 0x10]
jmp 0x1400ab066
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
test rsi, rsi
je 0x1400ab206
mov r15d, esi
and r15d, 3
jmp 0x1400ab1be
xor edi, edi
jmp 0x1400ab206
movzx eax, byte [rsi + 0xf]
jmp 0x1400ab066
mov rcx, rsi
shr rcx, 0x20
call dbg.decode_error_kind
cmp al, 0xd
jne 0x1400ab07f
test r14, r14
jne 0x1400ab0ad
test ebp, ebp
jne 0x1400ab0ad
lea rdi, str.cannot_set_a_0_duration_timeout
jmp 0x1400ab1be
mov rdi, rsi
jmp 0x1400ab206
cmp r14, 0x7fffffff
mov eax, 0x7fffffff
cmovb rax, r14
mov ecx, ebp
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
mov dword [rsp + 0x30], eax
test rax, rax
mov eax, 1
mov edx, ecx
cmove edx, eax
cmp ebp, 0x3e8
cmovae edx, ecx
mov dword [rsp + 0x34], edx
lea rcx, [rsp + 0x48]
mov r8d, 0x1f8
xor edx, edx
call sub.msvcrt.dll_memset
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 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 0x1400ab16e
cmp eax, 0xffffffff
jne 0x1400ab177
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x1400ab1be
lea rdi, str.connection_timed_out
jmp 0x1400ab183
cmp dword [rsp + 0x240], 1
jne 0x1400ab1a5
xor edi, edi
lea rax, [r15 - 2]
cmp rax, 2
jb 0x1400ab206
test r15, r15
je 0x1400ab206
lea rbx, [rsi - 1]
mov r14, qword [rsi - 1]
mov rsi, qword [rsi + 7]
mov rcx, r14
call qword [rsi]
jmp 0x1400ab1de
mov rcx, rdi
call dbg.take_error
mov rdi, rdx
test rax, rax
jne 0x1400ab1be
test rdi, rdi
je 0x1400ab331
lea rax, [r15 - 2]
cmp rax, 2
jb 0x1400ab206
test r15, r15
je 0x1400ab206
lea rbx, [rsi - 1]
mov r14, qword [rsi - 1]
mov rsi, qword [rsi + 7]
mov rcx, r14
call qword [rsi]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1400ab1f3
mov r8, qword [rsi + 0x10]
mov rcx, r14
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 0x1400ab183