Function at 0x1001b43c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push esi
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x1001b7c1
lea eax, [ebp + 0x24]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x1001b77e
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001b536
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jg 0x1001b77c
mov dword [ebp - 0xc], 0x127b1aa4
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x70], 0x2125954a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001b5af
push 1
mov ecx, dword [ebp - 0x20]
call fcn.10016b66
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
xor eax, eax
je 0x1001b5ca
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
cmp dword [eax], 0
je 0x1001b5ca
mov dword [ebp - 0x48], 1
jmp 0x1001b5ce
and dword [ebp - 0x48], 0
push 1
mov ecx, dword [ebp - 0x20]
call fcn.10016b66
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jl 0x1001b5f5
push 3
pop eax
test eax, eax
jne 0x1001b5f5
mov eax, 0xffff
test eax, eax
jne 0x1001b5f5
and dword [ebp - 0x28], 0
jmp 0x1001b5fc
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 0x5e42506e
jne 0x1001b60e
mov dword [ebp - 0x40], 1
jmp 0x1001b612
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0xb816
jge 0x1001b624
mov dword [ebp - 0x18], 1
jmp 0x1001b628
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
cmp esi, dword [eax]
je 0x1001b64b
mov dword [ebp - 0x50], 1
jmp 0x1001b64f
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
jle 0x1001b66c
mov dword [ebp - 0x38], 1
jmp 0x1001b670
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
je 0x1001b694
push 0xfffffffffffffff8
pop eax
test eax, eax
je 0x1001b694
mov dword [ebp - 0x1c], 1
jmp 0x1001b698
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x17887b34
jl 0x1001b6aa
mov dword [ebp - 0x24], 1
jmp 0x1001b6ae
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
mov esi, dword [ebp - 0x24]
add esi, dword [eax]
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
cmp esi, dword [eax]
je 0x1001b6da
mov dword [ebp - 0x2c], 1
jmp 0x1001b6de
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jge 0x1001b6f1
mov dword [ebp - 0x34], 1
jmp 0x1001b6f5
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x950c
je 0x1001b707
mov dword [ebp - 0x10], 1
jmp 0x1001b70b
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
jne 0x1001b72d
cmp dword [ebp - 0x14], 0
jne 0x1001b72d
and dword [ebp - 0x3c], 0
jmp 0x1001b734
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10016b66
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jge 0x1001b751
mov dword [ebp - 0x4c], 1
jmp 0x1001b755
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
add eax, dword [ebp - 0x4c]
cmp eax, 0x655e
jle 0x1001b76d
mov dword [ebp - 0x54], 1
jmp 0x1001b771
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x70], eax
jmp 0x1001b52b
jmp 0x1001b7bc
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x1001b7bc
push 0x6622
push 0
push 0x15a0
push 0x5aa6
push 0x14e5
push 1
push 1
call fcn.1001de44
add esp, 0x1c
jmp 0x1001b858
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x1001b829
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x1001b827
push 0xd20
push 0x2598
push 0
push 0x1006
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
jmp 0x1001b858
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x1001b858
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
pop esi
mov esp, ebp
pop ebp
ret