Function at 0x14002ae80
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.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14002aec7
test byte [rcx + 0x1c], 4
je 0x14002aec7
cmp byte [rcx + 0x19], 5
jb 0x14002aec7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082b80]
mov edx, 0x14
call fcn.140001010
lea rcx, [0x14009a0f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
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 0x14002af0c
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002b08d
lea rcx, [0x14009a008]
call fcn.14003388c
jmp case.default.0x14002b08d
cmp eax, 2
jne 0x14002af7b
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne case.default.0x14002b08d
mov rax, qword [str.___t_]
cmp rax, r14
je case.default.0x14002b08d
test byte [rax + 0x1c], 4
je case.default.0x14002b08d
cmp byte [rax + 0x19], 2
jb case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp case.default.0x14002b08d
cmp eax, 3
jne case.default.0x14002b08d
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002afcf
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002afcf
test byte [rax + 0x1c], 4
je 0x14002afcf
cmp byte [rax + 0x19], 2
jb 0x14002afcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [rbx + 0x660], 0
je 0x14002b02a
cmp dword [rbx + 0x65c], 0
je 0x14002b033
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002b02a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14002b02a
test byte [rcx + 0x1c], 4
je 0x14002b02a
cmp byte [rcx + 0x19], 2
jb 0x14002b02a
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140082b80]
call fcn.140001250
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002b08d
cmp qword [rbx + 0x668], 0
je case.default.0x14002b08d
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003b73c
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.14006264c
lea rcx, [0x14009a0f0]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
cmpsd dword [rsi], dword [rdi]
shr dword [rdi + 0x7f], 1
push rbp
outsd dx, dword [rsi]
jg 0x14011500c
adc al, al
adc byte [rax + rdx - 0x3d074807], al
ficom dword [rcx]
cmpsd dword [rsi], dword [rdi]
int1
jp 0x140114fb4
invalid
clc
mov ebx, 0xaf7f2817
mulps xmm2, xmmword [0x155159e28]
xlatb
mov edi, 0xffcccfc
mov ebp, 0x13803eb7
rcl dword [rax - 0x10], 0xc0
ja 0x140114fb2
clc
push rbx
xchg edi, eax
loope 0x140114fdc
xchg edi, eax
push rdi
jno 0x140115003
sub dword [rdx + 0x17ee8a36], 0xffffffcc
jae 0x140114fc2
in eax, dx
cmp al, 0xe6
ja 0x140115022
ja 0x140115022
and dword [rbx + 0x54], ecx
push r12
jp 0x14011504e
add eax, 0x9274afe1
scasd eax, dword [rdi]
je 0x140114fa1
cmp ebp, dword [rax - 0xe]
call qword [0xdc663154]
xchg byte [rbx], bh
scasb al, byte [rdi]
outsd dx, dword [rsi]
pop rbp
cli
mov ebp, esp
cmp ebp, dword [rsi - 0x7405a291]
in al, dx
mov bh, 0x74
out 0xbf, eax
jg 0x140114fcf
loop 0x140115019
invalid
mov bh, 0x6f
jp 0x140115054
jb 0x140115098
iretd
clc
add eax, dword [rax - 0x11d6ea48]
invalid
sub esi, ebp
out dx, al
mov al, 0xdc
mov dl, 0x4e
invalid
hlt