Function at 0x14005e6f0
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, 0xc8
cmp rdx, 0xffffffffffffffff
je 0x14005eacc
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x24], pe_nt_image_headers64
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x24]
mov rcx, rbx
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14005e7a1
mov eax, dword [rsp + 0x24]
movzx ecx, word [rsp + 0x40]
cmp ecx, 0x17
je 0x14005e7b6
cmp ecx, 2
jne 0x14005e7f9
cmp eax, 0xf
jbe 0x14005eaf0
mov eax, dword [rsp + 0x44]
movzx ecx, word [rsp + 0x42]
rol cx, 8
movzx r13d, cx
shl r13, 0x20
or r13, rax
xor ebp, ebp
jmp 0x14005e804
call sub.ws2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov bp, 2
jmp 0x14005e804
cmp eax, 0x1b
jbe 0x14005ead8
movzx eax, word [rsp + 0x42]
rol ax, 8
mov word [rsp + 0x2a], ax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov r13d, dword [rsp + 0x48]
shl r13, 0x10
mov rdi, qword [rsp + 0x4c]
mov bp, 1
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x34], eax
jmp 0x14005e804
mov bp, 2
lea rdi, str.invalid_argumentp
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x24], pe_nt_image_headers64
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x24]
mov rcx, rbx
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14005e8b7
mov eax, dword [rsp + 0x24]
movzx ecx, word [rsp + 0x40]
cmp ecx, 2
je 0x14005e8e5
cmp ecx, 0x17
jne 0x14005e9cf
cmp eax, 0x1b
jbe 0x14005ead8
movzx eax, word [rsp + 0x42]
rol ax, 8
mov ecx, dword [rsp + 0x44]
mov edx, dword [rsp + 0x58]
mov r15d, dword [rsp + 0x48]
shl r15, 0x10
mov rbx, qword [rsp + 0x4c]
mov r14w, 1
mov r8d, dword [rsp + 0x54]
cmp r14w, 2
sete r12b
cmp bp, 2
jne 0x14005e91c
jmp 0x14005e9ee
call sub.ws2_32.dll_WSAGetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov qword [rsi], 0
mov word [rsi + 0x10], 1
mov r12b, 1
cmp bp, 2
je 0x14005ea01
jmp 0x14005ea55
cmp eax, 0xf
jbe 0x14005eaf0
mov eax, dword [rsp + 0x44]
movzx ecx, word [rsp + 0x42]
rol cx, 8
movzx r15d, cx
shl r15, 0x20
or r15, rax
xor r14d, r14d
cmp r14w, 2
sete r12b
cmp bp, 2
je 0x14005e9ee
cmp r14w, 2
je 0x14005e9ee
mov r12d, r8d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x2c], ecx
mov word [rsp + 0x28], ax
movzx eax, byte [0x1402792e0]
mov edx, 0x40
xor ecx, ecx
call fcn.1401685e0
test rax, rax
je 0x14005eb08
mov word [rax], bp
mov dword [rax + 2], r13d
shr r13, 0x20
mov word [rax + 6], r13w
mov qword [rax + 8], rdi
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x18], ecx
movzx ecx, word [rsp + 0x2a]
mov word [rax + 0x1c], cx
mov word [rax + 0x20], r14w
mov dword [rax + 0x22], r15d
shr r15, 0x20
mov word [rax + 0x26], r15w
mov qword [rax + 0x28], rbx
mov dword [rax + 0x30], r12d
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x34], ecx
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x38], ecx
movzx ecx, word [rsp + 0x28]
mov word [rax + 0x3c], cx
mov qword [rsi], rax
lea rax, [0x1401e1e98]
mov qword [rsi + 8], rax
mov word [rsi + 0x10], 1
jmp 0x14005eab7
mov qword [rsi], 0
mov word [rsi + 0x10], 1
mov r12b, 1
lea rbx, str.invalid_argumentp
cmp bp, 2
je 0x14005ea01
jmp 0x14005ea55
mov qword [rsi], 0
mov word [rsi + 0x10], 1
cmp bp, 2
jne 0x14005ea50
mov eax, edi
and eax, 3
cmp eax, 1
jne 0x14005ea50
lea rsi, [rdi - 1]
mov r14, qword [rdi - 1]
mov rdi, qword [rdi + 7]
mov rcx, r14
call qword [rdi]
cmp qword [rdi + 8], 0
je 0x14005ea3f
cmp qword [rdi + 0x10], 0x11
jb 0x14005ea2e
mov r14, qword [r14 - 8]
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, r14
call fcn.1401abdbc
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, rsi
call fcn.1401abdbc
test r12b, r12b
je 0x14005eab7
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x14005eab7
lea rsi, [rbx - 1]
mov rdi, qword [rbx - 1]
mov rbx, qword [rbx + 7]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x14005ea93
cmp qword [rbx + 0x10], 0x11
jb 0x14005ea82
mov rdi, qword [rdi - 8]
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, rdi
call fcn.1401abdbc
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, rsi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401abdbc
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str._home_dreamingcodes_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.38.0_src_io_poll_evented.rs
call fcn.140049c70
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x3a
call fcn.140046f60
lea rcx, [0x14020ccc1]
lea r8, str.library_std_src_sys_common_net.rsassertion_failed:_len___mem::size_of::_c::sockaddr_in___
mov edx, 0x39
call fcn.140046f60
mov ecx, 4
mov edx, 0x40
call fcn.140041910
int3