Function at 0x1001e821
Capabilities:
Compare security identifiers
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065b3f
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 0x1001e8dc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1001e8c2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1001e8a2
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
jg 0x1001e8c0
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.10031433
cmp dword [eax], 0
je 0x1001e8be
jmp 0x1001e8c0
jmp 0x1001e897
jmp 0x1001e8d7
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [eax], 0x90f1d898
jmp 0x1001eaf6
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x38], 0x417a
mov dword [ebp - 0x7c], 0x10008b78
cmp dword [ebp - 0x38], 0x455e
jle 0x1001e972
push 0
push 0x214a
push 0x180f
push 0
call dword [sym.imp.GDI32.dll_SetPaletteEntries]
and dword [ebp - 0x18], 0
jmp 0x1001e926
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x490a
jge 0x1001e972
and dword [ebp - 0x1c], 0
jmp 0x1001e93c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x162f
jge 0x1001e970
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov ecx, 0x1060f818
call fcn.10031280
jmp 0x1001e935
jmp 0x1001e91f
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1001e9b2
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
neg eax
sub eax, 0x60d0
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
jmp 0x1001eab3
mov dword [ebp - 0x34], 0x267
mov dword [ebp - 0x78], 0x10008b98
cmp dword [ebp - 0x34], 0x35b
jle 0x1001ea69
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
and dword [ebp - 0x2c], 0
jmp 0x1001e9e4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3645
jge 0x1001ea69
and dword [ebp - 0x20], 0
jmp 0x1001e9fa
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5dfd
jge 0x1001ea64
and dword [ebp - 0x24], 0
jmp 0x1001ea10
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x39dc
jge 0x1001ea62
and dword [ebp - 0x28], 0
jmp 0x1001ea26
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x139b
jge 0x1001ea60
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, 0x1060f818
call fcn.10031280
jmp 0x1001ea1f
jmp 0x1001ea09
jmp 0x1001e9f3
jmp 0x1001e9dd
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x117
jge 0x1001ea8d
mov edx, dword [ebp - 0x78]
mov ecx, 0x1060f818
call fcn.10032d2a
jmp 0x1001eaa9
or dword [ebp - 4], 0xffffffff
jmp 0x1001eab3
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x3fdb
jge 0x1001ead0
mov edx, dword [ebp - 0x7c]
mov ecx, 0x1060f818
call fcn.10032d2a
jmp 0x1001eaec
or dword [ebp - 4], 0xffffffff
jmp 0x1001eaf6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret