Function at 0x14003d4fc
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, [0x140089898]
mov r15d, 4
cmp rcx, r12
je 0x14003d55e
test byte [rcx + 0x1c], r15b
je 0x14003d55e
cmp byte [rcx + 0x19], 5
jb 0x14003d55e
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 0x14003d58c
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003d593
cmp rax, rcx
jne 0x14003d581
xor ebx, ebx
test rbx, rbx
jne 0x14003d5da
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003da14
test byte [rcx + 0x1c], r15b
je 0x14003da14
cmp byte [rcx + 0x19], 3
jb 0x14003da14
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 0x14003da14
mov eax, dword [rbx + 0x30]
test eax, eax
je 0x14003d623
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003da14
test byte [rcx + 0x1c], r15b
je 0x14003da14
cmp byte [rcx + 0x19], 3
jb 0x14003da14
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 0x14003da14
cmp dword [rbx + 0x34], 0
jbe 0x14003d639
mov edx, r15d
mov rcx, rbx
call fcn.14003eae4
jmp 0x14003da14
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d666
test byte [rcx + 0x1c], r15b
je 0x14003d666
cmp byte [rcx + 0x19], 5
jb 0x14003d666
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 0x14003d6bf
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d6bf
test byte [rax + 0x1c], r15b
je 0x14003d6bf
cmp byte [rax + 0x19], dil
jb 0x14003d6bf
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 0x14003d752
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d707
test byte [rcx + 0x1c], r15b
je 0x14003d707
cmp byte [rcx + 0x19], 5
jb 0x14003d707
mov r9d, dword [rbx + 0x20]
mov edx, 0xfc
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.140001050
mov rcx, rbx
call fcn.14003da54
test eax, eax
jne 0x14003d752
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d759
test byte [rcx + 0x1c], r15b
je 0x14003d759
cmp byte [rcx + 0x19], dil
jb 0x14003d759
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 0x14003d7ff
mov rdx, rax
cmp rcx, r12
je 0x14003d798
test byte [rcx + 0x1c], r15b
je 0x14003d798
cmp byte [rcx + 0x19], 5
jb 0x14003d798
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 0x14003d7f8
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d7ff
test byte [rcx + 0x1c], r15b
je 0x14003d7ff
cmp byte [rcx + 0x19], dil
jb 0x14003d7ff
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.14002d7ec
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003d8a5
mov rdx, rax
cmp rcx, r12
je 0x14003d83e
test byte [rcx + 0x1c], r15b
je 0x14003d83e
cmp byte [rcx + 0x19], 5
jb 0x14003d83e
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 0x14003d89e
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d8a5
test byte [rcx + 0x1c], r15b
je 0x14003d8a5
cmp byte [rcx + 0x19], dil
jb 0x14003d8a5
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.14002d7ec
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x14003d95a
cmp dword [rbx + 0xc0], 0
jne 0x14003d95a
mov rdx, rax
cmp rcx, r12
je 0x14003d8f7
test byte [rcx + 0x1c], r15b
je 0x14003d8f7
cmp byte [rcx + 0x19], 5
jb 0x14003d8f7
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 0x14003d95a
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d95a
test byte [rax + 0x1c], r15b
je 0x14003d95a
cmp byte [rax + 0x19], dil
jb 0x14003d95a
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.14002d7ec
lea rcx, [0x14009f1b8]
call fcn.140036178
test ebp, ebp
je 0x14003d9c4
mov r9, qword [rbx + 0x198]
mov edx, 0x17
mov r8d, dword [rbx + 0x20]
xor ecx, ecx
call fcn.140058568
test eax, eax
jne 0x14003d9c4
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d9c4
test byte [rax + 0x1c], r15b
je 0x14003d9c4
cmp byte [rax + 0x19], dil
jb 0x14003d9c4
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.14003c9a4
call fcn.140036498
test eax, eax
jne 0x14003da14
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003da14
test byte [rax + 0x1c], r15b
je 0x14003da14
cmp byte [rax + 0x19], dil
jb 0x14003da14
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