Function at 0x140050200
Capabilities:
Move file
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor esi, esi
mov word [rbp - 0x3d], 0x100
lea rax, [rbp - 0x59]
mov qword [rbp - 0x59], rsi
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov dword [rsp + 0x48], esi
mov rbx, rcx
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x41]
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dl, 1
mov dword [rsp + 0x20], esi
mov qword [rbp - 0x51], rsi
mov dword [rbp - 0x41], esi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400502c0
lea rax, [rbp - 0x51]
mov dword [rbp - 0x39], esi
mov qword [rsp + 0x50], rax
lea r8d, [rsi + 0x20]
mov dword [rsp + 0x48], esi
lea rcx, [rbp - 0x39]
mov dword [rsp + 0x40], esi
mov r9d, 0x220
mov dword [rsp + 0x38], esi
mov dl, 2
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov word [rbp - 0x35], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1400502c7
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
jmp 0x140050426
xorps xmm0, xmm0
mov dword [rbp - 0x29], 0x10000000
xor eax, eax
mov qword [rbp - 0x49], rsi
mov qword [rbp + 0x2b], rax
lea r9, [rbp - 0x49]
mov rax, qword [rbp - 0x59]
lea rdx, [rbp - 0x29]
movups xmmword [rbp - 5], xmm0
xor r8d, r8d
mov qword [rbp - 1], rax
mov rax, qword [rbp - 0x51]
movups xmmword [rbp - 0x15], xmm0
mov qword [rbp + 0x2f], rax
movups xmmword [rbp + 0x1b], xmm0
lea ecx, [r8 + 2]
mov dword [rbp - 0xd], esi
movups xmmword [rbp - 0x25], xmm0
mov qword [rbp - 0x25], 2
movups xmmword [rbp + 0xb], xmm0
mov dword [rbp - 9], 2
mov dword [rbp + 7], 0x10000000
mov qword [rbp + 0xb], 2
mov dword [rbp + 0x23], esi
mov dword [rbp + 0x27], 2
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x14005035e
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
jmp 0x140050426
mov r9, qword [rbp - 0x51]
mov edx, 1
mov qword [rsp + 0x30], rsi
mov r8d, edx
mov qword [rsp + 0x28], rsi
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
je 0x1400503a8
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x140050426
mov rax, qword [rbp - 0x49]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 1]
lea r8d, [r9 + 4]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
test eax, eax
jne 0x140050386
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140108a30
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret