Function at 0x140120ea0
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp + 0x90], rax
movsxd rdi, r8d
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rbp - 0x80], rcx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x68]
call fcn.140120270
nop
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1401206d0
mov r8d, 0xc0000000
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x28]
call fcn.1401205c0
nop
mov r8d, 0x20
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1401205c0
nop
movabs r14, 0xe38e38e38e38e39
mov r8, qword [rsp + 0x28]
test r8, r8
je 0x140120fa2
mov rcx, qword [rsp + 0x38]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x140120f88
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121574
mov rcx, r8
call fcn.140398020
mov qword [rsp + 0x28], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], 0
mov dword [rsp + 0x20], 1
cmp edi, 6
ja case.default.0x140120fdb
lea rdx, [0x140000000]
mov ecx, dword [rdx + rdi*4 + 0x121580]
add rcx, rdx
jmp rcx
mov rax, qword [rsi]
mov qword [rsi + 8], rax
jmp 0x14012146b
movdqa xmm0, xmmword [0x140535cb0]
movdqu xmmword [rbp + 0x80], xmm0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov r13d, 3
mov dword [rsp + 0x20], r13d
xor r12d, r12d
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rdi, qword [rsp + 0x30]
je 0x140121162
xor r14d, r14d
movabs rsi, 0xe38e38e38e38e39
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [r14 + r8]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [r14 + r8 + 0x10]
movaps xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [r14 + r8 + 0x20]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [r14 + r8 + 0x30]
movaps xmmword [rbp - 0x40], xmm1
mov eax, dword [r14 + r8 + 0x40]
mov dword [rbp - 0x30], eax
mov dword [rsp + 0x40], 0x44
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x30]
xor edx, edx
mov ecx, dword [rbp + rbx*4 + 0x80]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x140121122
inc rbx
mov r8, qword [rsp + 0x48]
cmp rbx, 4
jb 0x140121060
add r8, r14
cmp rdi, r15
je 0x14012110b
movups xmm0, xmmword [r8]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rdi + 0x30], xmm1
mov eax, dword [r8 + 0x40]
mov dword [rdi + 0x40], eax
add rdi, 0x44
mov qword [rsp + 0x30], rdi
jmp 0x140121122
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140122950
mov r15, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
inc r12
add r14, 0x48
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x140121051
mov rsi, qword [rsp + 0x60]
movabs r14, 0xe38e38e38e38e39
lea rax, [rsp + 0x28]
cmp rsi, rax
je 0x140121196
mov rcx, rsi
call fcn.1401225c0
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
and r13d, 0xfffffffd
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x28]
call fcn.1401225c0
jmp 0x14012146b
mov dword [rbp + 0x80], 0x1b
mov dword [rbp + 0x84], 1
mov dword [rbp + 0x88], select
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov r13d, 5
mov dword [rsp + 0x20], r13d
xor r12d, r12d
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rdi, qword [rsp + 0x30]
je 0x140121332
xor r14d, r14d
movabs rsi, 0xe38e38e38e38e39
xor ebx, ebx
nop word [rax + rax]
movups xmm0, xmmword [r14 + r8]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [r14 + r8 + 0x10]
movaps xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [r14 + r8 + 0x20]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [r14 + r8 + 0x30]
movaps xmmword [rbp - 0x40], xmm1
mov eax, dword [r14 + r8 + 0x40]
mov dword [rbp - 0x30], eax
mov dword [rsp + 0x40], 0x44
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x30]
xor edx, edx
mov ecx, dword [rbp + rbx*4 + 0x80]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1401212f2
inc rbx
mov r8, qword [rsp + 0x48]
cmp rbx, 3
jb 0x140121230
add r8, r14
cmp rdi, r15
je 0x1401212db
movups xmm0, xmmword [r8]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rdi + 0x30], xmm1
mov eax, dword [r8 + 0x40]
mov dword [rdi + 0x40], eax
add rdi, 0x44
mov qword [rsp + 0x30], rdi
jmp 0x1401212f2
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140122950
mov r15, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
inc r12
add r14, 0x48
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x140121224
mov rsi, qword [rsp + 0x60]
movabs r14, 0xe38e38e38e38e39
lea rax, [rsp + 0x28]
cmp rsi, rax
je 0x140121366
mov rcx, rsi
call fcn.1401225c0
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
and r13d, 0xfffffffb
mov dword [rsp + 0x20], r13d
lea rcx, [rsp + 0x28]
call fcn.1401225c0
jmp 0x14012146b
cmp byte [rbp + 0x28], 0
je 0x1401213c6
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x1401213ba
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rdx + 0x10], xmm1
movaps xmm0, xmmword [rbp]
movups xmmword [rdx + 0x20], xmm0
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [rdx + 0x30], xmm1
mov eax, dword [rbp + 0x20]
mov dword [rdx + 0x40], eax
add qword [rsi + 8], 0x44
jmp 0x1401213c6
lea r8, [rbp - 0x20]
mov rcx, rsi
call fcn.140122950
xor edi, edi
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14012146b
xor ebx, ebx
add r8, rbx
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14012142e
movups xmm0, xmmword [r8]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rdx + 0x30], xmm1
mov eax, dword [r8 + 0x40]
mov dword [rdx + 0x40], eax
add qword [rsi + 8], 0x44
jmp 0x140121436
mov rcx, rsi
call fcn.140122950
inc rdi
add rbx, 0x48
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jb 0x1401213f1
jmp 0x14012146b
call fcn.140126880
nop
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1401214d8
mov rcx, qword [rsp + 0x58]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x1401214be
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012157a
mov rcx, r8
call fcn.140398020
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0
mov r8, qword [rsp + 0x68]
test r8, r8
je 0x140121541
mov rcx, qword [rsp + 0x78]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*8]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x140121527
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012156e
mov rcx, r8
call fcn.140398020
mov qword [rsp + 0x68], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov rax, rsi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140398000
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1403a7ee4
nop
call fcn.1403a7ee4
nop
call fcn.1403a7ee4
int3