Function at 0x1400018d0
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r13, rdx
mov qword [rbp + 0x30], rdx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov dword [rdx], r12d
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
mov ecx, 0x50
call fcn.1400055a0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r13 + 8], rax
mov qword [r13 + 0x18], r12
mov qword [r13 + 0x20], r12
mov qword [r13 + 0x28], r12
mov qword [r13 + 0x30], 7
mov qword [r13 + 0x38], 8
mov dword [r13], 0x3f800000
mov rbx, qword [r13 + 8]
mov ecx, r12d
mov eax, r12d
sar rax, 3
cmp rax, 0x10
jae 0x1400019f5
mov ecx, 0x80
call fcn.1400055a0
mov rdi, rax
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x1400019c2
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x1400019bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400019ee
mov rcx, r8
call fcn.1400055e4
mov qword [r13 + 0x18], rdi
lea rax, [rdi + 0x80]
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x28], rax
cmp rdi, rax
je 0x140001a0a
nop word [rax + rax]
mov qword [rdi], rbx
add rdi, 8
cmp rdi, rax
jne 0x1400019e0
jmp 0x140001a0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rcx, 7
shr rcx, 3
test rcx, rcx
je 0x140001a0a
xor edi, edi
mov rax, rbx
rep stosq qword [rdi], rax
mov dword [rsp + 0x20], 1
lea rax, [0x140007a50]
mov qword [rsp + 0x30], rax
lea rax, [0x1400079b8]
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 9
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x48], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov r15d, 0xf
mov qword [rbp + 0x78], r15
mov byte [rbp + 0x60], 0
mov dword [rsp + 0x24], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x2c0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140001b03
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003f60
lea rdx, [0x140004140]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140001b72
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, edi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140001b72
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003f60
lea rdx, [0x140004140]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov edi, eax
test eax, eax
jne 0x140001f18
mov rsi, rbx
test rbx, rbx
je 0x140001f60
nop word [rax + rax]
mov ebx, r12d
cmp dword [rsi + 0x194], 0
jbe 0x140001c37
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x68], 0x30
mov edx, 2
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdx, qword [rax + 8]
mov rdi, qword [rax]
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
call rdi
lea rdx, [0x140001230]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov eax, ebx
movzx edx, byte [rax + rsi + 0x198]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov eax, dword [rsi + 0x194]
dec eax
cmp ebx, eax
je 0x140001c29
lea rdx, [0x140007648]
lea rcx, [rsp + 0x40]
call fcn.140003f60
inc ebx
cmp ebx, dword [rsi + 0x194]
jb 0x140001bb0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r12
mov ebx, 0xf
mov qword [rbp + 0xb8], rbx
mov byte [rbp + 0xa0], 0
or r14d, 4
mov dword [rsp + 0x20], r14d
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
mov ecx, dword [rbp - 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140001ca1
mov rax, qword [rbp - 0x78]
mov r8, qword [rax]
test r8, r8
je 0x140001ca1
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x50]
cmovb r8, qword [rbp - 0x50]
sub r8, rdx
jmp 0x140001cd7
test cl, 4
jne 0x140001cc9
mov rax, qword [rbp - 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001cc9
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x68]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140001cd7
mov r8, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x80]
test rdx, rdx
je 0x140001cf6
lea rcx, [rbp + 0xa0]
call fcn.140003c30
mov rbx, qword [rbp + 0xb8]
mov r12, qword [rbp + 0xb0]
and r14d, 0xfffffffb
or r14d, 2
mov dword [rsp + 0x20], r14d
cmp r15, 0xf
jbe 0x140001d3b
lea rdx, [r15 + 1]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f0a
call fcn.1400055e4
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x60], xmm0
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x80], xmm1
xor r15d, r15d
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], r15b
lea rcx, [rsp + 0x48]
call fcn.140003980
mov edi, dword [rbp - 0x48]
mov eax, edi
and eax, 6
cmp al, 6
jne 0x140001d96
mov qword [rbp - 0x50], r15
or edi, 0x20
jmp 0x140001e03
mov ecx, 0x11
call fcn.1400055a0
mov rdx, rax
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rax], xmm0
mov qword [rbp - 0x50], rax
lea rcx, [rax + 0x11]
mov rax, qword [rsp + 0x68]
mov qword [rax], rdx
mov rax, qword [rbp - 0x78]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbp - 0x60]
mov dword [rax], ecx
mov rax, qword [rsp + 0x60]
test dil, 4
je 0x140001dea
mov qword [rax], rdx
mov rax, qword [rbp - 0x80]
mov qword [rax], rdx
mov rax, qword [rbp - 0x68]
mov dword [rax], r15d
jmp 0x140001e00
mov rcx, qword [rbp - 0x50]
mov qword [rax], rdx
mov rax, qword [rbp - 0x80]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbp - 0x68]
mov dword [rax], ecx
or edi, 0x21
mov dword [rbp - 0x48], edi
lea rdi, [rbp + 0x60]
cmp rbx, 0xf
cmova rdi, qword [rbp + 0xa0]
lea rbx, [rbp + 0x60]
cmova rbx, qword [rbp + 0xa0]
add rbx, r12
cmp rdi, rbx
je 0x140001e43
nop word [rax + rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rdi], al
inc rdi
cmp rdi, rbx
jne 0x140001e30
lea rdx, [rsi + 0x110]
lea rcx, [rbp + 0xa0]
call fcn.1400035c0
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xc0]
call fcn.1400036f0
nop
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x50]
mov rcx, r13
call fcn.140004180
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140001eb9
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001eb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f0a
call fcn.1400055e4
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140001ef6
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ef1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001f0a
call fcn.1400055e4
mov rsi, qword [rsi]
mov r15, qword [rbp + 0x78]
test rsi, rsi
je 0x140001f11
xor r12d, r12d
jmp 0x140001ba0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [rsp + 0x28]
jmp 0x140001f4b
lea rdx, str.GetAdaptersInfo_failed_with_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003f60
mov edx, edi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140004140]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
test rbx, rbx
je 0x140001f60
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp r15, 0xf
jbe 0x140001f9c
lea rdx, [r15 + 1]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400055e4
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea edi, [rdx - 0x98]
mov dword [rsp + rdx + 0x2c], edi
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.140003980
lea rcx, [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r13
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140005580
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret