Function at 0x1004727c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10047534
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x100472fe
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10047532
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x94]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
cmp dword [eax], 0xfffffffc
jb 0x100473db
mov dword [ebp - 0x48], 1
jmp 0x100473df
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0x3019
jne 0x100473f9
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100473f9
mov dword [ebp - 0x40], 1
jmp 0x100473fd
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jne 0x10047410
mov dword [ebp - 0x20], 1
jmp 0x10047414
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jl 0x10047427
mov dword [ebp - 8], 1
jmp 0x1004742b
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
imul eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
sub eax, dword [ecx]
cmp eax, 2
jl 0x1004744f
mov dword [ebp - 0x38], 1
jmp 0x10047453
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jg 0x1004746c
mov eax, 0x820a3d57
test eax, eax
jne 0x1004746c
and dword [ebp - 0x14], 0
jmp 0x10047473
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jge 0x10047486
mov dword [ebp - 0xc], 1
jmp 0x1004748a
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
je 0x100474ad
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x100474ad
mov dword [ebp - 0x18], 1
jmp 0x100474b1
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0x8927
jle 0x100474c3
mov dword [ebp - 0x1c], 1
jmp 0x100474c7
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
jge 0x100474da
mov dword [ebp - 0x24], 1
jmp 0x100474de
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jle 0x100474f1
mov dword [ebp - 0x2c], 1
jmp 0x100474f5
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xfffffffb
je 0x10047509
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x10047509
and dword [ebp - 0x44], 0
jmp 0x10047510
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jle 0x10047523
mov dword [ebp - 0x4c], 1
jmp 0x10047527
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x1004753c
push 0
call fcn.1002f0f1
pop ecx
mov esp, ebp
pop ebp
ret