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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x110
cmp rdx, 0xffffffffffffffff
je 0x14019a340
mov rdi, rdx
mov rsi, rcx
pxor xmm0, xmm0
lea rdx, [rsp + 0x50]
movdqa xmmword [rdx + 0x70], xmm0
movdqa xmmword [rdx + 0x60], xmm0
movdqa xmmword [rdx + 0x50], xmm0
movdqa xmmword [rdx + 0x40], xmm0
movdqa xmmword [rdx + 0x30], xmm0
movdqa xmmword [rdx + 0x20], xmm0
movdqa xmmword [rdx + 0x10], xmm0
movdqa xmmword [rdx], xmm0
lea r8, [rsp + 0x20]
mov dword [r8], pe_nt_image_headers64
mov rcx, rdi
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14019a0e2
mov eax, dword [rsp + 0x20]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x14019a0f3
cmp ecx, 0x17
jne 0x14019a116
cmp eax, 0x1b
jbe 0x14019a35d
movdqu xmm0, xmmword [rsp + 0x58]
movzx r14d, word [rsp + 0x52]
rol r14w, 8
mov r12d, dword [rsp + 0x54]
mov r15d, dword [rsp + 0x68]
movdqu xmmword [rsp + 0x3a], xmm0
movq rax, xmm0
pshufd xmm0, xmm0, 0xee
movq rbx, xmm0
shld rbx, rax, 0x20
mov bp, 1
jmp 0x14019a126
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x14019a11d
cmp eax, 0xf
jbe 0x14019a375
movzx eax, word [rsp + 0x52]
rol ax, 8
mov ecx, dword [rsp + 0x54]
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x38], ecx
xor ebp, ebp
jmp 0x14019a126
lea rbx, str.invalid_argument__
mov qword [rsp + 0x3e], rbx
mov bp, 2
pxor xmm0, xmm0
lea rdx, [rsp + 0x50]
movdqa xmmword [rdx + 0x70], xmm0
movdqa xmmword [rdx + 0x60], xmm0
movdqa xmmword [rdx + 0x50], xmm0
movdqa xmmword [rdx + 0x40], xmm0
movdqa xmmword [rdx + 0x30], xmm0
movdqa xmmword [rdx + 0x20], xmm0
movdqa xmmword [rdx + 0x10], xmm0
movdqa xmmword [rdx], xmm0
lea r8, [rsp + 0x34]
mov dword [r8], pe_nt_image_headers64
mov rcx, rdi
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14019a1af
mov eax, dword [rsp + 0x34]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x14019a1be
cmp ecx, 0x17
jne 0x14019a1e1
cmp eax, 0x1b
jbe 0x14019a38d
movdqu xmm0, xmmword [rsp + 0x58]
movzx ecx, word [rsp + 0x52]
rol cx, 8
mov r8d, dword [rsp + 0x54]
mov edx, dword [rsp + 0x68]
movdqu xmmword [rsp + 0x22], xmm0
mov ax, 1
jmp 0x14019a1f1
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x14019a1e8
cmp eax, 0xf
jbe 0x14019a3a2
movzx eax, word [rsp + 0x52]
rol ax, 8
mov ecx, dword [rsp + 0x54]
mov word [rsp + 0x24], ax
mov dword [rsp + 0x20], ecx
xor eax, eax
jmp 0x14019a1f1
lea rax, str.invalid_argument__
mov qword [rsp + 0x26], rax
mov ax, 2
mov word [rsp + 0x50], bp
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x52], xmm0
movzx r9d, word [rsp + 0x48]
mov word [rsp + 0x62], r9w
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x68], r15d
mov word [rsp + 0x6c], r14w
mov word [rsp + 0x70], ax
mov r9d, dword [rsp + 0x20]
mov dword [rsp + 0x72], r9d
movzx r9d, word [rsp + 0x24]
mov word [rsp + 0x76], r9w
mov r9, qword [rsp + 0x26]
mov qword [rsp + 0x78], r9
movzx r9d, word [rsp + 0x2e]
mov word [rsp + 0x80], r9w
movzx r9d, word [rsp + 0x30]
mov word [rsp + 0x82], r9w
mov dword [rsp + 0x84], r8d
mov dword [rsp + 0x88], edx
mov word [rsp + 0x8c], cx
cmp bp, 2
je 0x14019a316
cmp ax, 2
je 0x14019a316
lea rax, [rsp + 0x70]
movups xmm0, xmmword [rax - 0x20]
movups xmm1, xmmword [rax - 0x10]
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xd0], xmm0
movdqu xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movdqa xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0x100], xmm1
mov al, byte [0x140373e88]
mov edx, 0x40
xor ecx, ecx
call fcn.140231a60
test rax, rax
je 0x14019a34c
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmm2, xmmword [rsp + 0xf0]
movaps xmm3, xmmword [rsp + 0x100]
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, [0x1402d9160]
mov qword [rsi + 8], rax
jmp 0x14019a31d
mov qword [rsi], 0
mov word [rsi + 0x10], 1
lea rcx, [rsp + 0x50]
call fcn.14019a3ea
nop
add rsp, 0x110
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.C:Usersdelph.cargo_registry_srcmirrors.tuna.tsinghua.edu.cn_2eab394af869c8a2_tokio_1.38.0_srciopoll_evented.rs
call fcn.140163aa0
mov ecx, 4
mov edx, 0x40
call fcn.1401562d0
jmp 0x14019a3ba
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x43
call fcn.14015d2f0
lea rcx, [0x1402f8919]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x42
call fcn.14015d2f0
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x43
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___
jmp 0x14019a3b5
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
mov edx, 0x42
lea rcx, [0x1402f8919]
call fcn.14015d2f0
ud2