Function at 0x14003d89c
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, [0x1400896c8]
mov sil, 4
cmp rcx, rbp
je 0x14003d91f
test byte [rcx + 0x1c], sil
je 0x14003d8f9
cmp byte [rcx + 0x19], 5
jb 0x14003d8f9
mov rcx, qword [rcx + 0x10]
mov edx, 0x108
mov r8, r15
call fcn.140001024
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003d91f
test byte [rcx + 0x1c], sil
je 0x14003d91f
cmp byte [rcx + 0x19], 5
jb 0x14003d91f
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 0x14003d94d
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003d954
cmp rax, rcx
jne 0x14003d942
xor ebx, ebx
test rbx, rbx
je 0x14003dcd5
mov eax, dword [rbx + 0x30]
test eax, eax
jne 0x14003dca4
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003d995
test byte [rcx + 0x1c], sil
je 0x14003d995
cmp byte [rcx + 0x19], 5
jb 0x14003d995
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 0x14003da02
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003da09
test byte [rcx + 0x1c], sil
je 0x14003da09
cmp byte [rcx + 0x19], 2
jb 0x14003da09
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 0x14003daaf
mov rdx, rax
cmp rcx, rbp
je 0x14003da48
test byte [rcx + 0x1c], sil
je 0x14003da48
cmp byte [rcx + 0x19], 5
jb 0x14003da48
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 0x14003daa8
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003daaf
test byte [rcx + 0x1c], sil
je 0x14003daaf
cmp byte [rcx + 0x19], 5
jb 0x14003daaf
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.14002d54c
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x258]
test rax, rax
je 0x14003db5e
mov rdx, rax
cmp rcx, rbp
je 0x14003daf4
test byte [rcx + 0x1c], sil
je 0x14003daf4
cmp byte [rcx + 0x19], 5
jb 0x14003daf4
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 0x14003db57
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003db5e
test byte [rcx + 0x1c], sil
je 0x14003db5e
cmp byte [rcx + 0x19], 5
jb 0x14003db5e
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.14002d54c
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003dbfd
mov rdx, rax
cmp rcx, rbp
je 0x14003db9d
test byte [rcx + 0x1c], sil
je 0x14003db9d
cmp byte [rcx + 0x19], 5
jb 0x14003db9d
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 0x14003dbfd
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14003dbfd
test byte [rax + 0x1c], sil
je 0x14003dbfd
cmp byte [rax + 0x19], 5
jb 0x14003dbfd
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.14002d54c
lea rcx, [0x14009f1b8]
call fcn.140035ed8
mov rcx, qword [rbx + 0x248]
mov rdx, rbx
call fcn.14003dd10
test eax, eax
jne 0x14003dc57
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dc57
test byte [rcx + 0x1c], sil
je 0x14003dc57
cmp byte [rcx + 0x19], 2
jb 0x14003dc57
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.1400577e8
test eax, eax
je 0x14003dc9a
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dc9a
test byte [rcx + 0x1c], sil
je 0x14003dc9a
cmp byte [rcx + 0x19], 2
jb 0x14003dc9a
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.14003c850
jmp 0x14003dcd5
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14003dcd5
test byte [rcx + 0x1c], sil
je 0x14003dcd5
cmp byte [rcx + 0x19], 2
jb 0x14003dcd5
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