Function at 0x1001988a
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007049c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10019964
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x10019946
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1001992c
mov ecx, dword [ebp - 0x28]
call fcn.1002b253
movzx eax, al
test eax, eax
jne 0x10019944
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
call fcn.1002b1e2
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x2c]
mov byte [eax], 1
jmp 0x1001995f
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1001995f
push 0
push 0x249a
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
jmp 0x10019ad9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], 0xebe
mov dword [ebp - 0x4c], 0x10008788
cmp dword [ebp - 0x30], 0x10b8
jle 0x10019a43
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
and dword [ebp - 0x18], 0
jmp 0x1001999c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4e56
jge 0x10019a43
and dword [ebp - 0x20], 0
jmp 0x100199b6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3095
jge 0x10019a3e
and dword [ebp - 0x24], 0
jmp 0x100199cc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1717
jge 0x10019a39
and dword [ebp - 0x1c], 0
jmp 0x100199e2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xcc1
jge 0x10019a37
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
sub edx, eax
mov ecx, dword [ebp - 0x1c]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.1000ad6f
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.1000fcc2
push eax
call fcn.10056d43
pop ecx
lea ecx, [ebp - 0x94]
call fcn.1000fca4
jmp 0x100199db
jmp 0x100199c5
jmp 0x100199af
jmp 0x10019995
lea eax, [ebp + 0x20]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0xb4d
jge 0x10019a5f
push dword [ebp - 0x4c]
call fcn.10056d43
pop ecx
jmp 0x10019a7b
or dword [ebp - 4], 0xffffffff
jmp 0x10019a85
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10019ad1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10019acf
push 0x282d
push 0x3c2f
push 1
push 0xafd
push 0x19b1
push 0
push 0x599
push 0x7266
call fcn.10015da3
add esp, 0x20
jmp 0x10019ad9
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret