Function at 0x1401306c0
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1403ffe78]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rcx
mov qword [rbp - 0x78], rcx
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x60]
call fcn.1402b1ba0
lea rcx, [rbp - 0x60]
call fcn.140131600
nop
xor r15d, r15d
mov dword [rbp - 0x78], r15d
lea rdx, [rbp - 0x78]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1401309b3
mov ecx, dword [rbp - 0x78]
call fcn.1402ae300
mov rsi, rax
lea rdx, [rbp - 0x78]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140130988
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
add rcx, rax
call fcn.14012b3a0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 8], gethostbyaddr
mov rdi, rsi
nop word [rax + rax]
mov ebx, r15d
cmp dword [rdi + 0x194], r15d
jbe 0x1401307d5
nop dword [rax]
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.1402abb90
mov r8, qword [rax]
mov rcx, qword [rbp - 0x60]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x60]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
mov eax, ebx
movzx edx, byte [rax + rdi + 0x198]
lea rcx, [rbp - 0x60]
call fcn.140133700
inc ebx
cmp ebx, dword [rdi + 0x194]
jb 0x140130790
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140130780
mov rcx, rsi
call fcn.1402adb90
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.140135b40
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
lea ecx, [rdi + 0x10]
call fcn.140139a70
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], r15
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], dil
mov r8d, 9
cmp qword [rsp + 0x78], r8
cmovb r8, qword [rsp + 0x78]
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x20]
call fcn.140136340
nop
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1401341d0
lea rcx, [r14 + 8]
mov rbx, rcx
cmp qword [r14 + 0x20], 0x10
jb 0x14013088e
mov rbx, qword [rcx]
mov rcx, rbx
mov rdi, qword [r14 + 0x18]
add rdi, rcx
cmp rbx, rdi
je 0x1401308b2
nop word [rax + rax]
movsx ecx, byte [rbx]
call fcn.1402bb9a0
mov byte [rbx], al
inc rbx
cmp rbx, rdi
jne 0x1401308a0
lea rcx, [rsp + 0x20]
call fcn.140136130
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], r15
mov edx, reloc.WS2_32.dll_recv
call fcn.1402ae2e0
nop
lea rcx, [rsp + 0x60]
call fcn.140136130
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], r15
mov edx, reloc.WS2_32.dll_recv
call fcn.1402ae2e0
nop
mov rax, qword [rbp - 0x60]
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 - 0x60], rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.140132ff0
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
mov rcx, qword [rbp - 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx - 0x64], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.1402ab750
nop
mov rax, r14
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1402adb70
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, rsi
call fcn.1402adb90
lea rdx, str.Failed_to_retrieve_adapter_information.
lea rcx, [rsp + 0x48]
call fcn.14012a330
lea rdx, [0x1403fa170]
lea rcx, [rsp + 0x48]
call fcn.1402b30e0
int3
lea rdx, str.Failed_to_retrieve_adapter_information.
lea rcx, [rsp + 0x48]
call fcn.14012a330
lea rdx, [0x1403fa170]
lea rcx, [rsp + 0x48]
call fcn.1402b30e0
int3