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

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov rbx, rdx
mov rdi, rcx
movzx eax, byte [0x1402f9139]
mov edx, 0x18
xor ecx, ecx
call fcn.1401860d0
test rax, rax
je 0x140069527
mov rsi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov byte [rax + 0x10], 0
mov word [rsp + 0x130], 1
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x128], rax
mov rbx, qword [rbx + 0x18]
cmp rbx, 0xffffffffffffffff
je 0x140069536
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x2c], pe_nt_image_headers64
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x2c]
mov rcx, rbx
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14006927a
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x90]
cmp ecx, 2
je 0x140069289
cmp ecx, 0x17
jne 0x1400692b9
cmp eax, 0x1b
jbe 0x140069555
movzx eax, word [rsp + 0x92]
rol ax, 8
mov ecx, dword [rsp + 0x94]
mov edx, dword [rsp + 0xa8]
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsp + 0x52], xmm0
mov word [rsp + 0x30], 1
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsp + 0x32], xmm0
movzx r8d, word [rsp + 0x60]
mov word [rsp + 0x42], r8w
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x48], edx
mov word [rsp + 0x4c], ax
jmp 0x1400692b5
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x1400692c0
cmp eax, 0xf
jbe 0x14006956a
mov eax, dword [rsp + 0x94]
movzx ecx, word [rsp + 0x92]
rol cx, 8
mov word [rsp + 0x30], 0
mov word [rsp + 0x36], cx
mov dword [rsp + 0x32], eax
xor ebp, ebp
jmp 0x1400692cf
lea rax, str.invalid_argument
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], 2
mov bpl, 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x50], pe_nt_image_headers64
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x50]
mov rcx, rbx
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x140069379
mov eax, dword [rsp + 0x50]
movzx ecx, word [rsp + 0x90]
cmp ecx, 0x17
je 0x14006938c
cmp ecx, 2
jne 0x1400693d2
cmp eax, 0xf
jbe 0x140069584
mov eax, dword [rsp + 0x94]
movzx ecx, word [rsp + 0x92]
rol cx, 8
movzx r9d, cx
shl r9, 0x20
or r9, rax
xor ebx, ebx
jmp 0x1400693dd
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov bx, 2
jmp 0x1400693dd
cmp eax, 0x1b
jbe 0x140069599
movzx ecx, word [rsp + 0x92]
rol cx, 8
mov r8d, dword [rsp + 0x94]
mov edx, dword [rsp + 0xa8]
mov r9d, dword [rsp + 0x98]
shl r9, 0x10
mov rax, qword [rsp + 0x9c]
mov bx, 1
mov r10d, dword [rsp + 0xa4]
jmp 0x1400693dd
mov bx, 2
lea rax, str.invalid_argument
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x70], bx
mov dword [rsp + 0x72], r9d
shr r9, 0x20
mov word [rsp + 0x76], r9w
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], r10d
mov dword [rsp + 0x84], r8d
mov dword [rsp + 0x88], edx
mov word [rsp + 0x8c], cx
movzx eax, word [rsp + 0x50]
cmp ax, 2
je 0x1400694e3
cmp bx, 2
je 0x1400694e3
lea rax, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm1
mov rbx, qword [rsp + 0x130]
movzx eax, byte [0x1402f9139]
mov edx, 0x40
xor ecx, ecx
call fcn.1401860d0
test rax, rax
je 0x140069544
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
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, [0x14023c4c0]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbx
jmp 0x14006951a
movups xmm0, xmmword [rsp + 0x118]
movups xmm1, xmmword [rsp + 0x128]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
cmp ax, 2
jne 0x14006950a
lea rcx, [rsp + 0x58]
call fcn.14005b540
cmp bx, 2
jne 0x14006951a
lea rcx, [rsp + 0x78]
call fcn.14005b540
nop
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x18
call fcn.140025820
lea rcx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.14002c4a0
jmp 0x1400695b1
mov ecx, 4
mov edx, 0x40
call fcn.140025820
jmp 0x1400695b1
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x3a
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
jmp 0x14006957d
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x39
lea rcx, [0x140271b19]
call fcn.1400293d0
jmp 0x1400695b1
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x39
lea rcx, [0x140271b19]
jmp 0x1400695ac
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x3a
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
call fcn.1400293d0
ud2