Function at 0x100274b4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100884b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100274ea
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10027ffe
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x2c], 0xffffffff
push 3
lea ecx, [ebp - 0x138]
call fcn.10017f97
and dword [ebp - 4], 0
lea eax, [ebp - 0x138]
push eax
push 0
push 0x207d
push 0x75ce
lea eax, [ebp - 0x184]
push eax
call fcn.10028187
add esp, 0x14
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jl 0x10027575
mov dword [ebp - 0x124], 1
jmp 0x1002757c
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1002759a
cmp dword [ebp - 0x2c], 0
jne 0x1002759a
and dword [ebp - 0xd8], 0
jmp 0x100275a4
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xd8], eax
jne 0x100275b8
mov dword [ebp - 0x74], 1
jmp 0x100275bc
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x74], eax
jl 0x100275d0
mov dword [ebp - 0x100], 1
jmp 0x100275d7
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x100]
cmp eax, 0xc54c9751
jb 0x100275f0
mov dword [ebp - 0x7c], 1
jmp 0x100275f4
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x18d
jg 0x10027609
mov dword [ebp - 0xd0], 1
jmp 0x10027610
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0xd0]
cmp eax, 0xffffffff
jge 0x1002762b
mov dword [ebp - 0x84], 1
jmp 0x10027632
and dword [ebp - 0x84], 0
mov esi, dword [ebp - 0x84]
inc esi
push 2
lea ecx, [ebp - 0x138]
call fcn.10018004
mov dword [eax], esi
mov dword [ebp - 0x2c], 0xffffffeb
jmp 0x10027658
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x10
jl 0x100277ee
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x158], 0x4e785c2f
mov dword [ebp - 0x1c], 0
jmp 0x10027683
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10027699
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x154], 1
jmp 0x1002767c
mov dword [ebp - 0x1c], 0
jmp 0x100276a9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100276bf
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x160], 0x796a
jmp 0x100276a2
push 2
lea ecx, [ebp - 0x138]
call fcn.10018004
cmp dword [eax], 0
jne 0x10027776
push 2
lea ecx, [ebp - 0x138]
call fcn.10018004
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x140], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax - 0x154], ecx
push 2
lea ecx, [ebp - 0x138]
call fcn.10018004
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
mov dword [ebp - 0x180], eax
xor eax, eax
cmp eax, 0x43ec3e1b
jge 0x10027735
mov dword [ebp - 0x58], 1
jmp 0x10027739
and dword [ebp - 0x58], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp + eax - 0x154], ecx
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x58], eax
jg 0x1002775d
mov dword [ebp - 0x14c], 1
jmp 0x10027764
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x188], eax
mov eax, 0xfffe
test eax, eax
je 0x10027792
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x160], 0
je 0x10027792
mov dword [ebp - 0xdc], 1
jmp 0x10027799
and dword [ebp - 0xdc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xdc]
sub ecx, dword [ebp + eax - 0x160]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x160]
jl 0x100277c7
mov dword [ebp - 0x8c], 1
jmp 0x100277ce
and dword [ebp - 0x8c], 0
push 2
lea ecx, [ebp - 0x138]
call fcn.10018004
mov ecx, dword [ebp - 0x8c]
add ecx, dword [eax]
mov dword [ebp - 0x158], ecx
jmp 0x10027651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.10017fff
cmp dword [ebp - 0x5c], 0
jle 0x10027ffe
push 4
push 0x1000
push dword [ebp - 0x5c]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x144]
add ecx, dword [eax + 0xc]
push ecx
push 0x688b
push 0x48be
call fcn.100251ee
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x48], 0x8bc8977b
mov dword [ebp - 0xb0], 0xfffffffd
mov dword [ebp - 0x18], 0
jmp 0x10027861
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10027874
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x14], 0x4ec2
jmp 0x1002785a
mov dword [ebp - 0x18], 0
jmp 0x10027884
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10027897
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x54], 0x8f381c4e
jmp 0x1002787d
mov dword [ebp - 0x10], 0
jmp 0x100278a7
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x10027d7b
mov dword [ebp - 0x24], 0xc9ebf495
push 1
lea ecx, [ebp - 0x16c]
call fcn.10017f97
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], 0x7a140552
mov dword [ebp - 0xa4], 0x925b974d
mov dword [ebp - 0xcc], 0x736fa7ab
push 1
lea ecx, [ebp - 0x178]
call fcn.10017f97
mov byte [ebp - 4], 2
push 0x165c
push 0x2b6c
push 0x732c
push 0
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10027392
add esp, 0x18
mov dword [ebp - 0x38], 0
jmp 0x1002792c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10027948
push dword [ebp - 0x38]
lea ecx, [ebp - 0x178]
call fcn.10018004
mov dword [eax], 0xfffffffb
jmp 0x10027925
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x14], 0
je 0x1002797e
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
cmp dword [ebp - 0x10], eax
jge 0x1002796a
mov dword [ebp - 0xe4], 1
jmp 0x10027971
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x14]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
jne 0x100279bd
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x14], 0
jne 0x100279bd
and dword [ebp - 0x94], 0
jmp 0x100279c7
mov dword [ebp - 0x94], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x94], eax
jg 0x100279e5
mov dword [ebp - 0xec], 1
jmp 0x100279ec
and dword [ebp - 0xec], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0xec], eax
jne 0x10027a0d
cmp dword [ebp - 0x10], 0
jne 0x10027a0d
and dword [ebp - 0x9c], 0
jmp 0x10027a17
mov dword [ebp - 0x9c], 1
push 0
lea ecx, [ebp - 0x16c]
call fcn.10018004
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax]
jg 0x10027a3a
mov dword [ebp - 0xf4], 1
jmp 0x10027a41
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
inc eax
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 0
jmp 0x10027a5c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x10027d58
mov dword [ebp - 0xe0], 0xffffffff
mov dword [ebp - 0x114], 8
mov dword [ebp - 0x3c], 0
jmp 0x10027a8a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x10027d53
mov dword [ebp - 0x34], 0xfffffffe
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0x40], 0
jmp 0x10027ab5
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10027acb
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1b0], 0
jmp 0x10027aae
mov dword [ebp - 0x34], 0
jmp 0x10027adb
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10027d41
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x6c], 0x8a746c20
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
inc eax
cmp eax, dword [ebp - 0x44]
jne 0x10027b20
mov dword [ebp - 0xfc], 1
jmp 0x10027b27
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 6
jge 0x10027b39
mov dword [ebp - 0x68], 1
jmp 0x10027b3d
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0x1b0], ecx
mov esi, dword [ebp - 0x114]
push 0
lea ecx, [ebp - 0x16c]
call fcn.10018004
imul esi, dword [eax]
cmp esi, dword [ebp - 0x68]
je 0x10027b74
mov dword [ebp - 0xac], 1
jmp 0x10027b7b
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0xfffffff6
jle 0x10027b90
mov dword [ebp - 0x104], 1
jmp 0x10027b97
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 1
jae 0x10027bac
mov dword [ebp - 0xb4], 1
jmp 0x10027bb3
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xb4], eax
jge 0x10027bca
mov dword [ebp - 0x10c], 1
jmp 0x10027bd1
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x10c], eax
je 0x10027be8
mov dword [ebp - 0xbc], 1
jmp 0x10027bef
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xbc], eax
jne 0x10027c06
mov dword [ebp - 0xc4], 1
jmp 0x10027c0d
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x114]
imul eax, dword [ebp - 0xc4]
cmp eax, 0x5d487c75
jl 0x10027c2d
mov dword [ebp - 0x11c], 1
jmp 0x10027c34
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0xa909f00f
jbe 0x10027c5b
mov dword [ebp - 0x12c], 1
jmp 0x10027c62
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x12c], eax
jle 0x10027c79
mov dword [ebp - 0xd4], 1
jmp 0x10027c80
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
add eax, 0x747eab1a
cmp eax, dword [ebp - 0x34]
jg 0x10027c9c
mov dword [ebp - 0x118], 1
jmp 0x10027ca3
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 4
jae 0x10027cb8
mov dword [ebp - 0x108], 1
jmp 0x10027cbf
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x108], eax
jge 0x10027cd6
mov dword [ebp - 0x64], 1
jmp 0x10027cda
and dword [ebp - 0x64], 0
push 0
lea ecx, [ebp - 0x178]
call fcn.10018004
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x64], eax
jle 0x10027d00
mov dword [ebp - 0xe8], 1
jmp 0x10027d07
and dword [ebp - 0xe8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0xe8], eax
jge 0x10027d25
mov dword [ebp - 0x128], 1
jmp 0x10027d2c
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp + eax - 0x54], ecx
jmp 0x10027ad4
mov eax, dword [ebp - 0xf0]
dec eax
mov dword [ebp - 0xf0], eax
jmp 0x10027a83
jmp 0x10027a55
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x178]
call fcn.10017fff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10017fff
jmp 0x100278a0
cmp dword [ebp - 0x10], 0
jne 0x10027e53
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0x91f1
jl 0x10027da1
mov dword [ebp - 0xf8], 1
jmp 0x10027da8
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
sub eax, 0x592b
cmp eax, dword [ebp - 0x48]
jl 0x10027dc8
mov dword [ebp - 0x110], 1
jmp 0x10027dcf
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0x7bd1
jle 0x10027de7
mov dword [ebp - 0x120], 1
jmp 0x10027dee
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xf8]
neg ecx
sub eax, ecx
mov ecx, dword [ebp - 0x48]
imul ecx, dword [ebp - 0x120]
push 4
pop edx
shl edx, 0
imul ecx, dword [ebp + edx - 0x54]
cmp eax, ecx
jg 0x10027e20
mov dword [ebp - 0x148], 1
jmp 0x10027e27
and dword [ebp - 0x148], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x1a4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
jne 0x10027e53
mov eax, 0xfe3a
test eax, eax
jne 0x10027e53
and dword [ebp - 0x70], 0
jmp 0x10027e5a
mov dword [ebp - 0x70], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0x70], eax
jle 0x10027e72
mov dword [ebp - 0x78], 1
jmp 0x10027e76
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0x78], eax
jne 0x10027eb4
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10027eaf
push 0x2389
push 0x11c3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_LineTo]
jmp 0x10027fde
mov dword [ebp - 0x20], 0x8cb2cc2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x19c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x14], ecx
jg 0x10027ee5
mov dword [ebp - 0x80], 1
jmp 0x10027ee9
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x80], eax
jge 0x10027efd
mov dword [ebp - 0x88], 1
jmp 0x10027f04
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x88]
jge 0x10027f1b
mov dword [ebp - 0x90], 1
jmp 0x10027f22
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x20]
jge 0x10027f3c
mov dword [ebp - 0x98], 1
jmp 0x10027f43
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x98]
je 0x10027f5a
mov dword [ebp - 0xa0], 1
jmp 0x10027f61
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0xa0], eax
jg 0x10027f7b
mov dword [ebp - 0xa8], 1
jmp 0x10027f82
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x20], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0x20], eax
jg 0x10027fa6
mov dword [ebp - 0xb8], 1
jmp 0x10027fad
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0xb8], eax
jle 0x10027fc7
mov dword [ebp - 0xc0], 1
jmp 0x10027fce
and dword [ebp - 0xc0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc0]
mov dword [ebp + eax - 0x54], ecx
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
push dword [ebp - 0x5c]
push 0
mov eax, dword [ebp - 0x60]
push dword [eax]
call fcn.10025321
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret