Function at 0x140066f26
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.1400235d0
test rax, rax
je 0x140067233
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov byte [rdi + 0x10], 0
cmp rbx, 0xffffffffffffffff
je 0x140067244
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 sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x140066fec
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x50]
cmp ecx, 0x17
je 0x140067003
cmp ecx, 2
jne 0x140067046
cmp eax, 0x10
jb 0x14006726e
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 0x140067051
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov bp, 2
jmp 0x140067051
cmp eax, 0x1c
jb 0x140067259
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 0x140067051
mov bp, 2
lea r14, str.invalid_argument_v7_
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 sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1400670dd
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x140067100
cmp ecx, 0x17
jne 0x140067145
cmp eax, 0x1c
jb 0x140067259
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 0x140067123
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 0x14006715d
cmp eax, 0x10
jb 0x14006726e
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 0x140067178
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
jne 0x14006721f
mov rcx, r14
jmp 0x14006716e
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
lea rbx, str.invalid_argument_v7_
cmp bp, 2
jne 0x14006716b
mov rcx, r14
call fcn.1400e08bb
mov rcx, rbx
call fcn.1400e08bb
jmp 0x14006721f
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.1400235d0
test rax, rax
je 0x140067288
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, [0x1402f9ce8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
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.1402a5fb0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.26.0_srciopoll_evented.rs
mov edx, 0x2b
jmp 0x140067281
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x1403776f0]
mov edx, 0x43
jmp 0x140067281
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x140377750]
mov edx, 0x42
call fcn.1402a6560
ud2
mov ecx, 0x40
mov edx, 4
jmp 0x14006723d