Function at 0x14004c0dc
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x10], edx
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, rcx
mov rcx, qword [str.P5_n_]
lea rdi, str.P5_n_
mov bpl, 5
lea rsi, [0x140008f68]
cmp rcx, rdi
je 0x14004c134
test byte [rcx + 0x1c], 4
je 0x14004c134
cmp byte [rcx + 0x19], bpl
jb 0x14004c134
mov rcx, qword [rcx + 0x10]
mov edx, 0x118
mov r8, rsi
call fcn.14000ffa8
lea rcx, [0x1400a3e30]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [0x1400a3e58]
lea rax, [0x1400a3e58]
jmp 0x14004c15c
mov rbx, r11
mov r11, qword [r11]
cmp rbx, r15
je 0x14004c163
cmp r11, rax
jne 0x14004c151
xor ebx, ebx
test rbx, rbx
je 0x14004c62d
cmp dword [rbx + 0x34], 0
jbe 0x14004c184
mov edx, 4
mov rcx, rbx
call fcn.14004cabc
jmp 0x14004c62d
mov eax, dword [rbx + 0x30]
mov r14d, dword [rbx + 0x20]
test eax, eax
jne 0x14004c5fd
mov rcx, qword [str.P5_n_]
cmp rcx, rdi
je 0x14004c1bf
test byte [rcx + 0x1c], 4
je 0x14004c1bf
cmp byte [rcx + 0x19], bpl
jb 0x14004c1bf
mov rcx, qword [rcx + 0x10]
mov edx, 0x119
mov r9d, r14d
mov r8, rsi
call fcn.1400100e0
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x1400a3e28]
and qword [rbx], 0
and qword [rbx + 8], 0
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
test eax, eax
jne 0x14004c220
mov rax, qword [str.P5_n_]
cmp rax, rdi
je 0x14004c220
test byte [rax + 0x1c], 4
je 0x14004c220
cmp byte [rax + 0x19], 2
jb 0x14004c220
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x11a
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rsi
call fcn.1400100e0
call fcn.1400449f0
test eax, eax
jne 0x14004c262
mov rax, qword [str.P5_n_]
cmp rax, rdi
je 0x14004c269
test byte [rax + 0x1c], 4
je 0x14004c269
cmp byte [rax + 0x19], 2
jb 0x14004c269
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x11b
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rsi
call fcn.1400100e0
mov rax, qword [str.P5_n_]
mov r9, qword [rbx + 0x48]
test r9, r9
je 0x14004c318
cmp dword [rbx + 0x730], 1
jne 0x14004c2ef
cmp rax, rdi
je 0x14004c2a1
test byte [rax + 0x1c], 4
je 0x14004c2a1
cmp byte [rax + 0x19], bpl
jb 0x14004c2a1
mov rcx, qword [rax + 0x10]
mov edx, 0x11c
mov r8, rsi
call fcn.14001011c
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004c311
mov rax, qword [str.P5_n_]
cmp rax, rdi
je 0x14004c318
test byte [rax + 0x1c], 4
je 0x14004c318
cmp byte [rax + 0x19], 2
jb 0x14004c318
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov r9, qword [rbx + 0x48]
mov rcx, qword [rcx + 0x10]
mov edx, 0x11d
mov r8, rsi
mov dword [rsp + 0x20], eax
call fcn.140011a18
jmp 0x14004c311
cmp rax, rdi
je 0x14004c318
test byte [rax + 0x1c], 4
je 0x14004c318
cmp byte [rax + 0x19], 3
jb 0x14004c318
mov rcx, qword [rax + 0x10]
mov edx, 0x11e
mov r8, rsi
call fcn.14001011c
mov rax, qword [str.P5_n_]
cmp dword [rbx + 0x24], 8
jne 0x14004c541
mov r9, qword [rbx + 0x38]
test r9, r9
je 0x14004c3a0
cmp rax, rdi
je 0x14004c34d
test byte [rax + 0x1c], 4
je 0x14004c34d
cmp byte [rax + 0x19], bpl
jb 0x14004c34d
mov rcx, qword [rax + 0x10]
mov edx, 0x11f
mov r8, rsi
call fcn.14001011c
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004c399
mov rax, qword [str.P5_n_]
cmp rax, rdi
je 0x14004c3a0
test byte [rax + 0x1c], 4
je 0x14004c3a0
cmp byte [rax + 0x19], 2
jb 0x14004c3a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov r9, qword [rbx + 0x38]
mov rcx, qword [rcx + 0x10]
mov edx, 0x120
mov r8, rsi
mov dword [rsp + 0x20], eax
call fcn.140011a18
mov rax, qword [str.P5_n_]
mov rcx, qword [rbx + 0x258]
test rcx, rcx
je 0x14004c43d
cmp rax, rdi
je 0x14004c3db
test byte [rax + 0x1c], 4
je 0x14004c3db
cmp byte [rax + 0x19], bpl
jb 0x14004c3db
mov r9d, dword [rbx + 0x20]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax + 0x10]
mov edx, 0x121
mov r8, rsi
call fcn.140058098
mov rcx, qword [rbx + 0x258]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004c436
mov rax, qword [str.P5_n_]
cmp rax, rdi
je 0x14004c466
test byte [rax + 0x1c], 4
je 0x14004c43d
cmp byte [rax + 0x19], bpl
jb 0x14004c43d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x258]
mov edx, 0x122
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.14003b8f4
mov rax, qword [str.P5_n_]
cmp rax, rdi
je 0x14004c466
test byte [rax + 0x1c], 4
je 0x14004c466
cmp byte [rax + 0x19], bpl
jb 0x14004c466
mov rcx, qword [rax + 0x10]
mov edx, 0x123
mov r8, rsi
call fcn.14000ffa8
mov rax, qword [str.P5_n_]
lea rsi, [rbx + 0x6a0]
mov rdi, qword [rsi]
test rdi, rdi
je 0x14004c533
mov rdi, qword [rdi]
test rdi, rdi
je 0x14004c533
cmp rdi, rsi
je 0x14004c533
lea rcx, str.P5_n_
mov rbp, rdi
mov rdi, qword [rdi]
cmp rax, rcx
je 0x14004c4c5
test byte [rax + 0x1c], 4
je 0x14004c4c5
cmp byte [rax + 0x19], 5
jb 0x14004c4c5
mov r9, qword [rbp + 0x10]
mov rcx, qword [rax + 0x10]
lea r8, [0x140008f68]
mov edx, 0x124
call fcn.14001011c
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004c51c
mov rax, qword [str.P5_n_]
lea rcx, str.P5_n_
cmp rax, rcx
je 0x14004c52a
test byte [rax + 0x1c], 4
je 0x14004c52a
cmp byte [rax + 0x19], 2
jb 0x14004c52a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov r9, qword [rbp + 0x10]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008f68]
mov edx, 0x125
mov dword [rsp + 0x20], eax
call fcn.140011a18
mov rax, qword [str.P5_n_]
lea rcx, str.P5_n_
cmp rdi, rsi
jne 0x14004c495
lea rsi, [0x140008f68]
lea rdi, str.P5_n_
cmp dword [rsp + 0x58], 0
je 0x14004c5e2
mov rdx, r15
mov ecx, 1
call fcn.140065c48
test eax, eax
je 0x14004c58f
mov rcx, qword [str.P5_n_]
cmp rcx, rdi
je 0x14004c58f
test byte [rcx + 0x1c], 4
je 0x14004c58f
cmp byte [rcx + 0x19], 2
jb 0x14004c58f
mov r9d, dword [r15 + 0x10]
mov rcx, qword [rcx + 0x10]
mov edx, 0x126
mov r8, rsi
mov word [rsp + 0x20], ax
call fcn.14001d5f4
mov r9, qword [rbx + 0x198]
mov r8d, r14d
mov edx, 0x17
xor ecx, ecx
call fcn.1400666f8
test eax, eax
jne 0x14004c5e2
mov rax, qword [str.P5_n_]
cmp rax, rdi
je 0x14004c5e2
test byte [rax + 0x1c], 4
je 0x14004c5e2
cmp byte [rax + 0x19], 2
jb 0x14004c5e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
mov edx, 0x127
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rsi
call fcn.1400100e0
mov edx, 1
mov rcx, rbx
call fcn.14004b130
lea rcx, [0x1400a3e1c]
call fcn.1400446ac
jmp 0x14004c62d
mov rcx, qword [str.P5_n_]
cmp rcx, rdi
je 0x14004c62d
test byte [rcx + 0x1c], 4
je 0x14004c62d
cmp byte [rcx + 0x19], 2
jb 0x14004c62d
mov rcx, qword [rcx + 0x10]
mov edx, 0x128
mov r9d, r14d
mov r8, rsi
mov dword [rsp + 0x20], eax
call fcn.14001d4a0
lea rcx, [0x1400a3e30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov eax, 1
add rsp, 0x30
pop r15
pop r14
pop rdi
ret