Function at 0x7ff74aeb564
Capabilities:
Compare security identifiers

Disassembly:
cmp ebx, edi
jne 0x7ff74aeb67c
jmp 0x7ff74b20c6a
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
movsxd rax, dword [rsp + 0xc8]
movsxd r12, dword [rsp + 0xc0]
mov r13, qword [rsp + 0xd0]
lea r10, [rax + r12*2]
lea rax, [0x7ff74b593a0]
xor edi, edi
mov r15d, dword [rax + r10*4]
mov r14, r8
mov esi, 1
cmp r9d, edi
jne 0x7ff74af7acc
mov r12d, edi
cmp r14, rdi
jne 0x7ff74aee02d
call fcn.7ff74ae4348
mov rbp, rax
cmp rax, rdi
je 0x7ff74b20c25
mov r14, qword [rbp]
mov rcx, qword [r13 + 0x30]
mov r8d, r15d
mov rdx, r14
call fcn.7ff74ae4b40
mov ebx, eax
cmp dword [rsp + 0xc8], edi
jne 0x7ff74aeb606
mov rcx, r14
call fcn.7ff74aeb69c
mov r12d, eax
cmp esi, edi
je 0x7ff74aeb612
mov rcx, rbp
call fcn.7ff74ae4848
mov r14, qword [rsp + 0xb0]
mov r15d, 2
mov rsi, qword [rsp + 0xe8]
cmp qword [rsp + 0xe0], rdi
je 0x7ff74ae6920
cmp r12d, edi
jne 0x7ff74ae6920
cmp ebx, edi
je 0x7ff74b20c4a
mov rdx, qword [0x7ff74b58a88]
lea rcx, [r13 + 0x58]
call qword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_EqualSid]
cmp eax, edi
jne 0x7ff74aeb674
mov rdx, qword [rsp + 0xe0]
mov rcx, r13
call fcn.7ff74ae4298
cmp eax, edi
jne 0x7ff74aee4d4
cmp ebx, edi
je 0x7ff74b20c4a
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [r13 + 0x30]
mov r8d, r15d
mov rdx, r14
call fcn.7ff74ae4b40
mov r15d, 4
mov ebx, eax
cmp dword [rsp + 0xc8], edi
jne 0x7ff74aeb620
mov rcx, r14
call fcn.7ff74aeb69c
mov r12d, eax
jmp 0x7ff74aeb620
mov rcx, qword [r13 + 0x50]
mov ebp, 1
mov qword [rsp + 0x50], rdi
cmp rcx, rdi
je 0x7ff74b20c33
mov eax, edi
cmp eax, edi
jl 0x7ff74aee516
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_GetSidSubAuthority]
mov rcx, qword [0x7ff74b58a68]
xor edx, edx
mov rbx, rax
call qword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_GetSidSubAuthority]
mov ecx, dword [rax]
cmp dword [rbx], ecx
sbb eax, eax
and ebp, eax
cmp ebp, edi
mov ebx, edi
sete bl
jmp 0x7ff74aeb674
call fcn.7ff74ae7b90
mov rbx, rax
cmp rax, rdi
je 0x7ff74b20b9a
mov rdx, qword [rbx]
mov rcx, qword [r13 + 0x30]
mov r8d, r15d
call fcn.7ff74ae4b40
mov ebp, eax
cmp esi, edi
je 0x7ff74af7afa
mov rcx, rbx
call fcn.7ff74ae4848
cmp ebp, edi
je 0x7ff74b20ba8
mov esi, 1
jmp 0x7ff74aeb5c0
mov rbx, qword [0x7ff74b583b0]
mov esi, edi
jmp 0x7ff74af7add
mov eax, dword [0x7ff74b58324]
cmp eax, 1
je 0x7ff74b20bc2
cmp eax, edi
jne 0x7ff74b20c1e
bt dword [rsp + 0xd8], 0xe
jb 0x7ff74b20c1e
mov rax, qword [rsp + 0xe8]
cmp rax, rdi
je 0x7ff74b20be1
mov r8, qword [rax + 0x10]
cmp r8, rdi
je 0x7ff74b20be1
add r8, 0xa4
jmp 0x7ff74b20be4
mov r8, rdi
mov rax, qword [r13 + 0x30]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x40], 7
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov dword [rsp + 0x20], 0xc000471f
call fcn.7ff74b2f7c0
xor eax, eax
jmp 0x7ff74aeb67e
mov rbp, qword [0x7ff74b583c0]
mov esi, edi
jmp 0x7ff74aeb5dd
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.7ff74aee08c
mov rcx, qword [rsp + 0x50]
jmp 0x7ff74aee4ed
cmp rsi, rdi
je 0x7ff74ae6920
cmp r14, rdi
mov edx, edi
mov rcx, rsi
setne dl
call fcn.7ff74b3b6ac
mov ebx, eax
jmp 0x7ff74ae6920
mov eax, dword [0x7ff74b58324]
cmp eax, 1
je 0x7ff74b20c8c
cmp eax, edi
jne 0x7ff74aeb67c
bt dword [rsp + 0xd8], 0xe
jb 0x7ff74aeb67c
cmp rsi, rdi
je 0x7ff74b20ca3
mov r8, qword [rsi + 0x10]
cmp r8, rdi
je 0x7ff74b20ca3
add r8, 0xa4
jmp 0x7ff74b20ca6
mov r8, rdi
cmp dword [rsp + 0xc8], edi
mov eax, dword [rsp + 0xc0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x40], r15d
sete dil
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], eax
mov rax, qword [r13 + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov dword [rsp + 0x20], 0xc0004720
call fcn.7ff74b2f7c0
nop
jmp 0x7ff74aeb67c