Function at 0x1400492f4
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_
mov sil, 4
lea r15, [0x140003b68]
cmp rcx, rbp
je 0x140049377
test byte [rcx + 0x1c], sil
je 0x140049351
cmp byte [rcx + 0x19], 5
jb 0x140049351
mov rcx, qword [rcx + 0x10]
mov edx, 0x108
mov r8, r15
call fcn.14000e618
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140049377
test byte [rcx + 0x1c], sil
je 0x140049377
cmp byte [rcx + 0x19], 5
jb 0x140049377
mov r9d, dword [rdi + 0x20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x109
mov r8, r15
call fcn.14000e63c
lea rcx, [0x14009a1b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14009a1a0]
lea rcx, [0x14009a1a0]
jmp 0x14004939f
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x1400493a6
cmp rax, rcx
jne 0x140049394
xor ebx, ebx
test rbx, rbx
je 0x1400496e5
mov eax, dword [rbx + 0x30]
test eax, eax
jne 0x1400496b4
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x1400493e7
test byte [rcx + 0x1c], sil
je 0x1400493e7
cmp byte [rcx + 0x19], 5
jb 0x1400493e7
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x10a
mov r8, r15
call fcn.14000e63c
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x14009a1f0]
and qword [rbx], 0
and qword [rbx + 8], 0
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
test eax, eax
jne 0x140049448
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14004944f
test byte [rcx + 0x1c], sil
je 0x14004944f
cmp byte [rcx + 0x19], 2
jb 0x14004944f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov edx, 0x10b
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.14000e63c
mov rcx, qword [str.___t_]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x1400494e3
cmp rcx, rbp
je 0x140049487
test byte [rcx + 0x1c], sil
je 0x140049487
cmp byte [rcx + 0x19], 5
jb 0x140049487
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x10d
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000e678
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400494dc
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x1400494e3
test byte [rcx + 0x1c], sil
je 0x1400494e3
cmp byte [rcx + 0x19], 5
jb 0x1400494e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x38]
mov edx, 0x10e
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.1400396bc
mov rcx, qword [str.___t_]
mov rax, qword [rbx + 0x258]
test rax, rax
je 0x140049580
cmp rcx, rbp
je 0x14004951e
test byte [rcx + 0x1c], sil
je 0x14004951e
cmp byte [rcx + 0x19], 5
jb 0x14004951e
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x10f
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000e678
mov rcx, qword [rbx + 0x258]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140049579
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140049580
test byte [rcx + 0x1c], sil
je 0x140049580
cmp byte [rcx + 0x19], 5
jb 0x140049580
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x258]
mov edx, 0x110
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.1400396bc
mov rcx, qword [str.___t_]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14004960d
cmp rcx, rbp
je 0x1400495b8
test byte [rcx + 0x1c], sil
je 0x1400495b8
cmp byte [rcx + 0x19], 5
jb 0x1400495b8
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x111
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000e678
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004960d
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14004960d
test byte [rax + 0x1c], sil
je 0x14004960d
cmp byte [rax + 0x19], 5
jb 0x14004960d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x48]
mov edx, 0x112
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.1400396bc
lea rcx, [0x14009a1e8]
call fcn.140041f5c
mov rcx, qword [rbx + 0x248]
mov rdx, rbx
call fcn.140049718
test eax, eax
jne 0x140049667
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140049667
test byte [rcx + 0x1c], sil
je 0x140049667
cmp byte [rcx + 0x19], 2
jb 0x140049667
mov r8, qword [rbx + 0x248]
mov eax, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov r9d, dword [r8 + 0x20]
mov edx, 0x113
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.14000e820
mov rdx, rdi
mov ecx, 1
call fcn.140062504
test eax, eax
je 0x1400496aa
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x1400496aa
test byte [rcx + 0x1c], sil
je 0x1400496aa
cmp byte [rcx + 0x19], 2
jb 0x1400496aa
mov r9d, dword [rdi + 0x10]
mov rcx, qword [rcx + 0x10]
mov edx, 0x114
mov r8, r15
mov word [rsp + 0x20], ax
call fcn.14001bcf4
mov rcx, rbx
call fcn.140048348
jmp 0x1400496e5
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x1400496e5
test byte [rcx + 0x1c], sil
je 0x1400496e5
cmp byte [rcx + 0x19], 2
jb 0x1400496e5
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov edx, 0x115
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.14000e820
lea rcx, [0x14009a1b0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x30
pop r15
ret