Function at 0x1400025a0
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
mov r12, rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov dword [rdx], r13d
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
lea ecx, [r13 + 0x50]
call fcn.14001c028
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r12 + 8], rax
lea rcx, [r12 + 0x18]
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov qword [r12 + 0x30], 7
mov qword [r12 + 0x38], 8
mov dword [r12], 0x3f800000
mov r8, qword [r12 + 8]
lea edx, [r13 + 0x10]
call fcn.1400043d0
nop
mov dword [rsp + 0x20], 1
lea rax, [0x14001fac8]
mov qword [rbp - 0x50], rax
lea rax, [0x14001fd28]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x48]
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 - 0x38]
lea rcx, [rbp - 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 [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x14001fac0]
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, [0x14001fa40]
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x30], r13
mov dword [rbp + 0x38], r13d
mov qword [rsp + 0x38], r13
mov edi, 0xf
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x28], r13b
mov dword [rbp + 0x120], 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 r15, rax
mov qword [rbp + 0x138], rax
test rax, rax
jne 0x140002719
lea rdx, [0x14001fad8]
mov rcx, qword [0x14001f298]
call fcn.140004510
lea rdx, [0x1400015f0]
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, [rbp + 0x120]
mov rcx, r15
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14000278e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
mov qword [rbp + 0x138], rax
test rax, rax
jne 0x14000278e
lea rdx, [0x14001fb38]
mov rcx, qword [0x14001f298]
call fcn.140004510
lea rdx, [0x1400015f0]
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, [rbp + 0x120]
mov rcx, r15
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, eax
test eax, eax
jne 0x140002bf9
mov rsi, r15
test r15, r15
je 0x140002c41
nop dword [rax]
nop dword [rax + rax]
mov ebx, r13d
cmp dword [rsi + 0x194], 0
jbe 0x140002859
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x18], 0x30
mov edx, 2
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rbp - 0x40]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x40]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
lea rdx, [0x140002190]
lea rcx, [rbp - 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 ecx, ebx
movzx edx, byte [rcx + rsi + 0x198]
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___int____ptr64]
mov ecx, dword [rsi + 0x194]
lea eax, [rcx - 1]
cmp ebx, eax
je 0x14000284f
lea rdx, [0x14001fad4]
lea rcx, [rbp - 0x40]
call fcn.140004510
mov ecx, dword [rsi + 0x194]
inc ebx
cmp ebx, ecx
jb 0x1400027d0
mov qword [rsp + 0x58], r13
mov r12d, 0xf
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x48], 0
or r14d, 8
mov dword [rsp + 0x20], r14d
mov ecx, dword [rbp + 0x38]
test cl, 2
jne 0x1400028a0
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x1400028a0
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x1400028c5
test cl, 4
jne 0x1400028d4
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400028d4
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
lea rcx, [rsp + 0x48]
call fcn.140004210
mov r12, qword [rsp + 0x60]
and r14d, 0xfffffff7
or r14d, 4
mov dword [rbp + 0x130], r14d
mov dword [rsp + 0x20], r14d
cmp rdi, 0x10
jb 0x140002921
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000291c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002be2
call fcn.14001c064
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
xor r8d, r8d
lea rdx, [0x14001fad0]
lea rcx, [rsp + 0x68]
call fcn.140004210
nop
lea rcx, [rbp - 0x38]
call fcn.140004160
lea r13, [rsp + 0x68]
mov r15, qword [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r13, r15
mov r14d, dword [rbp + 0x38]
mov rdi, qword [rsp + 0x78]
cmp rdi, 0x7fffffff
ja 0x140002bf2
test rdi, rdi
je 0x140002a6d
mov eax, r14d
and eax, 6
cmp al, 6
je 0x140002a6d
cmp rdi, 0x1000
jb 0x1400029d7
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140002ced
call fcn.14001c028
test rax, rax
je 0x140002bdb
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400029e2
mov rcx, rdi
call fcn.14001c028
mov rbx, rax
mov r8, rdi
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rdi + rbx]
mov qword [rbp + 0x30], rdx
mov r8d, r14d
and r8d, 4
jne 0x140002a1b
mov rax, qword [rbp - 0x20]
mov qword [rax], rbx
mov rax, qword [rbp]
mov qword [rax], rbx
sub edx, ebx
mov rax, qword [rbp + 0x18]
mov dword [rax], edx
mov rdx, qword [rbp + 0x30]
test r14b, 2
jne 0x140002a64
test r14b, 0x18
mov rcx, rdx
cmove rcx, rbx
mov rax, qword [rbp - 0x18]
mov qword [rax], rbx
mov rax, qword [rbp + 8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0x20]
mov dword [rax], edx
xor r13d, r13d
test r8d, r8d
je 0x140002a67
mov rax, qword [rbp - 0x20]
mov qword [rax], rbx
mov rax, qword [rbp]
mov qword [rax], r13
mov rax, qword [rbp + 0x18]
mov dword [rax], ebx
or r14d, 1
jmp 0x140002a74
xor r13d, r13d
or r14d, 1
jmp 0x140002a74
xor r13d, r13d
mov qword [rbp + 0x30], r13
mov dword [rbp + 0x38], r14d
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140002ab3
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140002aab
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002be2
mov rcx, r15
call fcn.14001c064
lea rbx, [rsp + 0x28]
cmp r12, 0x10
cmovae rbx, qword [rsp + 0x48]
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rdi, rcx
cmp rbx, rdi
je 0x140002af3
nop word [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, rdi
jne 0x140002ae0
lea rdx, [rsi + 0x110]
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140002b13
lea rcx, [rsp + 0x68]
call fcn.140004210
nop
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x78]
call fcn.140003f50
nop
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0xc0]
mov r12, qword [rbp + 0x128]
mov rcx, r12
call fcn.1400049a0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140002b8a
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002be2
call fcn.14001c064
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140002bc2
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002be2
call fcn.14001c064
mov rsi, qword [rsi]
mov rdi, qword [rsp + 0x40]
test rsi, rsi
je 0x140002be9
mov r14d, dword [rbp + 0x130]
jmp 0x1400027c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r15, qword [rbp + 0x138]
jmp 0x140002c2c
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
nop
lea rdx, [0x14001fb10]
mov rcx, qword [0x14001f298]
call fcn.140004510
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_long_int____ptr64]
lea rdx, [0x1400015f0]
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 r15, r15
je 0x140002c41
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp rdi, 0x10
jb 0x140002c7e
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001c064
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [0x14001fac0]
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rax, [0x14001fa40]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.140004160
lea rcx, [rbp - 0x38]
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 + 0x48]
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
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140001210
int3