Function at 0x14003d3fc
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, [0x140089858]
mov r15d, 4
cmp rcx, r12
je 0x14003d45e
test byte [rcx + 0x1c], r15b
je 0x14003d45e
cmp byte [rcx + 0x19], 5
jb 0x14003d45e
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 0x14003d48c
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003d493
cmp rax, rcx
jne 0x14003d481
xor ebx, ebx
test rbx, rbx
jne 0x14003d4da
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d914
test byte [rcx + 0x1c], r15b
je 0x14003d914
cmp byte [rcx + 0x19], 3
jb 0x14003d914
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 0x14003d914
mov eax, dword [rbx + 0x30]
test eax, eax
je 0x14003d523
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d914
test byte [rcx + 0x1c], r15b
je 0x14003d914
cmp byte [rcx + 0x19], 3
jb 0x14003d914
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 0x14003d914
cmp dword [rbx + 0x34], 0
jbe 0x14003d539
mov edx, r15d
mov rcx, rbx
call fcn.14003e9e4
jmp 0x14003d914
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d566
test byte [rcx + 0x1c], r15b
je 0x14003d566
cmp byte [rcx + 0x19], 5
jb 0x14003d566
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 0x14003d5bf
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d5bf
test byte [rax + 0x1c], r15b
je 0x14003d5bf
cmp byte [rax + 0x19], dil
jb 0x14003d5bf
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 0x14003d652
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d607
test byte [rcx + 0x1c], r15b
je 0x14003d607
cmp byte [rcx + 0x19], 5
jb 0x14003d607
mov r9d, dword [rbx + 0x20]
mov edx, 0xfc
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.140001050
mov rcx, rbx
call fcn.14003d954
test eax, eax
jne 0x14003d652
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d659
test byte [rcx + 0x1c], r15b
je 0x14003d659
cmp byte [rcx + 0x19], dil
jb 0x14003d659
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 0x14003d6ff
mov rdx, rax
cmp rcx, r12
je 0x14003d698
test byte [rcx + 0x1c], r15b
je 0x14003d698
cmp byte [rcx + 0x19], 5
jb 0x14003d698
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 0x14003d6f8
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d6ff
test byte [rcx + 0x1c], r15b
je 0x14003d6ff
cmp byte [rcx + 0x19], dil
jb 0x14003d6ff
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.14002d6ec
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003d7a5
mov rdx, rax
cmp rcx, r12
je 0x14003d73e
test byte [rcx + 0x1c], r15b
je 0x14003d73e
cmp byte [rcx + 0x19], 5
jb 0x14003d73e
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 0x14003d79e
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14003d7a5
test byte [rcx + 0x1c], r15b
je 0x14003d7a5
cmp byte [rcx + 0x19], dil
jb 0x14003d7a5
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.14002d6ec
mov rcx, qword [0x14009b028]
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x14003d85a
cmp dword [rbx + 0xc0], 0
jne 0x14003d85a
mov rdx, rax
cmp rcx, r12
je 0x14003d7f7
test byte [rcx + 0x1c], r15b
je 0x14003d7f7
cmp byte [rcx + 0x19], 5
jb 0x14003d7f7
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 0x14003d85a
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d85a
test byte [rax + 0x1c], r15b
je 0x14003d85a
cmp byte [rax + 0x19], dil
jb 0x14003d85a
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.14002d6ec
lea rcx, [0x14009f1b8]
call fcn.140036078
test ebp, ebp
je 0x14003d8c4
mov r9, qword [rbx + 0x198]
mov edx, 0x17
mov r8d, dword [rbx + 0x20]
xor ecx, ecx
call fcn.140058468
test eax, eax
jne 0x14003d8c4
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d8c4
test byte [rax + 0x1c], r15b
je 0x14003d8c4
cmp byte [rax + 0x19], dil
jb 0x14003d8c4
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.14003c8a4
call fcn.140036398
test eax, eax
jne 0x14003d914
mov rax, qword [0x14009b028]
cmp rax, r12
je 0x14003d914
test byte [rax + 0x1c], r15b
je 0x14003d914
cmp byte [rax + 0x19], dil
jb 0x14003d914
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