Function at 0x140004890
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 - 0x120]
sub rsp, 0x220
mov rax, qword [0x14001d010]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r15, rdx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
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], r12d
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
lea ecx, [r12 + 0x50]
call fcn.14000c9e8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r15 + 8], rax
lea rcx, [r15 + 0x18]
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov qword [r15 + 0x30], 7
mov qword [r15 + 0x38], 8
mov dword [r15], 0x3f800000
mov r8, qword [r15 + 8]
lea edx, [r12 + 0x10]
call fcn.140006520
nop
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400174e8]
mov qword [rbp + 0x10], rax
lea rax, [0x140017450]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0xa8]
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 + 0x28]
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 + 0xc], edx
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x90], r12
mov dword [rbp + 0x98], r12d
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
mov esi, 0xf
mov qword [rbp], rsi
mov byte [rbp - 0x18], r12b
mov dword [rbp - 0x20], 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
test rax, rax
jne 0x140004a43
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003060
lea rdx, [0x140003230]
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 - 0x20]
mov rcx, r13
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140004aab
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 - 0x20]
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
test rax, rax
jne 0x140004aab
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003060
lea rdx, [0x140003230]
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 - 0x20]
mov rcx, r13
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, eax
test eax, eax
jne 0x140004e94
mov rdi, r13
test r13, r13
je 0x140004edc
nop
mov ebx, r12d
cmp dword [rdi + 0x194], 0
jbe 0x140004b66
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x78], 0x30
mov edx, 2
lea rcx, [rbp - 0x40]
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 + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
call r8
lea rdx, [0x1400044d0]
lea rcx, [rbp + 0x20]
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 ecx, dword [rdi + 0x194]
lea eax, [rcx - 1]
cmp ebx, eax
je 0x140004b5c
lea rdx, [0x14001724c]
lea rcx, [rbp + 0x20]
call fcn.140003060
mov ecx, dword [rdi + 0x194]
inc ebx
cmp ebx, ecx
jb 0x140004ae0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x38], r12
mov r15d, 0xf
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x28], 0
or r14d, 8
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov ecx, dword [rbp + 0x98]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140004bc5
mov rax, qword [rbp + 0x68]
mov r8, qword [rax]
test r8, r8
je 0x140004bc5
mov rax, qword [rbp + 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x90]
cmovb r8, qword [rbp + 0x90]
sub r8, rdx
jmp 0x140004bf4
test cl, 4
jne 0x140004bec
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x140004bec
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x78]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140004bf4
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x140004c0d
lea rcx, [rsp + 0x28]
call fcn.140002e50
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
and r14d, 0xfffffff7
or r14d, 4
mov dword [rsp + 0x20], r14d
cmp rsi, 0x10
jb 0x140004c52
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e8d
call fcn.14000cc74
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbp - 8], xmm1
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], sil
xor r8d, r8d
lea rdx, [0x140017248]
lea rcx, [rsp + 0x50]
call fcn.140002e50
nop
lea rcx, [rbp + 0x28]
call fcn.140006410
mov ebx, dword [rbp + 0x98]
or ebx, 0x20
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jb 0x140004cba
mov r8, qword [rsp + 0x50]
inc rcx
jmp 0x140004cd4
mov ecx, 0x11
call fcn.14000c9e8
mov r8, rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax], xmm0
mov ecx, 0x11
test rcx, rcx
je 0x140004d52
mov eax, ebx
and eax, 6
cmp al, 6
je 0x140004d52
mov rdx, qword [rsp + 0x60]
add rdx, r8
mov qword [rbp + 0x90], rdx
add rcx, r8
test bl, 0x18
cmove rdx, r8
mov rax, qword [rbp + 0x48]
mov qword [rax], r8
mov rax, qword [rbp + 0x68]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbp + 0x80]
mov dword [rax], ecx
mov rax, qword [rbp + 0x40]
test bl, 4
je 0x140004d33
mov qword [rax], r8
mov rax, qword [rbp + 0x60]
mov qword [rax], rsi
mov rax, qword [rbp + 0x78]
mov dword [rax], r8d
or ebx, 1
jmp 0x140004d59
mov rcx, qword [rbp + 0x90]
mov qword [rax], r8
mov rax, qword [rbp + 0x60]
mov qword [rax], r8
sub ecx, r8d
mov rax, qword [rbp + 0x78]
mov dword [rax], ecx
or ebx, 1
jmp 0x140004d59
mov qword [rbp + 0x90], rsi
mov dword [rbp + 0x98], ebx
mov rax, qword [rbp + 0x28]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [rax]
lea rcx, [rbp - 0x18]
cmp r15, 0x10
jb 0x140004d85
mov rax, qword [rsp + 0x28]
mov rcx, rax
mov rbx, rax
jmp 0x140004d8c
mov rbx, rcx
lea rax, [rbp - 0x18]
lea rsi, [rax + r12]
cmp rcx, rsi
je 0x140004da8
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 0x140004d95
lea rdx, [rdi + 0x110]
xor r12d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r12b
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140004dd1
lea rcx, [rsp + 0x50]
call fcn.140002e50
nop
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x70]
call fcn.140006210
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x30]
mov r15, qword [rbp - 0x70]
mov rcx, r15
call fcn.1400069e0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140004e43
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e8d
call fcn.14000cc74
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140004e7c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004e8d
call fcn.14000cc74
mov rdi, qword [rdi]
mov rsi, qword [rbp]
test rdi, rdi
je 0x140004ec7
jmp 0x140004ad0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.GetAdaptersInfo_failed_with_error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140003060
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, [0x140003230]
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 r13, r13
je 0x140004edc
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 rsi, 0x10
jb 0x140004f18
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000cc74
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 + 0xc], r8d
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.140006410
lea rcx, [rbp + 0x28]
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 + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r15
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14000c8d0
lea r11, [rsp + 0x220]
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