Function at 0x14009e1a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rbx, rdx
mov rsi, rcx
movzx eax, byte [0x1404a5170]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x14009e5e2
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov byte [rax + 0x10], 0
mov r14, qword [rbx + 0x10]
cmp r14, 0xffffffffffffffff
je 0x14009e5f1
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x20], pe_nt_image_headers64
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, r14
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14009e287
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x40]
cmp ecx, 0x17
je 0x14009e29c
cmp ecx, 2
jne 0x14009e2df
cmp eax, 0xf
jbe 0x14009e615
mov eax, dword [rsp + 0x44]
movzx ecx, word [rsp + 0x42]
rol cx, 8
movzx r12d, cx
shl r12, 0x20
or r12, rax
xor ebp, ebp
jmp 0x14009e2ea
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov bp, 2
jmp 0x14009e2ea
cmp eax, 0x1b
jbe 0x14009e5fd
movzx eax, word [rsp + 0x42]
rol ax, 8
mov word [rsp + 0x2a], ax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov r12d, dword [rsp + 0x48]
shl r12, 0x10
mov rbx, qword [rsp + 0x4c]
mov bp, 1
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x34], eax
jmp 0x14009e2ea
mov bp, 2
lea rbx, str.invalid_argument
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x20], pe_nt_image_headers64
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, r14
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14009e3a5
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x40]
cmp ecx, 2
je 0x14009e3d8
cmp ecx, 0x17
jne 0x14009e4cc
mov dword [rsp + 0x24], ebp
cmp eax, 0x1b
jbe 0x14009e5fd
movzx eax, word [rsp + 0x42]
rol ax, 8
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0x58]
mov r15d, dword [rsp + 0x48]
shl r15, 0x10
mov r14, qword [rsp + 0x4c]
mov bp, 1
mov r8d, dword [rsp + 0x54]
cmp bp, 2
sete r13b
cmp word [rsp + 0x24], 2
jne 0x14009e413
jmp 0x14009e4ef
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov r13b, 1
cmp bp, 2
je 0x14009e508
jmp 0x14009e563
mov dword [rsp + 0x24], ebp
cmp eax, 0xf
jbe 0x14009e615
mov eax, dword [rsp + 0x44]
movzx ecx, word [rsp + 0x42]
rol cx, 8
movzx r15d, cx
shl r15, 0x20
or r15, rax
xor ebp, ebp
cmp bp, 2
sete r13b
cmp word [rsp + 0x24], 2
je 0x14009e4ef
cmp bp, 2
je 0x14009e4ef
mov r13d, r8d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x2c], ecx
mov word [rsp + 0x28], ax
movzx eax, byte [0x1404a5170]
mov edx, 0x40
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x14009e62d
mov ecx, dword [rsp + 0x24]
mov word [rax], cx
mov dword [rax + 2], r12d
shr r12, 0x20
mov word [rax + 6], r12w
mov qword [rax + 8], rbx
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x18], ecx
movzx ecx, word [rsp + 0x2a]
mov word [rax + 0x1c], cx
mov word [rax + 0x20], bp
mov dword [rax + 0x22], r15d
shr r15, 0x20
mov word [rax + 0x26], r15w
mov qword [rax + 0x28], r14
mov dword [rax + 0x30], r13d
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x34], ecx
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x38], ecx
movzx ecx, word [rsp + 0x28]
mov word [rax + 0x3c], cx
mov qword [rsi], rax
lea rax, [0x1403c21a8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
jmp 0x14009e5cd
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov r13b, 1
lea r14, str.invalid_argument
cmp bp, 2
je 0x14009e508
jmp 0x14009e563
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
cmp word [rsp + 0x24], 2
jne 0x14009e55e
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x14009e55e
mov rsi, qword [rbx - 1]
mov rdi, qword [rbx + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14009e527
mov rcx, rsi
call rax
dec rbx
cmp qword [rdi + 8], 0
je 0x14009e54d
cmp qword [rdi + 0x10], 0x11
jb 0x14009e53c
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rsi
call fcn.14021a7bc
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rbx
call fcn.14021a7bc
test r13b, r13b
je 0x14009e5cd
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x14009e5cd
mov rsi, qword [r14 - 1]
mov rdi, qword [r14 + 7]
mov rax, qword [rdi]
test rax, rax
je 0x14009e583
mov rcx, rsi
call rax
dec r14
cmp qword [rdi + 8], 0
je 0x14009e5a9
cmp qword [rdi + 0x10], 0x11
jb 0x14009e598
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rsi
call fcn.14021a7bc
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, r14
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14021a7bc
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_srciopoll_evented.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x3a
call sym.core::panicking::panic::h8ea5606244902eff
lea rcx, [0x14044173a]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x39
call sym.core::panicking::panic::h8ea5606244902eff
mov ecx, 4
mov edx, 0x40
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3