Function at 0x14003e350
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._0_n_]
lea rbp, str._0_n_
lea r15, [0x140093fa8]
mov sil, 4
cmp rcx, rbp
je 0x14003e3d3
test byte [rcx + 0x1c], sil
je 0x14003e3ad
cmp byte [rcx + 0x19], 5
jb 0x14003e3ad
mov rcx, qword [rcx + 0x10]
mov edx, 0x108
mov r8, r15
call fcn.14000459c
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14003e3d3
test byte [rcx + 0x1c], sil
je 0x14003e3d3
cmp byte [rcx + 0x19], 5
jb 0x14003e3d3
mov r9d, dword [rdi + 0x20]
mov edx, 0x109
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140004994
lea rcx, [0x1400a7440]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x1400a7430]
lea rcx, [0x1400a7430]
jmp 0x14003e401
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003e40b
cmp rax, rcx
jne 0x14003e3f6
jmp 0x14003e77a
test rbx, rbx
je 0x14003e77a
mov eax, dword [rbx + 0x30]
test eax, eax
jne 0x14003e749
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14003e44c
test byte [rcx + 0x1c], sil
je 0x14003e44c
cmp byte [rcx + 0x19], 5
jb 0x14003e44c
mov r9d, dword [rbx + 0x20]
mov edx, 0x10a
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140004994
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x1400a7480]
and qword [rbx], 0
and qword [rbx + 8], 0
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
nop dword [rax + rax]
test eax, eax
jne 0x14003e4b9
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14003e4c0
test byte [rcx + 0x1c], sil
je 0x14003e4c0
cmp byte [rcx + 0x19], 2
jb 0x14003e4c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x10b
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, qword [str._0_n_]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14003e560
cmp rcx, rbp
je 0x14003e4f8
test byte [rcx + 0x1c], sil
je 0x14003e4f8
cmp byte [rcx + 0x19], 5
jb 0x14003e4f8
mov r9d, dword [rbx + 0x20]
mov edx, 0x10d
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000c964
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e559
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14003e560
test byte [rcx + 0x1c], sil
je 0x14003e560
cmp byte [rcx + 0x19], 5
jb 0x14003e560
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
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.14003794c
mov rcx, qword [str._0_n_]
mov rax, qword [rbx + 0x258]
test rax, rax
je 0x14003e609
cmp rcx, rbp
je 0x14003e59b
test byte [rcx + 0x1c], sil
je 0x14003e59b
cmp byte [rcx + 0x19], 5
jb 0x14003e59b
mov r9d, dword [rbx + 0x20]
mov edx, 0x10f
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000c964
mov rcx, qword [rbx + 0x258]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e602
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14003e609
test byte [rcx + 0x1c], sil
je 0x14003e609
cmp byte [rcx + 0x19], 5
jb 0x14003e609
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
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.14003794c
mov rcx, qword [str._0_n_]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003e6a2
cmp rcx, rbp
je 0x14003e641
test byte [rcx + 0x1c], sil
je 0x14003e641
cmp byte [rcx + 0x19], 5
jb 0x14003e641
mov r9d, dword [rbx + 0x20]
mov edx, 0x111
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.14000c964
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e6a2
mov rax, qword [str._0_n_]
cmp rax, rbp
je 0x14003e6a2
test byte [rax + 0x1c], sil
je 0x14003e6a2
cmp byte [rax + 0x19], 5
jb 0x14003e6a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
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.14003794c
lea rcx, [0x1400a7478]
call fcn.140040710
mov rcx, qword [rbx + 0x248]
mov rdx, rbx
call fcn.14003db94
test eax, eax
jne 0x14003e6fc
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14003e6fc
test byte [rcx + 0x1c], sil
je 0x14003e6fc
cmp byte [rcx + 0x19], 2
jb 0x14003e6fc
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.140023bdc
mov rdx, rdi
mov ecx, 1
call fcn.140059994
test eax, eax
je 0x14003e73f
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14003e73f
test byte [rcx + 0x1c], sil
je 0x14003e73f
cmp byte [rcx + 0x19], 2
jb 0x14003e73f
mov r9d, dword [rdi + 0x10]
mov edx, 0x114
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov word [rsp + 0x20], ax
call fcn.140023b88
mov rcx, rbx
call fcn.14003ae70
jmp 0x14003e77a
mov rcx, qword [str._0_n_]
cmp rcx, rbp
je 0x14003e77a
test byte [rcx + 0x1c], sil
je 0x14003e77a
cmp byte [rcx + 0x19], 2
jb 0x14003e77a
mov r9d, dword [rbx + 0x20]
mov edx, 0x115
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.140023bdc
lea rcx, [0x1400a7440]
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