Function at 0x1401ad0e0
Capabilities:
Get local ipv4 addresses

Disassembly:
push rsi
push r12
push r13
sub rsp, 0x70
mov rax, qword [0x1403a1d18]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13, rdx
mov dword [rsp + 0x34], r9d
lea rdx, str.C:_virtualbox_srcVBoxMain_src_serverwinNetIf_win.cpp
mov dword [rsp + 0x30], 0x1130
mov ecx, 0x1130
mov rsi, r8
call qword [sym.imp.BstkRT.dll_RTMemAllocTag]
mov r12, rax
test rax, rax
je 0x1401ad37d
xor r8d, r8d
lea rax, [rsp + 0x30]
mov r9, r12
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x1401ad18d
mov rcx, r12
call qword [sym.imp.BstkRT.dll_RTMemFree]
mov ecx, dword [rsp + 0x30]
lea rdx, str.C:_virtualbox_srcVBoxMain_src_serverwinNetIf_win.cpp
call qword [sym.imp.BstkRT.dll_RTMemAllocTag]
mov r12, rax
test rax, rax
je 0x1401ad37d
xor r8d, r8d
lea rax, [rsp + 0x30]
mov r9, r12
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
jne 0x1401ad370
mov qword [rsp + 0x68], rbp
mov rbp, r12
mov qword [rsp + 0x60], rdi
mov rcx, qword [rbp + 0x10]
lea rdx, str.C:_virtualbox_srcVBoxMain_src_serverwinNetIf_win.cpp
call qword [sym.imp.BstkRT.dll_RTStrDupTag]
mov rdi, rax
mov rcx, 0xffffffffffffffff
nop dword [rax]
cmp byte [rax + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1401ad1c0
cmp byte [rax], 0x7b
jne 0x1401ad1ee
cmp byte [rcx + rax - 1], 0x7d
jne 0x1401ad1ee
mov byte [rcx + rax - 1], 0
lea rdx, [rax + 1]
lea rcx, [rsi + 0x50]
call qword [sym.imp.BstkRT.dll_RTUuidCompareStr]
test eax, eax
je 0x1401ad205
mov rcx, rdi
call qword [sym.imp.BstkRT.dll_RTStrFree]
mov rbp, qword [rbp + 8]
test rbp, rbp
jne 0x1401ad1a2
jmp 0x1401ad328
mov rcx, qword [rbp + 0x18]
xor r9b, r9b
mov qword [rsp + 0x90], rbx
xor r8b, r8b
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
test rcx, rcx
je 0x1401ad26c
nop word [rax + rax]
mov rax, qword [rcx + 0x10]
movzx edx, word [rax]
cmp dx, 2
je 0x1401ad255
cmp dx, 0x17
jne 0x1401ad263
test r9b, r9b
jne 0x1401ad263
movups xmm0, xmmword [rax + 8]
mov r9b, 1
movups xmmword [rsi + 0x10], xmm0
jmp 0x1401ad263
test r8b, r8b
jne 0x1401ad263
mov eax, dword [rax + 4]
mov r8b, 1
mov dword [rsi + 8], eax
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1401ad230
mov rbx, qword [rbp + 0xb0]
xor r14b, r14b
xor r15b, r15b
test rbx, rbx
je 0x1401ad2d5
nop
mov rax, qword [rbx + 0x10]
movzx ecx, word [rax]
cmp cx, 2
je 0x1401ad2b2
cmp cx, 0x17
jne 0x1401ad2cc
test r14b, r14b
jne 0x1401ad2cc
mov ecx, dword [rbx + 0x20]
cmp ecx, 0x80
ja 0x1401ad2cc
lea rdx, [rsi + 0x20]
mov r14b, 1
call qword [sym.imp.BstkRT.dll_RTNetPrefixToMaskIPv6]
jmp 0x1401ad2cc
test r15b, r15b
jne 0x1401ad2cc
mov ecx, dword [rbx + 0x20]
cmp ecx, 0x20
ja 0x1401ad2cc
lea rdx, [rsi + 0xc]
mov r15b, 1
call qword [sym.imp.BstkRT.dll_RTNetPrefixToMaskIPv4]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1401ad280
cmp dword [rbp + 0x58], 6
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x90]
jne 0x1401ad2fb
mov eax, dword [rbp + 0x50]
mov dword [rsi + 0x3c], eax
movzx eax, word [rbp + 0x54]
mov word [rsi + 0x40], ax
mov edx, dword [rsp + 0x34]
xor eax, eax
mov dword [rsi + 0x44], 1
mov rcx, rdi
cmp dword [rbp + 0x68], 1
setne al
inc eax
mov dword [rsi + 0x48], eax
xor eax, eax
cmp dword [rbp + 4], edx
sete al
mov dword [rsi + 0x34], eax
call qword [sym.imp.BstkRT.dll_RTStrFree]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1401b4c10
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
test eax, eax
jne 0x1401ad369
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1401ad355
mov dword [rsi + 8], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0xc], eax
mov eax, dword [rsp + 0x40]
mov rcx, r12
mov dword [rsi + 0x30], eax
call qword [sym.imp.BstkRT.dll_RTMemFree]
xor eax, eax
jmp 0x1401ad382
mov dword [rsi + 0x30], 0
mov rcx, r12
call qword [sym.imp.BstkRT.dll_RTMemFree]
xor eax, eax
jmp 0x1401ad382
mov eax, 0xfffffff8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401af5e0
add rsp, 0x70
pop r13
pop r12
pop rsi
ret