Function at 0x14005ec87
Capabilities:
Get local ipv4 addresses

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
mov rsi, rcx
lea rcx, [rsp + 0x148]
and qword [rcx], 0
call sub.IPHLPAPI.DLL_GetIfTable2
test eax, eax
jne 0x14005f588
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x10]
add rcx, rax
inc rcx
movdqa xmm0, xmmword [rax]
pmovmskb r8d, xmm0
not r8d
lea r9, [rax + 0x10]
lea rdi, [rsp + 0x80]
mov qword [rdi], r9
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rax
mov word [rdi + 0x18], r8w
mov qword [rdi + 0x20], rdx
mov rcx, rdi
call fcn.14005c32c
test rax, rax
je 0x14005ed06
mov byte [rdx + 0x6e], 0
jmp 0x14005ecf3
mov qword [rsp + 0x140], rsi
lea rcx, [0x1400968d0]
call fcn.140030c23
pxor xmm0, xmm0
lea r8, [rsp + 0x170]
and qword [r8 - 0x10], 0
movdqa xmmword [r8 - 0x20], xmm0
lea rcx, [0x140096df0]
mov qword [r8 - 8], rcx
mov qword [r8], rax
lea rax, [rsp + 0xf8]
and qword [rax], 0
mov qword [rax + 8], 8
and qword [rax + 0x10], 0
mov qword [r8 + 8], rdx
mov rsi, qword [rsp + 0x148]
lea rax, [rsi + 8]
mov qword [rsp + 0x48], rax
mov ebx, dword [rsi]
add rsi, 0x18
xor ebp, ebp
lea r13, [rsp + 0x80]
lea r15, [rsp + 0x150]
cmp rbx, rbp
je 0x14005ef8f
cmp qword [rsi + 0x498], 0
jne 0x14005eda6
cmp qword [rsi + 0x4a0], 0
je 0x14005ef80
cmp dword [rsi + 0x47c], 2
je 0x14005ef80
cmp dword [rsi + 0x410], 0
je 0x14005ef80
mov ecx, 0x14
mov edx, 2
call fcn.14005a240
mov ecx, dword [rsi]
movzx edx, byte [rsi + 4]
movzx r8d, byte [rsi + 5]
movzx r9d, byte [rsi + 6]
movzx r10d, byte [rsi + 7]
movzx r11d, byte [rsi + 8]
movzx r14d, byte [rsi + 9]
mov r12, r15
movzx r15d, byte [rsi + 0xa]
movzx edi, byte [rsi + 0xb]
mov dword [rax], ecx
mov word [rax + 4], dx
mov word [rax + 6], r8w
mov word [rax + 8], r9w
mov word [rax + 0xa], r10w
mov word [rax + 0xc], r11w
mov word [rax + 0xe], r14w
mov word [rax + 0x10], r15w
mov r15, r12
mov word [rax + 0x12], di
mov ecx, 0xa
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
lea rdi, [rsp + 0x110]
mov rcx, rdi
lea rdx, [rsp + 0x28]
call fcn.14005b50e
mov rcx, r13
mov rdx, r12
mov r8, rdi
call fcn.14005c4fc
cmp qword [rsp + 0x80], 0
lea rax, [rsp + 0x88]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x70], rax
je 0x14005eebe
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
movdqa xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x90], xmm1
movdqa xmmword [rsp + 0x80], xmm0
mov rcx, r13
xor edx, edx
call fcn.14005c39c
jmp 0x14005eeef
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
movdqa xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x90], xmm1
movdqa xmmword [rsp + 0x80], xmm0
mov rcx, r13
call fcn.14005c422
mov ecx, dword [rax]
inc ecx
jo 0x14005f59d
mov dword [rax], ecx
cmp ecx, 1
jle 0x14005ef0c
lea rcx, [rsp + 0x28]
call fcn.14005b8a5
jmp 0x14005ef80
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x88]
mov qword [rcx + 0xc], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx - 4], xmm0
mov rdx, qword [rsp + 0x108]
cmp rdx, qword [rsp + 0xf8]
jne 0x14005ef4d
lea rcx, [rsp + 0xf8]
call fcn.1400347ff
mov rdx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x100]
shl rdx, 5
mov dword [rax + rdx], ebp
movdqu xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x8c]
movdqu xmmword [rax + rdx + 4], xmm0
movups xmmword [rax + rdx + 0x10], xmm1
inc qword [rsp + 0x108]
add rsi, 0x548
inc rbp
jmp 0x14005ed85
mov rcx, qword [rsp + 0xf8]
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
shl rbx, 5
add rbx, rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rax
lea r12, [0x140097418]
lea r13, [rsp + 0x188]
lea rbp, [rsp + 0x80]
lea rdi, [rsp + 0x50]
cmp rax, rbx
je 0x14005f38c
lea rsi, [rax + 0x20]
mov qword [rsp + 0x30], rsi
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14005f38c
mov rdx, qword [rax + 8]
mov r14d, dword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x188], rdx
mov qword [rsp + 0x190], rcx
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x160], 0
je 0x14005f088
lea rcx, [rsp + 0x170]
mov rdx, r13
call fcn.14005999b
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], r15
mov rcx, r15
mov rdx, rax
mov r8, rbp
lea r9, [0x140096f38]
call fcn.14005cf8c
mov rcx, qword [rsp + 0x168]
shl rdx, 5
sub rcx, rdx
test rax, rax
cmove rcx, rax
lea rax, [rcx - 0x20]
test rcx, rcx
cmove rax, rcx
jmp 0x14005f08a
xor eax, eax
lea rcx, [rax + 0x18]
test rax, rax
cmove rcx, r12
cmp dword [rcx], 1
jg 0x14005f0f0
imul rax, r14, 0x548
mov rcx, qword [rsp + 0x48]
add rcx, rax
add rcx, 0x1c
xor eax, eax
mov r8, rax
cmp rax, 0x101
je 0x14005f0c6
lea rax, [r8 + 1]
cmp word [rcx + r8*2], 0
jne 0x14005f0af
mov edx, 0x101
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.0_srcwindows_network.rs
call fcn.140059b38
mov r8, rdx
mov rcx, rbp
mov rdx, rax
call fcn.140001b70
cmp qword [rsp + 0x88], 0
jne 0x14005f100
mov rcx, r13
call fcn.14005b8a5
mov rax, rsi
jmp 0x14005efde
mov eax, r14d
imul r14, rax, 0x548
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x1a0], xmm0
mov rcx, rbp
mov rdx, qword [rsp + 0x140]
lea r8, [rsp + 0x1a0]
call fcn.14005c444
cmp qword [rsp + 0x80], 0
lea rax, [rsp + 0x88]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x120], xmm1
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x130], rax
je 0x14005f290
mov r11, qword [rsp + 0x48]
lea rax, [r11 + r14]
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x70], rcx
movdqa xmm0, xmmword [rsp + 0x110]
movaps xmm1, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [r11 + r14 + 0x4c0]
mov rdx, qword [r11 + r14 + 0x508]
add rcx, qword [r11 + r14 + 0x4c8]
mov r8, 0xffffffffffffffff
cmovb rcx, r8
add rdx, qword [r11 + r14 + 0x510]
cmovb rdx, r8
mov rax, qword [rax]
mov r8, qword [r11 + r14 + 0x500]
mov r9, qword [r11 + r14 + 0x4b8]
mov r10, qword [r11 + r14 + 0x4d8]
mov r11, qword [r11 + r14 + 0x520]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r8
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], r9
mov qword [rsp + 0xa0], r9
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], r10
mov qword [rsp + 0xd0], r10
mov qword [rsp + 0xd8], r11
mov qword [rsp + 0xe0], r11
mov byte [rsp + 0xee], 1
lea rax, [rsp + 0xe8]
and word [rax + 4], 0
and dword [rax], 0
mov rcx, rdi
mov rdx, rbp
call fcn.14005c3d4
jmp 0x14005f0f0
movdqa xmm0, xmmword [rsp + 0x110]
movaps xmm1, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x90], xmm1
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xa0], rax
movdqa xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax - 0x68]
mov rdx, qword [rax - 0x58]
mov qword [rax - 0x60], rcx
mov r8, qword [rsp + 0x48]
mov rcx, qword [r8 + r14 + 0x500]
mov qword [rax - 0x68], rcx
mov qword [rax - 0x50], rdx
mov rcx, qword [r8 + r14 + 0x4b8]
mov qword [rax - 0x58], rcx
mov rcx, qword [rax - 0x48]
mov qword [rax - 0x40], rcx
mov rcx, qword [r8 + r14 + 0x4c0]
add rcx, qword [r8 + r14 + 0x4c8]
mov rdx, 0xffffffffffffffff
cmovb rcx, rdx
mov qword [rax - 0x48], rcx
mov rcx, qword [rax - 0x38]
mov qword [rax - 0x30], rcx
mov rcx, qword [r8 + r14 + 0x508]
add rcx, qword [r8 + r14 + 0x510]
cmovb rcx, rdx
mov qword [rax - 0x38], rcx
mov rcx, qword [rax - 0x28]
mov qword [rax - 0x20], rcx
mov rcx, qword [r8 + r14 + 0x4d8]
mov qword [rax - 0x28], rcx
mov rcx, qword [rax - 0x18]
mov qword [rax - 0x10], rcx
mov rcx, qword [r8 + r14 + 0x520]
mov qword [rax - 0x18], rcx
mov byte [rax - 2], 1
cmp qword [rsp + 0x88], 0
je 0x14005f37d
mov rcx, rbp
call fcn.1400041c4
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
jmp 0x14005f0f0
lea rcx, [rsp + 0x28]
call fcn.14005bf87
mov rcx, qword [rsp + 0x148]
call sub.IPHLPAPI.DLL_FreeMibTable
lea rcx, [rsp + 0x150]
call fcn.14005b907
mov r15, qword [rsp + 0x140]
mov rcx, r15
call fcn.14005c77b
mov dword [rsp + 0x28], 0x3c00
and dword [rsp + 0x110], 0
mov esi, 3
sub esi, 1
jb 0x14005f514
mov ecx, dword [rsp + 0x28]
call fcn.140066d30
test rax, rax
je 0x14005f4ae
mov r14, rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, r14
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [rsp + 0x110], eax
cmp eax, 0x6f
jne 0x14005f425
mov rcx, r14
call fcn.140066d38
jmp 0x14005f3d5
test eax, eax
jne 0x14005f50c
lea rdi, [rsp + 0x110]
mov qword [rdi], r14
mov qword [rdi + 8], r14
lea rsi, [rsp + 0x98]
lea rbx, [rsp + 0x80]
lea r14, [rsp + 0x50]
mov rcx, rbx
mov rdx, rdi
call fcn.140062a4a
cmp qword [rsp + 0x88], 0
je 0x14005f57b
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
movdqu xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, r15
mov rdx, r14
call fcn.14005c827
test rax, rax
je 0x14005f4a4
movzx ecx, word [rsi + 4]
mov word [rax + 0x6c], cx
mov ecx, dword [rsi]
mov dword [rax + 0x68], ecx
mov rcx, r14
call fcn.1400041c4
jmp 0x14005f451
mov ecx, 0x32
xor edx, edx
call fcn.14003443b
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], rdx
movups xmm0, xmmword [str.failed_to_allocate_memory_for_IP_ADAPTER_ADDRESSESGetAdaptersAddresses___failed_with_code]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [0x1400979e0]
movups xmmword [rdx + 0x10], xmm0
movdqu xmm0, xmmword [0x1400979f0]
movdqu xmmword [rdx + 0x20], xmm0
mov word [rdx + 0x30], 0x5345
mov qword [rsp + 0x168], 0x32
mov qword [rsp + 0x150], 1
jmp 0x14005f56c
mov rcx, r14
call fcn.140066d38
lea rax, [rsp + 0x110]
mov qword [rsp + 0x50], rax
lea rax, [0x14002f440]
lea rcx, [0x140097a30]
lea rdx, [rsp + 0x80]
mov qword [rdx + 0x10], rcx
mov rcx, rdi
mov edi, 1
mov qword [rdx + 0x18], rdi
and qword [rdx], 0
mov qword [rsp + 0x58], rax
mov qword [rdx + 0x20], rcx
mov qword [rdx + 0x28], rdi
lea rsi, [rsp + 0x158]
mov rcx, rsi
call fcn.140059d8a
mov qword [rsi - 8], rdi
lea rcx, [rsp + 0x158]
call fcn.1400041c4
jmp 0x14005f588
mov rcx, qword [rsp + 0x110]
call fcn.140066d38
nop
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.attempt_to_add_with_overflow
lea r8, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.29.0_srcwindows_network.rs
mov edx, 0x1c
call fcn.140071a80
ud2