Function at 0x14003a840
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x2ed8
call fcn.14011f2e0
sub rsp, rax
mov rax, qword [0x140168340]
xor rax, rsp
mov qword [rsp + 0x2ec0], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x1b8], 0x2c00
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
je 0x14003a8c4
lea rdx, str.Error
mov rcx, qword [rsp + 0x2ee0]
call fcn.140009b30
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2ee0]
jmp 0x14003ad16
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x28], rax
mov edx, 0xf8
lea rcx, [rsp + 0x1c0]
call fcn.140008fb0
mov edx, 1
lea rcx, [rsp + 0x1c0]
call fcn.1400343e0
nop
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x60], rax
lea rdx, [0x140039c80]
mov rcx, qword [rsp + 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 qword [rsp + 0x68], rax
lea rdx, [0x140039ce0]
mov rcx, qword [rsp + 0x68]
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 qword [rsp + 0x78], rax
mov edx, 2
lea rcx, [rsp + 0x158]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140040b60
mov qword [rsp + 0x88], rax
mov dl, 0x30
lea rcx, [rsp + 0x30]
call fcn.140040bb0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call fcn.140040be0
mov qword [rsp + 0x90], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 0x198]
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
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 qword [rsp + 0xa0], rax
mov edx, 2
lea rcx, [rsp + 0x168]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140040b60
mov qword [rsp + 0xb0], rax
mov dl, 0x30
lea rcx, [rsp + 0x31]
call fcn.140040bb0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140040be0
mov qword [rsp + 0xb8], rax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 0x198]
mov dword [rsp + 0x44], eax
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xb8]
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 qword [rsp + 0xc8], rax
mov edx, 2
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.140040b60
mov qword [rsp + 0xd8], rax
mov dl, 0x30
lea rcx, [rsp + 0x32]
call fcn.140040bb0
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.140040be0
mov qword [rsp + 0xe0], rax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 0x198]
mov dword [rsp + 0x48], eax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
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 qword [rsp + 0xf0], rax
mov edx, 2
lea rcx, [rsp + 0x188]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xf0]
call fcn.140040b60
mov qword [rsp + 0x100], rax
mov dl, 0x30
lea rcx, [rsp + 0x33]
call fcn.140040bb0
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call fcn.140040be0
mov qword [rsp + 0x108], rax
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 0x198]
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x108]
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 qword [rsp + 0x118], rax
mov edx, 2
lea rcx, [rsp + 0x198]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call fcn.140040b60
mov qword [rsp + 0x128], rax
mov dl, 0x30
lea rcx, [rsp + 0x34]
call fcn.140040bb0
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.140040be0
mov qword [rsp + 0x130], rax
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 0x198]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x130]
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 qword [rsp + 0x140], rax
mov edx, 2
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
call fcn.140040b60
mov qword [rsp + 0x150], rax
mov dl, 0x30
lea rcx, [rsp + 0x35]
call fcn.140040bb0
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x150]
call fcn.140040be0
mov qword [rsp + 0x58], rax
mov eax, 1
imul rax, rax, 5
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 0x198]
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
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 rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003a8f6
mov rdx, qword [rsp + 0x2ee0]
lea rcx, [rsp + 0x1c0]
call fcn.140034300
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x1c0]
call fcn.140033a00
mov rax, qword [rsp + 0x2ee0]
mov rcx, qword [rsp + 0x2ec0]
xor rcx, rsp
call fcn.14011e0e0
add rsp, 0x2ed8
ret