Function at 0x140002140
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 - 0x100]
sub rsp, 0x200
mov rax, qword [0x140074040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
mov qword [rbp - 0x70], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
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], esi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov ecx, 0x50
call fcn.14000bb40
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
mov edx, reloc.WS2_32.dll_recv
call fcn.1400045a0
nop
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140069c28]
mov qword [rbp - 0x10], rax
lea rax, [0x140069b90]
mov qword [rbp], rax
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 9
mov dword [rsp + 0x20], r14d
xor r8d, r8d
lea rdx, [rbp + 8]
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 - 0x14], edx
lea rcx, [rbp + 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 8], r12
mov qword [rbp + 0x70], rsi
mov dword [rbp + 0x78], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rsi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x20], r15
mov byte [rbp - 0x38], sil
mov dword [rbp - 0x40], 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
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14000230a
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 - 0x40]
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
mov rbx, qword [rsp + 0x28]
lea rdx, [rbp - 0x40]
mov rcx, r13
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140002666
mov rdi, r13
test r13, r13
je 0x140002680
nop dword [rax + rax]
mov ebx, esi
cmp dword [rdi + 0x194], 0
jbe 0x1400023bf
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rbp - 0x60]
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]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
call r8
lea rdx, [0x140001940]
lea rcx, [rbp]
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 eax, dword [rdi + 0x194]
dec eax
cmp ebx, eax
je 0x1400023b5
lea rdx, [0x140069af8]
lea rcx, [rbp]
call fcn.1400048b0
inc ebx
cmp ebx, dword [rdi + 0x194]
jb 0x140002340
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r12, rsi
mov qword [rsp + 0x60], rsi
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x50], 0
or r14d, 4
mov dword [rsp + 0x20], r14d
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov ecx, dword [rbp + 0x78]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000241f
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x14000241f
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x70]
cmovb r8, qword [rbp + 0x70]
sub r8, rdx
jmp 0x140002450
test cl, 4
jne 0x140002446
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002446
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140002450
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140002469
lea rcx, [rsp + 0x50]
call fcn.1400046e0
mov rsi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
and r14d, 0xfffffffb
or r14d, 2
mov dword [rsp + 0x20], r14d
cmp r15, 0xf
jbe 0x1400024ae
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002656
call fcn.14000bdc4
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x38], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm1
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], r15b
lea rcx, [rbp + 8]
call fcn.140004480
mov ebx, dword [rbp + 0x78]
mov eax, ebx
and eax, 6
cmp al, 6
jne 0x1400024fc
mov qword [rbp + 0x70], r15
or ebx, 0x20
jmp 0x140002564
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.14000bb40
mov rdx, rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
mov qword [rbp + 0x70], rax
lea rcx, [rax + 0x11]
mov rax, qword [rbp + 0x28]
mov qword [rax], rdx
mov rax, qword [rbp + 0x48]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbp + 0x60]
mov dword [rax], ecx
mov rax, qword [rbp + 0x20]
test bl, 4
je 0x14000254b
mov qword [rax], rdx
mov rax, qword [rbp + 0x40]
mov qword [rax], rdx
mov rax, qword [rbp + 0x58]
mov dword [rax], r15d
jmp 0x140002561
mov rcx, qword [rbp + 0x70]
mov qword [rax], rdx
mov rax, qword [rbp + 0x40]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbp + 0x58]
mov dword [rax], ecx
or ebx, 0x21
mov dword [rbp + 0x78], ebx
lea rbx, [rbp - 0x38]
cmp rsi, 0xf
cmova rbx, qword [rsp + 0x50]
lea rsi, [rbp - 0x38]
cmova rsi, qword [rsp + 0x50]
add rsi, r12
cmp rbx, rsi
je 0x14000259a
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 0x140002587
lea rdx, [rdi + 0x110]
lea rcx, [rsp + 0x50]
call fcn.140001960
nop
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x70]
call fcn.140004230
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call fcn.140004c20
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000260a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002656
call fcn.14000bdc4
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140002643
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000263e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002656
call fcn.14000bdc4
mov rdi, qword [rdi]
mov r15, qword [rbp - 0x20]
test rdi, rdi
je 0x14000265d
xor esi, esi
jmp 0x140002330
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
jmp 0x14000266b
test r13, r13
je 0x140002680
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 r15, 0xf
jbe 0x1400026bc
lea rdx, [r15 + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000bdc4
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 - 0x14], r8d
mov qword [rbp + 8], r12
lea rcx, [rbp + 8]
call fcn.140004480
lea rcx, [rbp + 8]
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 + 0x10]
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 + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14000bb20
lea r11, [rsp + 0x200]
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