Function at 0x14003a854
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 [str.___t_]
lea rbp, str.___t_
lea r15, [0x140082698]
mov sil, 4
cmp rcx, rbp
je 0x14003a8d7
test byte [rcx + 0x1c], sil
je 0x14003a8b1
cmp byte [rcx + 0x19], 5
jb 0x14003a8b1
mov rcx, qword [rcx + 0x10]
mov edx, 0x108
mov r8, r15
call fcn.140001010
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003a8d7
test byte [rcx + 0x1c], sil
je 0x14003a8d7
cmp byte [rcx + 0x19], 5
jb 0x14003a8d7
mov r9d, dword [rdi + 0x20]
mov edx, 0x109
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140001030
lea rcx, [0x1400981a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140098190]
lea rcx, [0x140098190]
jmp 0x14003a8ff
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003a906
cmp rax, rcx
jne 0x14003a8f4
xor ebx, ebx
test rbx, rbx
je 0x14003ac45
mov eax, dword [rbx + 0x30]
test eax, eax
jne 0x14003ac14
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003a947
test byte [rcx + 0x1c], sil
je 0x14003a947
cmp byte [rcx + 0x19], 5
jb 0x14003a947
mov r9d, dword [rbx + 0x20]
mov edx, 0x10a
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140001030
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x1400981e0]
and qword [rbx], 0
and qword [rbx + 8], 0
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
test eax, eax
jne 0x14003a9a8
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003a9af
test byte [rcx + 0x1c], sil
je 0x14003a9af
cmp byte [rcx + 0x19], 2
jb 0x14003a9af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x10b
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
mov rcx, qword [str.___t_]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14003aa43
cmp rcx, rbp
je 0x14003a9e7
test byte [rcx + 0x1c], sil
je 0x14003a9e7
cmp byte [rcx + 0x19], 5
jb 0x14003a9e7
mov r9d, dword [rbx + 0x20]
mov edx, 0x10d
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140001064
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003aa3c
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003aa43
test byte [rcx + 0x1c], sil
je 0x14003aa43
cmp byte [rcx + 0x19], 5
jb 0x14003aa43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
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.14002b188
mov rcx, qword [str.___t_]
mov rax, qword [rbx + 0x258]
test rax, rax
je 0x14003aae0
cmp rcx, rbp
je 0x14003aa7e
test byte [rcx + 0x1c], sil
je 0x14003aa7e
cmp byte [rcx + 0x19], 5
jb 0x14003aa7e
mov r9d, dword [rbx + 0x20]
mov edx, 0x10f
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140001064
mov rcx, qword [rbx + 0x258]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003aad9
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003aae0
test byte [rcx + 0x1c], sil
je 0x14003aae0
cmp byte [rcx + 0x19], 5
jb 0x14003aae0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
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.14002b188
mov rcx, qword [str.___t_]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003ab6d
cmp rcx, rbp
je 0x14003ab18
test byte [rcx + 0x1c], sil
je 0x14003ab18
cmp byte [rcx + 0x19], 5
jb 0x14003ab18
mov r9d, dword [rbx + 0x20]
mov edx, 0x111
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.140001064
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003ab6d
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14003ab6d
test byte [rax + 0x1c], sil
je 0x14003ab6d
cmp byte [rax + 0x19], 5
jb 0x14003ab6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
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.14002b188
lea rcx, [0x1400981d8]
call fcn.14003363c
mov rcx, qword [rbx + 0x248]
mov rdx, rbx
call fcn.14003ac74
test eax, eax
jne 0x14003abc7
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003abc7
test byte [rcx + 0x1c], sil
je 0x14003abc7
cmp byte [rcx + 0x19], 2
jb 0x14003abc7
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.1400011ac
mov rdx, rdi
mov ecx, 1
call fcn.1400533a8
test eax, eax
je 0x14003ac0a
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003ac0a
test byte [rcx + 0x1c], sil
je 0x14003ac0a
cmp byte [rcx + 0x19], 2
jb 0x14003ac0a
mov r9d, dword [rdi + 0x10]
mov edx, 0x114
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov word [rsp + 0x20], ax
call fcn.14000e0f0
mov rcx, rbx
call fcn.14003990c
jmp 0x14003ac45
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003ac45
test byte [rcx + 0x1c], sil
je 0x14003ac45
cmp byte [rcx + 0x19], 2
jb 0x14003ac45
mov r9d, dword [rbx + 0x20]
mov edx, 0x115
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.1400011ac
lea rcx, [0x1400981a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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