Function at 0x14002c369
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, 0xd8
mov rbx, rdx
mov rsi, rcx
mov al, byte [0x140149110]
mov edx, 0x18
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x14002c691
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
mov r14, qword [rbx + 0x10]
cmp r14, 0xffffffffffffffff
je 0x14002c6a0
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x28]
mov dword [r8], pe_nt_image_headers64
mov rcx, r14
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14002c436
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x50]
cmp ecx, 0x17
je 0x14002c44b
cmp ecx, 2
jne 0x14002c48e
cmp eax, 0xf
jbe 0x14002c6c4
mov eax, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x52]
rol cx, 8
movzx r12d, cx
shl r12, 0x20
or r12, rax
xor ebp, ebp
jmp 0x14002c499
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov bp, 2
jmp 0x14002c499
cmp eax, 0x1b
jbe 0x14002c6ac
movzx eax, word [rsp + 0x52]
rol ax, 8
mov word [rsp + 0x2e], ax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x44], eax
mov r12d, dword [rsp + 0x58]
shl r12, 0x10
mov rbx, qword [rsp + 0x5c]
mov bp, 1
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x3c], eax
jmp 0x14002c499
mov bp, 2
lea rbx, str.invalid_argument
xorps xmm0, xmm0
lea rdx, [rsp + 0x50]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x28]
mov dword [r8], pe_nt_image_headers64
mov rcx, r14
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14002c526
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x14002c54c
cmp ecx, 0x17
jne 0x14002c632
cmp eax, 0x1b
jbe 0x14002c6ac
movzx r15d, word [rsp + 0x52]
rol r15w, 8
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x68]
mov r14d, dword [rsp + 0x58]
shl r14, 0x10
mov r8, qword [rsp + 0x5c]
mov r13w, 1
mov r9d, dword [rsp + 0x64]
jmp 0x14002c570
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
jmp 0x14002c64a
cmp eax, 0xf
jbe 0x14002c6c4
mov eax, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x52]
rol cx, 8
movzx r14d, cx
shl r14, 0x20
or r14, rax
xor r13d, r13d
cmp bp, 2
je 0x14002c675
xor eax, eax
test al, al
jne 0x14002c675
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], ecx
mov al, byte [0x140149110]
mov edx, 0x40
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h1ca289f3d44bb24b
test rax, rax
je 0x14002c6dc
mov word [rax], bp
mov dword [rax + 2], r12d
shr r12, 0x20
mov word [rax + 6], r12w
mov qword [rax + 8], rbx
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x18], ecx
movzx ecx, word [rsp + 0x2e]
mov word [rax + 0x1c], cx
mov word [rax + 0x20], r13w
mov dword [rax + 0x22], r14d
shr r14, 0x20
mov word [rax + 0x26], r14w
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x28], rcx
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x30], ecx
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x34], ecx
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x38], ecx
mov word [rax + 0x3c], r15w
mov qword [rsi], rax
lea rax, [0x1400f68e8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
jmp 0x14002c660
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
lea r14, str.invalid_argument
cmp bp, 2
jne 0x14002c658
mov rcx, rbx
call sym.core::ptr::drop_in_place_std::io::error::Error_::h690b4dcfad42faf4
mov rcx, r14
call sym.core::ptr::drop_in_place_std::io::error::Error_::h690b4dcfad42faf4
nop
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
cmp bp, 2
jne 0x14002c660
mov rcx, rbx
jmp 0x14002c65b
mov ecx, 8
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.40.0_src_io_poll_evented.rs
call sym.core::option::unwrap_failed::h38ae581b954ce070
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, [0x140111b00]
mov edx, 0x3a
call sym.core::panicking::panic::h82631201f060ca88
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x140111aa8]
mov edx, 0x39
call sym.core::panicking::panic::h82631201f060ca88
mov ecx, 4
mov edx, 0x40
call sym.alloc::alloc::handle_alloc_error::h526f0ddc898dc940
int3