Function at 0x1400689f0
Capabilities:
Compare security identifiers

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x610], rax
movups xmm0, xmmword [str.mcutil64_install_dir]
movzx eax, word [0x140302e08]
xor edx, edx
movups xmm1, xmmword [0x140302df0]
mov r15, rcx
mov word [rbp - 0x30], ax
movups xmmword [rbp - 0x58], xmm0
movsd xmm0, qword [0x140302e00]
movsd qword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x48], xmm1
call fcn.1400680d0
test eax, eax
je 0x140068e0c
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x208
call fcn.14026c200
xor edx, edx
lea rcx, [rbp + 0x1f0]
mov r8d, 0x208
call fcn.14026c200
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.14026c200
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.140029e00
test eax, eax
jne 0x140068af7
cmp dword [rbp - 0x80], 1
jne 0x140068af7
cmp r12w, word [rbp - 0x20]
je 0x140068af7
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1400680d0
test eax, eax
je 0x140068e0c
lea rcx, [rbp + 0x1f0]
call fcn.140068e60
test eax, eax
jne 0x140068e32
cmp r12w, word [rbp + 0x1f0]
je 0x140068e32
lea r8, [rbp + 0x1f0]
mov edx, 0x104
lea rcx, [rbp + 0x400]
call fcn.140278ba4
lea r8, str.mcutil
mov edx, 0x104
lea rcx, [rbp + 0x1f0]
call fcn.140278c0c
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x208
call fcn.14026c200
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x1f0]
call fcn.140067e80
test eax, eax
je 0x140068e32
cmp r12w, word [rbp - 0x20]
je 0x140068e32
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1400680d0
test eax, eax
jne 0x140068e32
mov qword [rsp + 0x768], rdi
mov rdi, r12
mov qword [rsp + 0x728], r13
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 r13d, 1
mov r14d, r12d
test eax, eax
je 0x140068d12
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x60], r12d
lea edx, [r13 + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140068c23
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140068d12
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140068d12
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 0x140068d12
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 0x140068d12
mov qword [rsp + 0x758], rbx
mov ebx, r12d
cmp dword [rdi], r12d
jbe 0x140068d0a
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 0x140068cf3
inc ebx
cmp ebx, dword [rdi]
jb 0x140068cd0
jmp 0x140068d02
lea rax, [rsi + 1]
add rax, rax
test byte [rdi + rax*8], 4
cmovne r14d, r13d
mov rsi, qword [rsp + 0x760]
mov rbx, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140068d22
call qword [sym.imp.ADVAPI32.dll_FreeSid]
test rdi, rdi
je 0x140068d30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x768]
test rcx, rcx
je 0x140068d48
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
mov r14, qword [rsp + 0x720]
je 0x140068e04
mov qword [rbp - 0x78], r12
lea rax, [rbp - 0x20]
mov qword [rbp - 0x68], r12
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x60], 7
inc r8
cmp word [rax + r8*2], r12w
jne 0x140068d74
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x78]
call fcn.140025e70
mov r9, qword [rbp - 0x68]
cmp r9, 0x103
ja 0x140068dbe
cmp qword [rbp - 0x60], 8
lea r8, [rbp - 0x78]
mov edx, 0x104
lea rcx, [rbp - 0x20]
cmovae r8, qword [rbp - 0x78]
call fcn.14027bb08
mov rax, qword [rbp - 0x68]
mov word [rbp + rax*2 - 0x20], r12w
lea rcx, [rbp - 0x78]
call fcn.140025de0
mov edx, 0x104
lea rcx, [rbp - 0x20]
call fcn.1402782ec
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
lea r8, [rbp - 0x58]
mov r9d, r13d
lea rdx, str.SOFTWAREMcAfeePlatform
lea ecx, [rax*2 + 2]
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
call fcn.14002a230
mov r13, qword [rsp + 0x728]
mov rcx, r15
call fcn.140068320
xor eax, eax
mov rcx, qword [rbp + 0x610]
xor rcx, rsp
call fcn.140269300
add rsp, 0x730
pop r15
pop r12
pop rbp
ret
cmp r12w, word [rbp + 0x400]
je 0x140068e4f
lea rdx, [rbp + 0x400]
mov rcx, r15
call fcn.1400680d0
test eax, eax
je 0x140068e0c
mov eax, 0x7e
jmp 0x140068e16