Function at 0x14003de28
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r15
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [0x14009b020]
lea rbp, [0x14009b020]
lea r15, [0x14008cd68]
mov sil, 4
cmp rcx, rbp
je 0x14003deab
test byte [rcx + 0x1c], sil
je 0x14003de85
cmp byte [rcx + 0x19], 5
jb 0x14003de85
mov rcx, qword [rcx + 0x10]
mov edx, 0x108
mov r8, r15
call fcn.1400042fc
mov rcx, qword [0x14009b020]
cmp rcx, rbp
je 0x14003deab
test byte [rcx + 0x1c], sil
je 0x14003deab
cmp byte [rcx + 0x19], 5
jb 0x14003deab
mov r9d, dword [rdi + 0x20]
mov edx, 0x109
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.1400046fc
lea rcx, [0x14009f280]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x14009f270]
lea rcx, [0x14009f270]
jmp 0x14003ded9
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003dee3
cmp rax, rcx
jne 0x14003dece
jmp 0x14003e264
test rbx, rbx
je 0x14003e264
mov eax, dword [rbx + 0x30]
test eax, eax
jne 0x14003e233
mov rcx, qword [0x14009b020]
cmp rcx, rbp
je 0x14003df24
test byte [rcx + 0x1c], sil
je 0x14003df24
cmp byte [rcx + 0x19], 5
jb 0x14003df24
mov r9d, dword [rbx + 0x20]
mov edx, 0x10a
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.1400046fc
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x14009f2c0]
and qword [rbx], 0
and qword [rbx + 8], 0
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
nop dword [rax + rax]
test eax, eax
jne 0x14003df91
mov rcx, qword [0x14009b020]
cmp rcx, rbp
je 0x14003df98
test byte [rcx + 0x1c], sil
je 0x14003df98
cmp byte [rcx + 0x19], 2
jb 0x14003df98
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x10b
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
mov rcx, qword [0x14009b020]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14003e03e
mov rdx, rax
cmp rcx, rbp
je 0x14003dfd7
test byte [rcx + 0x1c], sil
je 0x14003dfd7
cmp byte [rcx + 0x19], 5
jb 0x14003dfd7
mov r9d, dword [rbx + 0x20]
mov edx, 0x10d
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000c6bc
mov rdx, qword [rbx + 0x38]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e037
mov rcx, qword [0x14009b020]
cmp rcx, rbp
je 0x14003e03e
test byte [rcx + 0x1c], sil
je 0x14003e03e
cmp byte [rcx + 0x19], 5
jb 0x14003e03e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x10e
mov r9d, dword [rbx + 0x20]
mov r8, r15
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x38]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140037428
mov rcx, qword [0x14009b020]
mov rax, qword [rbx + 0x258]
test rax, rax
je 0x14003e0ed
mov rdx, rax
cmp rcx, rbp
je 0x14003e083
test byte [rcx + 0x1c], sil
je 0x14003e083
cmp byte [rcx + 0x19], 5
jb 0x14003e083
mov r9d, dword [rbx + 0x20]
mov edx, 0x10f
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000c6bc
mov rdx, qword [rbx + 0x258]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e0e6
mov rcx, qword [0x14009b020]
cmp rcx, rbp
je 0x14003e0ed
test byte [rcx + 0x1c], sil
je 0x14003e0ed
cmp byte [rcx + 0x19], 5
jb 0x14003e0ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x110
mov r9d, dword [rbx + 0x20]
mov r8, r15
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x258]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140037428
mov rcx, qword [0x14009b020]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003e18c
mov rdx, rax
cmp rcx, rbp
je 0x14003e12c
test byte [rcx + 0x1c], sil
je 0x14003e12c
cmp byte [rcx + 0x19], 5
jb 0x14003e12c
mov r9d, dword [rbx + 0x20]
mov edx, 0x111
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000c6bc
mov rdx, qword [rbx + 0x48]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e18c
mov rax, qword [0x14009b020]
cmp rax, rbp
je 0x14003e18c
test byte [rax + 0x1c], sil
je 0x14003e18c
cmp byte [rax + 0x19], 5
jb 0x14003e18c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x112
mov r9d, dword [rbx + 0x20]
mov r8, r15
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140037428
lea rcx, [0x14009f2b8]
call fcn.14004020c
mov rcx, qword [rbx + 0x248]
mov rdx, rbx
call fcn.14003d660
test eax, eax
jne 0x14003e1e6
mov rcx, qword [0x14009b020]
cmp rcx, rbp
je 0x14003e1e6
test byte [rcx + 0x1c], sil
je 0x14003e1e6
cmp byte [rcx + 0x19], 2
jb 0x14003e1e6
mov r8, qword [rbx + 0x248]
mov edx, 0x113
mov eax, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], eax
mov r9d, dword [r8 + 0x20]
mov r8, r15
call fcn.1400238a8
mov rdx, rdi
mov ecx, 1
call fcn.1400593a4
test eax, eax
je 0x14003e229
mov rcx, qword [0x14009b020]
cmp rcx, rbp
je 0x14003e229
test byte [rcx + 0x1c], sil
je 0x14003e229
cmp byte [rcx + 0x19], 2
jb 0x14003e229
mov r9d, dword [rdi + 0x10]
mov edx, 0x114
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov word [rsp + 0x20], ax
call fcn.140023854
mov rcx, rbx
call fcn.14003a944
jmp 0x14003e264
mov rcx, qword [0x14009b020]
cmp rcx, rbp
je 0x14003e264
test byte [rcx + 0x1c], sil
je 0x14003e264
cmp byte [rcx + 0x19], 2
jb 0x14003e264
mov r9d, dword [rbx + 0x20]
mov edx, 0x115
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.1400238a8
lea rcx, [0x14009f280]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret