Function at 0x140012070
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x14004d088]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor r13d, r13d
mov qword [rsp + 0x48], rcx
mov eax, 0x3a98
mov qword [rsp + 0x58], r13
mov edi, r13d
mov dword [rsp + 0x50], eax
mov r15, rcx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140012472
xor r8d, r8d
lea rax, [rsp + 0x50]
mov r9, rsi
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, eax
cmp eax, 0x6f
jne 0x140012125
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
inc edi
mov rsi, r13
cmp edi, 3
jae 0x1400123ea
mov eax, dword [rsp + 0x50]
jmp 0x1400120b8
test ebx, ebx
jne 0x1400123ea
mov qword [rsp + 0x428], r12
mov rdi, rsi
mov r12d, r13d
mov qword [rsp + 0x430], r14
or r15, 0xffffffffffffffff
nop word [rax + rax]
cmp dword [rdi + 0x68], 1
jne 0x140012293
mov eax, dword [rdi + 0x64]
cmp eax, 6
je 0x14001216b
cmp eax, 0x47
jne 0x140012293
mov rcx, qword [rdi + 0x40]
lea rdx, str.Wi_Fi_Direct_Virtual
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400121f1
mov r8, qword [rdi + 0x10]
mov r9d, r15d
mov dword [rsp + 0x28], r13d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, r15
mov rcx, rax
call fcn.140014c9c
mov r8, qword [rdi + 0x10]
mov r9d, r15d
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp word [r14], 0x7b
jne 0x1400121e4
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.1400112f0
mov edx, 2
mov rcx, r14
call fcn.140014990
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x35c
call fcn.140017980
mov eax, dword [rdi + 4]
lea rcx, [rbp - 0x80]
mov dword [rbp + 0x180], eax
call qword [sym.imp.IPHLPAPI.DLL_GetIfEntry]
mov eax, dword [rbp + 0x1a8]
cmp eax, r12d
jbe 0x140012293
mov r8, qword [rdi + 0x10]
mov r9d, r15d
mov dword [rsp + 0x28], r13d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r13
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, r15
mov rcx, rax
call fcn.140014c9c
mov r8, qword [rdi + 0x10]
mov r9d, r15d
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp word [r14], 0x7b
jne 0x140012286
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.1400112f0
mov edx, 2
mov rcx, r14
call fcn.140014990
mov rax, qword [rdi + 8]
mov rdi, rax
test rax, rax
jne 0x140012150
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x430]
mov r12, qword [rsp + 0x428]
test rsi, rsi
je 0x1400122d1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], r13d
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.140011ec0
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], r13d
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x48], r13d
mov rcx, r15
call fcn.140011ec0
test eax, eax
js 0x140012350
lea r8, [rsp + 0x48]
mov rcx, r15
lea rdx, [rsp + 0x70]
call fcn.140011ec0
test eax, eax
js 0x140012350
mov rcx, r15
call fcn.140011dd0
movsxd rax, dword [rsp + 0x40]
imul rcx, rax, 0x70
add rcx, qword [r15 + 8]
call fcn.140012790
test eax, eax
js 0x140012350
movsxd rax, dword [rsp + 0x48]
imul rcx, rax, 0x70
add rcx, qword [r15 + 8]
call fcn.140012800
test eax, eax
je 0x1400123c4
mov rcx, r15
call fcn.140011d50
test eax, eax
jne 0x1400123c4
lea r8, [rsp + 0x48]
mov dword [rsp + 0x48], r13d
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x40], r13d
mov rcx, r15
call fcn.140011ec0
test eax, eax
js 0x1400123c4
lea r8, [rsp + 0x40]
mov rcx, r15
lea rdx, [rsp + 0x70]
call fcn.140011ec0
test eax, eax
js 0x1400123c4
mov rcx, r15
call fcn.140011dd0
movsxd rax, dword [rsp + 0x48]
imul rcx, rax, 0x70
add rcx, qword [r15 + 8]
call fcn.140012790
test eax, eax
js 0x1400123c4
movsxd rax, dword [rsp + 0x40]
imul rcx, rax, 0x70
add rcx, qword [r15 + 8]
call fcn.140012800
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400142f0
mov rbx, qword [rsp + 0x438]
add rsp, 0x3f0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
mov edx, ebx
lea rcx, str.Call_to_GetAdaptersAddresses_failed_with_error:__d_n
call fcn.1400115a0
cmp ebx, 0xe8
jne 0x140012411
lea rcx, str._tNo_addresses_were_found_for_the_requested_parameters_n
call fcn.1400115a0
jmp 0x1400122b8
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r13d
mov r9d, 0x400
mov r8d, ebx
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400122b8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rsi, rsi
je 0x140012467
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, 1
call fcn.14001cb6c
int3
lea rcx, str.Memory_allocation_failed_for_IP_ADAPTER_ADDRESSES_struct_n
call fcn.1400115a0
mov ecx, 1
call fcn.14001cb6c
int3