Function at 0x1400d84a0
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 [0x1401e56c8]
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 0x1400d854e
mov eax, dword [str.z_z8]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401c3f60]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x35
xor byte [rsp + 0x32], 0x36
xor byte [rsp + 0x33], 0x37
xor al, 0x38
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 0x1400d8540
jmp 0x1400d8819
lea rdx, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400d85cf
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 0x1400d85cf
mov eax, dword [str.z_z8]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401c3f60]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x35
xor byte [rsp + 0x32], 0x36
xor byte [rsp + 0x33], 0x37
xor al, 0x38
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 0x1400d85c1
jmp 0x1400d8819
lea rdx, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400d87bf
test r14, r14
je 0x1400d87bf
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x60]
call fcn.1400b1680
nop
mov esi, r12d
mov eax, dword [r14 + 0x194]
test eax, eax
je 0x1400d8774
mov rbx, 0xffffffffffffffff
dec eax
mov edx, 2
cmp esi, eax
jne 0x1400d8688
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, [0x14009b3a0]
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 0x1400d8763
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, [0x14009b3a0]
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 [0x1401c4390]
mov word [rsp + 0x20], cx
cmp byte [0x1401c4391], 0
je 0x1400d8700
mov byte [rsp + 0x20], Ordinal_60
xor byte [rsp + 0x21], 0x35
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 0x1400d8720
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140010900
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.1400275f0
nop
lea rcx, [rsp + 0x40]
call fcn.140010730
inc esi
mov eax, dword [r14 + 0x194]
cmp esi, eax
jb 0x1400d8622
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call fcn.140040940
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 [0x1401c4af0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x80]
call fcn.140010730
nop
lea rcx, [rbp - 0x60]
call fcn.14009c140
jmp 0x1400d8829
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [str.z_z8]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401c3f60]
mov byte [rsp + 0x30], Ordinal_79
xor byte [rsp + 0x31], 0x35
xor byte [rsp + 0x32], 0x36
xor byte [rsp + 0x33], 0x37
xor al, 0x38
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 0x1400d8810
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140010900
mov rax, rdi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14015bde0
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