Function at 0x14003db3c
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 [0x14009b028]
lea rbp, [0x14009b028]
lea r15, [0x140089898]
mov sil, 4
cmp rcx, rbp
je 0x14003dbbf
test byte [rcx + 0x1c], sil
je 0x14003db99
cmp byte [rcx + 0x19], 5
jb 0x14003db99
mov rcx, qword [rcx + 0x10]
mov edx, 0x108
mov r8, r15
call fcn.140001024
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dbbf
test byte [rcx + 0x1c], sil
je 0x14003dbbf
cmp byte [rcx + 0x19], 5
jb 0x14003dbbf
mov r9d, dword [rdi + 0x20]
mov edx, 0x109
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140001050
lea rcx, [0x14009f180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x14009f170]
lea rcx, [0x14009f170]
jmp 0x14003dbed
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003dbf4
cmp rax, rcx
jne 0x14003dbe2
xor ebx, ebx
test rbx, rbx
je 0x14003df75
mov eax, dword [rbx + 0x30]
test eax, eax
jne 0x14003df44
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dc35
test byte [rcx + 0x1c], sil
je 0x14003dc35
cmp byte [rcx + 0x19], 5
jb 0x14003dc35
mov r9d, dword [rbx + 0x20]
mov edx, 0x10a
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140001050
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x14009f1c0]
and qword [rbx], 0
and qword [rbx + 8], 0
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
nop dword [rax + rax]
test eax, eax
jne 0x14003dca2
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dca9
test byte [rcx + 0x1c], sil
je 0x14003dca9
cmp byte [rcx + 0x19], 2
jb 0x14003dca9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x10b
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001050
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14003dd4f
mov rdx, rax
cmp rcx, rbp
je 0x14003dce8
test byte [rcx + 0x1c], sil
je 0x14003dce8
cmp byte [rcx + 0x19], 5
jb 0x14003dce8
mov r9d, dword [rbx + 0x20]
mov edx, 0x10d
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140001094
mov rdx, qword [rbx + 0x38]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003dd48
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dd4f
test byte [rcx + 0x1c], sil
je 0x14003dd4f
cmp byte [rcx + 0x19], 5
jb 0x14003dd4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
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.14002d7ec
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x258]
test rax, rax
je 0x14003ddfe
mov rdx, rax
cmp rcx, rbp
je 0x14003dd94
test byte [rcx + 0x1c], sil
je 0x14003dd94
cmp byte [rcx + 0x19], 5
jb 0x14003dd94
mov r9d, dword [rbx + 0x20]
mov edx, 0x10f
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140001094
mov rdx, qword [rbx + 0x258]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003ddf7
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003ddfe
test byte [rcx + 0x1c], sil
je 0x14003ddfe
cmp byte [rcx + 0x19], 5
jb 0x14003ddfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
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.14002d7ec
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003de9d
mov rdx, rax
cmp rcx, rbp
je 0x14003de3d
test byte [rcx + 0x1c], sil
je 0x14003de3d
cmp byte [rcx + 0x19], 5
jb 0x14003de3d
mov r9d, dword [rbx + 0x20]
mov edx, 0x111
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140001094
mov rdx, qword [rbx + 0x48]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003de9d
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14003de9d
test byte [rax + 0x1c], sil
je 0x14003de9d
cmp byte [rax + 0x19], 5
jb 0x14003de9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
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.14002d7ec
lea rcx, [0x14009f1b8]
call fcn.140036178
mov rcx, qword [rbx + 0x248]
mov rdx, rbx
call fcn.14003dfb0
test eax, eax
jne 0x14003def7
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003def7
test byte [rcx + 0x1c], sil
je 0x14003def7
cmp byte [rcx + 0x19], 2
jb 0x14003def7
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.1400013ac
mov rdx, rdi
mov ecx, 1
call fcn.140057a88
test eax, eax
je 0x14003df3a
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003df3a
test byte [rcx + 0x1c], sil
je 0x14003df3a
cmp byte [rcx + 0x19], 2
jb 0x14003df3a
mov r9d, dword [rdi + 0x10]
mov edx, 0x114
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov word [rsp + 0x20], ax
call fcn.14000ed28
mov rcx, rbx
call fcn.14003caf0
jmp 0x14003df75
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003df75
test byte [rcx + 0x1c], sil
je 0x14003df75
cmp byte [rcx + 0x19], 2
jb 0x14003df75
mov r9d, dword [rbx + 0x20]
mov edx, 0x115
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.1400013ac
lea rcx, [0x14009f180]
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