Function at 0x1800656d0
Capabilities:
Get mac address on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov r12, rcx
mov dword [rbp - 0x30], 0
call fcn.180060ba0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], 0
lea rcx, [rbp - 0x18]
call fcn.180065140
test eax, eax
je 0x180065a2d
mov dword [rbp + 0x48], 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
test rax, rax
je 0x180065a2d
lea rdx, [rbp + 0x48]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x180065796
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 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
je 0x180065a2d
mov esi, 1
lea rdx, [rbp + 0x48]
mov rcx, r13
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x180065a05
mov r15, r13
test r13, r13
je 0x180065a1e
mov rax, qword [rbp - 0x10]
mov rdi, qword [rbp - 0x18]
cmp rdi, rax
je 0x1800659f9
nop dword [rax]
cmp dword [r15 + 0x194], 6
jne 0x18006583c
lea rbx, [r15 + 0xc]
call fcn.180025f00
test rax, rax
je 0x180065aef
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x18]
add rax, 0x18
mov qword [rbp + 0x50], rax
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.180025050
test al, al
jne 0x18006581b
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.180032e70
nop
or dword [rbp - 0x30], 1
mov rdx, qword [rbp + 0x50]
test rdx, rdx
je 0x180065ae4
mov rcx, qword [rdi]
call fcn.1800bb554
test eax, eax
jne 0x18006583c
mov bl, 1
jmp 0x18006583e
xor bl, bl
test byte [rbp - 0x30], 1
je 0x180065868
and dword [rbp - 0x30], 0xfffffffe
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180065868
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test bl, bl
je 0x1800659e8
xor r14d, r14d
mov eax, dword [r15 + 0x1a4]
cmp eax, 0x47
je 0x1800658b9
cmp eax, 6
jne 0x1800659e8
lea rbx, [r15 + 0x110]
lea rdx, str.wifi
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
jne 0x1800658b9
lea rdx, str.wireless
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x1800658bf
mov r14d, 1
test esi, esi
jne 0x1800658cc
test r14d, r14d
jne 0x1800659e8
call fcn.180025f00
test rax, rax
je 0x180065b05
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp + 0x58], rax
movzx eax, byte [r15 + 0x19d]
movzx ecx, byte [r15 + 0x19c]
movzx edx, byte [r15 + 0x19b]
movzx r10d, byte [r15 + 0x19a]
movzx r9d, byte [r15 + 0x199]
movzx r8d, byte [r15 + 0x198]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._02X_02X_02X_02X_02X_02X
lea rcx, [rbp + 0x58]
call fcn.180060d90
mov rdx, qword [r12]
mov rbx, qword [rbp + 0x58]
cmp dword [rdx - 0x10], 0
je 0x180065969
cmp esi, 1
jne 0x180065954
test r14d, r14d
je 0x180065969
test rdx, rdx
je 0x180065afa
mov rcx, rbx
call fcn.1800bdb40
test eax, eax
jns 0x1800659c9
lea rcx, [rbx - 0x18]
mov rsi, qword [r12]
sub rsi, 0x18
cmp rcx, rsi
je 0x1800659c9
cmp dword [rsi + 0x10], 0
jl 0x1800659ba
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x1800659ba
call fcn.180060980
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x1800659ac
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [r8 + 8]
lea rax, [rbx + 0x18]
mov qword [r12], rax
mov rbx, qword [rbp + 0x58]
jmp 0x1800659c9
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r12
call fcn.180060a90
mov esi, r14d
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800659e8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rdi, 8
mov rax, qword [rbp - 0x10]
cmp rdi, rax
jne 0x1800657d0
mov r15, qword [r15]
test r15, r15
jne 0x1800657c0
test r13, r13
je 0x180065a1e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [r12]
xor esi, esi
cmp dword [rax - 0x10], esi
setne sil
jmp 0x180065a2f
xor esi, esi
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x180065ac4
mov rdi, qword [rbp - 0x10]
mov qword [rbp - 0x28], rbx
cmp rbx, rdi
je 0x180065a80
nop dword [rax]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180065a6f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
mov qword [rbp - 0x28], rbx
cmp rbx, rdi
jne 0x180065a50
mov rbx, qword [rbp - 0x18]
mov rdx, qword [rbp - 8]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x180065aac
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180065ade
mov rcx, rbx
call fcn.18008f874
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], 0
mov eax, esi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800aee30
nop
mov ecx, 0x80004005
call fcn.1800220a0
nop
mov ecx, 0x80004005
call fcn.1800220a0
nop
mov ecx, 0x80004005
call fcn.1800220a0
nop
mov ecx, 0x80004005
call fcn.1800220a0
int3