Function at 0x1400023d0
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 - 0x110]
sub rsp, 0x210
mov rax, qword [0x14000b020]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r12, rdx
mov qword [rbp + 0x50], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov dword [rdx], r15d
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
lea ecx, [r15 + 0x50]
call fcn.140005270
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r12 + 8], rax
mov qword [r12 + 0x18], r15
mov qword [r12 + 0x20], r15
mov qword [r12 + 0x28], r15
mov qword [r12 + 0x30], 7
mov qword [r12 + 0x38], 8
mov dword [r12], 0x3f800000
mov rbx, qword [r12 + 8]
mov ecx, r15d
mov eax, r15d
sar rax, 3
cmp rax, 0x10
jae 0x140002505
mov ecx, 0x80
call fcn.140005270
mov rdi, rax
mov rcx, qword [r12 + 0x18]
mov rax, qword [r12 + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x1400024ca
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x1400024c5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400024fe
mov rcx, r8
call fcn.1400052ac
mov qword [r12 + 0x18], rdi
lea rax, [rdi + 0x80]
mov qword [r12 + 0x20], rax
mov qword [r12 + 0x28], rax
cmp rdi, rax
je 0x14000251a
nop word [rax + rax]
mov qword [rdi], rbx
add rdi, 8
cmp rdi, rax
jne 0x1400024f0
jmp 0x14000251a
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 0x14000251a
xor edi, edi
mov rax, rbx
rep stosq qword [rdi], rax
mov dword [rsp + 0x20], 1
lea rax, [0x140007c88]
mov qword [rsp + 0x50], rax
lea rax, [0x140007bf0]
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x18]
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 + 0x68]
lea rcx, [rsp + 0x50]
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 + 0x50]
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 + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
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 + 0x68], rax
mov qword [rbp - 0x30], r15
mov dword [rbp - 0x28], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov r13d, 0xf
mov qword [rbp + 0x98], r13
mov byte [rbp + 0x80], 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 0x14000261f
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.140001620
mov rcx, rax
lea rdx, [0x1400017f0]
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 0x14000268e
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 rcx, rax
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x14000268e
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.140001620
mov rcx, rax
lea rdx, [0x1400017f0]
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 0x14000299e
mov rsi, rbx
test rbx, rbx
je 0x1400029e6
nop dword [rax]
nop word [rax + rax]
mov ebx, r15d
cmp dword [rsi + 0x194], 0
jbe 0x140002759
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x48], 0x30
mov edx, 2
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov rdi, rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov eax, ebx
movzx edi, byte [rax + rsi + 0x198]
lea rdx, [0x140001cd0]
lea rcx, [rsp + 0x60]
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 edx, edi
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 0x14000274b
lea rdx, [0x1400077a8]
lea rcx, [rsp + 0x60]
call fcn.140001620
inc ebx
cmp ebx, dword [rsi + 0x194]
jb 0x1400026d0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r15
mov ebx, 0xf
mov qword [rbp + 0xb8], rbx
mov byte [rbp + 0xa0], 0
or r14d, 4
mov dword [rsp + 0x20], r14d
movups xmmword [rsp + 0x30], xmm0
mov ecx, dword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400027b7
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x1400027b7
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
jmp 0x1400027e8
test cl, 4
jne 0x1400027de
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400027de
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x1400027e8
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140002807
lea rcx, [rbp + 0xa0]
call fcn.1400042d0
mov rbx, qword [rbp + 0xb8]
mov r15, qword [rbp + 0xb0]
and r14d, 0xfffffffb
or r14d, 2
mov dword [rsp + 0x20], r14d
cmp r13, 0x10
jb 0x14000284f
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000284a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002990
call fcn.1400052ac
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x80], xmm0
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x90], xmm0
lea rcx, [rsp + 0x68]
call fcn.140004080
and dword [rbp - 0x28], 0xffffffdf
mov qword [rbp - 0x30], 0
lea rdi, [rbp + 0x80]
cmp rbx, 0x10
setae dl
cmovae rdi, qword [rbp + 0xa0]
lea rbx, [rbp + 0x80]
test dl, dl
cmovne rbx, qword [rbp + 0xa0]
add rbx, r15
cmp rdi, rbx
je 0x1400028c3
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 0x1400028b0
lea rdx, [rsi + 0x110]
lea rcx, [rbp + 0xa0]
call fcn.140003cf0
nop
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xc0]
call fcn.140003e30
nop
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x70]
mov rcx, r12
call fcn.140004760
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x14000293c
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002990
call fcn.1400052ac
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140002979
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002974
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002990
call fcn.1400052ac
mov rsi, qword [rsi]
mov r13, qword [rbp + 0x98]
test rsi, rsi
je 0x140002997
xor r15d, r15d
jmp 0x1400026c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [rsp + 0x28]
jmp 0x1400029d1
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.140001620
mov rcx, rax
mov edx, edi
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]
mov rcx, rax
lea rdx, [0x1400017f0]
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 0x1400029e6
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 r13, 0x10
jb 0x140002a25
lea rdx, [r13 + 1]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002a1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400052ac
nop
mov rax, qword [rsp + 0x50]
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 + 0x50], rax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea edi, [rdx - 0x98]
mov dword [rsp + rdx + 0x4c], edi
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
call fcn.140004080
lea rcx, [rsp + 0x68]
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 + 0x70]
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 - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r12
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140005250
lea r11, [rsp + 0x210]
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