Function at 0x10027435
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067f01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x100274dd
lea eax, [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x100274cb
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x100274ac
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x100274c9
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.10013401
mov dword [eax], 0x1713b910
jmp 0x100274a1
jmp 0x100274d8
push 0
push 0x6e8
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x10027675
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0x31d5
mov dword [ebp - 0x70], 0x100098c8
cmp dword [ebp - 0x30], 0x34bc
jle 0x100275cb
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
and dword [ebp - 0x1c], 0
jmp 0x10027527
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5c1
jge 0x100275cb
and dword [ebp - 0x20], 0
jmp 0x10027541
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4c85
jge 0x100275c6
and dword [ebp - 0x24], 0
jmp 0x10027557
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3500
jge 0x100275c1
and dword [ebp - 0x28], 0
jmp 0x1002756d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x74e7
jge 0x100275bf
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
imul ecx, dword [ebp - 0x28]
sub eax, ecx
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x90]
call fcn.1000de7e
pop ecx
pop ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10013118
push eax
call fcn.100520df
pop ecx
lea ecx, [ebp - 0x90]
call fcn.1001310e
jmp 0x10027566
jmp 0x10027550
jmp 0x1002753a
jmp 0x10027520
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x100275ee
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
jmp 0x10027639
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002761c
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], 3
jge 0x10027639
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.10013401
mov dword [eax], 0xfffffffd
jmp 0x10027611
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x2fed
jge 0x1002764f
push dword [ebp - 0x70]
call fcn.100520df
pop ecx
jmp 0x1002766b
or dword [ebp - 4], 0xffffffff
jmp 0x10027675
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret