Function at 0x140023540
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm6
mov r14, r8
mov qword [rsp + 0x40], rdx
mov rsi, rcx
mov rax, qword [0x140131028]
xor rax, rsp
mov qword [rsp + 0x148], rax
movaps xmm6, xmmword [0x140115d80]
movaps xmmword [rsp + 0x100], xmm6
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x110], r12
mov byte [rsp + 0x100], 0
lea rdx, [rcx + 0x18]
lea rcx, [rsp + 0xa0]
mov qword [rcx + 0x10], r12
movaps xmmword [rcx], xmm6
call fcn.140022bd0
cmp byte [rsi + 0x88], 0
mov qword [rsp + 0x38], rsi
je 0x1400236c7
lea r15, [rsp + 0x120]
mov rcx, r14
mov rdx, r15
call fcn.140014ea0
mov rbx, qword [r15]
mov rsi, qword [r15 + 8]
mov r15, rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
sub r15, rbx
je 0x140023644
js 0x140024e17
mov rcx, r15
call fcn.140094aec
mov qword [rsp + 0xc0], rax
lea rdi, [rax + r15]
mov qword [rsp + 0xd0], rdi
mov rcx, rax
mov rdx, rbx
mov r8, r15
call fcn.1400986f0
mov qword [rsp + 0xc8], rdi
test rbx, rbx
je 0x140023665
dec rsi
cmp r15, rsi
ja 0x140024ec3
mov qword [rsp + 0x128], rbx
mov rcx, rbx
call fcn.140094ae4
mov rax, qword [rsp + 0xa8]
cmp rax, qword [rsp + 0xb0]
jb 0x140024f45
lea rcx, [rsp + 0xa0]
lea rbx, [rsp + 0xc0]
mov rdx, rbx
call fcn.140023370
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400236c2
mov rax, qword [rsp + 0xc8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024ec6
mov qword [rsp + 0xc8], rcx
call fcn.140094ae4
mov rsi, qword [rsp + 0x38]
cmp byte [rsi + 0x6f], 0
mov qword [rsp + 0x48], r14
je 0x1400238df
mov rdx, qword [r14]
lea rbx, [rsp + 0x120]
mov rcx, rbx
mov r8d, 2
call fcn.14001ec60
mov rbp, qword [rbx]
mov rsi, qword [rbx + 8]
cmp rbp, rsi
je 0x140023872
xorps xmm7, xmm7
lea rbx, [rsp + 0xa0]
lea r15, [rsp + 0xc0]
mov r14, qword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x14002377f
mov rdx, qword [rbp]
mov rcx, qword [rdi]
call r14
test eax, eax
jne 0x140023772
add rdi, 0x18
jmp 0x14002379b
test rax, rax
je 0x140024e5d
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0xc0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rsp + 0xa8], rax
add rbp, 0x20
cmp rbp, rsi
je 0x14002385b
mov eax, dword [rbp + 0x18]
cmp eax, 0xbfffffff
ja 0x140023772
and eax, 0x20
jne 0x140023772
mov rax, qword [rsp + 0x38]
mov rdi, qword [rax + 0x70]
mov r12, qword [rax + 0x78]
cmp rdi, r12
jne 0x14002371b
mov r12, qword [rbp]
mov r13, qword [rbp + 8]
movaps xmmword [rsp + 0xc0], xmm7
mov qword [rsp + 0xd0], 0
sub r13, r12
je 0x1400237fd
js 0x140024e17
mov rcx, r13
call fcn.140094aec
mov qword [rsp + 0xc0], rax
lea rdi, [rax + r13]
mov qword [rsp + 0xd0], rdi
mov rcx, rax
mov rdx, r12
mov r8, r13
call fcn.1400986f0
mov qword [rsp + 0xc8], rdi
mov rax, qword [rsp + 0xa8]
cmp rax, qword [rsp + 0xb0]
jb 0x14002372f
mov rcx, rbx
mov rdx, r15
call fcn.140023370
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140023772
mov rax, qword [rsp + 0xc8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024e66
mov qword [rsp + 0xc8], rcx
call fcn.140094ae4
jmp 0x140023772
mov rbp, qword [rsp + 0x120]
movabs r12, 0xaaaaaaaaaaaaaaaa
mov r14, qword [rsp + 0x48]
test rbp, rbp
je 0x1400238df
mov rsi, qword [rsp + 0x128]
mov rcx, rbp
cmp rsi, rbp
je 0x1400238d2
add rsi, 0xffffffffffffffe0
jmp 0x1400238a2
mov qword [rsi + 8], rcx
call fcn.140094ae4
lea rax, [rsi - 0x20]
cmp rsi, rbp
mov rsi, rax
je 0x1400238ca
test rsi, rsi
je 0x140024e27
mov rcx, qword [rsi]
test rcx, rcx
je 0x140023896
mov rax, qword [rsi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x14002388d
jmp 0x140024e60
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0x128], rbp
call fcn.140094ae4
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], r12
movaps xmmword [rcx], xmm6
mov rsi, qword [rsp + 0x38]
mov rdx, rsi
call fcn.140022bd0
cmp byte [rsi + 0x8a], 0
je 0x140023a05
mov rcx, r14
mov r14, r12
lea r12, [rsp + 0x120]
mov r15, rcx
mov rdx, r12
call fcn.140014ea0
mov rbx, qword [r12]
mov rsi, qword [r12 + 8]
mov r12, rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
sub r12, rbx
je 0x140023981
js 0x140024e17
mov rcx, r12
call fcn.140094aec
mov qword [rsp + 0xc0], rax
lea rdi, [rax + r12]
mov qword [rsp + 0xd0], rdi
mov rcx, rax
mov rdx, rbx
mov r8, r12
call fcn.1400986f0
mov qword [rsp + 0xc8], rdi
test rbx, rbx
je 0x1400239a2
dec rsi
cmp r12, rsi
ja 0x140024eb2
mov qword [rsp + 0x128], rbx
mov rcx, rbx
call fcn.140094ae4
mov rax, qword [rsp + 0x88]
cmp rax, qword [rsp + 0x90]
jb 0x140024ef4
lea rcx, [rsp + 0x80]
lea rbx, [rsp + 0xc0]
mov rdx, rbx
call fcn.140023370
mov rcx, qword [rbx]
test rcx, rcx
mov r12, r14
mov r14, r15
je 0x140023a05
mov rax, qword [rsp + 0xc8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024eb5
mov qword [rsp + 0xc8], rcx
call fcn.140094ae4
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x8b], 0
je 0x140023c80
mov rdx, qword [r14]
lea rbx, [rsp + 0x120]
mov rcx, rbx
mov r8d, 2
call fcn.14001ec60
mov rsi, qword [rbx]
mov r14, qword [rbx + 8]
cmp rsi, r14
je 0x140023b6f
mov r15, r12
xorps xmm7, xmm7
lea rbx, [rsp + 0x80]
lea r12, [rsp + 0xc0]
jmp 0x140023aa8
test rax, rax
je 0x140024e44
movups xmmword [rax], xmm7
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0xc0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rsp + 0x88], rax
add rsi, 0x20
cmp rsi, r14
je 0x140023b64
test byte [rsi + 0x18], 0x20
jne 0x140023a9b
mov r13, qword [rsi]
mov rbp, qword [rsi + 8]
movaps xmmword [rsp + 0xc0], xmm7
mov qword [rsp + 0xd0], 0
sub rbp, r13
je 0x140023b06
js 0x140024e17
mov rcx, rbp
call fcn.140094aec
mov qword [rsp + 0xc0], rax
lea rdi, [rax + rbp]
mov qword [rsp + 0xd0], rdi
mov rcx, rax
mov rdx, r13
mov r8, rbp
call fcn.1400986f0
mov qword [rsp + 0xc8], rdi
mov rax, qword [rsp + 0x88]
cmp rax, qword [rsp + 0x90]
jb 0x140023a58
mov rcx, rbx
mov rdx, r12
call fcn.140023370
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140023a9b
mov rax, qword [rsp + 0xc8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024e69
mov qword [rsp + 0xc8], rcx
call fcn.140094ae4
jmp 0x140023a9b
mov rsi, qword [rsp + 0x120]
mov r12, r15
test rsi, rsi
mov r14, qword [rsp + 0x48]
je 0x140023c80
mov rdi, qword [rsp + 0x128]
mov rcx, rsi
cmp rdi, rsi
je 0x140023c73
add rdi, 0xffffffffffffffe0
jmp 0x140023bb0
mov qword [rdi + 8], rcx
call fcn.140094ae4
lea rax, [rdi - 0x20]
cmp rdi, rsi
mov rdi, rax
je 0x140023c6b
test rdi, rdi
je 0x140024e2a
mov rcx, qword [rdi]
test rcx, rcx
je 0x140023ba0
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x140023b97
jmp 0x140024e63
mov rax, qword [rsp + 0x80]
cmp rax, qword [rsp + 0x88]
jne 0x140023ca8
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x6d], 0
jne 0x140023ca8
lea r15, [rsp + 0x120]
mov rcx, r14
mov rdx, r15
mov r8d, 0xf01ff
call fcn.1400f90b0
cmp byte [r15], 0
je 0x140024fc5
lea rdx, [rsp + 0x128]
cmp byte [rsp + 0x100], 0
jne 0x140024cf5
lea rcx, [rsp + 0x108]
call fcn.14001f710
mov byte [rsp + 0x100], 1
cmp byte [rsp + 0x120], 0
je 0x140023db9
lea rcx, [rsp + 0x128]
call fcn.140022ab0
jmp 0x140023db9
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0x128], rsi
call fcn.140094ae4
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x89], 0
jne 0x140024c59
mov rax, qword [rsp + 0xa0]
cmp rax, qword [rsp + 0xa8]
je 0x140023bd8
xorps xmm0, xmm0
lea rax, [rsp + 0xc0]
movaps xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0x38]
movzx r8d, byte [rcx + 0x6d]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0xf01ff
lea r15, [rsp + 0x120]
lea r9, [rsp + 0xa0]
mov rcx, r14
mov rdx, r15
call fcn.14002ef90
cmp byte [r15], 0
je 0x140024e75
lea rdx, [rsp + 0x128]
cmp byte [rsp + 0x100], 0
jne 0x140023d70
lea rcx, [rsp + 0x108]
call fcn.14001f710
mov byte [rsp + 0x100], 1
cmp byte [rsp + 0x120], 0
je 0x140023d4d
lea r14, [rsp + 0x128]
mov rcx, r14
call fcn.140022ab0
mov byte [r14 - 8], 0
mov rsi, qword [rsp + 0xc0]
test rsi, rsi
je 0x140023db9
mov rdi, qword [rsp + 0xc8]
mov rcx, rsi
cmp rdi, rsi
je 0x140023dac
add rdi, 0xffffffffffffffe8
jmp 0x140023d93
lea rcx, [rsp + 0x108]
call fcn.140019c50
jmp 0x140023d2e
mov rcx, qword [rdi]
call fcn.140094ae4
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140023da4
test rdi, rdi
je 0x140024e24
cmp byte [rdi + 0x17], 0
jns 0x140023d87
jmp 0x140023d7f
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
call fcn.140094ae4
cmp byte [rsp + 0x100], 0
je 0x14002492d
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x6d], 0
je 0x140023ddc
cmp byte [rax + 0x6e], 0
jne 0x140024b77
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xf0], r12
movaps xmmword [rsp + 0xe0], xmm6
lea r14, [rsp + 0xe0]
lea rcx, [rsp + 0x108]
mov rdx, r14
call fcn.140038040
cmp byte [r14], 0
je 0x140024868
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x6c], 0
je 0x1400240ae
mov qword [rsp + 0x140], r12
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
cmp byte [rsp + 0x100], 0
je 0x140024bf2
lea r14, [rsp + 0x120]
lea rcx, [rsp + 0x108]
mov rdx, r14
call fcn.14001eae0
cmp byte [r14], 0
je 0x140024a32
mov r14, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
cmp r14, rax
jb 0x140023fe0
mov rsi, qword [rsp + 0xc0]
mov rbx, r14
sub rbx, rsi
sar rbx, 3
movabs rcx, 0xcccccccccccccccd
imul rbx, rcx
lea rdi, [rbx + 1]
movabs rdx, 0x666666666666666
cmp rdi, rdx
ja 0x140024f96
sub rax, rsi
sar rax, 3
imul rax, rcx
lea rcx, [rax + rax]
cmp rcx, rdi
cmova rdi, rcx
movabs rcx, 0x333333333333333
cmp rax, rcx
cmovae rdi, rdx
test rdi, rdi
je 0x140024f99
cmp rdi, rdx
ja 0x140024fa1
lea rax, [rdi*8]
lea rcx, [rax + rax*4]
call fcn.140094aec
mov r15, rax
lea rax, [rbx + rbx*4]
mov qword [rsp + 0x48], rax
lea r12, [rax*8]
add r12, r15
je 0x140024fa4
mov r13, qword [rsp + 0x128]
mov rbp, qword [rsp + 0x130]
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], 0
sub rbp, r13
je 0x140023f8d
js 0x140024fa7
mov rbx, rsi
mov rcx, rbp
call fcn.140094aec
mov qword [r12], rax
lea rsi, [rax + rbp]
mov qword [r12 + 0x10], rsi
mov rcx, rax
mov rdx, r13
mov r8, rbp
call fcn.1400986f0
mov qword [r12 + 8], rsi
mov rsi, rbx
lea rax, [rdi + rdi*4]
lea rax, [r15 + rax*8]
mov qword [r12 + 0x18], 3
mov dword [r12 + 0x20], 0
lea rcx, [r12 + 0x28]
cmp r14, rsi
jne 0x140024d07
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
test r14, r14
jne 0x140024fb5
mov r14, qword [rsp + 0xc8]
jmp 0x140024054
test r14, r14
je 0x140024f93
mov r15, qword [rsp + 0x128]
mov r12, qword [rsp + 0x130]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
sub r12, r15
je 0x140024038
js 0x140024e9d
mov rcx, r12
call fcn.140094aec
mov qword [r14], rax
lea rsi, [rax + r12]
mov qword [r14 + 0x10], rsi
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.1400986f0
mov qword [r14 + 8], rsi
mov qword [r14 + 0x18], 3
mov dword [r14 + 0x20], 0
add r14, 0x28
mov qword [rsp + 0xc8], r14
cmp qword [rsp + 0xc0], r14
je 0x140024eeb
mov cl, byte [rsp + 0x120]
test cl, cl
je 0x140024190
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140024190
mov rax, qword [rsp + 0x130]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024fb2
mov qword [rsp + 0x130], rcx
call fcn.140094ae4
jmp 0x140024190
xor eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x7c], 0x10000000
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x74], 0xa
mov r14, qword [rsp + 0xc8]
cmp r14, qword [rsp + 0xd0]
jae 0x140024de5
test r14, r14
je 0x140024ef1
lea r12, [rsp + 0x120]
mov rcx, r12
mov edx, 0xa
call fcn.14001c4b0
mov r15, qword [r12]
mov rsi, qword [r12 + 8]
mov r12, rsi
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
sub r12, r15
je 0x140024147
js 0x140024e9d
mov rcx, r12
call fcn.140094aec
mov qword [r14], rax
lea rdi, [rax + r12]
mov qword [r14 + 0x10], rdi
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.1400986f0
mov qword [r14 + 8], rdi
movabs rax, 0x1000000000000000
mov qword [r14 + 0x18], rax
mov dword [r14 + 0x20], 0
test r15, r15
je 0x140024176
dec rsi
cmp r12, rsi
ja 0x140024faf
mov rcx, r15
call fcn.140094ae4
add r14, 0x28
mov qword [rsp + 0xc8], r14
cmp qword [rsp + 0xc0], r14
je 0x140024eee
mov rax, qword [rsp + 0x38]
mov rsi, qword [rax + 0x30]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x48], rax
cmp rsi, rax
je 0x1400244c5
xorps xmm6, xmm6
jmp 0x14002424a
test rbp, rbp
je 0x140024e53
mov rax, qword [rsp + 0x120]
mov qword [rbp], rax
mov rax, qword [rsp + 0x128]
mov qword [rbp + 8], rax
mov rax, qword [rsp + 0x130]
mov qword [rbp + 0x10], rax
movaps xmmword [rsp + 0x120], xmm6
mov qword [rsp + 0x130], 0
lea rcx, [rsp + 0x138]
mov eax, dword [rcx + 8]
mov dword [rbp + 0x20], eax
mov rax, qword [rcx]
mov qword [rbp + 0x18], rax
add rbp, 0x28
mov qword [rsp + 0xc8], rbp
xor ecx, ecx
test rcx, rcx
je 0x14002423b
mov rax, qword [rsp + 0x128]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024e50
call fcn.140094ae4
add rsi, 0x28
cmp rsi, qword [rsp + 0x48]
je 0x1400244c5
mov ebx, dword [rsi + 0x18]
mov ebp, dword [rsi + 0x1c]
mov r13d, dword [rsi + 0x20]
mov r14, qword [rsi]
mov r12, qword [rsi + 8]
movaps xmmword [rsp + 0x120], xmm6
mov qword [rsp + 0x130], 0
sub r12, r14
je 0x140024e3a
js 0x140024e2d
mov rcx, r12
call fcn.140094aec
mov r15, rax
mov qword [rsp + 0x120], rax
lea rdi, [rax + r12]
mov qword [rsp + 0x130], rdi
mov rcx, rax
mov rdx, r14
mov r8, r12
call fcn.1400986f0
mov qword [rsp + 0x128], rdi
mov dword [rsp + 0x138], ebx
mov dword [rsp + 0x13c], ebp
mov dword [rsp + 0x140], r13d
mov rbp, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
cmp rbp, rax
jb 0x1400241b3
mov r12, qword [rsp + 0xc0]
mov r14, rbp
sub r14, r12
sar r14, 3
movabs rcx, 0xcccccccccccccccd
imul r14, rcx
lea rbx, [r14 + 1]
movabs rdx, 0x666666666666666
cmp rbx, rdx
ja 0x140024e4d
sub rax, r12
sar rax, 3
imul rax, rcx
lea rcx, [rax + rax]
cmp rcx, rbx
cmova rbx, rcx
movabs rcx, 0x333333333333333
cmp rax, rcx
cmovae rbx, rdx
test rbx, rbx
je 0x140024e56
cmp rbx, rdx
ja 0x140024e47
lea rax, [rbx*8]
lea rcx, [rax + rax*4]
call fcn.140094aec
lea r8, [r14 + r14*4]
lea r9, [r8*8]
add r9, rax
je 0x140024e4a
lea rcx, [rbx + rbx*4]
lea rcx, [rax + rcx*8]
mov qword [r9], r15
mov qword [r9 + 8], rdi
mov qword [r9 + 0x10], rdi
movaps xmmword [rsp + 0x120], xmm6
mov qword [rsp + 0x130], 0
lea r10, [rsp + 0x138]
mov edx, dword [r10 + 8]
mov dword [r9 + 0x20], edx
mov rdx, qword [r10]
mov qword [r9 + 0x18], rdx
lea rdx, [r9 + 0x28]
cmp rbp, r12
jne 0x1400243f1
mov qword [rsp + 0xc0], r9
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], rcx
test rbp, rbp
je 0x1400243e4
mov rcx, rbp
call fcn.140094ae4
mov rcx, qword [rsp + 0x120]
jmp 0x140024217
lea rax, [rax + r8*8]
add rax, 0xffffffffffffffd8
test rax, rax
je 0x140024e72
movups xmmword [rax], xmm6
xor r9d, r9d
mov qword [rax + 0x10], r9
mov r8, qword [rbp - 0x28]
mov qword [rax], r8
mov r8, qword [rbp - 0x20]
mov qword [rax + 8], r8
mov r8, qword [rbp - 0x18]
mov qword [rax + 0x10], r8
mov qword [rbp - 0x18], r9
movups xmmword [rbp - 0x28], xmm6
mov r8d, dword [rbp - 8]
mov dword [rax + 0x20], r8d
mov r8, qword [rbp - 0x10]
lea r9, [rbp - 0x28]
mov qword [rax + 0x18], r8
add rax, 0xffffffffffffffd8
mov rbp, r9
cmp r9, r12
jne 0x1400243f9
mov rbp, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc8]
add rax, 0x28
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], rcx
cmp rdi, rbp
je 0x1400243d7
add rdi, 0xffffffffffffffd8
test rdi, rdi
je 0x140024e6c
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400244b4
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024e6f
mov qword [rdi + 8], rcx
call fcn.140094ae4
lea rax, [rdi - 0x28]
cmp rdi, rbp
mov rdi, rax
jne 0x140024484
jmp 0x1400243d7
cmp byte [rsp + 0x100], 0
je 0x140024bf2
lea r15, [rsp + 0x120]
lea rcx, [rsp + 0x108]
mov rdx, r15
call fcn.140014ea0
mov r14, qword [r15]
mov rsi, qword [r15 + 8]
mov r13, rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
sub r13, r14
je 0x140024eb8
js 0x140024ea5
mov rcx, r13
call fcn.140094aec
mov r15, rax
mov qword [rsp + 0x50], rax
lea r12, [rax + r13]
mov qword [rsp + 0x60], r12
mov rcx, rax
mov rdx, r14
mov r8, r13
call fcn.1400986f0
mov qword [rsp + 0x58], r12
test r14, r14
je 0x140024562
dec rsi
cmp r13, rsi
ja 0x140024ec9
mov qword [rsp + 0x128], r14
mov rcx, r14
call fcn.140094ae4
mov r14, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
cmp r14, rax
jb 0x1400246bf
mov rsi, qword [rsp + 0xc0]
mov rbx, r14
sub rbx, rsi
sar rbx, 3
movabs rcx, 0xcccccccccccccccd
imul rbx, rcx
lea rdi, [rbx + 1]
movabs rdx, 0x666666666666666
cmp rdi, rdx
ja 0x140024ed2
sub rax, rsi
sar rax, 3
imul rax, rcx
lea rcx, [rax + rax]
cmp rcx, rdi
cmova rdi, rcx
movabs rcx, 0x333333333333333
cmp rax, rcx
cmovae rdi, rdx
test rdi, rdi
je 0x140024ed5
cmp rdi, rdx
ja 0x140024edd
lea rax, [rdi*8]
lea rcx, [rax + rax*4]
call fcn.140094aec
mov r13, rax
lea rax, [rbx + rbx*4]
mov qword [rsp + 0x48], rax
lea rbp, [rax*8]
add rbp, r13
je 0x140024ee0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
sub r12, r15
je 0x14002465f
js 0x140024ee3
mov rbx, rsi
mov rcx, r12
call fcn.140094aec
mov qword [rbp], rax
lea rsi, [rax + r12]
mov qword [rbp + 0x10], rsi
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.1400986f0
mov qword [rbp + 8], rsi
mov rsi, rbx
lea rax, [rdi + rdi*4]
lea rax, [rax*8]
add rax, r13
movabs rcx, 0x1000000000000000
mov qword [rbp + 0x18], rcx
mov dword [rbp + 0x20], 0
lea rcx, [rbp + 0x28]
cmp r14, rsi
jne 0x140024a97
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
test r14, r14
je 0x1400246b5
mov rcx, r14
call fcn.140094ae4
mov r14, qword [rsp + 0xc8]
jmp 0x140024729
test r14, r14
je 0x140024ecf
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
sub r12, r15
je 0x140024707
js 0x140024e9d
mov rcx, r12
call fcn.140094aec
mov qword [r14], rax
lea rsi, [rax + r12]
mov qword [r14 + 0x10], rsi
mov rcx, rax
mov rdx, r15
mov r8, r12
call fcn.1400986f0
mov qword [r14 + 8], rsi
movabs rax, 0x1000000000000000
mov qword [r14 + 0x18], rax
mov dword [r14 + 0x20], 0
add r14, 0x28
mov qword [rsp + 0xc8], r14
cmp qword [rsp + 0xc0], r14
je 0x140024eaf
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002475d
mov rax, qword [rsp + 0x58]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024ecc
call fcn.140094ae4
cmp byte [rsp + 0xe0], 0
je 0x140024bf2
lea rcx, [rsp + 0xe8]
lea rdx, [rsp + 0xc0]
call fcn.140016360
test al, al
je 0x140024836
cmp byte [rsp + 0x100], 0
je 0x140024bf2
cmp byte [rsp + 0xe0], 0
je 0x140024bf2
mov rax, qword [rsp + 0xe8]
lea r8, [rsp + 0x120]
mov qword [r8], rax
mov rcx, qword [rsp + 0x108]
mov edx, 6
mov r9d, 8
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x140024836
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x60], 0
je 0x140024806
cmp byte [rsp + 0x100], 0
je 0x140024bf2
mov rax, qword [rsp + 0x38]
mov edx, dword [rax + 0x64]
lea rcx, [rsp + 0x108]
call fcn.14001a230
test al, al
je 0x140024836
xorps xmm0, xmm0
mov rax, qword [rsp + 0x40]
movups xmmword [rax], xmm0
cmp byte [rsp + 0x100], 0
je 0x14002483e
mov rsi, qword [rsp + 0x40]
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x108]
call fcn.14001f710
mov byte [rsi], 1
jmp 0x14002483e
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
cmp byte [rsp + 0xe0], 0
je 0x140024870
mov rcx, qword [rsp + 0xe8]
mov qword [rsp + 0xe8], 0
test rcx, rcx
je 0x140024870
call fcn.140094b48
jmp 0x140024870
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov rsi, qword [rsp + 0xc0]
test rsi, rsi
je 0x140024935
mov rdi, qword [rsp + 0xc8]
mov rcx, rsi
cmp rdi, rsi
je 0x14002491e
add rdi, 0xffffffffffffffd8
jmp 0x1400248b0
mov qword [rdi + 8], rcx
call fcn.140094ae4
lea rax, [rdi - 0x28]
cmp rdi, rsi
mov rdi, rax
je 0x140024916
test rdi, rdi
je 0x140024c00
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400248a4
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x14002489b
jmp 0x140024c03
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024bfd
mov qword [rdi + 8], rcx
call fcn.140094ae4
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140024958
test rdi, rdi
je 0x140024bf7
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400248d8
jmp 0x1400248f7
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
call fcn.140094ae4
jmp 0x140024935
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov rsi, qword [rsp + 0x80]
test rsi, rsi
je 0x14002496d
mov rdi, qword [rsp + 0x88]
mov rcx, rsi
cmp rdi, rsi
je 0x140024960
add rdi, 0xffffffffffffffe8
jmp 0x140024903
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x88], rsi
call fcn.140094ae4
mov rsi, qword [rsp + 0xa0]
test rsi, rsi
je 0x1400249e2
mov rdi, qword [rsp + 0xa8]
mov rcx, rsi
cmp rdi, rsi
je 0x1400249d5
add rdi, 0xffffffffffffffe8
jmp 0x1400249a5
mov qword [rdi + 8], rcx
call fcn.140094ae4
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x1400249cd
test rdi, rdi
je 0x140024bf4
mov rcx, qword [rdi]
test rcx, rcx
je 0x140024999
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x140024990
jmp 0x140024bfa
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rsi
call fcn.140094ae4
cmp byte [rsp + 0x100], 0
je 0x1400249f9
lea rcx, [rsp + 0x108]
call fcn.140022ab0
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140096c60
mov rax, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov cl, byte [rsp + 0x120]
cmp eax, 0x490
je 0x140024069
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
test cl, cl
je 0x14002483e
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x14002483e
mov rax, qword [rsp + 0x130]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024c09
mov qword [rsp + 0x130], rcx
call fcn.140094ae4
jmp 0x14002483e
mov rdx, qword [rsp + 0x48]
lea rdx, [rdx*8 - 0x28]
add rdx, r13
xorps xmm0, xmm0
xor r8d, r8d
test rdx, rdx
je 0x140024fc2
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r8
mov r9, qword [r14 - 0x28]
mov qword [rdx], r9
mov r9, qword [r14 - 0x20]
mov qword [rdx + 8], r9
mov r9, qword [r14 - 0x18]
mov qword [rdx + 0x10], r9
mov qword [r14 - 0x18], r8
movups xmmword [r14 - 0x28], xmm0
mov r9d, dword [r14 - 8]
mov dword [rdx + 0x20], r9d
mov r9, qword [r14 - 0x10]
lea r10, [r14 - 0x28]
mov qword [rdx + 0x18], r9
add rdx, 0xffffffffffffffd8
mov r14, r10
cmp r10, rsi
jne 0x140024aad
mov r14, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
add rdx, 0x28
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
cmp rsi, r14
je 0x1400246a8
add rsi, 0xffffffffffffffd8
test rsi, rsi
je 0x140024f90
mov rcx, qword [rsi]
test rcx, rcx
je 0x140024b66
mov rax, qword [rsi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024c06
mov qword [rsi + 8], rcx
call fcn.140094ae4
lea rax, [rsi - 0x28]
cmp rsi, r14
mov rsi, rax
jne 0x140024b36
jmp 0x1400246a8
lea rdx, str.SeChangeNotifyPrivilege
lea r14, [rsp + 0x120]
mov rcx, r14
call fcn.1400121c0
lea rcx, [rsp + 0x108]
mov rdx, r14
call fcn.140038130
mov ebp, eax
cmp byte [r14 + 0x17], 0
jns 0x140024bb4
mov rcx, qword [rsp + 0x120]
call fcn.140094ae4
test bpl, bpl
je 0x14002492d
cmp byte [rsp + 0x100], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xf0], r12
movaps xmmword [rsp + 0xe0], xmm6
jne 0x140023e03
ud2
int3
int3
int3
int3
int3
int3
int3
int3
test rax, rax
je 0x140024ff0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
xor ecx, ecx
mov qword [rax + 0x10], rcx
mov r8, qword [rsp + 0x128]
mov qword [rax], r8
mov r8, qword [rsp + 0x130]
mov qword [rax + 8], r8
mov r8, qword [rsp + 0x138]
mov qword [rax + 0x10], r8
mov qword [rdx + 0x10], rcx
movups xmmword [rdx], xmm0
add rax, 0x18
mov qword [rsp + 0x88], rax
jmp 0x140024cab
lea rbx, [rsp + 0x120]
mov qword [rbx + 0x20], r12
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov rcx, r14
mov rdx, rbx
call fcn.14001eae0
cmp byte [rbx], 0
je 0x140023c92
lea rdx, [rsp + 0x128]
mov rax, qword [rsp + 0x88]
cmp rax, qword [rsp + 0x90]
jb 0x140024c0c
lea rcx, [rsp + 0x80]
call fcn.140023370
cmp byte [rsp + 0x120], 0
je 0x140023c92
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140023c92
mov rax, qword [rsp + 0x130]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024cf2
mov qword [rsp + 0x130], rcx
call fcn.140094ae4
jmp 0x140023c92
int3
lea rcx, [rsp + 0x108]
call fcn.140019c50
jmp 0x140023c4b
mov rdx, qword [rsp + 0x48]
lea rdx, [r15 + rdx*8]
add rdx, 0xffffffffffffffd8
xorps xmm0, xmm0
xor r8d, r8d
test rdx, rdx
je 0x140024fed
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r8
mov r9, qword [r14 - 0x28]
mov qword [rdx], r9
mov r9, qword [r14 - 0x20]
mov qword [rdx + 8], r9
mov r9, qword [r14 - 0x18]
mov qword [rdx + 0x10], r9
mov qword [r14 - 0x18], r8
movups xmmword [r14 - 0x28], xmm0
mov r9d, dword [r14 - 8]
mov dword [rdx + 0x20], r9d
mov r9, qword [r14 - 0x10]
lea r10, [r14 - 0x28]
mov qword [rdx + 0x18], r9
add rdx, 0xffffffffffffffd8
mov r14, r10
cmp r10, rsi
jne 0x140024d1a
mov r14, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
add rdx, 0x28
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rax
cmp rsi, r14
je 0x140023fcd
add rsi, 0xffffffffffffffd8
test rsi, rsi
je 0x140024ff9
mov rcx, qword [rsi]
test rcx, rcx
je 0x140024dd3
mov rax, qword [rsi + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140024ffc
mov qword [rsi + 8], rcx
call fcn.140094ae4
lea rax, [rsi - 0x28]
cmp rsi, r14
mov rsi, rax
je 0x140023fcd
jmp 0x140024da3
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r14, [rsp + 0xc0]
lea rdx, [rsp + 0x74]
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x7c]
mov rcx, r14
call fcn.140100ff0
mov r14, qword [r14 + 8]
jmp 0x140024182
lea rcx, [rsp + 0xc0]
call fcn.1400c85f0
int3
int3
int3
lea rcx, [rsp + 0x120]
call fcn.1400c85f0
xor edi, edi
xor r15d, r15d
jmp 0x1400242b3
int3
int3
int3
int3
int3
int3
xor eax, eax
jmp 0x140024363
int3
int3
int3
int3
int3
int3
int3
int3
cmp byte [rsp + 0x100], 0
je 0x140023d4d
lea rcx, [rsp + 0x108]
call fcn.140022ab0
mov byte [rsp + 0x100], 0
jmp 0x140023d2e
mov rcx, r14
call fcn.1400c85f0
lea rcx, [rsp + 0x50]
call fcn.1400c85f0
int3
int3
int3
xor r15d, r15d
xor r12d, r12d
jmp 0x140024541
int3
int3
int3
int3
int3
int3
xor r13d, r13d
jmp 0x1400245ff
int3
int3
mov rcx, rbp
call fcn.1400c85f0
int3
int3
int3
test rax, rax
je 0x140024ff3
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0xc0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rsp + 0x88], rax
mov r12, r14
mov r14, r15
jmp 0x140023a05
test rax, rax
je 0x140024ff6
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov rcx, qword [rsp + 0xc0]
mov qword [rax], rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 0x10], rcx
add rax, 0x18
mov qword [rsp + 0xa8], rax
jmp 0x1400236c2
int3
int3
int3
xor r15d, r15d
jmp 0x140023f19
int3
int3
mov rcx, r12
call fcn.1400c85f0
int3
int3
mov rcx, r14
call fcn.140094ae4
jmp 0x140023fd6
int3
cmp byte [rsp + 0x100], 0
je 0x140023db9
lea rcx, [rsp + 0x108]
call fcn.140022ab0
mov byte [rsp + 0x100], 0
jmp 0x140023c4b
int3
int3
int3
int3
int3
int3