Function at 0x14003e09c
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, [0x140089898]
mov bpl, 5
cmp rcx, rdi
je 0x14003e0f9
test byte [rcx + 0x1c], 4
je 0x14003e0f9
cmp byte [rcx + 0x19], bpl
jb 0x14003e0f9
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 0x14003e127
mov rbx, rax
mov rax, qword [rax]
cmp rbx, r13
je 0x14003e12e
cmp rax, rcx
jne 0x14003e11c
xor ebx, ebx
test rbx, rbx
je 0x14003e649
cmp dword [rbx + 0x34], 0
jbe 0x14003e14f
mov edx, 4
mov rcx, rbx
call fcn.14003eae4
jmp 0x14003e649
mov eax, dword [rbx + 0x30]
mov r15d, dword [rbx + 0x20]
test eax, eax
jne 0x14003e619
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x14003e18a
test byte [rcx + 0x1c], 4
je 0x14003e18a
cmp byte [rcx + 0x19], bpl
jb 0x14003e18a
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 0x14003e1f7
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e1f7
test byte [rax + 0x1c], 4
je 0x14003e1f7
cmp byte [rax + 0x19], 2
jb 0x14003e1f7
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.140036498
test eax, eax
jne 0x14003e23f
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e246
test byte [rax + 0x1c], 4
je 0x14003e246
cmp byte [rax + 0x19], 2
jb 0x14003e246
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 0x14003e304
cmp dword [rbx + 0x730], 1
jne 0x14003e2db
mov rcx, r9
cmp rax, rdi
je 0x14003e285
test byte [rax + 0x1c], 4
je 0x14003e285
cmp byte [rax + 0x19], bpl
jb 0x14003e285
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 0x14003e2fd
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e304
test byte [rax + 0x1c], 4
je 0x14003e304
cmp byte [rax + 0x19], 2
jb 0x14003e304
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 0x14003e2fd
cmp rax, rdi
je 0x14003e304
test byte [rax + 0x1c], 4
je 0x14003e304
cmp byte [rax + 0x19], 3
jb 0x14003e304
mov rcx, qword [rax + 0x10]
mov edx, 0x11e
mov r8, rsi
call fcn.1400011fc
mov rax, qword [0x14009b028]
cmp dword [rbx + 0x24], 8
jne 0x14003e55e
mov r9, qword [rbx + 0x38]
test r9, r9
je 0x14003e39f
mov rcx, r9
cmp rax, rdi
je 0x14003e344
test byte [rax + 0x1c], 4
je 0x14003e344
cmp byte [rax + 0x19], bpl
jb 0x14003e344
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 0x14003e398
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e39f
test byte [rax + 0x1c], 4
je 0x14003e39f
cmp byte [rax + 0x19], 2
jb 0x14003e39f
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 0x14003e44e
mov rdx, rcx
cmp rax, rdi
je 0x14003e3e4
test byte [rax + 0x1c], 4
je 0x14003e3e4
cmp byte [rax + 0x19], bpl
jb 0x14003e3e4
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 0x14003e447
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e477
test byte [rax + 0x1c], 4
je 0x14003e44e
cmp byte [rax + 0x19], bpl
jb 0x14003e44e
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.14002d7ec
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e477
test byte [rax + 0x1c], 4
je 0x14003e477
cmp byte [rax + 0x19], bpl
jb 0x14003e477
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 0x14003e550
mov rdi, qword [rdi]
test rdi, rdi
je 0x14003e550
cmp rdi, rsi
je 0x14003e550
lea rcx, [0x14009b028]
lea rbp, [rdi]
mov rdi, qword [rdi]
cmp rax, rcx
je 0x14003e4d6
test byte [rax + 0x1c], 4
je 0x14003e4d6
cmp byte [rax + 0x19], 5
jb 0x14003e4d6
mov r9, qword [rbp + 0x10]
lea r8, [0x140089898]
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 0x14003e539
mov rax, qword [0x14009b028]
lea rcx, [0x14009b028]
cmp rax, rcx
je 0x14003e547
test byte [rax + 0x1c], 4
je 0x14003e547
cmp byte [rax + 0x19], 2
jb 0x14003e547
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140089898]
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 0x14003e4a6
lea rsi, [0x140089898]
lea rdi, [0x14009b028]
test r12d, r12d
je 0x14003e603
mov rdx, r13
mov ecx, 1
call fcn.140057a88
test eax, eax
je 0x14003e5aa
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x14003e5aa
test byte [rcx + 0x1c], 4
je 0x14003e5aa
cmp byte [rcx + 0x19], 2
jb 0x14003e5aa
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.140058568
test eax, eax
jne 0x14003e603
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14003e603
test byte [rax + 0x1c], 4
je 0x14003e603
cmp byte [rax + 0x19], 2
jb 0x14003e603
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.14003cff8
lea rcx, [0x14009f1b8]
call fcn.140036178
jmp 0x14003e649
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x14003e649
test byte [rcx + 0x1c], 4
je 0x14003e649
cmp byte [rcx + 0x19], 2
jb 0x14003e649
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