Function at 0x14003a6f0
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm6
mov dword [rsp + 0x54], r8d
mov rbp, rdx
mov rdi, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x158], rax
movaps xmm6, xmmword [0x1401d9dd0]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0x78], 0
mov byte [rsp + 0x80], 0
mov dword [rsp + 0x84], 2
lea rsi, [0x1401df188]
mov qword [rsp + 0x70], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x94], xmm0
cmp byte [rcx + 0x17], 0
jns 0x14003a7a2
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003a7f7
lea rax, [rsp + 0xb8]
mov qword [rax], r15
lea rdx, [rsp + 0xb0]
mov qword [rdx], r15
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov edx, 1
mov r8d, 4
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
je 0x14003a916
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r14d, r14d
lea rbx, [rsp + 0x90]
mov qword [rbx - 0x20], rsi
mov rdi, qword [rbx - 8]
test rdi, rdi
je 0x14003a85d
mov rbp, qword [rsp + 0x90]
test rbp, rbp
je 0x14003a849
xor esi, esi
mov rcx, qword [rdi + rsi*8]
test rcx, rcx
je 0x14003a831
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + rsi*8], 0
inc rsi
cmp rbp, rsi
jne 0x14003a81e
mov rdi, qword [rsp + 0x88]
mov rcx, rdi
call fcn.1400e0f00
mov qword [rsp + 0x88], 0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rcx, qword [rsp + 0x78]
call fcn.1400e0f00
mov qword [rsp + 0x78], 0
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x14003a8cc
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x14003a8bd
xor esi, esi
mov rcx, qword [rdi + rsi*8]
test rcx, rcx
je 0x14003a8a5
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + rsi*8], 0
inc rsi
cmp rbx, rsi
jne 0x14003a892
mov rdi, qword [rsp + 0x88]
mov rcx, rdi
call fcn.1400e0f00
mov rcx, qword [rsp + 0x78]
jmp 0x14003a8ce
xor ecx, ecx
lea rax, [0x1401df1c8]
mov qword [rsp + 0x70], rax
call fcn.1400e0f00
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1401013e0
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x68], rdi
mov r13, qword [rsp + 0xb8]
test r13, r13
je 0x14003af6d
mov rdi, qword [rsp + 0x88]
test rdi, rdi
je 0x14003a987
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x14003a973
xor ebx, ebx
mov rcx, qword [rdi + rbx*8]
test rcx, rcx
je 0x14003a95b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rdi + rbx*8], 0
inc rbx
cmp rsi, rbx
jne 0x14003a948
mov rdi, qword [rsp + 0x88]
mov rcx, rdi
call fcn.1400e0f00
mov qword [rsp + 0x88], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov rcx, qword [rsp + 0x78]
call fcn.1400e0f00
mov qword [rsp + 0x78], 0
test r13, r13
je 0x14003af5b
lea rsi, [rsp + 0xd0]
mov qword [rsi], r15
mov eax, 0xaaaaaaaa
mov dword [rsi + 8], eax
mov dword [rsp + 0xc8], eax
mov qword [rsp + 0xc0], r15
lea rcx, [rsp + 0xe0]
mov qword [rcx + 0x70], r15
movaps xmmword [rcx + 0x60], xmm6
movaps xmmword [rcx + 0x50], xmm6
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
call fcn.14003c4b0
mov rcx, qword [rsp + 0x78]
call fcn.1400e0f00
mov qword [rsp + 0x78], 0
mov rcx, r13
mov rdx, rsi
mov r8d, ntohl
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x14003b73b
mov qword [rsp + 0x60], rbp
lea rdx, [rsp + 0xc8]
mov rcx, r13
mov r8d, 4
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x14003b73b
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0xd0], 0
je 0x14003aeb5
xorps xmm7, xmm7
xor ebp, ebp
mov qword [rsp + 0x48], r13
mov rcx, r13
mov edx, ebp
lea r8, [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x14003b73b
mov rbx, qword [rsp + 0xc0]
mov esi, dword [rbx + 4]
mov al, byte [rbx]
lea ecx, [rax - 5]
cmp cl, 2
jb 0x14003abec
cmp al, 1
ja 0x14003ae9f
add rbx, 8
lea r12, [rsp + 0xe0]
mov rcx, r12
mov rdx, rbx
call fcn.14003c550
mov ecx, 0x98
call fcn.140100528
mov rdi, rax
mov rax, qword [rsp + 0xc0]
mov bl, byte [rax]
mov r14b, byte [rax + 1]
lea rax, [0x1401dec98]
mov qword [rdi], rax
lea rcx, [rdi + 8]
mov rdx, r12
call fcn.14003be00
test bl, bl
mov dword [rdi + 0x80], esi
mov byte [rdi + 0x84], r14b
mov qword [rdi + 0x88], 0
lea rax, [0x1401dec18]
mov qword [rdi], rax
sete byte [rdi + 0x90]
mov r12, qword [rsp + 0x90]
cmp r12, qword [rsp + 0x98]
jb 0x14003ae27
lea rbx, [r12 + 1]
mov rax, qword [rsp + 0x98]
mov r13b, 1
cmp rax, rbx
jae 0x14003ae19
mov r15, qword [rsp + 0x88]
test r15, r15
je 0x14003add9
movsxd rcx, dword [rsp + 0xa0]
mov rdx, rax
shr rdx, 1
mov rsi, rbx
sub rsi, rax
cmp rsi, rdx
cmovbe rsi, rdx
test rcx, rcx
cmovne rsi, rcx
add rsi, rax
cmp rsi, rbx
cmovbe rsi, rbx
mov edx, 8
mov rcx, rsi
call fcn.1400e0f80
test rax, rax
je 0x14003ae0c
mov rbx, rax
mov r8, qword [rsp + 0x90]
shl r8, 3
test r8, r8
je 0x14003abcf
mov rcx, rbx
mov rdx, r15
call fcn.140103960
mov rcx, r15
call fcn.1400e0f00
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x98], rsi
jmp 0x14003ae0f
mov r14d, dword [rbx + 8]
mov r15d, r14d
and r15d, 1
test r15d, r15d
je 0x14003ac02
lea rax, [rbx + 0x2c]
jmp 0x14003ac06
lea rax, [rbx + 0x1c]
mov rcx, r15
shl rcx, 4
lea rdx, [rax - 0x10]
test r14b, 2
lea rdi, [rcx + rbx + 0xc]
mov ecx, 0
cmove rdi, rcx
mov qword [rsp + 0x58], rdi
cmovne rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.14003c550
mov ecx, 0xa8
call fcn.140100528
mov rdi, rax
mov rax, qword [rsp + 0xc0]
mov r13b, byte [rax]
mov r12b, byte [rax + 1]
lea rax, [0x1401dec98]
mov qword [rdi], rax
lea rcx, [rdi + 8]
lea rdx, [rsp + 0xe0]
call fcn.14003be00
cmp r13b, 5
sete byte [rdi + 0x90]
lea r13, [rdi + 0x98]
mov dword [rdi + 0x80], esi
mov byte [rdi + 0x84], r12b
mov qword [rdi + 0x88], 0
lea rax, [0x1401dec58]
mov qword [rdi], rax
movups xmmword [rdi + 0x98], xmm7
mov esi, 0
test r15d, r15d
movabs r15, 0xaaaaaaaaaaaaaaaa
je 0x14003acea
mov ecx, 0x10
lea rdx, [0x1401e4fba]
call fcn.1400e0e90
test rax, rax
je 0x14003b758
mov rsi, rax
add rbx, 0xc
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
mov qword [r13], rax
test r14b, 2
je 0x14003ad1c
mov ecx, 0x10
lea rdx, [0x1401e4fba]
call fcn.1400e0e90
test rax, rax
je 0x14003b740
mov rcx, qword [rsp + 0x58]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
mov qword [rdi + 0xa0], rax
mov rbx, qword [rsp + 0x90]
cmp rbx, qword [rsp + 0x98]
jb 0x14003ae86
lea rsi, [rbx + 1]
mov rax, qword [rsp + 0x98]
mov r13b, 1
cmp rax, rsi
jae 0x14003ae7d
mov r12, qword [rsp + 0x88]
test r12, r12
je 0x14003ae3d
movsxd rcx, dword [rsp + 0xa0]
mov rdx, rax
shr rdx, 1
mov r15, rsi
sub r15, rax
cmp r15, rdx
cmovbe r15, rdx
test rcx, rcx
cmovne r15, rcx
add r15, rax
cmp r15, rsi
cmovbe r15, rsi
mov edx, 8
mov rcx, r15
call fcn.1400e0f80
test rax, rax
je 0x14003ae70
mov rsi, rax
mov r8, qword [rsp + 0x90]
shl r8, 3
test r8, r8
je 0x14003adbc
mov rcx, rsi
mov rdx, r12
call fcn.140103960
mov rcx, r12
call fcn.1400e0f00
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x98], r15
jmp 0x14003ae73
movsxd rax, dword [rsp + 0xa0]
cmp rax, rbx
cmova rbx, rax
mov edx, 8
mov rcx, rbx
call fcn.1400e0f80
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14003ae0c
mov qword [rsp + 0x98], rbx
jmp 0x14003ae0f
xor r13d, r13d
movabs r15, 0xaaaaaaaaaaaaaaaa
test r13b, r13b
mov r13, qword [rsp + 0x48]
je 0x14003b760
mov rax, qword [rsp + 0x88]
mov qword [rax + r12*8], rdi
inc qword [rsp + 0x90]
jmp 0x14003ae9f
movsxd rax, dword [rsp + 0xa0]
cmp rax, rsi
cmova rsi, rax
mov edx, 8
mov rcx, rsi
call fcn.1400e0f80
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14003aeb0
mov qword [rsp + 0x98], rsi
jmp 0x14003ae7d
xor r13d, r13d
movabs r15, 0xaaaaaaaaaaaaaaaa
test r13b, r13b
je 0x14003b760
mov rax, qword [rsp + 0x88]
mov qword [rax + rbx*8], rdi
inc qword [rsp + 0x90]
mov r13, qword [rsp + 0x48]
inc ebp
cmp ebp, dword [rsp + 0xd0]
jb 0x14003aa7f
jmp 0x14003aeb5
xor r13d, r13d
jmp 0x14003ae7d
lea rax, [0x1401db250]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x150]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
mov esi, 0xffffffff
dec eax
test eax, eax
jg 0x14003aeed
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x148]
lock xadd dword [rdx - 8], esi
dec esi
test esi, esi
mov rbp, qword [rsp + 0x60]
jg 0x14003af11
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x140]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
mov esi, 0xffffffff
dec eax
test eax, eax
jg 0x14003af3a
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x138]
lock xadd dword [rdx - 8], esi
dec esi
test esi, esi
jg 0x14003af6d
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
jmp 0x14003af6d
lea rsi, [rsp + 0x70]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov byte [rsi + 0x10], 1
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0xb8], 0
je 0x14003b5af
mov rbx, qword [rbp]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x58], rax
cmp rbx, rax
je 0x14003b5b7
lea rbp, [rsp + 0xe0]
xor r12d, r12d
cmp dword [rsp + 0x90], 0
je 0x14003b323
lea rax, [rbx + 8]
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov qword [rsp + 0x150], r15
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
mov rcx, rbp
call fcn.14003c4b0
mov dword [rsp + 0xd0], 0
mov byte [rsp + 0xc0], r12b
mov byte [rsp + 0xb8], r12b
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
mov edx, r14d
call qword [rax + 0x20]
mov r13, rax
add rax, 8
cmp rax, rbp
je 0x14003b1d2
mov eax, dword [r13 + 0x58]
mov dword [rsp + 0x130], eax
mov rdx, qword [r13 + 0x60]
mov rsi, qword [rsp + 0x138]
cmp rdx, rsi
je 0x14003b0c6
cmp dword [rsi - 8], 0
js 0x14003b07a
lea rcx, [rdx - 0x18]
lea rdi, [rsi - 0x18]
mov rax, qword [rcx]
cmp rax, qword [rdi]
je 0x14003b08d
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x138]
call fcn.14003bb20
jmp 0x14003b0c6
call fcn.14003bee0
mov ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
mov r15, rax
dec ecx
test ecx, ecx
jg 0x14003b0b0
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.140156930
add r15, 0x18
mov qword [rsp + 0x138], r15
movabs r15, 0xaaaaaaaaaaaaaaaa
mov rdx, qword [r13 + 0x68]
mov rsi, qword [rsp + 0x140]
cmp rdx, rsi
je 0x14003b12f
cmp dword [rsi - 8], 0
js 0x14003b0ed
lea rcx, [rdx - 0x18]
lea rdi, [rsi - 0x18]
mov rax, qword [rcx]
cmp rax, qword [rdi]
je 0x14003b100
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x140]
call fcn.14003bb20
jmp 0x14003b12f
call fcn.14003bee0
mov ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
mov rsi, rax
dec ecx
test ecx, ecx
jg 0x14003b123
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.140156930
add rsi, 0x18
mov qword [rsp + 0x140], rsi
mov rdx, qword [r13 + 0x70]
mov rsi, qword [rsp + 0x148]
cmp rdx, rsi
je 0x14003b198
cmp dword [rsi - 8], 0
js 0x14003b156
lea rcx, [rdx - 0x18]
lea rdi, [rsi - 0x18]
mov rax, qword [rcx]
cmp rax, qword [rdi]
je 0x14003b169
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x148]
call fcn.14003bb20
jmp 0x14003b198
call fcn.14003bee0
mov ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
mov rsi, rax
dec ecx
test ecx, ecx
jg 0x14003b18c
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.140156930
add rsi, 0x18
mov qword [rsp + 0x148], rsi
mov al, byte [r13 + 0x54]
mov byte [rsp + 0x12c], al
test al, al
je 0x14003b1d2
mov rsi, r13
add rsi, 0x10
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov ecx, eax
lea rdx, [rsp + 0xe8]
mov r8, rsi
call qword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x14003b727
mov eax, dword [r13 + 0x80]
mov dword [rsp + 0xd0], eax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x18]
mov byte [rsp + 0xc0], al
mov al, byte [r13 + 0x84]
mov byte [rsp + 0xb8], al
cmp byte [rsp + 0x12c], 0
je 0x14003b273
lea rcx, [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14003b273
cmp byte [rbx + 0x4c], 0
je 0x14003b273
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14003b273
lea rcx, [rsp + 0xe8]
mov rdx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x14003b273
cmp byte [rsp + 0xc0], 0
jne 0x14003b273
mov al, byte [rsp + 0xb8]
and al, 3
cmp al, 3
jne 0x14003b273
mov eax, dword [rsp + 0xd0]
mov ecx, dword [rsp + 0x54]
and eax, ecx
cmp eax, ecx
je 0x14003b507
lea rax, [0x1401db250]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x150]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x14003b2a6
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x148]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x14003b2ca
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x140]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x14003b2ee
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x138]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x14003b312
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
inc r14d
cmp r14d, dword [rsp + 0x90]
jb 0x14003afc5
cmp byte [rbx + 0x4c], 0
je 0x14003b475
lea rcx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14003b475
cmp byte [rsp + 0x80], 0
je 0x14003b35e
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call qword [rax + 0x10]
mov byte [rsp + 0x80], 0
mov ecx, 0x98
call fcn.140100528
mov rdi, rax
lea rax, [0x1401dec98]
mov qword [rdi], rax
lea rcx, [rdi + 8]
mov rdx, rbx
call fcn.14003be00
mov eax, dword [rsp + 0x54]
mov dword [rdi + 0x80], eax
mov byte [rdi + 0x84], 3
mov qword [rdi + 0x88], 0
lea rax, [0x1401dec18]
mov qword [rdi], rax
mov byte [rdi + 0x90], 1
mov r15, qword [rsp + 0x90]
cmp r15, qword [rsp + 0x98]
jb 0x14003b4b8
lea r13, [r15 + 1]
mov rax, qword [rsp + 0x98]
mov r14b, 1
cmp rax, r13
jae 0x14003b4af
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14003b479
mov qword [rsp + 0x48], rcx
movsxd rcx, dword [rsp + 0xa0]
mov rdx, rax
shr rdx, 1
mov rsi, r13
sub rsi, rax
cmp rsi, rdx
cmovbe rsi, rdx
test rcx, rcx
cmovne rsi, rcx
add rsi, rax
cmp rsi, r13
cmovbe rsi, r13
mov edx, 8
mov rcx, rsi
call fcn.1400e0f80
test rax, rax
je 0x14003b4ac
mov r13, rax
mov r8, qword [rsp + 0x90]
shl r8, 3
test r8, r8
mov rax, qword [rsp + 0x48]
je 0x14003b45b
mov rcx, r13
mov rdx, qword [rsp + 0x48]
call fcn.140103960
mov rax, qword [rsp + 0x48]
mov rcx, rax
call fcn.1400e0f00
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x98], rsi
jmp 0x14003b4af
xor eax, eax
jmp 0x14003b4eb
movsxd rax, dword [rsp + 0xa0]
cmp rax, r13
cmova r13, rax
mov edx, 8
mov rcx, r13
call fcn.1400e0f80
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14003b4ac
mov qword [rsp + 0x98], r13
jmp 0x14003b4af
xor r14d, r14d
test r14b, r14b
je 0x14003b760
mov rax, qword [rsp + 0x88]
mov qword [rax + r15*8], rdi
inc qword [rsp + 0x90]
mov rcx, qword [rsp + 0x78]
call fcn.1400e0f00
mov qword [rsp + 0x78], 0
mov al, 1
movabs r15, 0xaaaaaaaaaaaaaaaa
test al, al
je 0x14003b5af
add rbx, 0x78
cmp rbx, qword [rsp + 0x58]
jne 0x14003afab
jmp 0x14003b5b7
lea rax, [0x1401db250]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x150]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x14003b53a
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x148]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x14003b55e
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x140]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x14003b582
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
mov rdx, qword [rsp + 0x138]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x14003b4f3
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140156930
jmp 0x14003b4f3
xor r14d, r14d
jmp 0x14003b71b
mov r12, qword [rsp + 0x68]
cmp byte [r12 + 0x17], 0
jns 0x14003b5c8
mov r12, qword [r12]
lea rsi, [0x1401df188]
test r12, r12
je 0x14003a7f7
cmp qword [rsp + 0x78], 0
jne 0x14003b6de
cmp byte [rsp + 0x80], 0
jne 0x14003b6de
lea rcx, [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov esi, eax
test eax, eax
je 0x14003b634
xor ebx, ebx
mov edi, 8
lea rbp, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
mov rcx, rbp
mov edx, ebx
call qword [rax + 0x20]
test rax, rax
je 0x14003b62c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
add edi, eax
inc ebx
cmp esi, ebx
jne 0x14003b60f
jmp 0x14003b639
mov edi, 8
mov ecx, edi
call fcn.1400e0eb0
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14003b760
mov r8d, dword [rsp + 0x84]
mov rcx, rax
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x14003b76a
lea rcx, [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x28]
test esi, esi
je 0x14003b6de
xor edi, edi
lea r14, [rsp + 0x70]
mov r15, qword [sym.imp.ADVAPI32.dll_AddAce]
mov rax, qword [rsp + 0x70]
mov rcx, r14
mov edx, edi
call qword [rax + 0x20]
test rax, rax
je 0x14003b76a
mov rbp, rax
mov rax, qword [rax]
mov rcx, rbp
call qword [rax + 0x10]
mov ebx, eax
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x20], ebx
mov r8d, 0xffffffff
mov r9, rax
call r15
test eax, eax
je 0x14003b76a
inc edi
cmp esi, edi
jne 0x14003b686
mov rax, qword [rsp + 0x78]
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r12
mov edx, 1
mov r8d, 4
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
sete r14b
lea rsi, [0x1401df188]
jmp 0x14003a7fa
call fcn.140156a00
mov byte [rsp + 0x12c], 0
mov ecx, eax
call fcn.14016f430
call fcn.14003ba50
mov qword [rdi + 0xa0], 0
test rsi, rsi
je 0x14003b758
mov rcx, rsi
call fcn.140100564
mov qword [r13], 0
mov ecx, 0x8007000e
call fcn.14016f430
call fcn.140156a00
mov esi, eax
mov rcx, qword [rsp + 0x78]
call fcn.1400e0f00
mov qword [rsp + 0x78], 0
mov ecx, esi
call fcn.14016f430
int3