Function at 0x140001ee0
Capabilities:
Compare security identifiers
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14000a020]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, rcx
xor r14d, r14d
mov r15d, r14d
mov dword [rbp - 0x48], r14d
lea rcx, [rbp - 0x38]
call fcn.140004180
mov rcx, rax
call fcn.140001990
mov rdi, rax
lea rcx, [rbp - 0x38]
call fcn.140004180
mov rcx, rax
call fcn.140003e30
mov esi, eax
mov rcx, rdi
call fcn.140004da0
mov dword [rsp + 0x20], esi
lea r9, [rbp - 0x48]
mov r8d, dword [rbp - 0x48]
xor edx, edx
lea ecx, [rdx + 5]
call fcn.140004e5a
cmp eax, 0xc0000004
jne 0x140001fb8
test r15, r15
je 0x140001f7f
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
je 0x140001fca
mov rcx, rdi
call fcn.140004da0
mov dword [rsp + 0x20], esi
lea r9, [rbp - 0x48]
mov r8d, dword [rbp - 0x48]
mov rdx, r15
mov ecx, 5
call fcn.140004e5a
cmp eax, 0xc0000004
je 0x140001f71
test eax, eax
jns 0x140001fcd
test r15, r15
je 0x140001fca
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, r14
mov qword [rbp + 0x50], r14
movdqa xmm0, xmmword [0x140007ae0]
movdqa xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r14w
mov r8d, 0xc
lea rdx, str.winlogon.exe
lea rcx, [rbp + 0x50]
call fcn.1400037f0
nop
mov qword [rbp + 0x70], r14
movdqa xmm0, xmmword [0x140007ae0]
movdqa xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r14w
mov r8d, 9
lea rdx, str.csrss.exe
lea rcx, [rbp + 0x70]
call fcn.1400037f0
nop
mov qword [rbp + 0x90], r14
movdqa xmm0, xmmword [0x140007ae0]
movdqa xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r14w
mov r8d, 0xb
lea rdx, str.svchost.exe
lea rcx, [rbp + 0x90]
call fcn.1400037f0
nop
mov qword [rbp + 0xb0], r14
movdqa xmm0, xmmword [0x140007ae0]
movdqa xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], r14w
mov r8d, 9
lea rdx, str.lsass.exe
lea rcx, [rbp + 0xb0]
call fcn.1400037f0
nop
mov qword [rbp + 0xd0], r14
movdqa xmm0, xmmword [0x140007ae0]
movdqa xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], r14w
mov r8d, 0xb
lea rdx, str.spoolsv.exe
lea rcx, [rbp + 0xd0]
call fcn.1400037f0
nop
mov qword [rbp + 0xf0], r14
movdqa xmm0, xmmword [0x140007ae0]
movdqa xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], r14w
mov r8d, 0xa
lea rdx, str.LsaIso.exe
lea rcx, [rbp + 0xf0]
call fcn.1400037f0
nop
mov qword [rbp - 8], r14
mov qword [rbp - 0x18], r14
mov qword [rbp], r14
lea rdx, [0x140007900]
lea rcx, [rbp - 0x38]
call fcn.140004260
mov rcx, rax
call fcn.140001990
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x38]
call fcn.140004340
mov rcx, rax
call fcn.140001990
mov rdi, rax
mov qword [rsp + 0x68], rax
lea rcx, [rbp - 0x38]
call fcn.140003c70
mov rcx, rax
call fcn.140001990
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x38]
call fcn.1400040a0
mov rcx, rax
call fcn.140001990
mov qword [rsp + 0x58], rax
lea rdx, [0x140007900]
lea rcx, [rbp - 0x38]
call fcn.140004260
mov rcx, rax
call fcn.140003e30
mov dword [rsp + 0x48], eax
lea rcx, [rbp - 0x38]
call fcn.140004340
mov rcx, rax
call fcn.140003e30
mov esi, eax
mov dword [rsp + 0x4c], eax
lea rcx, [rbp - 0x38]
call fcn.140003c70
mov rcx, rax
call fcn.140003e30
mov dword [rsp + 0x50], eax
lea rcx, [rbp - 0x38]
call fcn.1400040a0
mov rcx, rax
call fcn.140003e30
mov r13d, eax
mov qword [rbp - 0x10], r14
mov rcx, rdi
call fcn.140004da0
mov r9d, esi
lea r8, [rbp - 0x10]
mov edx, 0x20
mov rcx, 0xffffffffffffffff
call fcn.140004e14
mov r12d, eax
test eax, eax
jns 0x14000225a
cmp eax, 0xc0000022
jne 0x14000225a
mov rbx, qword [rbp - 0x10]
lea r9, [0x140003720]
mov edx, 0x20
lea r8d, [rdx - 0x1a]
lea rcx, [rbp + 0x50]
call fcn.140004efc
mov rax, rbx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140004ea0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r14, qword [rbp - 0x10]
lea rdx, str.AdjustPrivilegesToken
lea rcx, [rbp - 0x38]
call fcn.140003fc0
mov rcx, rax
call fcn.140001990
mov rsi, rax
lea rcx, [rbp - 0x38]
call fcn.1400040a0
mov rcx, rax
call fcn.140001990
lea rdx, str.AdjustPrivilegesToken
lea rcx, [rbp - 0x38]
call fcn.140003fc0
mov rcx, rax
call fcn.140003e30
mov edi, eax
lea rcx, [rbp - 0x38]
call fcn.1400040a0
mov rcx, rax
call fcn.140003e30
mov dword [rbp + 0x38], 1
mov qword [rbp + 0x3c], rbx
mov dword [rbp + 0x44], 2
mov rcx, rsi
call fcn.140004da0
mov dword [rsp + 0x30], edi
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 0x38]
xor edx, edx
mov rcx, r14
call fcn.140004e36
mov rcx, qword [rsp + 0x58]
call fcn.140004da0
mov edx, r13d
mov rcx, qword [rbp - 0x10]
call fcn.140004e6c
nop word [rax + rax]
cmp word [r15 + 0x38], 0
je 0x14000251e
lea r11, [rbp + 0x110]
lea r9, [rbp + 0x50]
lea rax, [rbp + 0x50]
cmp rax, r11
je 0x14000239f
mov r10, qword [r15 + 0x40]
nop dword [rax]
nop dword [rax + rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r10 + rax*2], 0
jne 0x140002350
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x140002368
mov r8, qword [r9]
mov rdx, qword [r9 + 0x10]
cmp rdx, rax
jne 0x140002396
mov rax, r10
test rdx, rdx
je 0x14000239f
sub r8, r10
nop dword [rax]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x140002396
add rax, 2
sub rdx, 1
je 0x14000239f
jmp 0x140002380
add r9, 0x20
cmp r9, r11
jne 0x140002340
cmp r9, r11
jne 0x14000251e
mov rax, qword [r15 + 0x50]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rbx
mov dword [rbp + 0x38], 0xc
mov dword [rbp + 0x3c], 2
mov word [rbp + 0x40], 1
mov dword [rbp + 8], 0x30
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov dword [rbp + 0x20], ebx
mov qword [rbp + 0x28], rbx
lea rax, [rbp + 0x38]
mov qword [rbp + 0x30], rax
mov rcx, qword [rsp + 0x60]
call fcn.140004da0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x38]
lea r8, [rbp + 8]
mov edx, 0x400
lea rcx, [rbp - 8]
call fcn.140004dde
mov r12d, eax
test eax, eax
jns 0x140002420
cmp eax, 0xc0000022
je 0x14000251e
mov rcx, qword [rsp + 0x68]
call fcn.140004da0
mov r9d, dword [rsp + 0x4c]
lea r8, [rbp - 0x18]
mov edx, 0xb
mov rcx, qword [rbp - 8]
call fcn.140004e14
mov r12d, eax
test eax, eax
jns 0x140002453
cmp eax, 0xc0000022
je 0x14000251e
mov rbx, qword [rbp - 0x18]
mov dword [rbp - 0x44], 8
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
lea rdx, str.QueryInformationToken
lea rcx, [rsp + 0x78]
call fcn.140003fc0
mov rcx, rax
call fcn.140001990
mov rsi, rax
lea rdx, str.QueryInformationToken
lea rcx, [rbp - 0x68]
call fcn.140003fc0
mov rcx, rax
call fcn.140003e30
mov r14d, eax
mov rcx, rsi
call fcn.140004da0
mov dword [rsp + 0x28], r14d
lea rax, [rbp - 0x44]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x44]
mov r8, rdi
mov edx, 1
mov rcx, rbx
call fcn.140004e24
cmp eax, 0xc0000023
je 0x1400024db
cmp eax, 0xc0000004
jne 0x140002538
test rdi, rdi
je 0x1400024e9
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400024a3
mov rcx, qword [rsp + 0x58]
call fcn.140004da0
mov edx, r13d
mov rcx, qword [rbp - 8]
call fcn.140004e6c
mov edx, r13d
mov rcx, qword [rbp - 0x18]
call fcn.140004e6c
xor ebx, ebx
mov eax, dword [r15]
add r15, rax
cmp dword [r15], 0
jne 0x140002310
mov ecx, r12d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test eax, eax
jns 0x14000254c
test rdi, rdi
je 0x1400024fa
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400024fa
lea rdx, [rbp - 0x40]
lea rcx, str.S_1_5_18
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1400024fa
mov rcx, qword [rsp + 0x40]
call fcn.140004da0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 8]
mov edx, 0xf01ff
mov rcx, qword [rbp - 0x18]
call fcn.140004e48
mov r12d, eax
test eax, eax
jns 0x1400025d1
cmp eax, 0xc0000022
je 0x14000251c
mov rcx, qword [rsp + 0x58]
call fcn.140004da0
mov edx, r13d
mov rcx, qword [rbp - 8]
call fcn.140004e6c
mov edx, r13d
mov rcx, qword [rbp - 0x18]
call fcn.140004e6c
mov rbx, qword [rbp]
jmp 0x14000220e