Function at 0x1002c816
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007db67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002c86e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x1002c869
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1002cde3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
push 2
lea ecx, [ebp - 0xd8]
call fcn.10024520
and dword [ebp - 4], 0
mov dword [ebp - 0x40], 0xeef20fe6
mov dword [ebp - 0xc0], 0xfffffffd
mov dword [ebp - 0x3c], 0
jmp 0x1002c8b5
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1002c8d1
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xd8]
call fcn.1002458d
mov dword [eax], 0x571177e8
jmp 0x1002c8ae
mov dword [ebp - 0x40], 0
jmp 0x1002c8e1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jg 0x1002c903
mov dword [ebp - 0x90], 0x363f
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.10029e4d
pop ecx
pop ecx
jmp 0x1002c8da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.10024588
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push 1
call fcn.10026a3c
add esp, 0xc
mov dword [ebp - 0x10], 0x7e17
mov dword [ebp - 0x44], 0xa7525d2d
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x8c], 4
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002c95d
push 0x733e
push 1
call fcn.10026a8d
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x1002c96e
mov dword [ebp - 0x78], 1
jmp 0x1002c972
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x10], 5
jb 0x1002c987
mov dword [ebp - 0x68], 1
jmp 0x1002c98b
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
sub eax, 0x3632b604
test eax, eax
jle 0x1002c9a3
mov dword [ebp - 0xac], 1
jmp 0x1002c9aa
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc4], eax
mov eax, 0xb44cf592
test eax, eax
je 0x1002c9ce
cmp dword [ebp - 0x10], 0
je 0x1002c9ce
mov dword [ebp - 0xa4], 1
jmp 0x1002c9d5
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0x30], 0
jne 0x1002c9e8
cmp dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jl 0x1002c9f9
mov dword [ebp - 0x58], 1
jmp 0x1002c9fd
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x58]
jg 0x1002ca0e
mov dword [ebp - 0x70], 1
jmp 0x1002ca12
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x70], eax
jne 0x1002ca26
mov dword [ebp - 0x60], 1
jmp 0x1002ca2a
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xfffffffd
jl 0x1002ca8e
mov dword [ebp - 0xa0], 0x4ddc8777
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.10026ac7
pop ecx
pop ecx
mov dword [ebp - 0x44], 1
cmp dword [ebp - 0x44], 0x89d9e62b
jb 0x1002ca6a
mov dword [ebp - 0x80], 1
jmp 0x1002ca6e
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x80]
jge 0x1002ca7f
mov dword [ebp - 0x4c], 1
jmp 0x1002ca83
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
jmp 0x1002caa8
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1002caa8
push 0x655e
push 0
call fcn.100294aa
pop ecx
pop ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x1002cde3
push 2
lea ecx, [ebp - 0x9c]
call fcn.10024520
mov dword [ebp - 4], 1
mov dword [ebp - 0xdc], 0xedfa
mov dword [ebp - 0x24], 0
jmp 0x1002cae2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1002caf8
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xe8], 0x85f70ad6
jmp 0x1002cadb
lea eax, [ebp - 0x24]
push eax
push 0x4082
push 0
push 0x3c35
lea eax, [ebp - 0x9c]
push eax
call fcn.10026b1d
add esp, 0x14
push 1
lea ecx, [ebp - 0x9c]
call fcn.1002458d
and dword [eax], 0
jmp 0x1002cb44
push 1
lea ecx, [ebp - 0x9c]
call fcn.1002458d
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x9c]
call fcn.1002458d
cmp dword [eax], 2
jg 0x1002cd81
mov dword [ebp - 0x2c], 9
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002cb81
push 0x3fa6
push 0
push 0x36d4
call fcn.100284a5
add esp, 0xc
mov dword [ebp - 0x2c], 2
jmp 0x1002cb91
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1002cd7c
mov dword [ebp - 0x34], 0xd962ee6d
push 3
lea ecx, [ebp - 0xbc]
call fcn.10024520
mov byte [ebp - 4], 2
push 0x459a
lea eax, [ebp - 0xcc]
push eax
push 1
lea eax, [ebp - 0xbc]
push eax
push 0x2674
call fcn.10026b1d
add esp, 0x14
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x11]
push eax
call fcn.10026bc7
pop ecx
mov dword [ebp - 0x34], 2
jmp 0x1002cbf3
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1002cd68
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x28], 2
jmp 0x1002cc14
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1002cd63
mov dword [ebp - 0x20], 0x3631e19e
mov dword [ebp - 0xa8], 0x17a68fa
push 0x27
push 0x7b02
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.10026be7
add esp, 0x10
mov dword [ebp - 0x20], 0
jmp 0x1002cc54
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x1002cd5e
mov dword [ebp - 0x1c], 0xfffffffb
mov dword [ebp - 0x54], 0xe11914cc
mov dword [ebp - 0x1c], 2
jmp 0x1002cc7c
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1002cd49
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0xe8], 0
jne 0x1002cc9f
cmp dword [ebp - 0x1c], 0
jne 0x1002cc9f
and dword [ebp - 0x74], 0
jmp 0x1002cca6
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x54], 0x3b15a8d
cmp dword [ebp - 0x54], 1
jne 0x1002ccc2
cmp dword [ebp - 0x2c], 0
je 0x1002ccc2
mov dword [ebp - 0x5c], 1
jmp 0x1002ccc6
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 7
jge 0x1002ccd5
mov dword [ebp - 0x64], 1
jmp 0x1002ccd9
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x64], eax
je 0x1002ccea
mov dword [ebp - 0x6c], 1
jmp 0x1002ccee
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x8e60
jle 0x1002cd03
cmp dword [ebp - 0x20], 0
jne 0x1002cd03
and dword [ebp - 0x7c], 0
jmp 0x1002cd0a
mov dword [ebp - 0x7c], 1
mov esi, dword [ebp - 0x74]
add esi, dword [ebp - 0x7c]
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002458d
mov dword [eax], esi
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1002cd44
push 0x176e
push 0x61c2
push 0x2b4a
push 1
call fcn.10026c34
add esp, 0x10
jmp 0x1002cc75
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.10029f13
pop ecx
pop ecx
jmp 0x1002cc4d
jmp 0x1002cc0d
jmp 0x1002cbec
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.10024588
jmp 0x1002cb8a
jmp 0x1002cb29
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.10024588
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x1002cdbc
push 0x417f
lea eax, [ebp - 0x84]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
push 0x2cd
call fcn.1002e9a3
add esp, 0x14
jmp 0x1002cde3
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x1002cde3
push 0
lea eax, [ebp - 0x38]
push eax
push 0x257d
lea eax, [ebp - 0x84]
push eax
call fcn.1002d52f
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret