Function at 0x140011980
Capabilities:
Get local ipv4 addresses
Get routing table

Disassembly:
push rbx
push rbp
push rdi
push r12
push r15
sub rsp, 0x2b0
mov rbp, rcx
xor r12b, r12b
lea rcx, [rsp + 0x80]
xor edx, edx
mov r8d, 0x220
call fcn.14005f600
mov rax, rbp
lea rdx, [rsp + 0x80]
mov r8d, 4
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r8, 1
jne 0x1400119c0
movups xmm0, xmmword [rdx]
mov qword [rsp + 0x2f0], rsi
xor edi, edi
movups xmm1, xmmword [rdx + 0x10]
mov qword [rsp + 0x2a8], r13
xor r9d, r9d
movups xmmword [rax], xmm0
mov edx, 0x80
xor ecx, ecx
movups xmmword [rax + 0x10], xmm1
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x2a0], r14
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1c], 0x3e7
mov dword [rsp + 0x2e0], edi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, dword [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x140011c76
mov r8d, dword [rsp + 0x2e0]
xor edx, edx
mov rcx, rax
call fcn.14005f600
lea rax, [rsp + 0x2e0]
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x80
xor ecx, ecx
mov r13, r15
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x140011c62
nop word [rax + rax]
cmp dword [r15 + 0x68], 1
jne 0x140011c55
mov r14, qword [r15 + 0xd0]
test r14, r14
je 0x140011c55
nop dword [rax + rax]
mov rsi, qword [r14 + 0x10]
cmp word [rsi], 2
jne 0x140011c48
mov ebx, dword [rsi + 4]
lea rdx, [rsp + 0x2e8]
xor r8d, r8d
mov dword [rsp + 0x2e8], edi
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
cmp eax, 0x7a
jne 0x140011bb0
mov ecx, dword [rsp + 0x2e8]
call fcn.14002f248
xor r8d, r8d
lea rdx, [rsp + 0x2e8]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
jne 0x140011ba8
mov r9d, dword [rdi]
xor r10d, r10d
mov r8d, r10d
test r9d, r9d
je 0x140011ba8
lea rcx, [rdi + 4]
nop dword [rax]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x4c]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x30], xmm0
test ebx, ebx
jne 0x140011b8d
movq rax, xmm1
shr rax, 0x20
cmp eax, 3
cmove edx, r10d
cmp dword [rsp + 0x40], r10d
jne 0x140011b9c
cmp edx, ebx
je 0x140011ca1
inc r8d
add rcx, 0x38
cmp r8d, r9d
jb 0x140011b60
mov rcx, rdi
call fcn.14002f120
mov ebx, 0xffffffff
mov ecx, dword [rsi + 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8d, dword [r15 + 4]
lea rdx, str.get_Adapter_index:_d_gatway:_s_metric:_d
mov r9, rax
mov dword [rsp + 0x20], ebx
lea rcx, str.log.tap.log
call fcn.1400116c0
cmp ebx, 0xffffffff
je 0x140011cbc
cmp ebx, dword [rbp + 0x1c]
jae 0x140011c46
mov ecx, dword [rsi + 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rbp
sub rdx, rax
nop dword [rax]
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140011c00
mov eax, dword [r15 + 4]
lea rdx, [rbp + 0x20]
mov dword [rbp + 0x14], eax
mov eax, dword [r15 + 0x64]
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], ebx
mov rcx, qword [r15 + 0x48]
nop word [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x140011c30
mov r12b, 1
xor edi, edi
mov r14, qword [r14 + 8]
test r14, r14
jne 0x140011af0
mov r15, qword [r15 + 8]
test r15, r15
jne 0x140011ad0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, r12b
mov r14, qword [rsp + 0x2a0]
mov r13, qword [rsp + 0x2a8]
mov rsi, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r15
pop r12
pop rdi
pop rbp
pop rbx
ret
mov rcx, rdi
call fcn.14002f120
movups xmm0, xmmword [rsp + 0x30]
psrldq xmm0, 4
movd ebx, xmm0
jmp 0x140011bb5
xor r9d, r9d
lea rdx, str.Get_Metric_Error
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
jmp 0x140011c7a