Function at 0x100162f0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d9d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x100164ee
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1001636a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x100164ec
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x28], 0x7e10
mov dword [ebp - 0x58], 0x10008738
cmp dword [ebp - 0x28], 0x7f26
jle 0x1001642f
push 0x766
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
and dword [ebp - 0x20], 0
jmp 0x100163c1
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x53d
jge 0x1001642f
and dword [ebp - 0x1c], 0
jmp 0x100163d7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x636f
jge 0x1001642d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea ecx, [ebp - 0xb4]
call fcn.1000cd20
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.1002a5a1
push eax
call fcn.100480d6
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.1002a597
jmp 0x100163d0
jmp 0x100163ba
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x7c34
jge 0x1001644b
push dword [ebp - 0x58]
call fcn.100480d6
pop ecx
jmp 0x10016467
or dword [ebp - 4], 0xffffffff
jmp 0x10016471
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0xffffffff
je 0x100164a6
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx]
je 0x100164a6
mov dword [ebp - 0x30], 1
jmp 0x100164aa
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp ecx, dword [eax]
jne 0x100164c2
mov dword [ebp - 0x3c], 1
jmp 0x100164c6
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.1002a774
mov dword [eax], 0x641b44ad
jmp 0x1001656a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10016554
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10016538
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], 2
jge 0x10016552
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x7c]
call fcn.1002a774
or dword [eax], 0xffffffff
jmp 0x1001652d
jmp 0x1001656a
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1001656a
push 0
push 0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret