Function at 0x14009ab44
Capabilities:
Compare security identifiers

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x1400ca1c0]
xor rax, rsp
mov qword [rbp + 0x50], rax
movzx r14d, r9b
mov r15d, r8d
mov rbx, rdx
mov r12, rcx
mov r13, qword [rbp + 0xd0]
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x14009abaf
test byte [rcx + 0x1c], 1
je 0x14009abaf
cmp byte [rcx + 0x19], 5
jb 0x14009abaf
mov dword [rsp + 0x20], r14d
mov r9d, r8d
mov rcx, qword [rcx + 0x10]
call fcn.14009c8f4
xor esi, esi
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x50]
call fcn.14009a910
nop
mov dword [r13], esi
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [section..data]
lea rbx, section..data
cmp rcx, rbx
je 0x14009ac17
test byte [rcx + 0x1c], 2
je 0x14009ac17
cmp byte [rcx + 0x19], 4
jb 0x14009ac17
lea edx, [rsi + 0x19]
mov r9d, eax
lea r8, [0x1400aca20]
mov rcx, qword [rcx + 0x10]
call fcn.140043960
mov rcx, qword [section..data]
cmp edi, 1
jne 0x14009adbb
mov edi, esi
mov rdx, qword [rsp + 0x38]
test rdx, rdx
setne dil
cmp rcx, rbx
je 0x14009ac63
test byte [rcx + 0x1c], 2
je 0x14009ac63
cmp byte [rcx + 0x19], 4
jb 0x14009ac63
mov edx, DispGetParam
mov r9d, edi
lea r8, [0x1400aca20]
mov rcx, qword [rcx + 0x10]
call fcn.140043960
mov rdx, qword [rsp + 0x38]
mov rcx, qword [section..data]
cmp edi, 1
jne 0x14009adbb
lea rcx, [rsp + 0x50]
call fcn.14009aa00
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov qword [rsp + 0x38], rsi
lea rcx, [rbp - 0x30]
call fcn.14009a910
nop
mov rax, qword [r12]
movabs r10, 0xc721a6e0145d7b70
mov rcx, r12
mov rax, qword [rax + 8]
call qword [case.0x140028cb6.0]
cmp esi, eax
jae 0x14009ad4c
mov rax, qword [r12]
movabs r10, 0xe3c5a7e75a535170
mov edx, esi
mov rcx, r12
mov rax, qword [rax + 0x20]
call qword [case.0x140028cb6.0]
mov rbx, rax
lea rdx, [rax + 8]
lea rcx, [rbp - 0x30]
call fcn.14009aa4c
mov eax, dword [rbx + 0x80]
mov dword [rsp + 0x40], eax
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x18]
movabs r10, 0xe7881fe736d43170
mov rcx, rbx
call qword [case.0x140028cb6.0]
mov byte [rsp + 0x30], al
mov bl, byte [rbx + 0x84]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
je 0x14009ad45
cmp byte [rsp + 0x30], 0
jne 0x14009ad45
cmp dword [rsp + 0x40], r15d
jne 0x14009ad45
mov al, r14b
and al, bl
cmp al, r14b
je 0x14009ada4
inc esi
jmp 0x14009ac96
mov r9b, r14b
mov r8d, r15d
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.14004a72c
movzx edi, al
mov rcx, qword [section..data]
lea rbx, section..data
cmp rcx, rbx
je 0x14009ad99
test byte [rcx + 0x1c], 2
je 0x14009ad99
cmp byte [rcx + 0x19], 4
jb 0x14009ad99
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov r9d, edi
lea r8, [0x1400aca20]
mov rcx, qword [rcx + 0x10]
call fcn.140043960
cmp edi, 1
jne 0x14009adab
mov dword [r13], edi
jmp 0x14009adab
lea rbx, section..data
lea rcx, [rbp - 0x30]
call fcn.14004a120
mov rcx, qword [section..data]
cmp rcx, rbx
je 0x14009ade5
test byte [rcx + 0x1c], 1
je 0x14009ade5
cmp byte [rcx + 0x19], 5
jb 0x14009ade5
mov edx, 0x1c
mov r9d, edi
lea r8, [0x1400aca20]
mov rcx, qword [rcx + 0x10]
call fcn.140043960
nop
lea rcx, [rsp + 0x50]
call fcn.14004a120
mov eax, edi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140044080
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret