Function at 0x14003d65c
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 r12
push r13
push r15
sub rsp, 0x30
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rcx, qword [str._0_n_]
lea r12, str._0_n_
lea r13, [0x140093fa8]
mov r15d, 4
cmp rcx, r12
je 0x14003d6be
test byte [rcx + 0x1c], r15b
je 0x14003d6be
cmp byte [rcx + 0x19], 5
jb 0x14003d6be
mov rcx, qword [rcx + 0x10]
mov edx, 0xf7
mov r8, r13
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 0x14003d6ec
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003d75a
cmp rax, rcx
jne 0x14003d6e1
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d722
test byte [rcx + 0x1c], r15b
je 0x14003d722
cmp byte [rcx + 0x19], 3
jb 0x14003d722
mov r9d, dword [rdi + 0x20]
mov edx, 0xf8
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov dword [rsp + 0x20], edi
call fcn.14003758c
lea rcx, [0x1400a7440]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov eax, 1
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r13
pop r12
ret
test rbx, rbx
je 0x14003d6f1
mov eax, dword [rbx + 0x30]
test eax, eax
je 0x14003d799
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d722
test byte [rcx + 0x1c], r15b
je 0x14003d722
cmp byte [rcx + 0x19], 3
jb 0x14003d722
mov r9d, dword [rbx + 0x20]
mov edx, 0xf9
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov dword [rsp + 0x20], eax
call fcn.140023bdc
jmp 0x14003d722
cmp dword [rbx + 0x34], 0
jbe 0x14003d7af
mov edx, r15d
mov rcx, rbx
call fcn.14003cd40
jmp 0x14003d722
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d7dc
test byte [rcx + 0x1c], r15b
je 0x14003d7dc
cmp byte [rcx + 0x19], 5
jb 0x14003d7dc
mov r9d, dword [rbx + 0x20]
mov edx, 0xfa
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.140004994
mov rcx, qword [0x1400a7480]
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
nop dword [rax + rax]
mov dil, 2
test eax, eax
jne 0x14003d835
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003d835
test byte [rax + 0x1c], r15b
je 0x14003d835
cmp byte [rax + 0x19], dil
jb 0x14003d835
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0xfb
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
and qword [rbx], 0
and qword [rbx + 8], 0
test esi, esi
je 0x14003d8c8
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d87d
test byte [rcx + 0x1c], r15b
je 0x14003d87d
cmp byte [rcx + 0x19], 5
jb 0x14003d87d
mov r9d, dword [rbx + 0x20]
mov edx, 0xfc
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.140004994
mov rcx, rbx
call fcn.14003dc80
test eax, eax
jne 0x14003d8c8
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d8cf
test byte [rcx + 0x1c], r15b
je 0x14003d8cf
cmp byte [rcx + 0x19], dil
jb 0x14003d8cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0xfd
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, qword [str._0_n_]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14003d96f
cmp rcx, r12
je 0x14003d907
test byte [rcx + 0x1c], r15b
je 0x14003d907
cmp byte [rcx + 0x19], 5
jb 0x14003d907
mov r9d, dword [rbx + 0x20]
mov edx, 0xfe
mov rcx, qword [rcx + 0x10]
mov r8, r13
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 0x14003d968
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003d96f
test byte [rcx + 0x1c], r15b
je 0x14003d96f
cmp byte [rcx + 0x19], dil
jb 0x14003d96f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0xff
mov r9d, dword [rbx + 0x20]
mov r8, r13
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 + 0x48]
test rax, rax
je 0x14003da0f
cmp rcx, r12
je 0x14003d9a7
test byte [rcx + 0x1c], r15b
je 0x14003d9a7
cmp byte [rcx + 0x19], 5
jb 0x14003d9a7
mov r9d, dword [rbx + 0x20]
mov edx, 0x100
mov rcx, qword [rcx + 0x10]
mov r8, r13
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 0x14003da08
mov rcx, qword [str._0_n_]
cmp rcx, r12
je 0x14003da0f
test byte [rcx + 0x1c], r15b
je 0x14003da0f
cmp byte [rcx + 0x19], dil
jb 0x14003da0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x101
mov r9d, dword [rbx + 0x20]
mov r8, r13
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.14003794c
mov rcx, qword [str._0_n_]
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x14003dabe
cmp dword [rbx + 0xc0], 0
jne 0x14003dabe
cmp rcx, r12
je 0x14003da57
test byte [rcx + 0x1c], r15b
je 0x14003da57
cmp byte [rcx + 0x19], 5
jb 0x14003da57
mov r9d, dword [rbx + 0x20]
mov edx, 0x102
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.14000c964
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003dabe
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003dabe
test byte [rax + 0x1c], r15b
je 0x14003dabe
cmp byte [rax + 0x19], dil
jb 0x14003dabe
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x103
mov r9d, dword [rbx + 0x20]
mov r8, r13
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0xb8]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.14003794c
lea rcx, [0x1400a7478]
call fcn.140040710
test ebp, ebp
je 0x14003db28
mov r9, qword [rbx + 0x198]
mov edx, 0x17
mov r8d, dword [rbx + 0x20]
xor ecx, ecx
call fcn.1400596f8
test eax, eax
jne 0x14003db28
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003db28
test byte [rax + 0x1c], r15b
je 0x14003db28
cmp byte [rax + 0x19], dil
jb 0x14003db28
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x104
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, rbx
call fcn.14003aa44
call fcn.1400411a0
test eax, eax
jne 0x14003d722
mov rax, qword [str._0_n_]
cmp rax, r12
je 0x14003d722
test byte [rax + 0x1c], r15b
je 0x14003d722
cmp byte [rax + 0x19], dil
jb 0x14003d722
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
mov edx, 0x105
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x14003d722