Function at 0x1400904e4
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 [0x1400cd220]
xor rax, rsp
mov qword [rbp + 0x50], rax
movzx r14d, r9b
mov r15d, r8d
mov dword [rsp + 0x34], r8d
mov rbx, rdx
mov r13, rcx
mov r12, qword [rbp + 0xd0]
mov qword [rsp + 0x40], r12
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x140090559
test byte [rcx + 0x1c], 1
je 0x140090559
cmp byte [rcx + 0x19], 5
jb 0x140090559
mov dword [rsp + 0x20], r14d
mov r9d, r8d
mov rcx, qword [rcx + 0x10]
call fcn.140092dec
xor esi, esi
mov qword [rsp + 0x38], rsi
lea rcx, [rbp - 0x30]
call fcn.140090290
nop
mov dword [r12], 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 0x1400905c0
test byte [rcx + 0x1c], 2
je 0x1400905c0
cmp byte [rcx + 0x19], 4
jb 0x1400905c0
lea edx, [rsi + 0x19]
mov r9d, eax
lea r8, [0x1400bd6b0]
mov rcx, qword [rcx + 0x10]
call fcn.1400063c0
mov rcx, qword [section..data]
cmp edi, 1
jne 0x1400907d0
mov edi, esi
mov rdx, qword [rsp + 0x38]
test rdx, rdx
setne dil
cmp rcx, rbx
je 0x14009060c
test byte [rcx + 0x1c], 2
je 0x14009060c
cmp byte [rcx + 0x19], 4
jb 0x14009060c
mov edx, DispGetParam
mov r9d, edi
lea r8, [0x1400bd6b0]
mov rcx, qword [rcx + 0x10]
call fcn.1400063c0
mov rdx, qword [rsp + 0x38]
mov rcx, qword [section..data]
cmp edi, 1
jne 0x1400907d0
lea rcx, [rbp - 0x30]
call fcn.140090368
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x50]
call fcn.140090290
nop
mov rax, qword [r13]
movabs r10, 0xc721a6e0145d7b70
mov rcx, r13
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
cmp esi, eax
jae 0x14009075e
mov rax, qword [r13]
movabs r10, 0xe3c5a7e75a535170
mov edx, esi
mov rcx, r13
mov rax, qword [rax + 0x20]
call qword [case.0x140071786.0]
mov r15, rax
lea rbx, [rax + 8]
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x1400906f6
mov ecx, dword [rbx + 0x50]
mov dword [rbp - 0x60], ecx
lea rdx, [rbx + 0x58]
lea rcx, [rbp - 0x58]
call fcn.1400052d4
lea rdx, [rbx + 0x60]
lea rcx, [rbp - 0x50]
call fcn.1400052d4
lea rdx, [rbx + 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400052d4
mov al, byte [rbx + 0x4c]
mov byte [rbp - 0x64], al
test al, al
je 0x1400906f6
lea rcx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
nop dword [rax + rax]
lea r8, [rbx + 8]
lea rdx, [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.ADVAPI32.dll_CopySid]
nop dword [rax + rax]
test eax, eax
je 0x140090826
mov r12d, dword [r15 + 0x80]
mov rax, qword [r15]
movabs r10, 0xe7881fe736d43170
mov rcx, r15
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
mov bl, al
mov al, byte [r15 + 0x84]
mov byte [rsp + 0x30], al
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
mov r15d, dword [rsp + 0x34]
test eax, eax
je 0x140090757
test bl, bl
jne 0x140090757
cmp r12d, r15d
jne 0x140090757
mov al, r14b
and al, byte [rsp + 0x30]
cmp al, r14b
je 0x1400907b8
inc esi
jmp 0x14009063f
mov r9b, r14b
mov r8d, r15d
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.14000c724
movzx edi, al
mov rcx, qword [section..data]
lea rbx, section..data
cmp rcx, rbx
je 0x1400907aa
test byte [rcx + 0x1c], 2
je 0x1400907aa
cmp byte [rcx + 0x19], 4
jb 0x1400907aa
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov r9d, edi
lea r8, [0x1400bd6b0]
mov rcx, qword [rcx + 0x10]
call fcn.1400063c0
cmp edi, 1
jne 0x1400907bf
mov rax, qword [rsp + 0x40]
mov dword [rax], edi
jmp 0x1400907bf
lea rbx, section..data
lea rcx, [rsp + 0x50]
call fcn.14000bf64
mov rcx, qword [section..data]
cmp rcx, rbx
je 0x1400907fa
test byte [rcx + 0x1c], 1
je 0x1400907fa
cmp byte [rcx + 0x19], 5
jb 0x1400907fa
mov edx, 0x1c
mov r9d, edi
lea r8, [0x1400bd6b0]
mov rcx, qword [rcx + 0x10]
call fcn.1400063c0
nop
lea rcx, [rbp - 0x30]
call fcn.14000bf64
mov eax, edi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140003680
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000d320
nop
mov byte [rbp - 0x64], 0
mov ecx, eax
call fcn.1400055a0
int3