Function at 0x140001ba0
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 - 0x100]
sub rsp, 0x200
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r13, rdx
mov qword [rbp - 0x70], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
mov dword [rdx], esi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
lea ecx, [rsi + 0x50]
call fcn.14001ad60
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r13 + 8], rax
lea rcx, [r13 + 0x18]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [r13 + 0x30], 7
mov qword [r13 + 0x38], 8
mov dword [r13], 0x3f800000
mov r8, qword [r13 + 8]
lea edx, [rsi + 0x10]
call fcn.140003dd0
nop
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14001d988]
mov qword [rbp - 0x10], rax
lea rax, [0x14001d8d0]
mov qword [rbp], rax
lea rcx, [rbp + 0x88]
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, [rbp + 8]
lea rcx, [rbp - 0x10]
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 [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
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 [rbp + 8], rax
mov qword [rbp + 0x70], rsi
mov dword [rbp + 0x78], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rsi
mov r15d, 0xf
mov qword [rbp - 0x20], r15
mov byte [rbp - 0x38], sil
mov dword [rbp - 0x40], 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 r12, rax
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140001d5e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400020d3
mov rdi, r12
test r12, r12
je 0x1400020ed
nop
mov ebx, esi
cmp dword [rdi + 0x194], 0
jbe 0x140001e0f
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x58], 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 rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
call r8
lea rdx, [0x140001420]
lea rcx, [rbp]
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 + rdi + 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 [rdi + 0x194]
dec eax
cmp ebx, eax
je 0x140001e05
lea rdx, [0x14001d7d0]
lea rcx, [rbp]
call fcn.140004050
inc ebx
cmp ebx, dword [rdi + 0x194]
jb 0x140001d90
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov esi, 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x50], 0
or r14d, 4
mov dword [rsp + 0x20], r14d
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rax
mov ecx, dword [rbp + 0x78]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140001e69
mov rax, qword [rbp + 0x48]
mov rbx, qword [rax]
test rbx, rbx
je 0x140001e69
mov rax, qword [rbp + 0x28]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x70]
cmovb rbx, qword [rbp + 0x70]
jmp 0x140001e8b
test cl, 4
jne 0x140001ec4
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001ec4
mov rax, qword [rbp + 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd rbx, dword [rax]
add rbx, rcx
mov rax, r9
sub rbx, r9
test rax, rax
je 0x140001ec4
lea rcx, [rsp + 0x50]
cmp rbx, rsi
ja 0x140001eb7
mov qword [rsp + 0x60], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x50], 0
jmp 0x140001ebf
mov rdx, rbx
call fcn.140004730
mov rsi, qword [rsp + 0x68]
and r14d, 0xfffffffb
or r14d, 2
mov dword [rsp + 0x20], r14d
cmp r15, 0xf
jbe 0x140001f09
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020cc
call fcn.14001ad9c
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x38], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x28], xmm1
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rdx, [0x14001d7c8]
lea rcx, [rsp + 0x28]
call fcn.1400045a0
nop
lea rcx, [rbp + 8]
call fcn.140003ca0
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rdx, qword [rsp + 0x28]
mov r9d, dword [rbp + 0x78]
mov r8, qword [rsp + 0x38]
lea rcx, [rbp + 8]
call fcn.140003f10
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140001fae
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001fa9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020cc
call fcn.14001ad9c
lea rbx, [rbp - 0x38]
cmp rsi, 0xf
seta dl
cmova rbx, qword [rsp + 0x50]
lea rcx, [rbp - 0x38]
test dl, dl
cmovne rcx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsi, rcx
cmp rbx, rsi
je 0x140001ff3
nop dword [rax + rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [rbx], al
inc rbx
cmp rbx, rsi
jne 0x140001fe0
lea rdx, [rdi + 0x110]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140002015
lea rcx, [rsp + 0x50]
call fcn.1400045a0
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.140003a10
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
mov rcx, r13
call fcn.140004260
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002082
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000207d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020cc
call fcn.14001ad9c
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400020bb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400020cc
call fcn.14001ad9c
mov rdi, qword [rdi]
mov r15, qword [rbp - 0x20]
test rdi, rdi
je 0x1400020d8
jmp 0x140001d80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r12, r12
je 0x1400020ed
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp r15, 0xf
jbe 0x140002129
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002123
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002123
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001ad9c
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rcx, qword [rbp - 0x10]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx - 0x14], r8d
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.140003ca0
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
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 + 0x88]
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 + 0xf0]
xor rcx, rsp
call fcn.14001ad40
lea r11, [rsp + 0x200]
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