Function at 0x14003da3c
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, [0x140089858]
mov sil, 4
cmp rcx, rbp
je 0x14003dabf
test byte [rcx + 0x1c], sil
je 0x14003da99
cmp byte [rcx + 0x19], 5
jb 0x14003da99
mov rcx, qword [rcx + 0x10]
mov edx, 0x108
mov r8, r15
call fcn.140001024
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dabf
test byte [rcx + 0x1c], sil
je 0x14003dabf
cmp byte [rcx + 0x19], 5
jb 0x14003dabf
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 0x14003daed
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003daf4
cmp rax, rcx
jne 0x14003dae2
xor ebx, ebx
test rbx, rbx
je 0x14003de75
mov eax, dword [rbx + 0x30]
test eax, eax
jne 0x14003de44
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003db35
test byte [rcx + 0x1c], sil
je 0x14003db35
cmp byte [rcx + 0x19], 5
jb 0x14003db35
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 0x14003dba2
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dba9
test byte [rcx + 0x1c], sil
je 0x14003dba9
cmp byte [rcx + 0x19], 2
jb 0x14003dba9
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 0x14003dc4f
mov rdx, rax
cmp rcx, rbp
je 0x14003dbe8
test byte [rcx + 0x1c], sil
je 0x14003dbe8
cmp byte [rcx + 0x19], 5
jb 0x14003dbe8
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 0x14003dc48
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dc4f
test byte [rcx + 0x1c], sil
je 0x14003dc4f
cmp byte [rcx + 0x19], 5
jb 0x14003dc4f
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.14002d6ec
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x258]
test rax, rax
je 0x14003dcfe
mov rdx, rax
cmp rcx, rbp
je 0x14003dc94
test byte [rcx + 0x1c], sil
je 0x14003dc94
cmp byte [rcx + 0x19], 5
jb 0x14003dc94
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 0x14003dcf7
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dcfe
test byte [rcx + 0x1c], sil
je 0x14003dcfe
cmp byte [rcx + 0x19], 5
jb 0x14003dcfe
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.14002d6ec
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003dd9d
mov rdx, rax
cmp rcx, rbp
je 0x14003dd3d
test byte [rcx + 0x1c], sil
je 0x14003dd3d
cmp byte [rcx + 0x19], 5
jb 0x14003dd3d
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 0x14003dd9d
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14003dd9d
test byte [rax + 0x1c], sil
je 0x14003dd9d
cmp byte [rax + 0x19], 5
jb 0x14003dd9d
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.14002d6ec
lea rcx, [0x14009f1b8]
call fcn.140036078
mov rcx, qword [rbx + 0x248]
mov rdx, rbx
call fcn.14003deb0
test eax, eax
jne 0x14003ddf7
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003ddf7
test byte [rcx + 0x1c], sil
je 0x14003ddf7
cmp byte [rcx + 0x19], 2
jb 0x14003ddf7
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.140057988
test eax, eax
je 0x14003de3a
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003de3a
test byte [rcx + 0x1c], sil
je 0x14003de3a
cmp byte [rcx + 0x19], 2
jb 0x14003de3a
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.14003c9f0
jmp 0x14003de75
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003de75
test byte [rcx + 0x1c], sil
je 0x14003de75
cmp byte [rcx + 0x19], 2
jb 0x14003de75
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