Function at 0x4403f0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd4
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x59d024]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
xor edx, edx
dec edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc8], ecx
lea edx, [ebp - 0xd0]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx - 4], edx
cmp byte [eax + 0xb], 0
jns 0x44043d
mov eax, dword [eax]
mov esi, dword [ebp + 8]
sub esp, 0x20
lea edx, [ebp - 0xbc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea ecx, [ebp - 0xc0]
mov dword [esp + 0x14], ecx
movaps xmm0, xmmword [0x5869c0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x440492
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 0x4404de
mov byte [esi], 0
lea ecx, [ebp - 0xd4]
push dword [ecx + 4]
call fcn.00440ef0
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x4404b4
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x4404c5
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed092
mov eax, esi
add esp, 0xd4
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
cmp dword [ebp - 0xc4], 0
je 0x440721
xor ebx, ebx
mov esi, dword [ebp - 0xc8]
push 2
call fcn.004b4490
add esp, 4
test al, al
je 0x440539
mov edi, esi
lea esi, [ebp - 0xb4]
mov ecx, esi
push 2
push 0x1b9
push str.....operadesktopwindowscommon_access_control_access_control_utils_impl.cc
call fcn.0046fcd0
mov eax, ebx
shl eax, 5
lea ecx, [ebp - 0xac]
push dword [edi + eax + 4]
call fcn.0042aaf0
mov ecx, esi
mov esi, edi
call fcn.00470110
mov edi, ebx
shl edi, 5
cmp dword [esi + edi + 0x14], 0
jne 0x44074c
mov dword [ebp - 0xe0], esi
mov eax, dword [esi + 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 [0x5869a0]
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 0x440741
mov dword [ebp - 0xdc], ebx
test esi, esi
je 0x44074c
push dword [ebp - 0xd8]
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
xor ebx, ebx
mov ecx, 0
test eax, eax
jne 0x440672
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 [0x5869d0]
movups xmmword [esp + 4], xmm0
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, dword [ebp - 0xb8]
test eax, eax
je 0x440662
test ecx, ecx
je 0x44066d
push dword [ebp - 0xd8]
push ecx
mov dword [ebp - 0xd8], ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
xor ebx, ebx
test eax, eax
sete bl
or ebx, 2
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor ecx, ecx
jmp 0x440672
test ecx, ecx
je 0x44066d
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov cl, 1
xor ebx, ebx
dec ebx
push esi
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, esi
test al, al
jne 0x44074c
cmp ebx, 3
je 0x44074c
mov eax, dword [ebp - 0xe0]
cmp dword [eax + edi + 4], 1
jne 0x44074c
mov eax, dword [ebp - 0xd0]
lea esi, [ebp - 0xd0]
mov edi, esi
test eax, eax
je 0x4406cc
mov esi, eax
mov eax, dword [eax + 0x10]
cmp ebx, eax
jl 0x4406c5
jle 0x44070e
mov eax, dword [esi + 4]
test eax, eax
jne 0x4406b1
jmp 0x4406c9
mov eax, dword [esi]
jmp 0x4406ab
lea edi, [esi + 4]
push 0x14
call fcn.004eca5e
add esp, 4
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 0x4406f9
mov dword [ebp - 0xd4], ecx
mov eax, dword [edi]
push eax
push dword [ebp - 0xd0]
call fcn.004abc80
add esp, 8
inc dword [ebp - 0xcc]
mov ebx, dword [ebp - 0xdc]
inc ebx
cmp ebx, dword [ebp - 0xc4]
jb 0x4404ed
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
cmp dword [ebp - 0xcc], ecx
mov esi, dword [ebp + 8]
mov byte [esi], 1
sete byte [esi + 1]
jmp 0x440495
test esi, esi
je 0x44074c
push esi
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov esi, dword [ebp + 8]
mov word [esi], 1
jmp 0x440495