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

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd8], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
movzx eax, byte [0x14034f150]
mov edx, 0x18
xor ecx, ecx
call fcn.1401fcae0
test rax, rax
je 0x14008bca6
mov rbx, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov byte [rax + 0x10], 0
mov word [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x50], rax
mov rdi, qword [rdi + 0x18]
cmp rdi, 0xffffffffffffffff
je 0x14008bcb5
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
mov dword [rbp + 0xbc], 0x80
lea rdx, [rbp - 0x40]
lea r8, [rbp + 0xbc]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x14008b938
mov eax, dword [rbp + 0xbc]
movzx ecx, word [rbp - 0x40]
cmp ecx, 0x17
je 0x14008b948
cmp ecx, 2
jne 0x14008b9a2
cmp eax, 0xf
jbe 0x14008bcde
mov eax, dword [rbp - 0x3c]
movzx ecx, word [rbp - 0x3e]
rol cx, 8
mov word [rbp + 0x98], 0
mov word [rbp + 0x9e], cx
mov dword [rbp + 0x9a], eax
xor r14d, r14d
jmp 0x14008b9be
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14008b9a9
cmp eax, 0x1b
jbe 0x14008bcf8
movzx eax, word [rbp - 0x3e]
rol ax, 8
mov ecx, dword [rbp - 0x3c]
mov edx, dword [rbp - 0x28]
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp + 0x52], xmm0
mov word [rbp + 0x98], 1
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x9a], xmm0
movzx r8d, word [rbp + 0x60]
mov word [rbp + 0xaa], r8w
mov dword [rbp + 0xac], ecx
mov dword [rbp + 0xb0], edx
mov word [rbp + 0xb4], ax
mov r14w, 1
jmp 0x14008b9be
lea rax, str.invalid_argument__
mov qword [rbp + 0xa0], rax
mov word [rbp + 0x98], 2
mov r14w, 2
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
mov dword [rbp + 0x50], 0x80
lea rdx, [rbp - 0x40]
lea r8, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x14008ba32
mov eax, dword [rbp + 0x50]
movzx ecx, word [rbp - 0x40]
cmp ecx, 0x17
je 0x14008ba46
cmp ecx, 2
jne 0x14008ba74
cmp eax, 0xf
jbe 0x14008bd12
mov eax, dword [rbp - 0x3c]
movzx ecx, word [rbp - 0x3e]
rol cx, 8
movzx r9d, cx
shl r9, 0x20
or r9, rax
xor edi, edi
jmp 0x14008ba7f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov di, 2
jmp 0x14008ba7f
cmp eax, 0x1b
jbe 0x14008bd33
movzx ecx, word [rbp - 0x3e]
rol cx, 8
mov r8d, dword [rbp - 0x3c]
mov edx, dword [rbp - 0x28]
mov r9d, dword [rbp - 0x38]
shl r9, 0x10
mov rax, qword [rbp - 0x34]
mov di, 1
mov r10d, dword [rbp - 0x2c]
jmp 0x14008ba7f
mov di, 2
lea rax, str.invalid_argument__
movups xmm0, xmmword [rbp + 0x98]
movups xmm1, xmmword [rbp + 0xa8]
movaps xmmword [rbp + 0x60], xmm1
movaps xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x70], di
mov dword [rbp + 0x72], r9d
shr r9, 0x20
mov word [rbp + 0x76], r9w
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], r10d
mov dword [rbp + 0x84], r8d
mov dword [rbp + 0x88], edx
mov word [rbp + 0x8c], cx
movzx eax, word [rbp + 0x50]
cmp ax, 2
sete cl
cmp di, 2
sete dl
or dl, cl
je 0x14008bc24
movups xmm0, xmmword [rbp - 0x60]
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp ax, 2
jne 0x14008bb83
mov rax, qword [rbp + 0x58]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x14008bb83
mov dword [rbp + 0xc0], edi
lea rcx, [rax - 1]
mov qword [rbp + 0x48], rcx
mov rcx, qword [rax - 1]
mov qword [rbp + 0xd0], rcx
mov rax, qword [rax + 7]
mov qword [rbp + 0xc8], rax
mov rax, qword [rax]
test rax, rax
je 0x14008bb3b
mov rcx, qword [rbp + 0xd0]
call rax
mov r8, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xc8]
cmp qword [rax + 8], 0
mov edi, dword [rbp + 0xc0]
je 0x14008bb70
cmp qword [rax + 0x10], 0x11
jb 0x14008bb61
mov r8, qword [r8 - 8]
mov rcx, qword [0x14034f0b8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14034f0b8]
xor edx, edx
mov r8, qword [rbp + 0x48]
call qword [sym.imp.kernel32.dll_HeapFree]
cmp di, 2
jne 0x14008bc98
mov rax, qword [rbp + 0x78]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x14008bc98
lea rcx, [rax - 1]
mov qword [rbp + 0xc0], rcx
mov rcx, qword [rax - 1]
mov qword [rbp + 0xd0], rcx
mov rax, qword [rax + 7]
mov qword [rbp + 0xc8], rax
mov rax, qword [rax]
test rax, rax
je 0x14008bbd1
mov rcx, qword [rbp + 0xd0]
call rax
mov r8, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xc8]
cmp qword [rax + 8], 0
je 0x14008bc00
cmp qword [rax + 0x10], 0x11
jb 0x14008bbf1
mov r8, qword [r8 - 8]
mov rcx, qword [0x14034f0b8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14034f0b8]
xor edx, edx
mov r8, qword [rbp + 0xc0]
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp qword [sym.imp.kernel32.dll_HeapFree]
lea rax, [rbp + 0x70]
movaps xmm0, xmmword [rbp + 0x50]
movaps xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm1
mov rdi, qword [rbp - 0x48]
movzx eax, byte [0x14034f150]
mov edx, 0x40
xor ecx, ecx
call fcn.1401fcae0
test rax, rax
je 0x14008bcc6
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movaps xmm2, xmmword [rbp - 0x20]
movaps xmm3, xmmword [rbp - 0x10]
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, [0x1402a95d8]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], rdi
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 8
mov edx, 0x18
call fcn.14025b400
lea rcx, str.C:UsersAdmin_scooppersist_rustup.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.41.1_srciopoll_evented.rs
call fcn.14025bec0
jmp 0x14008bd52
mov qword [rbp + 0xd0], rbx
mov ecx, 4
mov edx, 0x40
call fcn.14025b400
jmp 0x14008bd52
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___std_src_sys_common_net.rs
lea r8, [0x1402d9c60]
mov edx, 0x39
call fcn.14025bae0
jmp 0x14008bd52
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1402d9cb8]
mov edx, 0x3a
call fcn.14025bae0
jmp 0x14008bd52
mov dword [rbp + 0xd0], r14d
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___std_src_sys_common_net.rs
lea r8, [0x1402d9c60]
mov edx, 0x39
call fcn.14025bae0
jmp 0x14008bd52
mov dword [rbp + 0xd0], r14d
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, [0x1402d9cb8]
mov edx, 0x3a
call fcn.14025bae0
ud2