Function at 0x14003ddfc
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 r12d, edx
mov r13, rcx
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
lea rsi, [0x1400896c8]
mov bpl, 5
cmp rcx, rdi
je 0x14003de59
test byte [rcx + 0x1c], 4
je 0x14003de59
cmp byte [rcx + 0x19], bpl
jb 0x14003de59
mov rcx, qword [rcx + 0x10]
mov edx, 0x118
mov r8, rsi
call fcn.140001024
lea rcx, [0x14009f180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x14009f170]
lea rcx, [0x14009f170]
jmp 0x14003de87
mov rbx, rax
mov rax, qword [rax]
cmp rbx, r13
je 0x14003de8e
cmp rax, rcx
jne 0x14003de7c
xor ebx, ebx
test rbx, rbx
je 0x14003e3a9
cmp dword [rbx + 0x34], 0
jbe 0x14003deaf
mov edx, 4
mov rcx, rbx
call fcn.14003e844
jmp 0x14003e3a9
mov eax, dword [rbx + 0x30]
mov r15d, dword [rbx + 0x20]
test eax, eax
jne 0x14003e379
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x14003deea
test byte [rcx + 0x1c], 4
je 0x14003deea
cmp byte [rcx + 0x19], bpl
jb 0x14003deea
mov rcx, qword [rcx + 0x10]
mov edx, 0x119
mov r9d, r15d
mov r8, rsi
call fcn.140001050
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rcx, qword [0x14009f1c0]
and qword [rbx], 0
and qword [rbx + 8], 0
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
nop dword [rax + rax]
test eax, eax
jne 0x14003df57
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003df57
test byte [rax + 0x1c], 4
je 0x14003df57
cmp byte [rax + 0x19], 2
jb 0x14003df57
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x11a
mov r9d, eax
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140001050
call fcn.1400361f8
test eax, eax
jne 0x14003df9f
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003dfa6
test byte [rax + 0x1c], 4
je 0x14003dfa6
cmp byte [rax + 0x19], 2
jb 0x14003dfa6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x11b
mov r9d, eax
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140001050
mov rax, qword [0x14009b028]
mov r9, qword [rbx + 0x48]
test r9, r9
je 0x14003e064
cmp dword [rbx + 0x730], 1
jne 0x14003e03b
mov rcx, r9
cmp rax, rdi
je 0x14003dfe5
test byte [rax + 0x1c], 4
je 0x14003dfe5
cmp byte [rax + 0x19], bpl
jb 0x14003dfe5
mov rcx, qword [rax + 0x10]
mov edx, 0x11c
mov r8, rsi
call fcn.1400011fc
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e05d
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e064
test byte [rax + 0x1c], 4
je 0x14003e064
cmp byte [rax + 0x19], 2
jb 0x14003e064
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x11d
mov r9, qword [rbx + 0x48]
mov r8, rsi
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140001328
jmp 0x14003e05d
cmp rax, rdi
je 0x14003e064
test byte [rax + 0x1c], 4
je 0x14003e064
cmp byte [rax + 0x19], 3
jb 0x14003e064
mov rcx, qword [rax + 0x10]
mov edx, 0x11e
mov r8, rsi
call fcn.1400011fc
mov rax, qword [0x14009b028]
cmp dword [rbx + 0x24], 8
jne 0x14003e2be
mov r9, qword [rbx + 0x38]
test r9, r9
je 0x14003e0ff
mov rcx, r9
cmp rax, rdi
je 0x14003e0a4
test byte [rax + 0x1c], 4
je 0x14003e0a4
cmp byte [rax + 0x19], bpl
jb 0x14003e0a4
mov rcx, qword [rax + 0x10]
mov edx, 0x11f
mov r8, rsi
call fcn.1400011fc
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e0f8
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e0ff
test byte [rax + 0x1c], 4
je 0x14003e0ff
cmp byte [rax + 0x19], 2
jb 0x14003e0ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x120
mov r9, qword [rbx + 0x38]
mov r8, rsi
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140001328
mov rax, qword [0x14009b028]
mov rcx, qword [rbx + 0x258]
test rcx, rcx
je 0x14003e1ae
mov rdx, rcx
cmp rax, rdi
je 0x14003e144
test byte [rax + 0x1c], 4
je 0x14003e144
cmp byte [rax + 0x19], bpl
jb 0x14003e144
mov r9d, dword [rbx + 0x20]
mov edx, 0x121
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rcx, qword [rax + 0x10]
call fcn.140001094
mov rdx, qword [rbx + 0x258]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e1a7
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e1d7
test byte [rax + 0x1c], 4
je 0x14003e1ae
cmp byte [rax + 0x19], bpl
jb 0x14003e1ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x122
mov r9d, dword [rbx + 0x20]
mov r8, rsi
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x258]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
call fcn.14002d54c
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e1d7
test byte [rax + 0x1c], 4
je 0x14003e1d7
cmp byte [rax + 0x19], bpl
jb 0x14003e1d7
mov rcx, qword [rax + 0x10]
mov edx, 0x123
mov r8, rsi
call fcn.140001024
mov rax, qword [0x14009b028]
lea rsi, [rbx + 0x6a0]
mov rdi, qword [rsi]
test rdi, rdi
je 0x14003e2b0
mov rdi, qword [rdi]
test rdi, rdi
je 0x14003e2b0
cmp rdi, rsi
je 0x14003e2b0
lea rcx, [0x14009b028]
lea rbp, [rdi]
mov rdi, qword [rdi]
cmp rax, rcx
je 0x14003e236
test byte [rax + 0x1c], 4
je 0x14003e236
cmp byte [rax + 0x19], 5
jb 0x14003e236
mov r9, qword [rbp + 0x10]
lea r8, [0x1400896c8]
mov rcx, qword [rax + 0x10]
mov edx, 0x124
call fcn.1400011fc
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e299
mov rax, qword [0x14009b028]
lea rcx, [0x14009b028]
cmp rax, rcx
je 0x14003e2a7
test byte [rax + 0x1c], 4
je 0x14003e2a7
cmp byte [rax + 0x19], 2
jb 0x14003e2a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x1400896c8]
mov r9, qword [rbp + 0x10]
mov edx, 0x125
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140001328
mov rax, qword [0x14009b028]
lea rcx, [0x14009b028]
cmp rdi, rsi
jne 0x14003e206
lea rsi, [0x1400896c8]
lea rdi, [0x14009b028]
test r12d, r12d
je 0x14003e363
mov rdx, r13
mov ecx, 1
call fcn.1400577e8
test eax, eax
je 0x14003e30a
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x14003e30a
test byte [rcx + 0x1c], 4
je 0x14003e30a
cmp byte [rcx + 0x19], 2
jb 0x14003e30a
mov r9d, dword [r13 + 0x10]
mov edx, 0x126
mov rcx, qword [rcx + 0x10]
mov r8, rsi
mov word [rsp + 0x20], ax
call fcn.14000ed28
mov r9, qword [rbx + 0x198]
mov r8d, r15d
mov edx, 0x17
xor ecx, ecx
call fcn.1400582c8
test eax, eax
jne 0x14003e363
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e363
test byte [rax + 0x1c], 4
je 0x14003e363
cmp byte [rax + 0x19], 2
jb 0x14003e363
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x127
mov r9d, eax
mov r8, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140001050
mov rcx, rbx
call fcn.14003cd58
lea rcx, [0x14009f1b8]
call fcn.140035ed8
jmp 0x14003e3a9
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x14003e3a9
test byte [rcx + 0x1c], 4
je 0x14003e3a9
cmp byte [rcx + 0x19], 2
jb 0x14003e3a9
mov rcx, qword [rcx + 0x10]
mov edx, 0x128
mov r9d, r15d
mov dword [rsp + 0x20], eax
mov r8, rsi
call fcn.1400013ac
lea rcx, [0x14009f180]
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