Function at 0x14015f6c0
Capabilities:
Check os version
Get local ipv4 addresses

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403fad18]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov qword [rsp + 0x48], rcx
xor r15d, r15d
call fcn.14015c070
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x40], 0x3c00
lea rdx, str.C:_virtualbox_srcVBoxMain_src_serverwinNetIf_win.cpp
mov ecx, 0x3c00
call qword [sym.imp.BstkRT.dll_RTMemAllocTag]
mov r14, rax
test rax, rax
jne 0x14015f73c
mov eax, 0x80070008
jmp 0x14015fd17
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
lea edx, [r8 + 0x16]
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edi, eax
mov ebx, r15d
nop dword [rax]
cmp edi, 0x6f
jne 0x14015f7aa
mov rcx, r14
call qword [sym.imp.BstkRT.dll_RTMemFree]
mov ecx, dword [rsp + 0x40]
lea rdx, str.C:_virtualbox_srcVBoxMain_src_serverwinNetIf_win.cpp
call qword [sym.imp.BstkRT.dll_RTMemAllocTag]
mov r14, rax
test rax, rax
je 0x14015f732
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
lea edx, [rdi - 0x59]
xor ecx, ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov edi, eax
inc ebx
cmp ebx, 3
jl 0x14015f760
test edi, edi
je 0x14015f811
mov ecx, 0xa80010
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015f7f5
mov dword [rsp + 0x30], edi
lea rcx, str.GetAdaptersAddresses_failed__0x_x__n
mov qword [rsp + 0x28], rcx
lea rcx, str.int___cdecl_NetIfList_class_std::list_class_ComObjPtr_class_HostNetworkInterface__class_std::allocator_class_ComObjPtr_class_HostNetworkInterface_______
mov qword [rsp + 0x20], rcx
lea r9, str._Rfn:__M
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0xa8
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
test edi, edi
jg 0x14015f801
mov r15d, edi
jmp 0x14015fcdb
movzx r15d, di
or r15d, 0x80070000
jmp 0x14015fcdb
mov qword [rsp + 0x70], r15
mov ecx, 0x38
call sub.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x14015fce9
mov qword [rsp + 0x68], rax
mov qword [rax], rax
mov qword [rax + 8], rax
lea rcx, [rsp + 0x68]
call fcn.14015f0b0
mov edi, eax
test eax, eax
je 0x14015f896
mov ecx, 0xa80010
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015f88c
mov dword [rsp + 0x30], edi
lea rcx, str.netIfGetBoundAdapters_failed__0x_x__n
mov qword [rsp + 0x28], rcx
lea rcx, str.int___cdecl_NetIfList_class_std::list_class_ComObjPtr_class_HostNetworkInterface__class_std::allocator_class_ComObjPtr_class_HostNetworkInterface_______
mov qword [rsp + 0x20], rcx
lea r9, str._Rfn:__M
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0xa8
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
mov r12, qword [rsp + 0x68]
jmp 0x14015fcb1
mov rsi, r14
lea r13, str.int___cdecl_NetIfList_class_std::list_class_ComObjPtr_class_HostNetworkInterface__class_std::allocator_class_ComObjPtr_class_HostNetworkInterface_______
mov r12, qword [rsp + 0x68]
test r14, r14
je 0x14015f9c9
nop
lea rdx, str.C:_virtualbox_srcVBoxMain_src_serverwinNetIf_win.cpp
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.BstkRT.dll_RTStrDupTag]
mov rbx, rax
test rax, rax
je 0x14015f98d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
cmp byte [rbx], 0x7b
jne 0x14015f930
cmp byte [rcx + rbx - 2], 0x7d
jne 0x14015f930
mov byte [rcx + rbx - 2], al
mov rdi, qword [r12]
cmp rdi, r12
je 0x14015f975
nop dword [rax + rax]
lea rcx, [rdi + 0x20]
lea rdx, [rbx + 1]
call qword [sym.imp.BstkRT.dll_RTUuidCompareStr]
test eax, eax
je 0x14015f923
mov rdi, qword [rdi]
cmp rdi, r12
jne 0x14015f900
lea r13, str.int___cdecl_NetIfList_class_std::list_class_ComObjPtr_class_HostNetworkInterface__class_std::allocator_class_ComObjPtr_class_HostNetworkInterface_______
jmp 0x14015f975
mov qword [rdi + 0x30], rsi
lea r13, str.int___cdecl_NetIfList_class_std::list_class_ComObjPtr_class_HostNetworkInterface__class_std::allocator_class_ComObjPtr_class_HostNetworkInterface_______
jmp 0x14015f975
mov ecx, 0xa80010
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
mov rcx, rax
test rax, rax
je 0x14015f975
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x30], rax
lea rax, str.ignoring_invalid_GUID__s_n
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, str._Rfn:__M
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0xa8
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
mov rcx, rbx
call qword [sym.imp.BstkRT.dll_RTStrFree]
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x14015f8b0
jmp 0x14015f9c9
mov ecx, 0xa80010
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015f9c9
lea rcx, str.out_of_memory_n
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
lea r9, str._Rfn:__M
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0xa8
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
mov rbx, qword [r12]
cmp rbx, r12
je 0x14015fcb1
xor edx, edx
mov r8d, 0x98
lea rcx, [rbp - 0x30]
call sub.MSVCR100.dll_memset
movups xmm0, xmmword [rbx + 0x20]
movaps xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0x10], 1
mov rdi, qword [rbx + 0x30]
test rdi, rdi
je 0x14015fa6f
mov eax, r15d
cmp dword [rdi + 0x68], 1
setne al
inc eax
mov dword [rbp + 0x14], eax
mov eax, r15d
mov ecx, dword [rsp + 0x58]
cmp dword [rdi + 4], ecx
sete al
mov dword [rbp + 4], eax
mov eax, dword [rdi + 0x5c]
and eax, 4
mov dword [rbp], eax
xor edx, edx
mov r8d, 0x11c
lea rcx, [rbp + 0x70]
call sub.MSVCR100.dll_memset
mov dword [rbp + 0x70], 0x11c
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x14015fa61
cmp dword [rbp + 0x74], 6
jae 0x14015fa61
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14015c4d0
jmp 0x14015fa76
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14015c5e0
jmp 0x14015fa76
mov dword [rbp + 0x14], 2
mov qword [rsp + 0x50], r15
mov ecx, 0x150
call sub.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rsi, rax
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14015fabe
mov rcx, rax
call fcn.1400677d0
lea rax, vtable.ATL::CComObjectNoLock_class_HostNetworkInterface_.0
mov qword [rsi], rax
lea rax, vtable.ATL::CComObjectNoLock_class_HostNetworkInterface_.2.0
mov qword [rsi + 8], rax
lea rax, vtable.ATL::CComObjectNoLock_class_HostNetworkInterface_.1.0
mov qword [rsi + 0xc0], rax
jmp 0x14015fac1
mov rsi, r15
test rsi, rsi
je 0x14015fadb
lock inc dword [rsi + 0x10]
mov rcx, rsi
call fcn.1400eb7a0
lock dec dword [rsi + 0x10]
mov r12, qword [rsp + 0x68]
mov qword [rsp + 0x50], rsi
test rsi, rsi
je 0x14015faef
lea rcx, [rsi + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8d, reloc.OLEAUT32.dll_SafeArrayDestroy
lea rdx, str.sun_VBoxNetAdp
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.MSVCR100.dll__wcsnicmp]
neg eax
sbb edi, edi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14015fb2f
cmp word [rcx], 0
je 0x14015fb2f
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14015fc5a
jmp 0x14015fb34
mov qword [rsp + 0x60], r15
lea r9, [rbp - 0x30]
lea r8d, [rdi + 2]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400670f0
mov edi, eax
test eax, eax
jns 0x14015fb98
mov ecx, 0xa80010
call qword [sym.imp.BstkRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14015fc24
mov dword [rsp + 0x30], edi
lea rcx, str.HostNetworkInterface::init_______Rrc_n
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
lea r9, str._Rfn:__M
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0xa8
mov rcx, rax
call qword [sym.imp.BstkRT.dll_RTLogLoggerEx]
jmp 0x14015fc24
mov rax, qword [rsp + 0x48]
lea r9, [rsp + 0x50]
mov rdi, qword [rax]
mov rcx, rax
cmp dword [rbp + 4], 0
je 0x14015fbe2
mov rdi, qword [rdi]
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.1400fede0
mov r11, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx + 8]
movabs rax, 0x1ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x14015fc95
jmp 0x14015fc11
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.1400fede0
mov r11, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx + 8]
movabs rax, 0x1ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x14015fca3
lea rax, [rcx + 1]
mov qword [rdx + 8], rax
mov qword [rdi + 8], r11
mov rax, qword [r11 + 8]
mov qword [rax], r11
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14015fc33
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14015fc43
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
test rsi, rsi
je 0x14015fc52
lea rcx, [rsi + 8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rbx, qword [rbx]
jmp 0x14015f9cd
lea rax, str.bad_allocation
mov qword [rbp - 0x78], rax
mov r8d, 1
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCR100.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64__int____ptr64]
lea rdx, vtable.std::bad_alloc.0
mov qword [rbp - 0x70], rdx
lea rdx, [0x1403e2820]
lea rcx, [rbp - 0x70]
call sub.MSVCR100.dll__CxxThrowException
int3
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
mov rcx, qword [r12]
mov qword [r12], r12
mov qword [r12 + 8], r12
cmp rcx, r12
je 0x14015fcd3
mov rdi, qword [rcx]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, rdi
cmp rdi, r12
jne 0x14015fcc3
mov rcx, r12
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, r14
call qword [sym.imp.BstkRT.dll_RTMemFree]
mov eax, r15d
jmp 0x14015fd17
mov qword [rbp - 0x80], r15
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCR100.dll_public:_void___cdecl_std::exception::constructor_char_const__const___ptr64_const____ptr64____ptr64]
lea rdx, vtable.std::bad_alloc.0
mov qword [rbp - 0x58], rdx
lea rdx, [0x1403e2820]
lea rcx, [rbp - 0x58]
call sub.MSVCR100.dll__CxxThrowException
int3
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14015fe00
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret