Function at 0xed10f0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebx, ebx
push eax
push ebx
push 0x1fffff
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0x32
xor esi, esi
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x18]
push ecx
push 8
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0xed116a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0xed12a2
mov edx, dword [ebp - 0x14]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
jne 0xed1189
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0xed12a2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x14]
push eax
push ecx
push esi
push 2
push edx
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0xed11fd
call edi
cmp eax, 0x7a
je 0xed11bb
call edi
mov dword [ebp - 0x10], eax
jmp 0xed12a2
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0xed11de
call edi
mov dword [ebp - 0x10], eax
jmp 0xed12a2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push edx
push esi
push 2
push eax
call ebx
test eax, eax
jne 0xed11fd
call edi
mov dword [ebp - 0x10], eax
jmp 0xed12a2
mov ebx, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 4
push 1
lea edx, [ebp - 0xc]
push edx
call ebx
test eax, eax
jne 0xed122a
call edi
mov dword [ebp - 0x10], eax
jmp 0xed12a2
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 6
push 1
lea ecx, [ebp - 0xc]
push ecx
call ebx
test eax, eax
jne 0xed1251
call edi
mov dword [ebp - 0x10], eax
jmp 0xed12a2
xor ebx, ebx
cmp dword [esi], ebx
jbe 0xed1294
lea edi, [esi + 4]
lea ebx, [ebx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edi]
mov edx, dword [edi + 4]
push ecx
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0xed12f5
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0xed1300
inc ebx
add edi, 8
cmp ebx, dword [esi]
jb 0xed1260
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0xed12a2
mov dword [eax], 1
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_FreeSid]
test eax, eax
je 0xed12b2
push eax
call edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0xed12bc
push eax
call edi
test esi, esi
je 0xed12c7
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0xed12d7
push eax
call esi
mov eax, dword [ebp - 0x28]
test eax, eax
je 0xed12e1
push eax
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ed186a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 0
jmp 0xed12a2
mov edx, dword [ebp - 0x20]
mov dword [edx], 1
jmp 0xed12a2