Function at 0x1400ef67f
Capabilities:
Connect socket
Enumerate pe sections

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x108
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x78]
test eax, eax
je 0x1400ef6cf
cmp eax, 3
jne 0x1400ef9cb
lea r14, [rsi + 0x30]
lea r12, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x1400ef81c
cmp eax, 3
jne 0x1400ef9db
mov rax, qword [rsi + 0x68]
jmp 0x1400ef87f
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x28], rcx
mov eax, dword [rsi + 2]
movzx r9d, word [rsi + 6]
shl r9, 0x20
or r9, rax
cmp word [rsi], 0
je 0x1400ef763
mov edx, dword [rsi + 0x14]
mov r8d, dword [rsi + 0x18]
movzx eax, word [rsi + 0x1c]
shr r9, 0x10
mov dword [rsp + 0x50], r9d
mov r9, qword [rsi + 8]
mov qword [rsp + 0x54], r9
mov r9d, dword [rsi + 0x10]
mov dword [rsp + 0x5c], r9d
rol ax, 8
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 r10w, 0x17
mov r9d, edx
jmp 0x1400ef7b7
mov rax, r9
shr rax, 0x20
rol ax, 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0xc0], 0
mov r8d, 0x10
mov r10w, 2
lea rdx, [rsp + 0x48]
mov word [rdx], r10w
mov word [rdx + 2], ax
mov dword [rdx + 4], r9d
mov dword [rdx + 0x80], r8d
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400ef800
call sub.kernel32.dll_GetLastError
mov r15, rax
shl r15, 0x20
or r15, 2
mov ecx, eax
call fcn.14009b690
cmp al, 0xd
jne 0x1400ef8bf
mov rcx, r15
call fcn.1400d9f2b
mov rax, qword [rsi + 0x28]
lea r14, [rsi + 0x30]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], 0
lea r12, [rsi + 0x70]
mov byte [rsi + 0x70], 0
mov rdx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x38]
lea r15, [rsp + 0x48]
mov rcx, r15
call fcn.1400c9005
mov rcx, qword [r15]
cmp rcx, 2
jne 0x1400ef844
mov r15, qword [rsp + 0x50]
jmp 0x1400ef964
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x30], xmm0
lea rax, [rsi + 0x40]
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], rdx
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x50], xmm0
mov rcx, qword [rsp + 0x40]
mov qword [rsi + 0x60], rcx
mov qword [rsi + 0x68], rax
mov rdx, qword [rax + 0x10]
lea r15, [rsp + 0x48]
mov rcx, r15
mov r8, rbx
mov r9b, 1
call fcn.1400c8d78
mov al, byte [r15 + 9]
cmp al, 3
jne 0x1400ef8b1
mov byte [r12], 3
mov qword [rdi], 3
mov al, 3
jmp 0x1400ef9b7
cmp al, 2
jne 0x1400ef8d3
mov r15, qword [rsp + 0x48]
jmp 0x1400ef95b
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 2
jmp 0x1400ef996
mov rcx, qword [rsi + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x1400ef9f5
lea r9, [rsp + 0x30]
mov dword [r9], 0
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], r15
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x1400ef94a
mov r15d, dword [rsp + 0x30]
test r15, r15
jne 0x1400ef953
mov rbx, qword [rsi + 0x40]
mov r15, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0xd0], xmm0
mov byte [rsi + 0x70], 1
cmp rbx, 3
je 0x1400ef8a3
jmp 0x1400ef96e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r15d, eax
shl r15, 0x20
or r15, 2
lea rcx, [rsi + 0x40]
call fcn.1400ec98d
mov byte [r12], 1
mov ebx, 2
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x100], rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xf0], xmm0
mov rcx, r14
call fcn.1400ef664
mov qword [rdi], rbx
mov qword [rdi + 8], r15
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rdi + 0x10], xmm0
mov rax, qword [rsp + 0x100]
mov qword [rdi + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
add rsp, 0x108
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str._async_fn__resumed_after_completion
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_src_net_tcp_socket.rs
jmp 0x1400ef9e9
lea rcx, str._async_fn__resumed_after_completion
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_src_net_tcp_stream.rs
mov edx, 0x23
call fcn.140109930
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_srciopoll_evented.rs
mov edx, 0x2b
jmp 0x1400ef9ee