Function at 0x1001abd2
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x10079599
call fcn.10078c60
sub esp, 0xdc
push ebx
push esi
push edi
push 3
pop esi
mov edi, ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x28], 0xb4ffb87
lea ecx, [ebp - 0x8c]
push esi
call fcn.100173a1
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x80], 0xcd0cd8a6
mov dword [ebp - 0x44], ebx
jmp 0x1001ac1f
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x6c], 8
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 1
jl 0x1001ac11
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.1001b46b
add esp, 0xc
mov dword [ebp - 0x28], ebx
jmp 0x1001ac7f
mov dword [ebp - 0x30], 0x88586fd5
mov eax, dword [ebp - 0x6c]
add eax, 0x62bb3fd
je 0x1001ac59
cmp dword [ebp - 0x28], ebx
je 0x1001ac59
xor ecx, ecx
inc ecx
jmp 0x1001ac5b
mov ecx, ebx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x8c]
mov dword [eax + 4], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x6c]
cmp eax, 1
setl cl
mov dword [ebp - 0x30], ecx
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], ebx
jle 0x1001ac3e
mov dword [ebp - 0x28], ebx
jmp 0x1001ad02
mov dword [ebp - 0x74], 0xfffffff8
lea ecx, [ebp - 0xa4]
push 1
call fcn.100173a1
mov byte [ebp - 4], 1
mov dword [ebp - 0x7c], 8
mov dword [ebp - 0x10], ebx
jmp 0x1001acc0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xa4]
mov dword [eax + ecx*4], 0xd693ce85
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 1
jl 0x1001acad
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xa4]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push 0x5b62
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x8c]
call fcn.1001aad6
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xa4]
call fcn.10017423
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 2
jle 0x1001ac89
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.10017423
cmp dword [edi + 0x10], ebx
jne 0x1001ad23
xor al, al
jmp 0x1001b41c
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x30], 0xcc5c6a3f
push esi
call fcn.100173a1
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], ebx
jmp 0x1001ad58
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xbc]
mov dword [eax + ecx*4], 0xe1d4595a
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1001ad45
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jne 0x1001ad76
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x18]
jne 0x1001ad73
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov eax, dword [ebp - 0x18]
setge dl
xor ecx, ecx
cmp edx, eax
push 0xfffffffffffffffb
setg cl
xor eax, eax
cmp ecx, 0xd1b4
pop ecx
setg al
cmp ecx, eax
sbb ecx, ecx
add ecx, 0xdeb9d334
sub ecx, dword [ebp - 0x18]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xbc]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [eax], ecx
je 0x1001add6
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1001adee
mov edx, 0x5121
xor cl, cl
call fcn.1001abab
jmp 0x1001adee
push ebx
call fcn.1001c732
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
pop ecx
je 0x1001adee
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.10017423
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.1001cc8b
mov dword [ebp - 0x10], 0xffffffff
pop ecx
mov dword [ebp - 0x1c], 0xffffffff
pop ecx
mov dword [ebp - 0x10], 0x15
jmp 0x1001af4c
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x98]
push esi
call fcn.100173a1
push 0x30cc
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.1001ccbc
xor ecx, ecx
mov dword [ebp - 0x2c], ebx
add esp, 0x10
inc ecx
jmp 0x1001ae64
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x64], esi
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], ecx
jl 0x1001ae5a
mov dword [ebp - 0x2c], ebx
jmp 0x1001ae7c
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x70], 0xfa66fa4b
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], ecx
jl 0x1001ae6e
mov eax, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x98]
mov dword [eax], ecx
mov dword [ebp - 0x64], ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
inc ecx
add eax, ecx
mov dword [ebp - 0x70], eax
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setne dl
sub edx, 0x3053
neg edx
sbb edx, edx
inc edx
sub eax, edx
neg eax
sbb eax, eax
inc eax
cmp eax, 0x844ba928
jae 0x1001aedd
cmp dword [ebp - 0x64], ebx
je 0x1001aedd
xor eax, eax
inc eax
jmp 0x1001aedf
mov eax, ebx
imul eax, eax, 0xe1cc
test eax, eax
je 0x1001aefb
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1001af25
push ebx
call fcn.1001d5e0
pop ecx
jmp 0x1001af25
mov dword [ebp - 0x20], ebx
jmp 0x1001af1f
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], 0
je 0x1001af1c
push 0x174b
push 0x6ab8
push ebx
call fcn.1001d299
add esp, 0xc
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xfffffff5
jle 0x1001af00
push 0x7575
lea eax, [ebp - 0x3d]
mov byte [ebp - 0x3d], bl
push ebx
push eax
call fcn.1001e415
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
add esp, 0xc
call fcn.10017423
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffe7
jle 0x1001ae23
cmp dword [edi + 0x14], 0x10
jb 0x1001af60
mov ecx, dword [edi]
jmp 0x1001af62
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x1001af6c
mov edx, dword [edi]
jmp 0x1001af6e
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
cmp ecx, eax
je 0x1001b313
mov al, byte [ecx]
cmp al, 0x30
jl 0x1001af98
cmp al, 0x39
jg 0x1001af98
mov esi, dword [ebp - 0x58]
movsx eax, al
imul edx, dword [esi], 0xa
add edx, 0xffffffd0
add eax, edx
inc ecx
mov dword [esi], eax
jmp 0x1001af62
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x5c], 0xe9d60a22
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x34], 9
je 0x1001b02a
xor esi, esi
inc esi
push ebx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], esi
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], 0xd8c6
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x30], 0xae86
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x54], 6
push eax
call fcn.1001b547
mov eax, dword [ebp - 0x68]
add esp, 0x14
cmp dword [ebp - 0x60], ebx
jne 0x1001aff1
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
cmp eax, 0x606e
setne cl
cmp dword [ebp - 0x5c], ecx
jg 0x1001b01c
mov eax, esi
cmp dword [ebp - 0x34], ebx
jne 0x1001b01e
mov eax, ebx
mov dword [ebp - 0x54], eax
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 9
jne 0x1001afb5
push 0x6d8c
lea eax, [ebp - 0x58]
push eax
push 0x1ddd
push ebx
push 0x73d5
call fcn.1001d4c1
add esp, 0x14
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x10], 0x82b
mov dword [ebp - 0x38], 1
push 3
pop esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x1c], ebx
jmp 0x1001b074
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x50], 5
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jl 0x1001b066
mov dword [ebp - 0x20], 0xb
cmp dword [ebp - 0x20], 0xd
jl 0x1001ad1c
push 2
pop edi
mov dword [ebp - 0x24], 0xfffffffd
mov dword [ebp - 0x24], ebx
jmp 0x1001b2eb
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], 0xc9109b52
mov dword [ebp - 0x38], 0xc0f44dc8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x18], ebx
jl 0x1001b148
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x50], ebx
je 0x1001b111
mov eax, dword [ebp - 0x24]
xor edx, edx
mov ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
setge dl
imul eax, edx, 0x66b
cmp dword [ebp - 0x18], eax
jge 0x1001b0eb
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
mov eax, dword [ebp - 0x24]
setl dl
mov dword [ebp + eax*4 - 0x50], edx
test edx, edx
jne 0x1001b111
mov eax, ebx
jmp 0x1001b114
xor eax, eax
inc eax
mov edx, dword [ebp - 0x18]
xor ecx, ecx
imul edx, eax
sub edx, dword [ebp - 0x24]
imul edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
cmp edx, eax
setl cl
xor eax, eax
add ecx, dword [ebp - 0x10]
cmp ecx, 0xd8f6
setne al
mov dword [ebp - 0x1c], eax
dec dword [ebp - 0x18]
jns 0x1001b0bf
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp + eax*4 - 0x50], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 0x3a0aeb04
je 0x1001b1fd
mov dword [ebp - 0x1c], 0x40f4eb95
mov dword [ebp - 0x18], 0xe572dbe4
cmp dword [ebp - 0x18], ebx
jne 0x1001b1a7
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], eax
jge 0x1001b1a7
mov edx, ebx
jmp 0x1001b1aa
xor edx, edx
inc edx
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x24]
push 3
setg cl
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x50]
cmp edx, eax
sbb esi, esi
neg esi
sub esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub esi, ecx
neg esi
sbb esi, esi
inc esi
sub esi, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 0x1c]
neg esi
sbb esi, esi
inc esi
cmp esi, eax
mov eax, dword [ebp - 0x20]
pop esi
setl dl
xor ecx, ecx
cmp edx, eax
setl cl
cmp ecx, 1
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
jmp 0x1001b2e8
mov dword [ebp - 0x30], 0x1e51
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x18], ebx
jl 0x1001b2e8
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x10], ebx
jmp 0x1001b2d6
push 4
lea ecx, [ebp - 0xb0]
call fcn.100173a1
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0xb0]
push ebx
push eax
call fcn.1001da1e
add esp, 0xc
mov dword [ebp - 0x1c], ebx
jmp 0x1001b2bf
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setg dl
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x3c], ebx
jne 0x1001b2a0
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov eax, dword [ebp - 0x30]
cmp eax, ecx
mov eax, dword [ebp - 0x1c]
setne dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x50]
cmp edx, eax
setl cl
sub ecx, 0x1902de64
je 0x1001b2a0
mov eax, dword [ebp - 0xb0]
cmp dword [eax], ebx
je 0x1001b2a0
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x50]
mov dword [ebp - 0x38], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jle 0x1001b24f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.10017423
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jle 0x1001b21f
dec dword [ebp - 0x18]
jns 0x1001b210
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jle 0x1001b09c
mov byte [ebp - 0x3e], bl
lea edx, [ebp - 0x3e]
mov cl, 1
call fcn.1001abab
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xd
jge 0x1001b08d
jmp 0x1001ad1c
push 2
lea ecx, [ebp - 0xcc]
call fcn.100173a1
mov dword [ebp - 4], 5
lea eax, [ebp - 0xcc]
push ebx
push eax
mov dword [ebp - 0x20], 0x4cd4536
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x30], 0xcbae8b01
mov dword [ebp - 0x3c], 0xd5c0aeca
mov dword [ebp - 0x3c], 0x2f9e
push eax
call fcn.1001b4d7
mov dword [ebp - 0x20], 1
add esp, 0xc
cmp dword [ebp - 0x20], ebx
jl 0x1001b40f
push 3
pop esi
mov dword [ebp - 0x3c], 0xfffffff6
mov dword [ebp - 0x1c], 0x526d2e85
mov dword [ebp - 0x3c], 0x443eb606
mov dword [ebp - 0x3c], 0x44d513c6
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x78], 0x333db962
mov dword [ebp - 0x10], ebx
jmp 0x1001b3ad
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xdc], 6
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1001b39c
dec dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0xfffffff4
jmp 0x1001b400
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x10], ebx
jmp 0x1001b3db
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xe8], 1
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x1001b3ca
lea eax, [ebp - 0x78]
push eax
push 0x7714
push ebx
call fcn.10024b1d
push ebx
push 0x568
call fcn.1001d212
add esp, 0x14
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffea
jl 0x1001b3be
dec dword [ebp - 0x20]
jns 0x1001b36d
lea ecx, [ebp - 0xcc]
call fcn.10017423
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret