Function at 0x1002db2a
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e999
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002de37
lea eax, [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x40], 0x6eaf
mov dword [ebp - 0x58], 0x1000a0f4
cmp dword [ebp - 0x40], 0x6f17
jle 0x1002dc76
and dword [ebp - 0x38], 0
jmp 0x1002dba1
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x1d62
jge 0x1002dc5c
and dword [ebp - 0x28], 0
jmp 0x1002dbbb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x174a
jge 0x1002dc57
and dword [ebp - 0x3c], 0
jmp 0x1002dbd5
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1359
jge 0x1002dc52
and dword [ebp - 0x20], 0
jmp 0x1002dbeb
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4308
jge 0x1002dc4d
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x28]
and eax, ecx
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xcc]
call fcn.1000d3ae
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.10011b30
push eax
call fcn.100489bf
pop ecx
lea ecx, [ebp - 0xcc]
call fcn.10011b26
jmp 0x1002dbe4
jmp 0x1002dbce
jmp 0x1002dbb4
jmp 0x1002db9a
push 0x1ef3
push 0x1fb2
push 0x492
push 0x149b
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x6ca3
jge 0x1002dc92
push dword [ebp - 0x58]
call fcn.100489bf
pop ecx
jmp 0x1002dcae
or dword [ebp - 4], 0xffffffff
jmp 0x1002dcb8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x1002de0e
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x44], 0x16c8
mov dword [ebp - 0x64], 0x1000a150
cmp dword [ebp - 0x44], 0x1845
jle 0x1002dd7e
and dword [ebp - 0x34], 0
jmp 0x1002dd32
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x311f
jge 0x1002dd7e
and dword [ebp - 0x30], 0
jmp 0x1002dd48
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x26c7
jge 0x1002dd7c
mov eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
mov ecx, 0x10606d98
call fcn.10011b50
jmp 0x1002dd41
jmp 0x1002dd2b
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002dd94
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], 3
jg 0x1002ddc9
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
mov eax, dword [ebp - 0x80]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.10011e16
cmp dword [eax], esi
jne 0x1002ddbb
mov dword [ebp - 0x48], 1
jmp 0x1002ddbf
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x1002dd89
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0x143f
jge 0x1002dde6
mov edx, dword [ebp - 0x64]
mov ecx, 0x10606d98
call fcn.10014461
jmp 0x1002de02
or dword [ebp - 4], 0xffffffff
jmp 0x1002de0c
jmp 0x1002de32
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1002de32
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
jmp 0x1002df6e
lea eax, [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1002de5c
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1002df6e
mov dword [ebp - 0x4c], 0x36f8
mov dword [ebp - 0x8c], 0x1000a1e8
cmp dword [ebp - 0x4c], 0x37d1
jle 0x1002df1d
and dword [ebp - 0x2c], 0
jmp 0x1002de87
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x8c8
jge 0x1002df15
and dword [ebp - 0x18], 0
jmp 0x1002dea1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x73c6
jge 0x1002df10
and dword [ebp - 0x1c], 0
jmp 0x1002deb7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x424c
jge 0x1002df0e
and dword [ebp - 0x24], 0
jmp 0x1002decd
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x47a7
jge 0x1002df0c
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ecx, edx
sar eax, cl
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
mov ecx, 0x10606d98
call fcn.10011b50
jmp 0x1002dec6
jmp 0x1002deb0
jmp 0x1002de9a
jmp 0x1002de80
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0x6b0
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [ebp - 4], 4
cmp dword [ebp - 0x4c], 0x35e2
jge 0x1002df48
mov edx, dword [ebp - 0x8c]
mov ecx, 0x10606d98
call fcn.10014461
jmp 0x1002df64
or dword [ebp - 4], 0xffffffff
jmp 0x1002df6e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret