Function at 0x14003d1e0
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 rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x14003d21e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14003d696
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14003d696
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov byte [rax + 0x10], 0
mov r14, qword [rbx + 8]
cmp r14, 0xffffffffffffffff
je 0x14003d6a7
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], 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
mov dword [rsp + 0x28], 0x80
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x28]
mov rcx, r14
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14003d2ea
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x50]
cmp ecx, 0x17
je 0x14003d300
cmp ecx, 2
jne 0x14003d343
cmp eax, 0x10
jb 0x14003d6db
mov eax, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x52]
rol cx, 8
movzx r12d, cx
shl r12, 0x20
or r12, rax
xor ebp, ebp
jmp 0x14003d34e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov bp, 2
jmp 0x14003d34e
cmp eax, 0x1c
jb 0x14003d6c1
mov rbx, qword [rsp + 0x5c]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x4c], eax
movzx eax, word [rsp + 0x52]
rol ax, 8
mov word [rsp + 0x32], ax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x44], eax
mov r12d, dword [rsp + 0x58]
shl r12, 0x10
mov bp, 1
jmp 0x14003d34e
mov bp, 2
lea rbx, str.invalid_argumentXy
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], 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
mov dword [rsp + 0x28], 0x80
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x28]
mov rcx, r14
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14003d4f2
mov eax, dword [rsp + 0x28]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x14003d536
cmp ecx, 0x17
jne 0x14003d592
cmp eax, 0x1c
jb 0x14003d6c1
mov r14, qword [rsp + 0x5c]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x40], eax
movzx r13d, word [rsp + 0x52]
rol r13w, 8
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x38], eax
mov r15d, dword [rsp + 0x58]
shl r15, 0x10
mov cx, 1
cmp bp, 2
je 0x14003d563
mov dword [rsp + 0x34], ecx
movzx eax, word [rsp + 0x30]
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x50], eax
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x14003d449
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14003d6f5
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 0x40
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14003d6f5
mov word [rax], bp
mov dword [rax + 2], r12d
shr r12, 0x20
mov word [rax + 6], r12w
mov qword [rax + 8], rbx
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x18], ecx
movzx ecx, word [rsp + 0x32]
mov word [rax + 0x1c], cx
mov ecx, dword [rsp + 0x34]
mov word [rax + 0x20], cx
mov dword [rax + 0x22], r15d
shr r15, 0x20
mov word [rax + 0x26], r15w
mov qword [rax + 0x28], r14
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x30], ecx
mov ecx, dword [rsp + 0x3c]
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, [0x14018a038]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
movzx eax, word [rsp + 0x54]
mov word [rsi + 0x1e], ax
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0x1a], eax
jmp 0x14003d681
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov eax, dword [rsp + 0x2c]
mov dword [rsi + 0x1a], eax
movzx eax, word [rsp + 0x30]
mov word [rsi + 0x1e], ax
mov r15b, 1
cmp bp, 2
je 0x14003d5c3
jmp 0x14003d61a
cmp eax, 0x10
jb 0x14003d6db
mov eax, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x52]
rol cx, 8
movzx r15d, cx
shl r15, 0x20
or r15, rax
xor ecx, ecx
cmp bp, 2
jne 0x14003d40e
xor r15d, r15d
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov eax, dword [rsp + 0x2c]
mov dword [rsi + 0x1a], eax
movzx eax, word [rsp + 0x30]
mov word [rsi + 0x1e], ax
cmp bp, 2
je 0x14003d5c3
jmp 0x14003d615
mov qword [rsi], 0
mov qword [rsi + 0x10], rdi
mov word [rsi + 0x18], 1
mov eax, dword [rsp + 0x2c]
mov dword [rsi + 0x1a], eax
movzx eax, word [rsp + 0x30]
mov word [rsi + 0x1e], ax
mov r15b, 1
lea r14, str.invalid_argumentXy
cmp bp, 2
jne 0x14003d61a
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x14003d615
lea rsi, [rbx - 1]
mov rcx, qword [rbx - 1]
mov rax, qword [rbx + 7]
call qword [rax]
mov rax, qword [rbx + 7]
cmp qword [rax + 8], 0
je 0x14003d603
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x14003d5f4
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
test r15b, r15b
je 0x14003d681
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x14003d681
lea rsi, [r14 - 1]
mov rcx, qword [r14 - 1]
mov rax, qword [r14 + 7]
call qword [rax]
mov rax, qword [r14 + 7]
cmp qword [rax + 8], 0
je 0x14003d65b
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x14003d64c
mov r8, qword [r8 - 8]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1401e4bf8]
xor edx, edx
mov r8, rsi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
nop
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.140144b00
ud2
lea rcx, [0x1401d1846]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.28.2_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140144ec0
ud2
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x1401a79e8]
mov edx, 0x43
call fcn.140144ec0
ud2
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x1401a7a48]
mov edx, 0x42
call fcn.140144ec0
ud2
mov ecx, 0x40
mov edx, 4
call fcn.140144b00
ud2