Function at 0x4ab2e0
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0xf0
mov eax, dword [0x5181f4]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0xfc]
cmp ebp, ebx
mov dword [esp + 0x18], ebp
mov byte [esp + 0xcc], bl
mov byte [esp + 0xcd], bl
mov byte [esp + 0xce], bl
mov byte [esp + 0xcf], bl
mov byte [esp + 0xd0], bl
mov byte [esp + 0xd1], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
jne 0x4ab353
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00441cbb
add esp, 0xf0
ret
mov eax, dword [esp + 0x100]
test al, 2
push edi
je 0x4ab368
add ebp, 4
lea edi, [esp + 0x20]
jmp 0x4ab37a
test eax, 0x400
je 0x4ab57f
add ebp, 0x14
lea edi, [esp + 0x78]
cmp ebp, ebx
mov dword [esp + 0x18], ebp
je 0x4ab57f
cmp edi, ebx
je 0x4ab57f
mov eax, dword [ebp]
cmp eax, ebx
jne 0x4ab3b3
pop edi
pop ebp
mov dword [esp + 4], ebx
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00441cbb
add esp, 0xf0
ret
cmp word [eax + 4], bx
jne 0x4ab3dd
pop edi
mov dword [esp + 8], 1
mov eax, dword [esp + 8]
pop ebp
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00441cbb
add esp, 0xf0
ret
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0xf8]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4ab554
mov edx, dword [ebp]
xor eax, eax
push esi
xor esi, esi
cmp word [edx + 4], bx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], eax
mov byte [esp + 0xf8], al
mov dword [esp + 0x18], esi
jbe 0x4ab553
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x108]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push esi
call fcn.0049fe00
test eax, eax
je 0x4ab533
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4ab533
cmp dword [edi + 0xc], ebx
je 0x4ab54b
test dword [edi + 4], 0xffff67
je 0x4ab54b
mov edx, dword [edi + 8]
mov eax, 0x15
lea ecx, [esp + 0xdc]
jmp 0x4ab4b0
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4ab4c8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4ab4b0
cmp eax, ebx
je 0x4ab525
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x4ab517
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x4ab525
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x4ab517
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x4ab525
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x4ab517
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, ebx
je 0x4ab525
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x4ab525
cmp esi, ebx
mov eax, 1
jg 0x4ab527
or eax, 0xffffffff
jmp 0x4ab527
xor eax, eax
cmp eax, ebx
je 0x4ab54b
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp]
movzx ecx, word [eax + 4]
add esi, 1
cmp esi, ecx
mov dword [esp + 0x18], esi
jb 0x4ab450
jmp 0x4ab553
mov dword [esp + 0x10], 1
pop esi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4ab563
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00441cbb
add esp, 0xf0
ret
mov ecx, dword [esp + 0xf8]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00441cbb
add esp, 0xf0
ret