Function at 0x14002e168
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [str._0_n_]
lea r14, str._0_n_
cmp rcx, r14
je 0x14002e1af
test byte [rcx + 0x1c], 4
je 0x14002e1af
cmp byte [rcx + 0x19], 5
jb 0x14002e1af
mov rcx, qword [rcx + 0x10]
lea r8, [0x140093488]
mov edx, 0x14
call fcn.14000459c
lea rcx, [0x1400a73b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
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
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x14002e1fa
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002e3ab
lea rcx, [0x1400a72c8]
call fcn.140040710
jmp case.default.0x14002e3ab
cmp eax, 2
jne 0x14002e275
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002e3ab
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne case.default.0x14002e3ab
mov rax, qword [str._0_n_]
cmp rax, r14
je case.default.0x14002e3ab
test byte [rax + 0x1c], 4
je case.default.0x14002e3ab
cmp byte [rax + 0x19], 2
jb case.default.0x14002e3ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140093488]
mov edx, 0x15
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp case.default.0x14002e3ab
cmp eax, 3
jne case.default.0x14002e3ab
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14002e2d5
mov rax, qword [str._0_n_]
cmp rax, r14
je 0x14002e2d5
test byte [rax + 0x1c], 4
je 0x14002e2d5
cmp byte [rax + 0x19], 2
jb 0x14002e2d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
lea r8, [0x140093488]
mov edx, 0x16
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140004994
cmp dword [rbx + 0x660], 0
je 0x14002e33c
cmp dword [rbx + 0x65c], 0
je 0x14002e345
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002e33c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._0_n_]
cmp rcx, r14
je 0x14002e33c
test byte [rcx + 0x1c], 4
je 0x14002e33c
cmp byte [rcx + 0x19], 2
jb 0x14002e33c
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140093488]
call fcn.140004880
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002e3ab
cmp qword [rbx + 0x668], 0
je case.default.0x14002e3ab
lea rcx, [0x1400a7440]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003a230
lea rcx, [0x1400a7440]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14006a328
lea rcx, [0x1400a73b0]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, esp
xchg dword [rcx + 0x3c], edx
int 0xef
retf
int1
adc eax, 0x83d39a38
ror dword [rsi - 0x60], 1
imul esi, dword fs:[rdi - 0x65c2ce01], 0x3a
push qword [rcx]
cmp eax, 0x45bf3a9a
invalid
imul r12, qword [r14], 0xfffffffff538ebbe
test al, 0xe8
pop rcx
jb 0x140131a21
invalid
jo 0x140131a10
push qword [rcx]
cmp eax, 0x45bf3a9a
invalid
inc dword [rdx + rbx + 0x42]
sbb r8b, byte [rdx + 0x37]
xor eax, 0xe5652d6f
add eax, edx
jae 0x1401319dd
invalid
pop rdx
int3