Function at 0x180023010
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 [0x180037020]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, rdx
mov qword [rsp + 0x28], rdx
mov qword [rbp - 0x50], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
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], r15d
mov qword [rdx + 8], r15
mov qword [rdx + 0x10], r15
lea ecx, [r15 + 0x50]
call fcn.180029c40
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.180024680
nop
mov r12d, 1
mov dword [rsp + 0x20], r12d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x10]
call fcn.18000c4b0
nop
mov qword [rbp - 0x18], r15
mov qword [rbp - 8], r15
mov r13d, sendto
mov qword [rbp], r13
mov byte [rbp - 0x18], r15b
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 rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x18002314a
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.1800069f0
lea rdx, [0x180006bc0]
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, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1800231b7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
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 rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1800231b7
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.1800069f0
lea rdx, [0x180006bc0]
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, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, eax
test eax, eax
jne 0x1800235ea
mov rsi, rdi
test rdi, rdi
je 0x180023643
mov r14, qword [rbp - 0x18]
nop
mov ebx, r15d
cmp dword [rsi + 0x194], 0
jbe 0x180023276
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, [0x18000dfe0]
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 + rsi + 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 [rsi + 0x194]
lea eax, [rcx - 1]
cmp ebx, eax
je 0x18002326c
lea rdx, [0x18002e588]
lea rcx, [rbp + 0x20]
call fcn.1800069f0
mov ecx, dword [rsi + 0x194]
inc ebx
cmp ebx, ecx
jb 0x1800231f0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov edi, recvfrom
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x30], 0
or r12d, 4
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov ecx, dword [rbp + 0x98]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1800232d4
mov rax, qword [rbp + 0x68]
mov r8, qword [rax]
test r8, r8
je 0x1800232d4
mov rax, qword [rbp + 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x90]
cmovb r8, qword [rbp + 0x90]
sub r8, rdx
jmp 0x180023303
test cl, 4
jne 0x1800232fb
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800232fb
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 0x180023303
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x18002331c
lea rcx, [rsp + 0x30]
call fcn.180006240
mov rdi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
and r12d, 0xfffffffb
or r12d, 2
mov dword [rsp + 0x20], r12d
cmp r13, 0x10
jb 0x180023360
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180023358
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800235e3
mov rcx, r14
call fcn.180029c7c
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 8], xmm1
xor r14d, r14d
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], sendto
mov byte [rsp + 0x78], r14b
xor r8d, r8d
lea rdx, [0x18002df63]
lea rcx, [rsp + 0x78]
call fcn.180006240
nop
lea rcx, [rbp + 0x28]
call fcn.18000c600
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
mov r9d, dword [rbp + 0x98]
mov r8, qword [rbp - 0x78]
lea rcx, [rbp + 0x28]
call fcn.1800247b0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18002340a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180023405
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800235e3
call fcn.180029c7c
lea rbx, [rbp - 0x18]
cmp rdi, 0x10
cmovae rbx, qword [rsp + 0x30]
lea rdi, [rbp - 0x18]
cmovae rdi, qword [rsp + 0x30]
add rdi, r15
cmp rbx, rdi
je 0x180023443
nop word [rax + rax]
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, rdi
jne 0x180023430
lea rdx, [rsi + 0x110]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], sendto
mov byte [rsp + 0x30], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180023470
lea rcx, [rsp + 0x30]
call fcn.180006240
nop
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea r15, [rbp - 0x18]
mov r14, qword [rbp - 0x18]
mov r13, qword [rbp]
cmp r13, 0x10
cmovae r15, r14
mov rdi, qword [rbp - 8]
cmp rdi, 0x10
jae 0x1800234c6
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], sendto
jmp 0x180023541
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18002351a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180023717
mov rcx, rax
call fcn.180029c40
mov rcx, rax
test rax, rax
je 0x1800235dc
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180023528
test rcx, rcx
je 0x180023526
call fcn.180029c40
jmp 0x180023528
xor eax, eax
mov qword [rsp + 0x50], rax
lea r8, [rdi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rdi
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.1800248c0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180023593
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002358e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800235e3
call fcn.180029c7c
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800235cc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800235c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800235e3
call fcn.180029c7c
mov rsi, qword [rsi]
test rsi, rsi
je 0x180023623
xor r15d, r15d
jmp 0x1800231e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
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.1800069f0
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, [0x180006bc0]
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 rdi, rdi
je 0x180023648
mov r14, qword [rbp - 0x18]
jmp 0x18002362d
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18002364c
mov rsi, qword [rsp + 0x28]
mov r14, qword [rbp - 0x18]
cmp r13, 0x10
jb 0x180023687
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18002367e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002367e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180029c7c
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.18000c600
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, rsi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.180029c20
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
call fcn.1800014a0
int3