Function at 0x14003d834
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 [0x14009b020]
lea rdi, [0x14009b020]
lea r14, [0x14008cd68]
mov sil, 5
cmp rcx, rdi
je 0x14003d891
test byte [rcx + 0x1c], 4
je 0x14003d891
cmp byte [rcx + 0x19], sil
jb 0x14003d891
mov rcx, qword [rcx + 0x10]
mov edx, 0x118
mov r8, r14
call fcn.1400042fc
lea rcx, [0x14009f280]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x14009f270]
lea rcx, [0x14009f270]
jmp 0x14003d8bf
mov rbx, rax
mov rax, qword [rax]
cmp rbx, r13
je 0x14003d8c9
cmp rax, rcx
jne 0x14003d8b4
jmp 0x14003dde7
test rbx, rbx
je 0x14003dde7
cmp dword [rbx + 0x34], 0
jbe 0x14003d8ea
mov edx, 4
mov rcx, rbx
call fcn.14003c80c
jmp 0x14003dde7
mov eax, dword [rbx + 0x30]
mov r15d, dword [rbx + 0x20]
test eax, eax
jne 0x14003ddb7
mov rcx, qword [0x14009b020]
cmp rcx, rdi
je 0x14003d925
test byte [rcx + 0x1c], 4
je 0x14003d925
cmp byte [rcx + 0x19], sil
jb 0x14003d925
mov rcx, qword [rcx + 0x10]
mov edx, 0x119
mov r9d, r15d
mov r8, r14
call fcn.1400046fc
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x14009f2c0]
and qword [rbx], 0
and qword [rbx + 8], 0
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
nop dword [rax + rax]
test eax, eax
jne 0x14003d992
mov rax, qword [0x14009b020]
cmp rax, rdi
je 0x14003d992
test byte [rax + 0x1c], 4
je 0x14003d992
cmp byte [rax + 0x19], 2
jb 0x14003d992
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x11a
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
call fcn.140040c9c
test eax, eax
jne 0x14003d9da
mov rax, qword [0x14009b020]
cmp rax, rdi
je 0x14003d9e1
test byte [rax + 0x1c], 4
je 0x14003d9e1
cmp byte [rax + 0x19], 2
jb 0x14003d9e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x11b
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
mov rax, qword [0x14009b020]
mov r9, qword [rbx + 0x48]
test r9, r9
je 0x14003da9f
cmp dword [rbx + 0x730], 1
jne 0x14003da76
mov rcx, r9
cmp rax, rdi
je 0x14003da20
test byte [rax + 0x1c], 4
je 0x14003da20
cmp byte [rax + 0x19], sil
jb 0x14003da20
mov rcx, qword [rax + 0x10]
mov edx, 0x11c
mov r8, r14
call fcn.1400044cc
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003da98
mov rax, qword [0x14009b020]
cmp rax, rdi
je 0x14003da9f
test byte [rax + 0x1c], 4
je 0x14003da9f
cmp byte [rax + 0x19], 2
jb 0x14003da9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x11d
mov r9, qword [rbx + 0x48]
mov r8, r14
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.1400045e8
jmp 0x14003da98
cmp rax, rdi
je 0x14003da9f
test byte [rax + 0x1c], 4
je 0x14003da9f
cmp byte [rax + 0x19], 3
jb 0x14003da9f
mov rcx, qword [rax + 0x10]
mov edx, 0x11e
mov r8, r14
call fcn.1400044cc
mov rax, qword [0x14009b020]
cmp dword [rbx + 0x24], 8
mov rsi, rbx
jne 0x14003dcfc
mov r9, qword [rbx + 0x38]
test r9, r9
je 0x14003db3d
mov rcx, r9
cmp rax, rdi
je 0x14003dae2
test byte [rax + 0x1c], 4
je 0x14003dae2
cmp byte [rax + 0x19], 5
jb 0x14003dae2
mov rcx, qword [rax + 0x10]
mov edx, 0x11f
mov r8, r14
call fcn.1400044cc
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003db36
mov rax, qword [0x14009b020]
cmp rax, rdi
je 0x14003db3d
test byte [rax + 0x1c], 4
je 0x14003db3d
cmp byte [rax + 0x19], 2
jb 0x14003db3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x120
mov r9, qword [rbx + 0x38]
mov r8, r14
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.1400045e8
mov rax, qword [0x14009b020]
mov rcx, qword [rbx + 0x258]
test rcx, rcx
je 0x14003dbec
mov rdx, rcx
cmp rax, rdi
je 0x14003db82
test byte [rax + 0x1c], 4
je 0x14003db82
cmp byte [rax + 0x19], 5
jb 0x14003db82
mov r9d, dword [rbx + 0x20]
mov edx, 0x121
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, qword [rax + 0x10]
call fcn.14000c6bc
mov rdx, qword [rbx + 0x258]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003dbe5
mov rax, qword [0x14009b020]
cmp rax, rdi
je 0x14003dc15
test byte [rax + 0x1c], 4
je 0x14003dbec
cmp byte [rax + 0x19], 5
jb 0x14003dbec
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
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.140037428
mov rax, qword [0x14009b020]
cmp rax, rdi
je 0x14003dc15
test byte [rax + 0x1c], 4
je 0x14003dc15
cmp byte [rax + 0x19], 5
jb 0x14003dc15
mov rcx, qword [rax + 0x10]
mov edx, 0x123
mov r8, r14
call fcn.1400042fc
mov rax, qword [0x14009b020]
lea r14, [rbx + 0x6a0]
mov rdi, qword [r14]
test rdi, rdi
je 0x14003dcee
mov rdi, qword [rdi]
test rdi, rdi
je 0x14003dcee
cmp rdi, r14
je 0x14003dcee
lea rcx, [0x14009b020]
lea rbx, [rdi]
mov rdi, qword [rdi]
cmp rax, rcx
je 0x14003dc74
test byte [rax + 0x1c], 4
je 0x14003dc74
cmp byte [rax + 0x19], 5
jb 0x14003dc74
mov r9, qword [rbx + 0x10]
lea r8, [0x14008cd68]
mov rcx, qword [rax + 0x10]
mov edx, 0x124
call fcn.1400044cc
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003dcd7
mov rax, qword [0x14009b020]
lea rcx, [0x14009b020]
cmp rax, rcx
je 0x14003dce5
test byte [rax + 0x1c], 4
je 0x14003dce5
cmp byte [rax + 0x19], 2
jb 0x14003dce5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea r8, [0x14008cd68]
mov r9, qword [rbx + 0x10]
mov edx, 0x125
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.1400045e8
mov rax, qword [0x14009b020]
lea rcx, [0x14009b020]
cmp rdi, r14
jne 0x14003dc44
lea r14, [0x14008cd68]
lea rdi, [0x14009b020]
test r12d, r12d
je 0x14003dda1
mov rdx, r13
mov ecx, 1
call fcn.1400593a4
test eax, eax
je 0x14003dd48
mov rcx, qword [0x14009b020]
cmp rcx, rdi
je 0x14003dd48
test byte [rcx + 0x1c], 4
je 0x14003dd48
cmp byte [rcx + 0x19], 2
jb 0x14003dd48
mov r9d, dword [r13 + 0x10]
mov edx, 0x126
mov rcx, qword [rcx + 0x10]
mov r8, r14
mov word [rsp + 0x20], ax
call fcn.140023854
mov r9, qword [rsi + 0x198]
mov r8d, r15d
mov edx, 0x17
xor ecx, ecx
call fcn.140059108
test eax, eax
jne 0x14003dda1
mov rax, qword [0x14009b020]
cmp rax, rdi
je 0x14003dda1
test byte [rax + 0x1c], 4
je 0x14003dda1
cmp byte [rax + 0x19], 2
jb 0x14003dda1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x127
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
mov rcx, rsi
call fcn.14003a658
lea rcx, [0x14009f2b8]
call fcn.14004020c
jmp 0x14003dde7
mov rcx, qword [0x14009b020]
cmp rcx, rdi
je 0x14003dde7
test byte [rcx + 0x1c], 4
je 0x14003dde7
cmp byte [rcx + 0x19], 2
jb 0x14003dde7
mov rcx, qword [rcx + 0x10]
mov edx, 0x128
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov r8, r14
call fcn.1400238a8
lea rcx, [0x14009f280]
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