Function at 0x140004820
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor esi, esi
mov r15d, esi
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x60], esi
mov ebx, esi
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140004890
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140004cec
mov r12, rbx
test rbx, rbx
je 0x140004c1d
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rdi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, [0x1400293e0]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x70], rbx
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r15d, 8
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r14
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp - 0x68], rdi
mov r10, rsi
mov qword [rbp], rsi
mov r9d, 4
mov dword [rbp + 8], r9d
mov edi, esi
cmp dword [r12 + 0x194], 0
jbe 0x1400049e2
lea rdx, [0x140001b40]
lea rcx, [rbp - 0x70]
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 rbx, rax
mov edx, 2
lea rcx, [rsp + 0x50]
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 [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rbx + 0x58], 0x30
mov eax, edi
movzx edx, byte [rax + r12 + 0x198]
mov rcx, rbx
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 eax, dword [r12 + 0x194]
dec eax
cmp edi, eax
jae 0x1400049ca
lea rdx, [0x14002707c]
lea rcx, [rbp - 0x70]
call fcn.140012ec0
inc edi
cmp edi, dword [r12 + 0x194]
jb 0x140004954
mov r9d, dword [rbp + 8]
mov r10, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov rdx, rsi
mov qword [rsp + 0x78], rdx
mov ecx, 0xf
mov qword [rbp - 0x80], rcx
mov byte [rsp + 0x68], 0
or r15d, 4
mov dword [rsp + 0x20], r15d
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov eax, r9d
and al, 0x22
cmp al, 2
je 0x140004a3d
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x140004a3d
mov rax, qword [rbp - 0x48]
mov r9, qword [rax]
cmp r8, r10
cmovb r8, r10
sub r8, r9
jmp 0x140004a6f
test r9b, 4
jne 0x140004a65
mov rax, qword [rbp - 0x30]
mov r10, qword [rax]
test r10, r10
je 0x140004a65
mov rax, qword [rbp - 0x50]
mov r9, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
sub r8, r9
add r8, r10
jmp 0x140004a6f
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
test r9, r9
je 0x140004a8a
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.140012970
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
and r15d, 0xfffffffb
or r15d, 2
mov rbx, qword [0x140033118]
mov r13, qword [0x140033120]
cmp rbx, r13
je 0x140004b8c
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r8d, 8
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x68]
cmp rcx, 0xf
cmova rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140004410
or r15d, 1
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140004af9
mov rdx, qword [rbx]
lea rcx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, 0xf
cmova rcx, rdi
mov r8, qword [rsp + 0x40]
cmp r8, qword [rbx + 0x10]
jne 0x140004b29
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004b29
mov r14b, 1
jmp 0x140004b2c
xor r14b, r14b
cmp rsi, 0xf
jbe 0x140004b63
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140004b5b
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c4f
mov rcx, rdi
call fcn.140022240
test r14b, r14b
jne 0x140004c56
add rbx, 0x20
mov rcx, qword [rbp - 0x80]
xor esi, esi
cmp rbx, r13
je 0x140004b85
mov rdx, qword [rsp + 0x78]
jmp 0x140004ab0
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov r12, qword [r12]
cmp rcx, 0xf
jbe 0x140004bca
lea rdx, [rcx + 1]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ce5
call fcn.140022240
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r14
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.140011520
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
test r12, r12
jne 0x1400048b9
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140022220
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140004c9b
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ce5
call fcn.140022240
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.140011520
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov al, 1
jmp 0x140004c1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rbx, rbx
je 0x140004c1d
jmp 0x140004c14