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

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
mov rbx, rdx
mov rdi, rcx
mov al, byte [0x14017e190]
mov ecx, 0x18
mov edx, 8
call fcn.140004cf0
test rax, rax
je 0x140034deb
mov rsi, rax
mov eax, 1
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
mov word [rsp + 0xb8], 1
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xb0], rsi
mov rbx, qword [rbx + 0x18]
cmp rbx, 0xffffffffffffffff
je 0x140034dfc
xorps xmm0, xmm0
lea rdx, [rsp + 0xc0]
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 + 0x60]
mov dword [r8], pe_nt_image_headers64
mov rcx, rbx
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x140034b5b
mov eax, dword [rsp + 0x60]
movzx ecx, word [rsp + 0xc0]
cmp ecx, 2
je 0x140034b6a
cmp ecx, 0x17
jne 0x140034b9a
cmp eax, 0x1b
jbe 0x140034e27
movups xmm0, xmmword [rsp + 0xc8]
movzx eax, word [rsp + 0xc2]
rol ax, 8
mov ecx, dword [rsp + 0xc4]
mov edx, dword [rsp + 0xd8]
mov word [rsp + 0x40], 1
movups xmmword [rsp + 0x44], xmm0
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x58], edx
mov word [rsp + 0x5c], ax
mov bp, 1
jmp 0x140034bb1
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x140034ba1
cmp eax, 0xf
jbe 0x140034e3c
mov eax, dword [rsp + 0xc4]
movzx ecx, word [rsp + 0xc2]
rol cx, 8
mov word [rsp + 0x40], 0
mov word [rsp + 0x46], cx
mov dword [rsp + 0x42], eax
xor ebp, ebp
jmp 0x140034bb1
lea rax, str.invalid_argumenthL
mov qword [rsp + 0x48], rax
mov word [rsp + 0x40], 2
mov bp, 2
xorps xmm0, xmm0
lea rdx, [rsp + 0xc0]
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 + 0x60]
mov dword [r8], pe_nt_image_headers64
mov rcx, rbx
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x140034c41
mov eax, dword [rsp + 0x60]
movzx ecx, word [rsp + 0xc0]
cmp ecx, 2
je 0x140034c50
cmp ecx, 0x17
jne 0x140034c79
cmp eax, 0x1b
jbe 0x140034e51
movups xmm0, xmmword [rsp + 0xc8]
movzx ecx, word [rsp + 0xc2]
rol cx, 8
mov r8d, dword [rsp + 0xc4]
mov edx, dword [rsp + 0xd8]
movups xmmword [rsp + 0x2a], xmm0
mov ax, 1
jmp 0x140034c89
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x140034c80
cmp eax, 0xf
jbe 0x140034e66
movzx eax, word [rsp + 0xc2]
rol ax, 8
mov ecx, dword [rsp + 0xc4]
mov word [rsp + 0x2c], ax
mov dword [rsp + 0x28], ecx
xor eax, eax
jmp 0x140034c89
lea rax, str.invalid_argumenthL
mov qword [rsp + 0x2e], rax
mov ax, 2
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x80], ax
mov r9d, dword [rsp + 0x28]
mov dword [rsp + 0x82], r9d
movzx r9d, word [rsp + 0x2c]
mov word [rsp + 0x86], r9w
mov r9, qword [rsp + 0x2e]
mov qword [rsp + 0x88], r9
movzx r9d, word [rsp + 0x36]
mov word [rsp + 0x90], r9w
movzx r9d, word [rsp + 0x38]
mov word [rsp + 0x92], r9w
mov dword [rsp + 0x94], r8d
mov dword [rsp + 0x98], edx
mov word [rsp + 0x9c], cx
cmp word [rsp + 0x60], 2
je 0x140034dbd
cmp ax, 2
je 0x140034dbd
lea rax, [rsp + 0x80]
movaps xmm0, xmmword [rax - 0x20]
movaps xmm1, xmmword [rax - 0x10]
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xf0], xmm1
mov al, byte [0x14017e190]
mov ecx, 0x40
mov edx, 4
call fcn.140004cf0
test rax, rax
je 0x140034e16
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmm1, xmmword [rsp + 0xd0]
movaps xmm2, xmmword [rsp + 0xe0]
movaps xmm3, xmmword [rsp + 0xf0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rdi], rax
lea rax, [0x140119750]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rsi
mov rax, qword [rsp + 0xb8]
mov qword [rdi + 0x18], rax
jmp 0x140034dd4
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
lea rcx, [rsp + 0x60]
call fcn.140034ed3
nop
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x18
call fcn.1400051b0
ud2
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_io_poll_evented.rs
mov edx, 0x2b
lea rcx, str.called__Option::unwrap____on_a__None__value
call fcn.14000c3a0
jmp 0x140034e7e
mov ecx, 4
mov edx, 0x40
call fcn.1400051b0
jmp 0x140034e7e
lea r8, [0x140134c50]
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
jmp 0x140034e0f
lea r8, [0x140134bf0]
mov edx, 0x42
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
jmp 0x140034e0f
lea r8, [0x140134c50]
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
jmp 0x140034e79
lea r8, [0x140134bf0]
mov edx, 0x42
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
call fcn.14000c3a0
ud2