Function at 0x1010dae0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101429cc
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x1017b074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x288
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], 0x288
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0xb0], esi
test esi, esi
jne 0x1010dbd0
push 0x36
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0xcc]
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], al
call fcn.100ee160
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], esi
push eax
call fcn.100fcdf0
mov ecx, dword [ebp - 0xb8]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1010de66
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1010dbc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010dbc1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101402f2
add esp, 8
jmp 0x1010de66
lea eax, [ebp - 0xac]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1010dc60
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 0xac]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
mov dword [ebp - 0xb0], eax
add esp, 8
test esi, esi
jne 0x1010dc60
push 0x36
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0xcc]
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], al
call fcn.100ee160
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 1
push eax
call fcn.100fcdf0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.100ed7e0
jmp 0x1010de66
lea eax, [ebp - 0xac]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1010ddb8
push 0x98
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
call fcn.10108000
push 0x1013fc00
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 2
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
cmp dword [esi + 0x190], ecx
jbe 0x1010dd55
mov edi, dword [ebp - 0xb0]
mov edx, 0x10145df4
nop
test ecx, ecx
mov eax, 0x10145770
cmovne eax, edx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100ecc10
push 0
mov esi, eax
lea eax, [ebp - 0xc4]
push 2
push eax
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov ecx, dword [esi]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
mov eax, dword [esi]
add esp, 0x20
mov ecx, esi
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
mov eax, dword [ebp - 0xb4]
movzx eax, byte [edi + eax + 0x194]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, dword [ebp - 0xb4]
mov edx, 0x10145df4
inc ecx
mov dword [ebp - 0xb4], ecx
cmp ecx, dword [edi + 0x190]
jb 0x1010dcd0
mov edi, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xb0]
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call eax
add esp, 4
lea ecx, [ebp - 0xa8]
push edi
call fcn.100eedd0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.100ed840
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x1010de99
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.1013ff80
add esp, 8
push 0x23
push str.GetAdaptersInfo_failed_with_error:
push 0
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.100fb860
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 4
push eax
call fcn.100fcdf0
add esp, 4
lea ecx, [ebp - 0xe8]
call fcn.100ed7e0
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 0xffffffff
call fcn.100ed7e0
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call eax
add esp, 4
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
push 0
mov dword [edi + 0x14], 0xf
push 0x10145770
mov byte [edi], 0
call fcn.100ee160
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10140300
mov esp, ebp
pop ebp
ret