Function at 0x10027cc8
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push edi
mov dword [ebp - 0x10], 0xe83c
mov dword [ebp - 0x11c], 0x31432536
mov dword [ebp - 0x48], 0xdaed0f12
mov dword [ebp - 0x10c], 0xfffffffe
mov dword [ebp - 0x5c], 0
jmp 0x10027d19
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x10027d2f
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x154], 0xfcc86f80
jmp 0x10027d12
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
je 0x10027d4d
mov byte [ebp - 0x23], 0
push 0
lea eax, [ebp - 0x23]
push eax
call fcn.10028bf5
pop ecx
pop ecx
jmp 0x10027fc2
push 4
lea ecx, [ebp - 0x148]
call fcn.1001565b
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x168]
push eax
push 0x4146
lea eax, [ebp - 0x148]
push eax
call fcn.1002777e
add esp, 0x10
mov dword [ebp - 0x10], 0x1d
jmp 0x10027d8b
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xf
jne 0x10027dbb
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10027db1
push 0x1285
push 1
push 0x2cd9
call fcn.10027811
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x10027db9
jmp 0x10027dbb
jmp 0x10027d84
mov dword [ebp - 0x10], 0
jmp 0x10027dcb
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 7
jne 0x10027fb3
push 3
lea ecx, [ebp - 0xec]
call fcn.1001565b
mov byte [ebp - 4], 1
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0xec]
push eax
push 0x79e
push 1
push 0x24cc
call fcn.10027878
add esp, 0x14
mov byte [ebp - 0x22], 0
push 0x3c98
push 0x57c9
push 1
lea eax, [ebp - 0x22]
push eax
call fcn.1002791f
add esp, 0x10
push 2
lea ecx, [ebp - 0xec]
call fcn.100156f9
mov dword [eax], 3
jmp 0x10027e5d
push 2
lea ecx, [ebp - 0xec]
call fcn.100156f9
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xac]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0xec]
call fcn.100156f9
cmp dword [eax], 0
jl 0x10027f9f
mov dword [ebp - 0x64], 0xa79cc099
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x10], eax
jg 0x10027e95
mov dword [ebp - 0x7c], 1
jmp 0x10027e99
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x6718
jle 0x10027eae
mov dword [ebp - 0xf0], 1
jmp 0x10027eb5
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x15c], eax
push 2
lea ecx, [ebp - 0xec]
call fcn.100156f9
mov ecx, dword [ebp - 0x10]
cmp dword [eax], ecx
jne 0x10027ee1
cmp dword [ebp - 0x64], 0
je 0x10027ee1
mov dword [ebp - 0x78], 1
jmp 0x10027ee5
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0x8953526c
jne 0x10027efa
mov dword [ebp - 0xd4], 1
jmp 0x10027f01
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0x64]
jne 0x10027f1b
mov dword [ebp - 0x84], 1
jmp 0x10027f22
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x84], eax
jg 0x10027f39
mov dword [ebp - 0xb4], 1
jmp 0x10027f40
and dword [ebp - 0xb4], 0
push 0
lea ecx, [ebp - 0x148]
call fcn.100156f9
mov ecx, dword [ebp - 0x10]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0xb4]
jl 0x10027f67
mov dword [ebp - 0x8c], 1
jmp 0x10027f6e
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x10027f9a
push 0
push 0x37d
push 0xb9e
call fcn.1002abd9
add esp, 0xc
jmp 0x10027e39
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.100156dd
jmp 0x10027dc4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.100156dd
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xcc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + eax - 0x154], ecx
cmp dword [ebp - 0xcc], 0
je 0x1002803d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
mov dword [ebp - 0x160], eax
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x154], 1
xor eax, eax
inc eax
cmp eax, 1
jne 0x1002801f
mov dword [ebp - 0x94], 1
jmp 0x10028026
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x94], eax
jge 0x1002803d
mov dword [ebp - 0xbc], 1
jmp 0x10028044
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x48], eax
jle 0x10028064
mov dword [ebp - 0x9c], 1
jmp 0x1002806b
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x9c], 0xde8c
sub eax, ecx
imul eax, eax, 0xffffffff
cmp eax, dword [ebp - 0x48]
jge 0x1002808e
mov dword [ebp - 0xdc], 1
jmp 0x10028095
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10c], eax
and dword [ebp - 0x198], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x194]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30], 0x8a61928c
mov dword [ebp - 0x30], 9
jmp 0x100280d2
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xfffffff0
jg 0x10028136
mov dword [ebp - 0x50], 0x16580849
mov dword [ebp - 0x60], 0
jmp 0x100280ef
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x10028105
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x1ac], 0x70c3099c
jmp 0x100280e8
mov dword [ebp - 0x50], 2
jmp 0x10028115
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x10028134
mov byte [ebp - 0x1f], 0
lea eax, [ebp - 0x1f]
push eax
push 0x793d
push 1
call fcn.1002799e
add esp, 0xc
jmp 0x1002810e
jmp 0x100280cb
push 0x3996
push 1
lea eax, [ebp - 0x30]
push eax
push 0x4efc
call fcn.100279e3
add esp, 0x10
push 0x1c
lea eax, [ebp - 0x198]
push eax
push dword [ebp + 8]
push 0x4cc1
push 0x46db
call fcn.10022815
pop ecx
pop ecx
call eax
test eax, eax
je 0x10028649
push 3
lea ecx, [ebp - 0x13c]
call fcn.1001565b
mov dword [ebp - 4], 2
mov dword [ebp - 0xc4], 0x90069f30
mov dword [ebp - 0x74], 0
mov dword [ebp - 0xfc], 0x2391cb4e
mov dword [ebp - 0x38], 0
jmp 0x100281b4
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x100281ca
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x108], 0xdb50
jmp 0x100281ad
push 1
push 0x7e08
lea eax, [ebp - 0x38]
push eax
push 0x7cf9
lea eax, [ebp - 0x13c]
push eax
call fcn.10027a38
add esp, 0x14
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x108]
mov dword [ebp - 0x158], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x108]
mov dword [ebp - 0x178], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x108]
mov dword [ebp - 0xa4], eax
push 2
lea ecx, [ebp - 0x13c]
call fcn.100156f9
mov ecx, dword [ebp - 0xa4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x108]
cmp dword [ebp - 0xc4], eax
jne 0x1002825e
mov dword [ebp - 0x70], 1
jmp 0x10028262
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x108]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0xfc], 4
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100282a7
push 0x1bd2
push 1
call fcn.10027ae2
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.100156dd
mov dword [ebp - 0x110], 0xee
mov dword [ebp - 0x58], 0x5c8094a1
mov dword [ebp - 0x164], 0xfd94fe5f
mov dword [ebp - 0x40], 0
jmp 0x100282e1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x100282f7
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x16c], 0xffffffff
jmp 0x100282da
mov dword [ebp - 0x58], 0
jmp 0x10028307
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x10028329
mov dword [ebp - 0x118], 1
push 1
lea eax, [ebp - 0x118]
push eax
call fcn.10027b3d
pop ecx
pop ecx
jmp 0x10028300
mov eax, dword [ebp - 0x184]
and eax, dword [ebp - 0x110]
jne 0x10028340
mov dword [ebp - 0x80], 1
jmp 0x10028344
and dword [ebp - 0x80], 0
mov al, byte [ebp - 0x80]
mov byte [ebp - 0x11], al
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x3c], 0xfffffff6
mov dword [ebp - 0x34], 0xd0fa5166
mov dword [ebp - 0xf8], 0xffffffff
mov dword [ebp - 0x44], 0
jmp 0x1002837c
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x10028392
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x1a0], 0x5047c4d1
jmp 0x10028375
push 1
lea eax, [ebp - 0x34]
push eax
push 0x47c0
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10027b83
add esp, 0x18
mov dword [ebp - 0x34], 0
jmp 0x100283c7
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jg 0x1002841b
mov dword [ebp - 0x3c], 0
jmp 0x100283dd
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jg 0x10028419
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x100283f7
push 1
call fcn.10027bff
pop ecx
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10028417
push 0
push 0x480f
push 0xda9
call fcn.1002874b
add esp, 0xc
jmp 0x100283d6
jmp 0x100283c0
mov eax, dword [ebp - 0x184]
and eax, 0x101
je 0x1002842c
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x68], 0x6758e356
mov dword [ebp - 0xe0], 0xd901516e
mov dword [ebp - 0x18], 0
jmp 0x1002844d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10028460
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1c], 0xffffffff
jmp 0x10028446
mov dword [ebp - 0x18], 0
jmp 0x10028470
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10028486
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xf4], 0xffffffff
jmp 0x10028469
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x1c], 0xfffffff1
jmp 0x100284ab
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1c], 0xffffffee
jge 0x10028641
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0xa0], 0x920a6ff6
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc8], 0xfffffffe
cmp dword [ebp - 0x6c], 1
jge 0x100284f3
mov dword [ebp - 0x88], 1
jmp 0x100284fa
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x88], eax
jl 0x10028511
mov dword [ebp - 0x90], 1
jmp 0x10028518
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x90], eax
jg 0x1002852f
mov dword [ebp - 0x98], 1
jmp 0x10028536
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x68]
jne 0x1002855c
mov dword [ebp - 0xa8], 1
jmp 0x10028563
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x6c]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1c]
add ecx, dword [ebp - 0xa8]
sub eax, ecx
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1c]
jge 0x10028590
mov dword [ebp - 0xb0], 1
jmp 0x10028597
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0xeb6b9dd9
je 0x100285af
mov dword [ebp - 0xb8], 1
jmp 0x100285b6
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
sub eax, 0x12fd1777
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0xc8], eax
jge 0x100285f1
mov dword [ebp - 0xd0], 1
jmp 0x100285f8
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0xd0], eax
jge 0x10028616
mov dword [ebp - 0xd8], 1
jmp 0x1002861d
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0xf4], ecx
jmp 0x10028496
mov al, byte [ebp - 0x11]
jmp 0x1002873c
mov dword [ebp - 0x4c], 0x1f7e2799
mov dword [ebp - 0x4c], 0x16
jmp 0x10028660
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xd
jne 0x1002873a
push 4
lea ecx, [ebp - 0x130]
call fcn.1001565b
mov dword [ebp - 4], 3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x54], 0
jmp 0x10028695
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x100286b1
push dword [ebp - 0x54]
lea ecx, [ebp - 0x130]
call fcn.100156f9
mov dword [eax], 1
jmp 0x1002868e
mov dword [ebp - 0x2c], 0
jmp 0x100286c1
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jg 0x1002870f
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x100286e7
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [ebp - 0x130]
push eax
push 1
lea eax, [ebp - 0x114]
push eax
push 0x380d
push 0x2371
lea eax, [ebp - 0x2c]
push eax
call fcn.10027c2f
add esp, 0x18
jmp 0x100286ba
cmp dword [ebp - 0x2c], 0
je 0x10028726
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.100156dd
jmp 0x1002873a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.100156dd
jmp 0x10028659
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret