Function at 0x140011f80
Capabilities:
Compare security identifiers
Get common file path

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0xa60]
sub rsp, 0xb60
mov rax, qword [0x14017b278]
xor rax, rsp
mov qword [rbp + 0xa40], rax
movups xmm0, xmmword [str.mcutil64_install_dir]
movzx eax, word [0x140142e78]
xor edx, edx
movups xmm1, xmmword [0x140142e60]
mov r15, rcx
mov word [rbp - 0x50], ax
movups xmmword [rbp - 0x78], xmm0
movsd xmm0, qword [0x140142e70]
movsd qword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x68], xmm1
call fcn.140011660
test eax, eax
je 0x140012496
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x208
call fcn.14009b2d0
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x208
call fcn.14009b2d0
xor ebx, ebx
mov dword [rbp - 0x80], 0x208
xor edx, edx
mov dword [rsp + 0x7c], ebx
mov r8d, 0x208
lea rcx, [rbp + 0x830]
call fcn.14009b2d0
lea rax, [rbp - 0x80]
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x7c]
lea rax, [rbp]
mov rcx, 0xffffffff80000002
lea r8, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMcAfeePlatform
call fcn.1400103f0
test eax, eax
jne 0x140012086
cmp dword [rsp + 0x7c], 1
jne 0x140012086
cmp bx, word [rbp]
je 0x140012086
lea rdx, [rbp]
mov rcx, r15
call fcn.140011660
test eax, eax
je 0x140012496
movups xmm0, xmmword [str.CommonFiles_Dir]
movzx eax, word [0x140142f08]
xor edx, edx
movups xmm1, xmmword [0x140142ed8]
mov r8d, 0x410
lea rcx, [rbp + 0x420]
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x28], ax
movups xmm0, xmmword [str.McAfeePlatform]
movups xmmword [rbp - 0x10], xmm1
movups xmm1, xmmword [0x140142ef8]
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm1
call fcn.14009b2d0
lea rax, [rsp + 0x74]
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea rax, [rbp + 0x420]
mov dword [rsp + 0x70], ebx
lea r8, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMcAfeeMSC
mov dword [rsp + 0x74], 0x410
mov rcx, 0xffffffff80000002
call fcn.1400103f0
test eax, eax
jne 0x140012138
cmp dword [rsp + 0x70], 1
jne 0x140012138
mov edx, 0x207
lea rcx, [rbp + 0x420]
call fcn.14009ff30
test rax, rax
jne 0x14001217a
xor r9d, r9d
mov word [rbp + 0x420], bx
lea rax, [rbp + 0x420]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x2b]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400124bb
lea r8, [rbp - 0x48]
mov edx, 0x208
lea rcx, [rbp + 0x420]
call fcn.14009fb00
mov edx, 0x207
lea rcx, [rbp + 0x420]
call fcn.14009ff30
mov ecx, 0x5c
cmp cx, word [rbp + rax*2 + 0x41e]
je 0x1400121ba
lea r8, [0x1401444a4]
mov edx, 0x208
lea rcx, [rbp + 0x420]
call fcn.14009fb00
test eax, eax
jne 0x1400124bb
mov ecx, 0x22
lea rax, [rbp + 0x422]
cmp cx, word [rbp + 0x420]
lea r8, [rbp + 0x420]
mov edx, 0x104
lea rcx, [rbp + 0x210]
cmove r8, rax
call fcn.1400a68cc
test eax, eax
jne 0x1400124bb
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x210]
call fcn.1400124e0
test eax, eax
jne 0x140012216
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400124bb
cmp bx, word [rbp + 0x210]
je 0x1400124bb
lea r8, [rbp + 0x210]
mov edx, 0x104
lea rcx, [rbp + 0x830]
call fcn.1400a68cc
lea r8, str.mcutil
mov edx, 0x104
lea rcx, [rbp + 0x210]
call fcn.14009fb00
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x208
call fcn.14009b2d0
lea rdx, [rbp]
lea rcx, [rbp + 0x210]
call fcn.140011410
test eax, eax
je 0x1400124bb
cmp bx, word [rbp]
je 0x1400124bb
lea rdx, [rbp]
mov rcx, r15
call fcn.140011660
test eax, eax
jne 0x1400124bb
mov qword [rsp + 0xb88], rsi
mov rsi, rbx
mov qword [rsp + 0xb58], r12
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x74], ebx
mov word [rsp + 0x78], 0x500
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov r12d, 1
test eax, eax
je 0x140012403
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x70], ebx
lea edx, [r12 + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140012320
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140012403
mov edx, dword [rsp + 0x70]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140012403
mov r9d, dword [rsp + 0x70]
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov r8, rsi
mov edx, 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140012403
lea rax, [rsp + 0x68]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x74]
mov dword [rsp + 0x48], ebx
mov r8d, 0x20
mov dword [rsp + 0x40], ebx
mov dl, 2
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140012403
mov qword [rsp + 0xb90], rdi
mov edi, ebx
cmp dword [rsi], ebx
jbe 0x1400123fb
mov qword [rsp + 0xb50], r14
nop word [rax + rax]
mov rcx, qword [rsp + 0x68]
mov edx, edi
add rdx, rdx
mov r14d, edi
mov rdx, qword [rsi + rdx*8 + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1400123e4
inc edi
cmp edi, dword [rsi]
jb 0x1400123c0
jmp 0x1400123f3
lea rax, [r14 + 1]
add rax, rax
test byte [rsi + rax*8], 4
cmovne ebx, r12d
mov r14, qword [rsp + 0xb50]
mov rdi, qword [rsp + 0xb90]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140012413
call qword [sym.imp.ADVAPI32.dll_FreeSid]
test rsi, rsi
je 0x140012421
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0xb88]
test rcx, rcx
je 0x140012439
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14001248e
lea rdx, [rbp]
lea rcx, [rbp]
call fcn.1400124e0
mov edx, 0x104
lea rcx, [rbp]
call fcn.14009ff30
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [rbp - 0x78]
mov r9d, r12d
lea rdx, str.SOFTWAREMcAfeePlatform
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
lea rax, [rbp]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call fcn.140010820
mov r12, qword [rsp + 0xb58]
mov rcx, r15
call fcn.1400118d0
xor eax, eax
mov rcx, qword [rbp + 0xa40]
xor rcx, rsp
call fcn.140086e90
add rsp, 0xb60
pop r15
pop rbx
pop rbp
ret
cmp bx, word [rbp + 0x830]
je 0x1400124d7
lea rdx, [rbp + 0x830]
mov rcx, r15
call fcn.140011660
test eax, eax
je 0x140012496
mov eax, 0x7e
jmp 0x1400124a0
add rcx, 8
jmp 0x140011f80