Function at 0x14003d114
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 [0x14009b020]
lea r12, [0x14009b020]
lea r13, [0x14008cd68]
mov r15d, 4
cmp rcx, r12
je 0x14003d176
test byte [rcx + 0x1c], r15b
je 0x14003d176
cmp byte [rcx + 0x19], 5
jb 0x14003d176
mov rcx, qword [rcx + 0x10]
mov edx, 0xf7
mov r8, r13
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 0x14003d1a4
mov rbx, rax
mov rax, qword [rax]
cmp rbx, rdi
je 0x14003d212
cmp rax, rcx
jne 0x14003d199
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14003d1da
test byte [rcx + 0x1c], r15b
je 0x14003d1da
cmp byte [rcx + 0x19], 3
jb 0x14003d1da
mov r9d, dword [rdi + 0x20]
mov edx, 0xf8
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov dword [rsp + 0x20], edi
call fcn.140037058
lea rcx, [0x14009f280]
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
test rbx, rbx
je 0x14003d1a9
mov eax, dword [rbx + 0x30]
test eax, eax
je 0x14003d251
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14003d1da
test byte [rcx + 0x1c], r15b
je 0x14003d1da
cmp byte [rcx + 0x19], 3
jb 0x14003d1da
mov r9d, dword [rbx + 0x20]
mov edx, 0xf9
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov dword [rsp + 0x20], eax
call fcn.1400238a8
jmp 0x14003d1da
cmp dword [rbx + 0x34], 0
jbe 0x14003d267
mov edx, r15d
mov rcx, rbx
call fcn.14003c80c
jmp 0x14003d1da
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14003d294
test byte [rcx + 0x1c], r15b
je 0x14003d294
cmp byte [rcx + 0x19], 5
jb 0x14003d294
mov r9d, dword [rbx + 0x20]
mov edx, 0xfa
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.1400046fc
mov rcx, qword [0x14009f2c0]
call qword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
nop dword [rax + rax]
mov dil, 2
test eax, eax
jne 0x14003d2ed
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14003d2ed
test byte [rax + 0x1c], r15b
je 0x14003d2ed
cmp byte [rax + 0x19], dil
jb 0x14003d2ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0xfb
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
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 0x14003d380
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14003d335
test byte [rcx + 0x1c], r15b
je 0x14003d335
cmp byte [rcx + 0x19], 5
jb 0x14003d335
mov r9d, dword [rbx + 0x20]
mov edx, 0xfc
mov rcx, qword [rcx + 0x10]
mov r8, r13
call fcn.1400046fc
mov rcx, rbx
call fcn.14003d74c
test eax, eax
jne 0x14003d380
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14003d387
test byte [rcx + 0x1c], r15b
je 0x14003d387
cmp byte [rcx + 0x19], dil
jb 0x14003d387
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0xfd
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
mov rcx, qword [0x14009b020]
mov rax, qword [rbx + 0x38]
test rax, rax
je 0x14003d42d
mov rdx, rax
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, 0xfe
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.14000c6bc
mov rdx, qword [rbx + 0x38]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003d426
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14003d42d
test byte [rcx + 0x1c], r15b
je 0x14003d42d
cmp byte [rcx + 0x19], dil
jb 0x14003d42d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
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.140037428
mov rcx, qword [0x14009b020]
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14003d4d3
mov rdx, rax
cmp rcx, r12
je 0x14003d46c
test byte [rcx + 0x1c], r15b
je 0x14003d46c
cmp byte [rcx + 0x19], 5
jb 0x14003d46c
mov r9d, dword [rbx + 0x20]
mov edx, 0x100
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.14000c6bc
mov rdx, qword [rbx + 0x48]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003d4cc
mov rcx, qword [0x14009b020]
cmp rcx, r12
je 0x14003d4d3
test byte [rcx + 0x1c], r15b
je 0x14003d4d3
cmp byte [rcx + 0x19], dil
jb 0x14003d4d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
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.140037428
mov rcx, qword [0x14009b020]
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x14003d588
cmp dword [rbx + 0xc0], 0
jne 0x14003d588
mov rdx, rax
cmp rcx, r12
je 0x14003d525
test byte [rcx + 0x1c], r15b
je 0x14003d525
cmp byte [rcx + 0x19], 5
jb 0x14003d525
mov r9d, dword [rbx + 0x20]
mov edx, 0x102
mov rcx, qword [rcx + 0x10]
mov r8, r13
mov qword [rsp + 0x20], rax
call fcn.14000c6bc
mov rdx, qword [rbx + 0xb8]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003d588
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14003d588
test byte [rax + 0x1c], r15b
je 0x14003d588
cmp byte [rax + 0x19], dil
jb 0x14003d588
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
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.140037428
lea rcx, [0x14009f2b8]
call fcn.14004020c
test ebp, ebp
je 0x14003d5f2
mov r9, qword [rbx + 0x198]
mov edx, 0x17
mov r8d, dword [rbx + 0x20]
xor ecx, ecx
call fcn.140059108
test eax, eax
jne 0x14003d5f2
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14003d5f2
test byte [rax + 0x1c], r15b
je 0x14003d5f2
cmp byte [rax + 0x19], dil
jb 0x14003d5f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x104
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
mov rcx, rbx
call fcn.14003a518
call fcn.140040c9c
test eax, eax
jne 0x14003d1da
mov rax, qword [0x14009b020]
cmp rax, r12
je 0x14003d1da
test byte [rax + 0x1c], r15b
je 0x14003d1da
cmp byte [rax + 0x19], dil
jb 0x14003d1da
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
mov edx, 0x105
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
jmp 0x14003d1da