Function at 0x140114f00
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rsi, rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov dword [rdx], r15d
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
lea ecx, [r15 + 0x50]
call fcn.14019eb90
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsi + 8], rax
lea rcx, [rsi + 0x18]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov qword [rsi + 0x30], 7
mov qword [rsi + 0x38], 8
mov dword [rsi], 0x3f800000
mov r8, qword [rsi + 8]
lea edx, [r15 + 0x10]
call fcn.14010ad80
nop
mov dword [rsp + 0x20], 1
lea rax, [0x1401a6ca0]
mov qword [rbp - 0x50], rax
lea rax, [0x1401a6ca8]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x48]
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 - 0x38]
lea rcx, [rbp - 0x50]
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 - 0x50]
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 - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
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 - 0x38], r12
mov qword [rbp + 0x30], r15
mov dword [rbp + 0x38], r15d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x28], r15b
mov dword [rbp + 0x120], 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 rbx, rax
mov qword [rbp + 0x128], rax
lea rdx, [rbp + 0x120]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1401150a1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rbp + 0x128], rax
lea rdx, [rbp + 0x120]
mov rcx, rbx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140115469
mov rdi, rbx
test rbx, rbx
je 0x140115483
nop word [rax + rax]
mov ebx, r15d
cmp dword [rdi + 0x194], 0
jbe 0x14011516f
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
add rcx, rax
mov dl, 0x30
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::fill_char____ptr64]
mov edx, 2
lea rcx, [rbp + 0xb0]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbp - 0x40]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x40]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
lea rdx, [0x1400755f0]
lea rcx, [rbp - 0x40]
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, ebx
movzx edx, byte [rcx + rdi + 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 eax, dword [rdi + 0x194]
dec eax
cmp ebx, eax
je 0x140115161
lea rdx, [0x1401ba270]
lea rcx, [rbp - 0x40]
call fcn.14006fd10
inc ebx
cmp ebx, dword [rdi + 0x194]
jb 0x1401150e0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x48], xmm0
mov r12, r15
mov qword [rsp + 0x58], r15
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x48], 0
or r14d, 4
mov dword [rsp + 0x20], r14d
xor eax, eax
vmovups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1401151f4
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1401151f1
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rbx, rax
cmp rax, qword [rbp + 0x30]
cmovb rbx, qword [rbp + 0x30]
sub rbx, rsi
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x14011522f
mov ecx, dword [rbp + 0x38]
test cl, 4
jne 0x140115227
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x140115227
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rbx, rax
sub rbx, rsi
jmp 0x14011522f
mov rbx, qword [rbp - 0x70]
mov rsi, qword [rbp - 0x78]
test rsi, rsi
je 0x14011524e
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.14006f470
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
and r14d, 0xfffffffb
or r14d, 2
mov dword [rsp + 0x20], r14d
cmp r13, 0xf
jbe 0x140115294
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011528f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115462
call fcn.14019ebcc
vmovups ymm0, ymmword [rsp + 0x48]
vmovups ymmword [rsp + 0x28], ymm0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x78], xmm0
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], bl
lea rcx, [rbp - 0x38]
vzeroupper
call fcn.14010ca10
mov esi, dword [rbp + 0x38]
mov eax, esi
and eax, 6
cmp al, 6
jne 0x1401152db
mov qword [rbp + 0x30], rbx
or esi, 0x20
jmp 0x140115329
mov ecx, reloc.WS2_32.dll_recvfrom
call fcn.14019eb90
mov rbx, rax
vmovups xmm0, xmmword [rbp - 0x78]
vmovups xmmword [rax], xmm0
mov qword [rbp + 0x30], rax
lea r9, [rax + 0x11]
mov r8, rax
mov rdx, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setp_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov r8, rbx
mov rdx, rbx
lea rcx, [rbp - 0x38]
test sil, 4
mov r9, rbx
jne 0x140115320
mov r9, qword [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
or esi, 0x21
mov dword [rbp + 0x38], esi
lea rbx, [rsp + 0x28]
cmp r15, 0xf
seta dl
cmova rbx, qword [rsp + 0x48]
lea rsi, [rsp + 0x28]
test dl, dl
cmovne rsi, qword [rsp + 0x48]
add rsi, r12
cmp rbx, rsi
je 0x140115366
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 0x140115353
lea rdx, [rdi + 0x110]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x48], xmm0
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x140115390
lea rcx, [rsp + 0x48]
call fcn.140070960
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.14006d720
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0xc0]
mov rsi, qword [rbp + 0x118]
mov rcx, rsi
call fcn.1400c2f60
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140115408
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140115403
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115462
call fcn.14019ebcc
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140115441
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011543c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140115462
call fcn.14019ebcc
mov rdi, qword [rdi]
mov r13, qword [rsp + 0x40]
test rdi, rdi
jne 0x1401150d0
mov rbx, qword [rbp + 0x128]
lea r12, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
jmp 0x14011546e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x140115483
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp r13, 0xf
jbe 0x1401154c0
lea rdx, [r13 + 1]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401154ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401154ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14019ebcc
nop
mov rax, qword [rbp - 0x50]
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 - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
mov qword [rbp - 0x38], r12
lea rcx, [rbp - 0x38]
call fcn.14010ca10
lea rcx, [rbp - 0x38]
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 + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rsi
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret