Function at 0x180021808
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x50
xor eax, eax
lea rdx, [rbp + 0x58]
mov r12, rcx
mov dword [rbp + 0x50], eax
mov ecx, 0x220
mov qword [rbp + 0x58], rax
mov esi, eax
mov qword [rbp - 0x18], rax
mov edi, eax
mov qword [rbp - 0x30], rax
mov r14d, eax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x10], rax
mov ebx, eax
mov qword [rbp - 0x20], rax
mov r13, r8
mov dword [r8], eax
call fcn.18000f5bc
test eax, eax
jne 0x180021995
lea rdx, [rbp - 0x18]
mov ecx, 0x221
call fcn.18000f5bc
test eax, eax
jne 0x180021991
mov rdx, qword [rbp + 0x58]
mov rcx, r12
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
mov rsi, qword [rbp - 0x18]
test eax, eax
jne 0x1800218ae
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x180021995
lea rdx, [rbp - 0x20]
mov dword [r13], 1
lea rcx, [rbp - 0x10]
call fcn.18003d9bc
mov rbx, qword [rbp - 0x20]
test eax, eax
js 0x18002198c
test rbx, rbx
je 0x18002198c
mov rcx, qword [rbx + 0x10]
lea r8, [rbp - 0x30]
mov edx, 0x200
call fcn.1800132bc
test eax, eax
js 0x180021983
mov rcx, qword [rbx + 0x10]
lea r8, [rbp - 0x28]
mov edx, 0x201
call fcn.1800132bc
test eax, eax
js 0x180021975
mov rdx, qword [rbp + 0x58]
mov rcx, r12
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
mov r14, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x30]
mov r13, qword [rbp + 0x48]
test eax, eax
je 0x180021941
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
jne 0x18002196d
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x18002197d
mov rdx, r14
mov rcx, r13
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x18002197d
mov r12d, 1
jmp 0x180021998
mov rdi, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
mov r12d, dword [rbp + 0x50]
jmp 0x180021998
mov rdi, qword [rbp - 0x30]
mov r12d, r14d
jmp 0x180021998
mov r12d, edi
jmp 0x180021998
mov rsi, qword [rbp - 0x18]
mov r12d, ebx
cmp qword [rbp + 0x58], 0
je 0x1800219af
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
test rsi, rsi
je 0x1800219c3
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
test rdi, rdi
je 0x1800219d7
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
test r14, r14
je 0x1800219eb
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x180021a00
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
test rbx, rbx
je 0x180021a14
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov eax, r12d
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret