Function at 0x14003d25c
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 [0x14009b028]
lea r12, [0x14009b028]
lea r13, [0x1400896c8]
mov r15d, 4
cmp rcx, r12
je 0x14003d2be
test byte [rcx + 0x1c], r15b
je 0x14003d2be
cmp byte [rcx + 0x19], 5
jb 0x14003d2be
mov rcx, qword [rcx + 0x10]
mov edx, 0xf7
mov r8, r13
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 0x14003d2ec
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003d2f3
cmp rax, rcx
jne 0x14003d2e1
xor ebx, ebx
test rbx, rbx
jne 0x14003d33a
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d774
test byte [rcx + 0x1c], r15b
je 0x14003d774
cmp byte [rcx + 0x19], 3
jb 0x14003d774
mov r9d, dword [rdi + 0x20]
mov edx, 0xf8
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov dword [rsp + 0x20], edi
call fcn.1400013ac
jmp 0x14003d774
mov eax, dword [rbx + 0x30]
test eax, eax
je 0x14003d383
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d774
test byte [rcx + 0x1c], r15b
je 0x14003d774
cmp byte [rcx + 0x19], 3
jb 0x14003d774
mov r9d, dword [rbx + 0x20]
mov edx, 0xf9
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov dword [rsp + 0x20], eax
call fcn.1400013ac
jmp 0x14003d774
cmp dword [rbx + 0x34], 0
jbe 0x14003d399
mov edx, r15d
mov rcx, rbx
call fcn.14003e844
jmp 0x14003d774
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d3c6
test byte [rcx + 0x1c], r15b
je 0x14003d3c6
cmp byte [rcx + 0x19], 5
jb 0x14003d3c6
mov r9d, dword [rbx + 0x20]
mov edx, 0xfa
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.140001050
mov rcx, qword [0x14009f1c0]
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
nop dword [rax + rax]
mov dil, 2
test eax, eax
jne 0x14003d41f
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d41f
test byte [rax + 0x1c], r15b
je 0x14003d41f
cmp byte [rax + 0x19], dil
jb 0x14003d41f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0xfb
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140001050
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 0x14003d4b2
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d467
test byte [rcx + 0x1c], r15b
je 0x14003d467
cmp byte [rcx + 0x19], 5
jb 0x14003d467
mov r9d, dword [rbx + 0x20]
mov edx, 0xfc
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.140001050
mov rcx, rbx
call fcn.14003d7b4
test eax, eax
jne 0x14003d4b2
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d4b9
test byte [rcx + 0x1c], r15b
je 0x14003d4b9
cmp byte [rcx + 0x19], dil
jb 0x14003d4b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0xfd
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140001050
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14003d55f
mov rdx, rax
cmp rcx, r12
je 0x14003d4f8
test byte [rcx + 0x1c], r15b
je 0x14003d4f8
cmp byte [rcx + 0x19], 5
jb 0x14003d4f8
mov r9d, dword [rbx + 0x20]
mov edx, 0xfe
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140001094
mov rdx, qword [rbx + 0x38]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003d558
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d55f
test byte [rcx + 0x1c], r15b
je 0x14003d55f
cmp byte [rcx + 0x19], dil
jb 0x14003d55f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
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.14002d54c
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003d605
mov rdx, rax
cmp rcx, r12
je 0x14003d59e
test byte [rcx + 0x1c], r15b
je 0x14003d59e
cmp byte [rcx + 0x19], 5
jb 0x14003d59e
mov r9d, dword [rbx + 0x20]
mov edx, 0x100
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140001094
mov rdx, qword [rbx + 0x48]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003d5fe
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d605
test byte [rcx + 0x1c], r15b
je 0x14003d605
cmp byte [rcx + 0x19], dil
jb 0x14003d605
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
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.14002d54c
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x14003d6ba
cmp dword [rbx + 0xc0], 0
jne 0x14003d6ba
mov rdx, rax
cmp rcx, r12
je 0x14003d657
test byte [rcx + 0x1c], r15b
je 0x14003d657
cmp byte [rcx + 0x19], 5
jb 0x14003d657
mov r9d, dword [rbx + 0x20]
mov edx, 0x102
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.140001094
mov rdx, qword [rbx + 0xb8]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003d6ba
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d6ba
test byte [rax + 0x1c], r15b
je 0x14003d6ba
cmp byte [rax + 0x19], dil
jb 0x14003d6ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
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.14002d54c
lea rcx, [0x14009f1b8]
call fcn.140035ed8
test ebp, ebp
je 0x14003d724
mov r9, qword [rbx + 0x198]
mov edx, 0x17
mov r8d, dword [rbx + 0x20]
xor ecx, ecx
call fcn.1400582c8
test eax, eax
jne 0x14003d724
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d724
test byte [rax + 0x1c], r15b
je 0x14003d724
cmp byte [rax + 0x19], dil
jb 0x14003d724
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x104
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140001050
mov rcx, rbx
call fcn.14003c704
call fcn.1400361f8
test eax, eax
jne 0x14003d774
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d774
test byte [rax + 0x1c], r15b
je 0x14003d774
cmp byte [rax + 0x19], dil
jb 0x14003d774
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
mov edx, 0x105
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140001050
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