Function at 0x42a920
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd0
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x57f040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ebx, ebx
mov dword [ebp - 0xbc], ebx
xor ecx, ecx
dec ecx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc8], ebx
lea ecx, [ebp - 0xd0]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx - 4], ecx
cmp byte [eax + 0xb], 0
jns 0x42a96d
mov eax, dword [eax]
sub esp, 0x20
lea ecx, [ebp - 0xbc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
lea ecx, [ebp - 0xc0]
mov dword [esp + 0x14], ecx
movsd xmm0, qword [0x564aa0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
mov ecx, 0
test eax, eax
jne 0x42a9c9
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
push eax
push ecx
push dword [ebp - 0xc0]
call dword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclW]
test eax, eax
je 0x42aa1a
xor ebx, ebx
xor ecx, ecx
mov esi, dword [ebp + 8]
mov byte [esi], bl
mov byte [esi + 1], cl
lea ecx, [ebp - 0xd4]
push dword [ecx + 4]
call fcn.0042b3f0
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x42a9f0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x42aa01
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e71b0
mov eax, esi
add esp, 0xd0
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
cmp dword [ebp - 0xc4], 0
je 0x42aa2a
xor ebx, ebx
jmp 0x42aad3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp dword [ebp - 0xcc], ecx
sete bl
mov cl, 1
jmp 0x42a9c9
test esi, esi
je 0x42aa4d
push esi
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor ebx, ebx
jmp 0x42aa3e
xor ebx, ebx
jmp 0x42a9c9
mov eax, dword [esi]
mov edi, esi
test eax, eax
je 0x42aa75
mov esi, eax
mov eax, dword [eax + 0x10]
cmp ebx, eax
jl 0x42aa58
jle 0x42aac0
mov eax, dword [esi + 4]
test eax, eax
jne 0x42aa60
lea edi, [esi + 4]
push 0x14
call fcn.004e6c0e
add esp, 4
cmp eax, 0xfffffff0
je 0x42ac7c
mov dword [eax + 0x10], ebx
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [edi], eax
mov ecx, dword [ebp - 0xd4]
mov ecx, dword [ecx]
test ecx, ecx
je 0x42aaab
mov dword [ebp - 0xd4], ecx
mov eax, dword [edi]
push eax
push dword [ebp - 0xd0]
call fcn.00494810
add esp, 8
inc dword [ebp - 0xcc]
mov ebx, dword [ebp - 0xdc]
inc ebx
cmp ebx, dword [ebp - 0xc4]
jae 0x42aa2a
mov edi, ebx
shl edi, 5
add edi, dword [ebp - 0xc8]
push 2
call fcn.004b6060
add esp, 4
test al, al
je 0x42ab1a
lea esi, [ebp - 0xb4]
mov ecx, esi
push 2
push 0x1b9
push str.....operadesktopwindowscommon_access_control_access_control_utils_impl.cc
call fcn.004682f0
lea ecx, [ebp - 0xac]
push dword [edi + 4]
call fcn.00411900
mov ecx, esi
call fcn.004687c0
mov cl, 1
cmp dword [edi + 0x14], 0
jne 0x42aa51
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0xd8], eax
xor eax, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov word [ebp - 0xb0], 0x500
sub esp, 0x2c
lea ecx, [ebp - 0xb8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
movaps xmm0, xmmword [0x564a80]
movups xmmword [esp + 4], xmm0
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov esi, dword [ebp - 0xb8]
test eax, eax
je 0x42aa42
mov dword [ebp - 0xdc], ebx
xor ebx, ebx
test esi, esi
je 0x42aa3e
push dword [ebp - 0xd8]
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42ac35
xor eax, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov word [ebp - 0xb0], 0x500
sub esp, 0x2c
lea ecx, [ebp - 0xb8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x14], xmm0
movsd xmm0, qword [0x564ab0]
movups xmmword [esp + 4], xmm0
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x42ac62
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x42aa46
push dword [ebp - 0xd8]
push eax
mov dword [ebp - 0xd8], eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, 1
mov ebx, 0
adc ebx, 2
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push esi
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp ebx, 3
je 0x42aa4d
cmp dword [edi + 4], 1
mov cl, 1
jne 0x42aa51
mov eax, dword [ebp - 0xd0]
lea esi, [ebp - 0xd0]
jmp 0x42aa5a
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x42aa46
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x42aa46
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x55eb93
call fcn.00516c70
int3