Function at 0x1400a8b80
Capabilities:
Compare security identifiers

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rbp + 0x610], rax
movups xmm0, xmmword [str.mcutil64_install_dir]
movzx eax, word [0x140364598]
xor edx, edx
movups xmm1, xmmword [0x140364580]
mov r15, rcx
mov word [rbp - 0x30], ax
movups xmmword [rbp - 0x58], xmm0
movsd xmm0, qword [0x140364590]
movsd qword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x48], xmm1
call fcn.1400a8260
test eax, eax
je 0x1400a8f7e
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x208
call fcn.1402b60e0
xor edx, edx
lea rcx, [rbp + 0x1f0]
mov r8d, 0x208
call fcn.1402b60e0
xor r12d, r12d
mov dword [rbp - 0x7c], 0x208
xor edx, edx
mov dword [rbp - 0x80], r12d
mov r8d, 0x208
lea rcx, [rbp + 0x400]
call fcn.1402b60e0
lea rax, [rbp - 0x7c]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea rax, [rbp - 0x20]
mov rcx, 0xffffffff80000002
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMcAfeePlatform
call fcn.140034a70
test eax, eax
jne 0x1400a8c87
cmp dword [rbp - 0x80], 1
jne 0x1400a8c87
cmp r12w, word [rbp - 0x20]
je 0x1400a8c87
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1400a8260
test eax, eax
je 0x1400a8f7e
lea rcx, [rbp + 0x1f0]
call fcn.1400a8fd0
test eax, eax
jne 0x1400a8fa4
cmp r12w, word [rbp + 0x1f0]
je 0x1400a8fa4
lea r8, [rbp + 0x1f0]
mov edx, 0x104
lea rcx, [rbp + 0x400]
call fcn.1402c7a30
lea r8, str.mcutil
mov edx, 0x104
lea rcx, [rbp + 0x1f0]
call fcn.1402c79b0
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x208
call fcn.1402b60e0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x1f0]
call fcn.1400a8010
test eax, eax
je 0x1400a8fa4
cmp r12w, word [rbp - 0x20]
je 0x1400a8fa4
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1400a8260
test eax, eax
jne 0x1400a8fa4
mov qword [rsp + 0x728], rdi
mov rdi, r12
mov qword [rsp + 0x720], r14
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r12d
mov word [rsp + 0x7c], 0x500
mov qword [rsp + 0x68], r12
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x68]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov r14d, r12d
test eax, eax
je 0x1400a8e97
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov dword [rsp + 0x60], r12d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 2]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400a8da5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400a8e97
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400a8e97
mov r9d, dword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov r8, rdi
mov edx, 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400a8e97
lea rax, [rsp + 0x70]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x48], r12d
mov r8d, 0x20
mov dword [rsp + 0x40], r12d
mov dl, 2
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400a8e97
mov qword [rsp + 0x758], rbx
mov ebx, r12d
cmp dword [rdi], r12d
jbe 0x1400a8e8f
mov qword [rsp + 0x760], rsi
nop word [rax + rax]
mov rcx, qword [rsp + 0x70]
mov edx, ebx
add rdx, rdx
mov esi, ebx
mov rdx, qword [rdi + rdx*8 + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1400a8e73
inc ebx
cmp ebx, dword [rdi]
jb 0x1400a8e50
jmp 0x1400a8e87
lea rax, [rsi + 1]
add rax, rax
test byte [rdi + rax*8], 4
mov eax, 1
cmovne r14d, eax
mov rsi, qword [rsp + 0x760]
mov rbx, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400a8ea7
call qword [sym.imp.ADVAPI32.dll_FreeSid]
test rdi, rdi
je 0x1400a8eb5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x728]
test rcx, rcx
je 0x1400a8ecd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
mov r14, qword [rsp + 0x720]
je 0x1400a8f7e
mov qword [rbp - 0x68], r12
lea rax, [rbp - 0x20]
mov qword [rbp - 0x60], 7
mov r8, 0xffffffffffffffff
mov word [rbp - 0x78], r12w
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400a8f00
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x78]
call fcn.14002b640
mov r9, qword [rbp - 0x68]
cmp r9, 0x103
ja 0x1400a8f4a
cmp qword [rbp - 0x60], 8
lea r8, [rbp - 0x78]
mov edx, 0x104
lea rcx, [rbp - 0x20]
cmovae r8, qword [rbp - 0x78]
call fcn.1402c7a98
mov rax, qword [rbp - 0x68]
mov word [rbp + rax*2 - 0x20], r12w
lea rcx, [rbp - 0x78]
call fcn.14002ce60
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.1402c4f0c
lea r8, [rbp - 0x58]
lea ecx, [rax*2 + 2]
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
call fcn.1400a7c20
mov rcx, r15
call fcn.1400a84b0
xor eax, eax
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x730
pop r15
pop r12
pop rbp
ret
cmp r12w, word [rbp + 0x400]
je 0x1400a8fc1
lea rdx, [rbp + 0x400]
mov rcx, r15
call fcn.1400a8260
test eax, eax
je 0x1400a8f7e
mov eax, 0x7e
jmp 0x1400a8f88