Function at 0x140001980
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 [0x14001d028]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rdx
mov qword [rsp + 0x28], 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.1400159f0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
lea edx, [rsi + 0x10]
call fcn.1400037c0
nop
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140017848]
mov qword [rbp - 0x10], rax
lea rax, [0x1400177a0]
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 r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 8], r12
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 r13, rax
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140001b46
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 - 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 r13, rax
mov rbx, qword [rsp + 0x28]
lea rdx, [rbp - 0x40]
mov rcx, r13
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140001e7f
mov rdi, r13
test r13, r13
je 0x140001e99
nop word [rax + rax]
mov ebx, esi
cmp dword [rdi + 0x194], 0
jbe 0x140001bff
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, [0x140001210]
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 0x140001bf5
lea rdx, [0x1400176cc]
lea rcx, [rbp]
call fcn.140003f20
inc ebx
cmp ebx, dword [rdi + 0x194]
jb 0x140001b80
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r12, rsi
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 + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov ecx, dword [rbp + 0x78]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140001c5f
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x140001c5f
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x70]
cmovb r8, qword [rbp + 0x70]
sub r8, rdx
jmp 0x140001c90
test cl, 4
jne 0x140001c86
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001c86
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140001c90
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140001ca9
lea rcx, [rsp + 0x50]
call fcn.140003a40
mov rsi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
and r14d, 0xfffffffb
or r14d, 2
mov dword [rsp + 0x20], r14d
cmp r15, 0x10
jb 0x140001cee
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ce9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e6f
call fcn.140015a2c
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 + 0x30], xmm1
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea rcx, [rbp + 8]
call fcn.140003690
mov r9d, dword [rbp + 0x78]
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 8]
call fcn.140003900
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140001d7b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e6f
call fcn.140015a2c
lea rbx, [rbp - 0x38]
cmp rsi, 0x10
setae dl
cmovae rbx, qword [rsp + 0x50]
lea rsi, [rbp - 0x38]
test dl, dl
cmovne rsi, qword [rsp + 0x50]
add rsi, r12
cmp rbx, rsi
je 0x140001db3
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 0x140001da0
lea rdx, [rdi + 0x110]
lea rcx, [rsp + 0x50]
call fcn.1400032e0
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.140003400
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call fcn.140004220
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140001e23
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e6f
call fcn.140015a2c
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140001e5c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001e6f
call fcn.140015a2c
mov rdi, qword [rdi]
mov r15, qword [rbp - 0x20]
test rdi, rdi
je 0x140001e76
xor esi, esi
jmp 0x140001b70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
jmp 0x140001e84
test r13, r13
je 0x140001e99
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 r15, 0x10
jb 0x140001ed5
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ecf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ecf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015a2c
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
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140003690
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, rbx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400159d0
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