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

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rbx, rdx
mov rsi, rcx
mov al, byte [0x1401660a0]
mov ecx, 0x18
mov edx, 8
call fcn.14003e6a0
test rax, rax
je 0x1400268bc
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
mov rbx, qword [rbx + 0x10]
cmp rbx, 0xffffffffffffffff
je 0x1400268cb
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
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 + 0x2c]
mov dword [r8], 0x80
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x14002669d
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x70]
cmp ecx, 2
je 0x1400266ad
cmp ecx, 0x17
jne 0x1400266d7
cmp eax, 0x1b
jbe 0x1400268e3
movups xmm0, xmmword [rsp + 0x78]
movzx eax, word [rsp + 0x72]
rol ax, 8
mov ecx, dword [rsp + 0x74]
mov edx, dword [rsp + 0x88]
mov word [rsp + 0x30], 1
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x48], edx
mov word [rsp + 0x4c], ax
mov bp, 1
jmp 0x1400266ee
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x1400266de
cmp eax, 0xf
jbe 0x1400268fb
mov eax, dword [rsp + 0x74]
movzx ecx, word [rsp + 0x72]
rol cx, 8
mov word [rsp + 0x30], 0
mov word [rsp + 0x36], cx
mov dword [rsp + 0x32], eax
xor ebp, ebp
jmp 0x1400266ee
lea rax, str.invalid_argumentp
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], 2
mov bp, 2
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
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 + 0x2c]
mov dword [r8], 0x80
mov rcx, rbx
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140026783
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x70]
cmp ecx, 2
je 0x140026793
cmp ecx, 0x17
jne 0x1400267d7
cmp eax, 0x1b
jbe 0x1400268e3
movzx eax, word [rsp + 0x72]
rol ax, 8
movups xmm0, xmmword [rsp + 0x78]
mov ecx, dword [rsp + 0x74]
mov edx, dword [rsp + 0x88]
mov word [rsp + 0x50], 1
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x64], ecx
mov dword [rsp + 0x68], edx
mov word [rsp + 0x6c], ax
jmp 0x1400267b9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x1400267de
cmp eax, 0xf
jbe 0x1400268fb
movzx eax, word [rsp + 0x72]
rol ax, 8
mov ecx, dword [rsp + 0x74]
mov word [rsp + 0x50], 0
mov word [rsp + 0x56], ax
mov dword [rsp + 0x52], ecx
cmp bp, 2
jne 0x14002681a
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
lea rcx, [rsp + 0x38]
jmp 0x140026810
lea rax, str.invalid_argumentp
mov qword [rsp + 0x58], rax
mov word [rsp + 0x50], 2
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
cmp bp, 2
jne 0x14002680b
lea rcx, [rsp + 0x38]
call fcn.1400411a9
lea rcx, [rsp + 0x58]
call fcn.1400411a9
jmp 0x1400268ad
lea rax, [rsp + 0x50]
movups xmm0, xmmword [rax - 0x20]
movups xmm1, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
mov al, byte [0x1401660a0]
mov ecx, 0x40
mov edx, 4
call fcn.14003e6a0
test rax, rax
je 0x140026913
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmm3, xmmword [rsp + 0xa0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rsi], rax
lea rax, [0x140122a50]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov rax, rsi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x18
call fcn.1400ff140
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.1400ff770
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, [0x14014de58]
mov edx, 0x43
call fcn.1400ff770
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
lea r8, [0x14014ddf8]
mov edx, 0x42
call fcn.1400ff770
mov ecx, 4
mov edx, 0x40
call fcn.1400ff140
int3