Function at 0x100417a9
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064629
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004187a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x10041824
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x10041822
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10041875
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10041858
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x10041875
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.1001b386
mov dword [eax], 0x862fd41e
jmp 0x1004184d
jmp 0x10041b16
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x100419a7
mov dword [ebp - 0x40], 0x752a
mov dword [ebp - 0x4c], 0x1000b778
cmp dword [ebp - 0x40], 0x777d
jle 0x10041950
and dword [ebp - 0x20], 0
jmp 0x100418c8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x56b2
jge 0x10041950
and dword [ebp - 0x38], 0
jmp 0x100418de
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x4a32
jge 0x1004194b
and dword [ebp - 0x30], 0
jmp 0x100418f4
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x9ca
jge 0x10041949
and dword [ebp - 0x28], 0
jmp 0x1004190a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6f25
jge 0x10041947
mov ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
shl eax, cl
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
mov ecx, 0x1060d6f8
call fcn.1001b0b7
jmp 0x10041903
jmp 0x100418ed
jmp 0x100418d7
jmp 0x100418c1
mov byte [ebp - 0x11], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x736c
jge 0x1004196e
mov edx, dword [ebp - 0x4c]
mov ecx, 0x1060d6f8
call fcn.1001d5c2
jmp 0x1004198a
or dword [ebp - 4], 0xffffffff
jmp 0x10041994
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100419a2
call dword [sym.imp.USER32.dll_WaitMessage]
jmp 0x10041b16
mov dword [ebp - 0x44], 0x4cd2
mov dword [ebp - 0x60], 0x1000b7d0
cmp dword [ebp - 0x44], 0x4ee0
jle 0x10041a8c
and dword [ebp - 0x3c], 0
jmp 0x100419cf
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1303
jge 0x10041a7f
and dword [ebp - 0x24], 0
jmp 0x100419e9
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5580
jge 0x10041a7a
and dword [ebp - 0x2c], 0
jmp 0x10041a03
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1ce6
jge 0x10041a75
and dword [ebp - 0x34], 0
jmp 0x10041a19
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x754e
jge 0x10041a73
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xb4]
call fcn.1000dafa
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.1001b097
push eax
call fcn.1004e316
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.1001b08d
jmp 0x10041a12
jmp 0x100419fc
jmp 0x100419e2
jmp 0x100419c8
push 0x20f9
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0x4a46
jge 0x10041aab
push dword [ebp - 0x60]
call fcn.1004e316
pop ecx
jmp 0x10041ac7
or dword [ebp - 4], 0xffffffff
jmp 0x10041ad1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x10041af9
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 4
jge 0x10041b16
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x80]
call fcn.1001b386
mov dword [eax], 0x4ac0198a
jmp 0x10041aee
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret