Function at 0x1400930a0
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 rsi, rdx
mov r14, rcx
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x1400930de
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140093506
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140093506
mov rdi, rax
movaps xmm0, xmmword [0x140176600]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
mov rsi, qword [rsi + 8]
cmp rsi, 0xffffffffffffffff
je 0x140093517
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 + 0x2c], 0x80
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x2c]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x1400931ab
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x50]
cmp ecx, 0x17
je 0x1400931c2
cmp ecx, 2
jne 0x140093206
cmp eax, 0x10
jb 0x14009354b
movzx eax, word [rsp + 0x52]
mov ecx, dword [rsp + 0x54]
rol ax, 8
movzx r12d, ax
shl r12, 0x20
or r12, rcx
xor r15d, r15d
jmp 0x140093212
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r15w, 2
jmp 0x140093212
cmp eax, 0x1c
jb 0x140093531
movzx ecx, word [rsp + 0x52]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x48], eax
mov rbx, qword [rsp + 0x5c]
rol cx, 8
mov word [rsp + 0x32], cx
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x44], eax
mov r12d, dword [rsp + 0x58]
shl r12, 0x10
mov r15w, 1
jmp 0x140093212
mov r15w, 2
lea rbx, str.invalid_argument0
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 + 0x2c], 0x80
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x2c]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140093395
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x50]
cmp ecx, 2
je 0x1400933c6
cmp ecx, 0x17
jne 0x140093411
cmp eax, 0x1c
jb 0x140093531
movzx ebp, word [rsp + 0x52]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x3c], eax
mov rsi, qword [rsp + 0x5c]
rol bp, 8
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x38], eax
mov r13d, dword [rsp + 0x58]
shl r13, 0x10
mov cx, 1
cmp r15w, 2
je 0x1400933f4
mov dword [rsp + 0x34], ecx
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x1400932fb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140093565
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x40
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140093565
mov word [rax], r15w
mov dword [rax + 2], r12d
shr r12, 0x20
mov word [rax + 6], r12w
mov qword [rax + 8], rbx
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x48]
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], r13d
shr r13, 0x20
mov word [rax + 0x26], r13w
mov qword [rax + 0x28], rsi
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x30], ecx
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x34], ecx
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x38], ecx
mov word [rax + 0x3c], bp
mov qword [r14], rax
lea rax, method..virtual_32
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rdi
mov word [r14 + 0x18], 1
jmp 0x1400934f1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov qword [r14], 0
mov qword [r14 + 0x10], rdi
mov word [r14 + 0x18], 1
mov bpl, 1
cmp r15w, 2
je 0x140093434
jmp 0x14009348b
cmp eax, 0x10
jb 0x14009354b
movzx eax, word [rsp + 0x52]
mov ecx, dword [rsp + 0x54]
rol ax, 8
movzx r13d, ax
shl r13, 0x20
or r13, rcx
xor ecx, ecx
cmp r15w, 2
jne 0x1400932d2
xor ebp, ebp
mov qword [r14], 0
mov qword [r14 + 0x10], rdi
mov word [r14 + 0x18], 1
cmp r15w, 2
je 0x140093434
jmp 0x140093486
mov qword [r14], 0
mov qword [r14 + 0x10], rdi
mov word [r14 + 0x18], 1
mov bpl, 1
lea rsi, str.invalid_argument0
cmp r15w, 2
jne 0x14009348b
mov eax, ebx
and eax, 3
cmp eax, 1
jne 0x140093486
lea rdi, [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 0x140093474
mov r8, qword [rdi]
cmp qword [rax + 0x10], 0x11
jb 0x140093465
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
test bpl, bpl
je 0x1400934f1
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x1400934f1
lea rdi, [rsi - 1]
mov rcx, qword [rsi - 1]
mov rax, qword [rsi + 7]
call qword [rax]
mov rax, qword [rsi + 7]
cmp qword [rax + 8], 0
je 0x1400934cb
mov r8, qword [rdi]
cmp qword [rax + 0x10], 0x11
jb 0x1400934bc
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, rdi
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.14016c090
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrarycore_src_strpattern.rs
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.32.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.14016f3d0
ud2
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x1401edec0]
mov edx, 0x43
call fcn.14016f3d0
ud2
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x1401edf20]
mov edx, 0x42
call fcn.14016f3d0
ud2
mov ecx, 0x40
mov edx, 4
call fcn.14016c090
ud2