Function at 0x7ff738e01680
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 - 0x120]
sub rsp, 0x220
mov rax, qword [0x7ff738e30008]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r15, rdx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
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], r12d
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
lea ecx, [r12 + 0x50]
call fcn.7ff738e21b50
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15 + 8], rax
lea rcx, [r15 + 0x18]
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov qword [r15 + 0x30], 7
mov qword [r15 + 0x38], 8
mov dword [r15], 0x3f800000
mov r8, qword [r15 + 8]
lea edx, [r12 + 0x10]
call fcn.7ff738e03790
nop
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x7ff738e25e50]
mov qword [rbp + 0x10], rax
lea rax, [0x7ff738e25db8]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0xa8]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 3
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [rbp + 0x28]
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, [0x7ff738e25e48]
mov qword [rbp + rcx + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x28]
call qword [sym.imp.msvcp140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, [0x7ff738e25dc8]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x90], r12
mov dword [rbp + 0x98], r12d
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
mov esi, 0xf
mov qword [rbp], rsi
mov byte [rbp - 0x18], r12b
mov dword [rbp - 0x20], 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 r13, rax
test rax, rax
jne 0x7ff738e01833
lea rdx, [0x7ff738e25af0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff738e038e0
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp - 0x20]
mov rcx, r13
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x7ff738e0189b
call qword [sym.imp.kernel32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r13
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [rbp - 0x20]
call qword [sym.imp.kernel32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r13, rax
test rax, rax
jne 0x7ff738e0189b
lea rdx, [0x7ff738e25b50]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff738e038e0
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp - 0x20]
mov rcx, r13
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, eax
test eax, eax
jne 0x7ff738e01c73
mov rdi, r13
test r13, r13
je 0x7ff738e01cbb
nop
mov ebx, r12d
cmp dword [rdi + 0x194], 0
jbe 0x7ff738e0194f
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x78], 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 r8, qword [rax]
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
call r8
lea rdx, [0x7ff738e01260]
lea rcx, [rbp + 0x20]
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_ios_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ios_char__struct_std::char_traits_char______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 0x7ff738e01945
lea rdx, [0x7ff738e25aec]
lea rcx, [rbp + 0x20]
call fcn.7ff738e038e0
inc ebx
cmp ebx, dword [rdi + 0x194]
jb 0x7ff738e018d0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x38], r12
mov r15d, 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x28], 0
or r14d, 8
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov ecx, dword [rbp + 0x98]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x7ff738e019ae
mov rax, qword [rbp + 0x68]
mov r8, qword [rax]
test r8, r8
je 0x7ff738e019ae
mov rax, qword [rbp + 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x90]
cmovb r8, qword [rbp + 0x90]
sub r8, rdx
jmp 0x7ff738e019dd
test cl, 4
jne 0x7ff738e019d5
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x7ff738e019d5
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x78]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x7ff738e019dd
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x7ff738e019f6
lea rcx, [rsp + 0x28]
call fcn.7ff738e035b0
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
and r14d, 0xfffffff7
or r14d, 4
mov dword [rsp + 0x20], r14d
cmp rsi, 0x10
jb 0x7ff738e01a3b
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e01a36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff738e01c6c
call fcn.7ff738e21b94
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp - 8], xmm1
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], sil
xor r8d, r8d
lea rdx, [0x7ff738e25ae8]
lea rcx, [rsp + 0x50]
call fcn.7ff738e035b0
nop
lea rcx, [rbp + 0x28]
call fcn.7ff738e03500
mov ebx, dword [rbp + 0x98]
or ebx, 0x20
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jb 0x7ff738e01aa3
mov r8, qword [rsp + 0x50]
inc rcx
jmp 0x7ff738e01abd
mov ecx, 0x11
call fcn.7ff738e21b50
mov r8, rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax], xmm0
mov ecx, 0x11
test rcx, rcx
je 0x7ff738e01b3b
mov eax, ebx
and eax, 6
cmp al, 6
je 0x7ff738e01b3b
mov rdx, qword [rsp + 0x60]
add rdx, r8
mov qword [rbp + 0x90], rdx
add rcx, r8
test bl, 0x18
cmove rdx, r8
mov rax, qword [rbp + 0x48]
mov qword [rax], r8
mov rax, qword [rbp + 0x68]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbp + 0x80]
mov dword [rax], ecx
mov rax, qword [rbp + 0x40]
test bl, 4
je 0x7ff738e01b1c
mov qword [rax], r8
mov rax, qword [rbp + 0x60]
mov qword [rax], rsi
mov rax, qword [rbp + 0x78]
mov dword [rax], r8d
or ebx, 1
jmp 0x7ff738e01b42
mov rcx, qword [rbp + 0x90]
mov qword [rax], r8
mov rax, qword [rbp + 0x60]
mov qword [rax], r8
sub ecx, r8d
mov rax, qword [rbp + 0x78]
mov dword [rax], ecx
or ebx, 1
jmp 0x7ff738e01b42
mov qword [rbp + 0x90], rsi
mov dword [rbp + 0x98], ebx
lea rbx, [rbp - 0x18]
cmp r15, 0x10
jb 0x7ff738e01b5c
mov rbx, qword [rsp + 0x28]
mov rax, rbx
jmp 0x7ff738e01b60
lea rax, [rbp - 0x18]
mov rcx, rbx
lea rsi, [rax + r12]
cmp rbx, rsi
je 0x7ff738e01b83
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.ucrtbase.dll_toupper]
mov byte [rbx], al
inc rbx
cmp rbx, rsi
jne 0x7ff738e01b70
lea rdx, [rdi + 0x110]
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r12b
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x7ff738e01bb0
lea rcx, [rsp + 0x50]
call fcn.7ff738e035b0
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x70]
call fcn.7ff738e032c0
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x30]
mov r15, qword [rbp - 0x70]
mov rcx, r15
call fcn.7ff738e03d90
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x7ff738e01c22
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e01c1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff738e01c6c
call fcn.7ff738e21b94
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x7ff738e01c5b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e01c56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff738e01c6c
call fcn.7ff738e21b94
mov rdi, qword [rdi]
mov rsi, qword [rbp]
test rdi, rdi
je 0x7ff738e01ca6
jmp 0x7ff738e018c0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [0x7ff738e25b28]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff738e038e0
mov edx, ebx
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_int____ptr64]
lea rdx, [0x7ff738e03ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
test r13, r13
je 0x7ff738e01cbb
call qword [sym.imp.kernel32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r13
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
cmp rsi, 0x10
jb 0x7ff738e01cf7
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff738e01cf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff738e01cf1
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff738e21b94
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [0x7ff738e25e48]
mov qword [rbp + rcx + 0x10], rax
mov rcx, qword [rbp + 0x10]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx + 0xc], r8d
lea rax, [0x7ff738e25dc8]
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.7ff738e03500
lea rcx, [rbp + 0x28]
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 + 0x30]
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 + 0xa8]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r15
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.7ff738e21b30
lea r11, [rsp + 0x220]
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