Function at 0x1400c94b0
Capabilities:
Connect socket
Enumerate pe sections

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov eax, dword [0x140195c60]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400c94fe
xor ecx, ecx
call fcn.140087940
test rax, rax
je 0x1400c9543
cmp byte [rax + 0x58], 0
sete cl
cmp byte [rax + 0x59], 0
setne bpl
or bpl, cl
movzx eax, byte [rdi + 0x78]
test eax, eax
je 0x1400c954e
cmp eax, 3
jne 0x1400c994d
lea r15, [rdi + 0x68]
movzx eax, byte [rdi + 0x68]
test eax, eax
je 0x1400c967d
cmp eax, 3
jne 0x1400c995d
mov rax, qword [rdi + 0x60]
jmp 0x1400c96cf
mov bpl, 2
movzx eax, byte [rdi + 0x78]
test eax, eax
jne 0x1400c9518
mov rcx, qword [rdi + 0x70]
mov qword [rdi + 0x20], rcx
mov eax, dword [rdi + 2]
movzx edx, word [rdi + 6]
shl rdx, 0x20
or rdx, rax
cmp word [rdi], 0
je 0x1400c95df
mov r10d, dword [rdi + 0x14]
mov r8d, dword [rdi + 0x18]
movzx eax, word [rdi + 0x1c]
shr rdx, 0x10
rol ax, 8
mov dword [rsp + 0x50], edx
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x54], rdx
mov edx, dword [rdi + 0x10]
mov dword [rsp + 0x5c], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0x60], r8d
mov r8d, 0x1c
mov r9w, 0x17
mov edx, r10d
jmp 0x1400c9627
mov rax, rdx
shr rax, 0x20
rol ax, 8
lea r8, [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [r8 + 0x60], xmm0
movups xmmword [r8 + 0x50], xmm0
movups xmmword [r8 + 0x40], xmm0
movups xmmword [r8 + 0x30], xmm0
movups xmmword [r8 + 0x20], xmm0
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8], xmm0
mov qword [r8 + 0x70], 0
mov r8d, 0x10
mov r9w, 2
mov word [rsp + 0x48], r9w
mov word [rsp + 0x4a], ax
mov dword [rsp + 0x4c], edx
mov dword [rsp + 0xc8], r8d
lea rdx, [rsp + 0x48]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400c9665
call qword [sym.imp.kernel32.dll_GetLastError]
mov r14d, eax
mov ecx, eax
call fcn.1400deab0
cmp al, 0xd
jne 0x1400c97f1
mov rax, qword [rdi + 0x20]
mov qword [rdi + 0x28], 0
mov qword [rdi + 0x30], rax
lea r15, [rdi + 0x68]
mov byte [rdi + 0x68], 0
mov rdx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400ec8c0
mov r14, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
cmp rcx, 2
je 0x1400c9901
mov rdx, qword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm0
lea rax, [rdi + 0x38]
mov qword [rdi + 0x38], r14
mov qword [rdi + 0x40], rdx
mov qword [rdi + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi + 0x50], xmm0
mov qword [rdi + 0x60], rax
mov rdx, qword [rax + 0x20]
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8, rbx
mov r9b, 1
call fcn.1400f6000
movzx eax, byte [rsp + 0x51]
cmp al, 3
jne 0x1400c97c3
mov byte [r15], 3
mov byte [rdi + 0x78], 3
sub rdi, 0xffffffffffffff80
mov eax, dword [0x140195c60]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400c9739
xor ecx, ecx
call fcn.140087940
test rax, rax
je 0x1400c97d1
test bpl, bpl
je 0x1400c97d1
cmp byte [rax + 0x58], 0
je 0x1400c97d1
cmp byte [rax + 0x59], 0
jne 0x1400c97d1
mov eax, dword [0x140195c60]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400c978c
xor ecx, ecx
call fcn.140087940
test rax, rax
je 0x1400c9945
movzx ebp, byte [rax + 0x58]
movzx r14d, byte [rax + 0x59]
mov byte [rax + 0x58], 0
mov rcx, rdi
mov rdx, rbx
call fcn.1400f8cf0
test al, al
je 0x1400c9895
mov qword [rsi + 0x10], 4
cmp bpl, 2
jne 0x1400c98a7
jmp 0x1400c9935
cmp al, 2
jne 0x1400c980d
mov r14, qword [rsp + 0x48]
jmp 0x1400c98f8
mov rcx, rdi
mov rdx, rbx
call fcn.1400f8cf0
test al, al
je 0x1400c9888
mov qword [rsi + 0x10], 4
jmp 0x1400c9935
shl r14, 0x20
or r14, 2
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.ws2_32.dll_closesocket]
mov eax, 2
jmp 0x1400c991a
mov rcx, qword [rdi + 0x40]
cmp rcx, 0xffffffffffffffff
je 0x1400c9977
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400c98e7
mov r14d, dword [rsp + 0x30]
test r14, r14
jne 0x1400c98f0
mov r14, qword [rdi + 0x38]
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x48]
movups xmm0, xmmword [rdi + 0x50]
movaps xmmword [rsp + 0xd0], xmm0
mov byte [rdi + 0x68], 1
cmp rax, 3
je 0x1400c96f7
jmp 0x1400c990a
mov qword [rsi + 0x10], 3
jmp 0x1400c9935
mov qword [rsi + 0x10], 3
cmp bpl, 2
je 0x1400c9935
mov eax, dword [0x140195c60]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0xd0]
lea rax, [rax + 0xd8]
test rcx, rcx
cmove rax, rcx
jne 0x1400c98d8
xor ecx, ecx
call fcn.1400f2bf0
test rax, rax
je 0x1400c9935
mov byte [rax + 0x58], bpl
mov byte [rax + 0x59], r14b
jmp 0x1400c9935
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
lea rcx, [rdi + 0x38]
call fcn.1400551f0
mov byte [r15], 1
mov eax, 2
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsi + 0x18], xmm0
mov byte [rdi + 0x78], 1
mov qword [rsi], r14
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov bpl, 2
jmp 0x1400c9799
lea rcx, str._async_fn__resumed_after_completion
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_src_net_tcp_socket.rs
jmp 0x1400c996b
lea rcx, str._async_fn__resumed_after_completion
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_src_net_tcp_stream.rs
mov edx, 0x23
call fcn.14011e130
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_src_syncmpsclist.rs
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_srciopoll_evented.rs
mov edx, 0x2b
call fcn.14011e130
ud2