Function at 0x1400974fd
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 ecx, 0x18
mov edx, 8
call fcn.14002c720
test rax, rax
je 0x140097813
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
mov rbx, qword [rbx + 8]
cmp rbx, 0xffffffffffffffff
je 0x140097824
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], 0x80
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x1400975c8
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x50]
cmp ecx, 0x17
je 0x1400975df
cmp ecx, 2
jne 0x140097622
cmp eax, 0x10
jb 0x14009784e
movzx eax, word [rsp + 0x52]
mov ecx, dword [rsp + 0x54]
rol ax, 8
movzx r12d, ax
shl r12, 0x20
or r12, rcx
xor ebp, ebp
jmp 0x14009762d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov bp, 2
jmp 0x14009762d
cmp eax, 0x1c
jb 0x140097839
movzx eax, word [rsp + 0x52]
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x44], ecx
rol ax, 8
mov word [rsp + 0x2e], ax
mov r12d, dword [rsp + 0x58]
shl r12, 0x10
mov r14, qword [rsp + 0x5c]
mov bp, 1
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x3c], eax
jmp 0x14009762d
mov bp, 2
lea r14, 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], 0x80
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1400976ba
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x1400976dd
cmp ecx, 0x17
jne 0x140097722
cmp eax, 0x1c
jb 0x140097839
movzx r13d, word [rsp + 0x52]
mov ecx, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x68]
rol r13w, 8
mov ebx, dword [rsp + 0x58]
shl rbx, 0x10
mov rax, qword [rsp + 0x5c]
mov r15w, 1
mov edx, dword [rsp + 0x64]
jmp 0x140097700
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
jmp 0x14009773a
cmp eax, 0x10
jb 0x14009784e
movzx eax, word [rsp + 0x52]
mov ecx, dword [rsp + 0x54]
rol ax, 8
movzx ebx, ax
shl rbx, 0x20
or rbx, rcx
xor r15d, r15d
cmp bp, 2
jne 0x140097755
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
jne 0x1400977fc
mov rcx, r14
jmp 0x14009774b
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
lea rbx, str.invalid_argument
cmp bp, 2
jne 0x140097748
mov rcx, r14
call fcn.1400971ca
mov rcx, rbx
call fcn.1400971ca
jmp 0x1400977fc
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x38], r8d
mov ecx, 0x40
mov edx, 4
call fcn.14002c720
test rax, rax
je 0x140097868
mov word [rax], bp
mov dword [rax + 2], r12d
shr r12, 0x20
mov word [rax + 6], r12w
mov qword [rax + 8], r14
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], r15w
mov dword [rax + 0x22], ebx
shr rbx, 0x20
mov word [rax + 0x26], bx
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x28], rcx
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x30], ecx
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x34], ecx
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x38], ecx
mov word [rax + 0x3c], r13w
mov qword [rsi], rax
lea rax, [0x14042ca20]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x18
mov edx, 8
call fcn.1403af440
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.34.0_srciopoll_evented.rs
mov edx, 0x2b
jmp 0x140097861
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x1404c2d58]
mov edx, 0x43
jmp 0x140097861
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, str.3_L_
mov edx, 0x42
call fcn.1403af950
ud2
mov ecx, 0x40
mov edx, 4
jmp 0x14009781d