Function at 0x1400a6b40
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1401b66f8]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r12d, r12d
mov dword [rsp + 0x78], 0x2c0
mov ecx, 0x2c0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x1400a6bee
mov eax, dword [str.ayz7]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140198120]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1400a6be0
jmp 0x1400a6eb9
lea rdx, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400a6c6f
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x1400a6c6f
mov eax, dword [str.ayz7]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140198120]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1400a6c61
jmp 0x1400a6eb9
lea rdx, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400a6e5f
test r14, r14
je 0x1400a6e5f
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x60]
call fcn.14001be50
nop
mov esi, r12d
mov eax, dword [r14 + 0x194]
test eax, eax
je 0x1400a6e14
mov rbx, 0xffffffffffffffff
dec eax
mov edx, 2
cmp esi, eax
jne 0x1400a6d28
lea rcx, [rsp + 0x30]
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 - 0x60]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x60]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 8], Ordinal_50
lea rdx, [0x14000c760]
lea rcx, [rbp - 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 ecx, esi
movzx edx, byte [rcx + r14 + 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]
jmp 0x1400a6e03
lea rcx, [rsp + 0x68]
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 - 0x60]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x60]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 8], Ordinal_50
lea rdx, [0x14000c760]
lea rcx, [rbp - 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 ecx, esi
movzx edx, byte [rcx + r14 + 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 r15, rax
movzx ecx, word [0x1401981bc]
mov word [rsp + 0x20], cx
cmp byte [0x1401981bd], 0
je 0x1400a6da0
mov byte [rsp + 0x20], Ordinal_60
xor byte [rsp + 0x21], 0x34
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x20]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400a6dc0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.14001fd20
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, r15
call fcn.140024230
nop
lea rcx, [rsp + 0x40]
call fcn.14000c460
inc esi
mov eax, dword [r14 + 0x194]
cmp esi, eax
jb 0x1400a6cc2
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.14001d3a0
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x140198ad0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x80]
call fcn.14000c460
nop
lea rcx, [rbp - 0x60]
call fcn.140019380
jmp 0x1400a6ec9
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [str.ayz7]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x140198120]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor al, 0x37
mov byte [rsp + 0x34], al
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x1400a6eb0
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001fd20
mov rax, rdi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14012e5c0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret