Function at 0x7ff7c15b0470
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rdi, rdx
mov rax, qword [0x7ff7c161b338]
lea rcx, [0x7ff7c161b338]
mov rax, qword [rax + 0x18]
call qword [0x7ff7c15f6588]
add rax, 0x18
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x30]
call fcn.7ff7c15b11fc
mov ebx, eax
or esi, 0xffffffff
test eax, eax
js 0x7ff7c15b066b
mov rdx, qword [0x7ff7c161b338]
lea rcx, [0x7ff7c161b338]
mov rax, qword [rdx + 0x18]
call qword [0x7ff7c15f6588]
add rax, 0x18
mov qword [rbp + 0x20], rax
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x20]
call fcn.7ff7c15b1034
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.7ff7c15a41ec
nop
call fcn.7ff7c15a3e90
mov rcx, rax
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x38]
call fcn.7ff7c15aee70
nop
mov rdx, qword [rbp + 0x38]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x20]
call fcn.7ff7c15b0278
nop
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x7ff7c15b054d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x7ff7c15b0572
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.7ff7c15a41ec
nop
call fcn.7ff7c15a3e90
mov rcx, rax
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x28]
call fcn.7ff7c15aef40
nop
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x18]
call fcn.7ff7c15af034
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x7ff7c15b05cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x7ff7c15b05f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
mov rdx, qword [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x7ff7c15b061c
call fcn.7ff7c15abfac
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x7ff7c15b0642
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
nop
mov rdx, qword [rbp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x7ff7c15b0667
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
test ebx, ebx
jns 0x7ff7c15b0675
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x7ff7c15b069a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x7ff7c15f6588]
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret