Function at 0x18000f770
Capabilities:
Get mac address on windows

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rdi
mov rax, qword [0x18010db20]
xor rax, rbp
mov qword [rbp + 0x10], rax
mov qword [rbp + 8], rcx
xor ebx, ebx
lea rdx, [rbp]
xor ecx, ecx
mov dword [rbp], ebx
mov r13, rbx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x18000f7fe
cmp eax, 0x6f
je 0x18000f7fe
cmp eax, 0xe8
je 0x18000f7fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
bt eax, 0x1d
mov ebx, eax
jae 0x18000f7e8
test eax, eax
jle 0x18000faf7
movzx ebx, ax
or ebx, 0xa0070000
jmp 0x18000faf7
test eax, eax
jle 0x18000faf7
movzx ebx, ax
or ebx, 0x80070000
jmp 0x18000faf7
mov ecx, dword [rbp]
inc ecx
call fcn.180036df8
mov rsi, rax
test rax, rax
jne 0x18000f81a
mov ebx, 0x8007000e
jmp 0x18000faf7
mov r8d, dword [rbp]
xor edx, edx
mov rcx, rax
inc r8d
call fcn.180037390
lea rdx, [rbp]
mov rcx, rsi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x18000f7c4
mov eax, 2
mov r14d, 0x400
mov r15, 0xffffffffffffffff
mul r14
cmovo rax, r15
mov rcx, rax
call fcn.180036df8
mov r12, rax
test rax, rax
jne 0x18000f86e
mov ebx, 0x8007000e
jmp 0x18000faea
xor edx, edx
mov r8d, 0x800
mov rcx, rax
call fcn.180037390
nop
lea rcx, [rsi + 0x1c0]
lea rdx, str.0.0.0.0
call fcn.1800399b8
test eax, eax
je 0x18000f8b5
lea rcx, [rsi + 0x1f0]
lea rdx, str.0.0.0.0
call fcn.1800399b8
test eax, eax
je 0x18000f8b5
test r13, r13
cmove r13, rsi
lea rcx, [rsi + 0xc]
call fcn.18000f410
test eax, eax
je 0x18000f98b
xor eax, eax
mov rcx, r15
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
dec rcx
lea rax, [rcx + 0x13]
cmp rax, r14
ja 0x18000f997
test rcx, rcx
lea rax, [0x1800f4730]
lea r9, [0x1800f41c4]
cmovne r9, rax
mov rdx, r14
lea r8, [0x1800f4738]
sub rdx, rcx
lea rcx, [r12 + rcx*2]
call fcn.1800372a8
cmp dword [rsi + 0x194], 0
mov r15d, ebx
jbe 0x18000f987
lea r14, [rsi + 0x198]
lea rbx, [0x1800f4740]
nop dword [rax]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
movzx eax, byte [r14]
lea r9, [0x1800f41c4]
not rcx
mov edx, 0x400
lea r8, str._ws_02X
dec rcx
test r15d, r15d
mov dword [rsp + 0x20], eax
cmovne r9, rbx
sub rdx, rcx
lea rcx, [r12 + rcx*2]
call fcn.1800372a8
inc r15d
inc r14
cmp r15d, dword [rsi + 0x194]
jb 0x18000f930
xor ebx, ebx
mov r14d, 0x400
or r15, 0xffffffffffffffff
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18000f880
xor eax, eax
mov rcx, r15
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
jne 0x18000fa32
test r13, r13
je 0x18000fa20
mov esi, ebx
cmp dword [r13 + 0x194], eax
jbe 0x18000fa32
lea r14, [r13 + 0x198]
lea rbx, [0x1800f4740]
nop dword [rax]
xor eax, eax
mov rcx, r15
mov rdi, r12
repne scasw ax, word [rdi]
movzx eax, byte [r14]
lea r9, [0x1800f41c4]
not rcx
mov edx, 0x400
lea r8, str._ws_02X
dec rcx
test esi, esi
mov dword [rsp + 0x20], eax
cmovne r9, rbx
sub rdx, rcx
lea rcx, [r12 + rcx*2]
call fcn.1800372a8
inc esi
inc r14
cmp esi, dword [r13 + 0x194]
jb 0x18000f9d0
xor ebx, ebx
jmp 0x18000fa32
lea r8, str.00_00_00_00_00_00
mov rdx, r14
mov rcx, r12
call fcn.1800372cc
xor eax, eax
mov rcx, r15
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
call fcn.180036df8
mov rsi, rax
test rax, rax
jne 0x18000fa57
mov ebx, 0x8007000e
jmp 0x18000faea
xor eax, eax
mov rcx, r15
mov rdi, r12
repne scasw ax, word [rdi]
xor edx, edx
not rcx
mov r8, rcx
mov rcx, rsi
call fcn.180037390
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x18000fa89
mov r8, rbx
jmp 0x18000faca
lea r8d, [rax + rax]
cdqe
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18000faa5
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800c7940
sub rsp, rcx
mov r9d, 3
lea rcx, [rsp + 0x30]
mov rdx, r12
call fcn.180010550
mov r8, rax
xor eax, eax
mov rcx, r15
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
mov rcx, rsi
call fcn.180037c84
mov rdx, qword [rbp + 8]
mov qword [rdx], rsi
test r12, r12
je 0x18000faf7
mov rcx, r12
call fcn.18003747c
mov eax, ebx
mov rcx, qword [rbp + 0x10]
xor rcx, rbp
call fcn.180037360
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x60]
lea rsp, [rbp + 0x20]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret