Function at 0x14003dd68
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12d, edx
mov r13, rcx
mov rcx, qword [str._0_n_]
lea rdi, str._0_n_
lea r14, [0x140093fa8]
mov sil, 5
cmp rcx, rdi
je 0x14003ddc5
test byte [rcx + 0x1c], 4
je 0x14003ddc5
cmp byte [rcx + 0x19], sil
jb 0x14003ddc5
mov rcx, qword [rcx + 0x10]
mov edx, 0x118
mov r8, r14
call fcn.14000459c
lea rcx, [0x1400a7440]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x1400a7430]
lea rcx, [0x1400a7430]
jmp 0x14003ddf3
mov rbx, rax
mov rax, qword [rax]
cmp rbx, r13
je 0x14003ddfd
cmp rax, rcx
jne 0x14003dde8
jmp 0x14003e30f
test rbx, rbx
je 0x14003e30f
cmp dword [rbx + 0x34], 0
jbe 0x14003de1e
mov edx, 4
mov rcx, rbx
call fcn.14003cd40
jmp 0x14003e30f
mov eax, dword [rbx + 0x30]
mov r15d, dword [rbx + 0x20]
test eax, eax
jne 0x14003e2df
mov rcx, qword [str._0_n_]
cmp rcx, rdi
je 0x14003de59
test byte [rcx + 0x1c], 4
je 0x14003de59
cmp byte [rcx + 0x19], sil
jb 0x14003de59
mov rcx, qword [rcx + 0x10]
mov edx, 0x119
mov r9d, r15d
mov r8, r14
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 0x14003dec6
mov rax, qword [str._0_n_]
cmp rax, rdi
je 0x14003dec6
test byte [rax + 0x1c], 4
je 0x14003dec6
cmp byte [rax + 0x19], 2
jb 0x14003dec6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x11a
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140004994
call fcn.1400411a0
test eax, eax
jne 0x14003df0e
mov rax, qword [str._0_n_]
cmp rax, rdi
je 0x14003df15
test byte [rax + 0x1c], 4
je 0x14003df15
cmp byte [rax + 0x19], 2
jb 0x14003df15
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x11b
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rax, qword [str._0_n_]
mov r9, qword [rbx + 0x48]
test r9, r9
je 0x14003dfd0
cmp dword [rbx + 0x730], 1
jne 0x14003dfa7
cmp rax, rdi
je 0x14003df4d
test byte [rax + 0x1c], 4
je 0x14003df4d
cmp byte [rax + 0x19], sil
jb 0x14003df4d
mov rcx, qword [rax + 0x10]
mov edx, 0x11c
mov r8, r14
call fcn.140004764
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003dfc9
mov rax, qword [str._0_n_]
cmp rax, rdi
je 0x14003dfd0
test byte [rax + 0x1c], 4
je 0x14003dfd0
cmp byte [rax + 0x19], 2
jb 0x14003dfd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x11d
mov r9, qword [rbx + 0x48]
mov r8, r14
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140004880
jmp 0x14003dfc9
cmp rax, rdi
je 0x14003dfd0
test byte [rax + 0x1c], 4
je 0x14003dfd0
cmp byte [rax + 0x19], 3
jb 0x14003dfd0
mov rcx, qword [rax + 0x10]
mov edx, 0x11e
mov r8, r14
call fcn.140004764
mov rax, qword [str._0_n_]
cmp dword [rbx + 0x24], 8
mov rsi, rbx
jne 0x14003e224
mov r9, qword [rbx + 0x38]
test r9, r9
je 0x14003e06b
cmp rax, rdi
je 0x14003e00c
test byte [rax + 0x1c], 4
je 0x14003e00c
cmp byte [rax + 0x19], 5
jb 0x14003e00c
mov rcx, qword [rax + 0x10]
mov edx, 0x11f
mov r8, r14
call fcn.140004764
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e064
mov rax, qword [str._0_n_]
cmp rax, rdi
je 0x14003e06b
test byte [rax + 0x1c], 4
je 0x14003e06b
cmp byte [rax + 0x19], 2
jb 0x14003e06b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x120
mov r9, qword [rbx + 0x38]
mov r8, r14
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140004880
mov rax, qword [str._0_n_]
mov rcx, qword [rbx + 0x258]
test rcx, rcx
je 0x14003e114
cmp rax, rdi
je 0x14003e0a6
test byte [rax + 0x1c], 4
je 0x14003e0a6
cmp byte [rax + 0x19], 5
jb 0x14003e0a6
mov r9d, dword [rbx + 0x20]
mov edx, 0x121
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, qword [rax + 0x10]
call fcn.14000c964
mov rcx, qword [rbx + 0x258]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e10d
mov rax, qword [str._0_n_]
cmp rax, rdi
je 0x14003e13d
test byte [rax + 0x1c], 4
je 0x14003e114
cmp byte [rax + 0x19], 5
jb 0x14003e114
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x122
mov r9d, dword [rbx + 0x20]
mov r8, r14
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x258]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.14003794c
mov rax, qword [str._0_n_]
cmp rax, rdi
je 0x14003e13d
test byte [rax + 0x1c], 4
je 0x14003e13d
cmp byte [rax + 0x19], 5
jb 0x14003e13d
mov rcx, qword [rax + 0x10]
mov edx, 0x123
mov r8, r14
call fcn.14000459c
mov rax, qword [str._0_n_]
lea r14, [rbx + 0x6a0]
mov rdi, qword [r14]
test rdi, rdi
je 0x14003e216
mov rdi, qword [rdi]
test rdi, rdi
je 0x14003e216
cmp rdi, r14
je 0x14003e216
lea rcx, str._0_n_
lea rbx, [rdi]
mov rdi, qword [rdi]
cmp rax, rcx
je 0x14003e19c
test byte [rax + 0x1c], 4
je 0x14003e19c
cmp byte [rax + 0x19], 5
jb 0x14003e19c
mov r9, qword [rbx + 0x10]
lea r8, [0x140093fa8]
mov rcx, qword [rax + 0x10]
mov edx, 0x124
call fcn.140004764
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e1ff
mov rax, qword [str._0_n_]
lea rcx, str._0_n_
cmp rax, rcx
je 0x14003e20d
test byte [rax + 0x1c], 4
je 0x14003e20d
cmp byte [rax + 0x19], 2
jb 0x14003e20d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140093fa8]
mov r9, qword [rbx + 0x10]
mov edx, 0x125
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140004880
mov rax, qword [str._0_n_]
lea rcx, str._0_n_
cmp rdi, r14
jne 0x14003e16c
lea r14, [0x140093fa8]
lea rdi, str._0_n_
test r12d, r12d
je 0x14003e2c9
mov rdx, r13
mov ecx, 1
call fcn.140059994
test eax, eax
je 0x14003e270
mov rcx, qword [str._0_n_]
cmp rcx, rdi
je 0x14003e270
test byte [rcx + 0x1c], 4
je 0x14003e270
cmp byte [rcx + 0x19], 2
jb 0x14003e270
mov r9d, dword [r13 + 0x10]
mov edx, 0x126
mov rcx, qword [rcx + 0x10]
mov r8, r14
mov word [rsp + 0x20], ax
call fcn.140023b88
mov r9, qword [rsi + 0x198]
mov r8d, r15d
mov edx, 0x17
xor ecx, ecx
call fcn.1400596f8
test eax, eax
jne 0x14003e2c9
mov rax, qword [str._0_n_]
cmp rax, rdi
je 0x14003e2c9
test byte [rax + 0x1c], 4
je 0x14003e2c9
cmp byte [rax + 0x19], 2
jb 0x14003e2c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x127
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, rsi
call fcn.14003ab84
lea rcx, [0x1400a7478]
call fcn.140040710
jmp 0x14003e30f
mov rcx, qword [str._0_n_]
cmp rcx, rdi
je 0x14003e30f
test byte [rcx + 0x1c], 4
je 0x14003e30f
cmp byte [rcx + 0x19], 2
jb 0x14003e30f
mov rcx, qword [rcx + 0x10]
mov edx, 0x128
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov r8, r14
call fcn.140023bdc
lea rcx, [0x1400a7440]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov eax, 1
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret