Function at 0x14002ce38
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 [0x14009b028]
lea r14, [0x14009b028]
cmp rcx, r14
je 0x14002ce7f
test byte [rcx + 0x1c], 4
je 0x14002ce7f
cmp byte [rcx + 0x19], 5
jb 0x14002ce7f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088d70]
mov edx, 0x14
call fcn.140001024
lea rcx, [0x14009f0f0]
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 0x14002ceca
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002d07b
lea rcx, [0x14009f008]
call fcn.140036178
jmp case.default.0x14002d07b
cmp eax, 2
jne 0x14002cf45
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002d07b
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne case.default.0x14002d07b
mov rax, qword [0x14009b028]
cmp rax, r14
je case.default.0x14002d07b
test byte [rax + 0x1c], 4
je case.default.0x14002d07b
cmp byte [rax + 0x19], 2
jb case.default.0x14002d07b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088d70]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp case.default.0x14002d07b
cmp eax, 3
jne case.default.0x14002d07b
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14002cfa5
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x14002cfa5
test byte [rax + 0x1c], 4
je 0x14002cfa5
cmp byte [rax + 0x19], 2
jb 0x14002cfa5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088d70]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001050
cmp dword [rbx + 0x660], 0
je 0x14002d00c
cmp dword [rbx + 0x65c], 0
je 0x14002d015
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002d00c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002d00c
test byte [rcx + 0x1c], 4
je 0x14002d00c
cmp byte [rcx + 0x19], 2
jb 0x14002d00c
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140088d70]
call fcn.140001328
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002d07b
cmp qword [rbx + 0x668], 0
je case.default.0x14002d07b
lea rcx, [0x14009f180]
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.14003e7a0
lea rcx, [0x14009f180]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, rbx
call fcn.1400671c4
lea rcx, [0x14009f0f0]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor byte [rax], al
lahf
pop rcx
jmp qword [rsi]
pop rbx
cmp al, 0xff
invalid
loopne 0x140120019
sti
sbb eax, 0x3dc06179
lea ebx, [rbp + 0x4053e2b6]
sti
movsd dword [rdi], dword [rsi]
add esi, eax
push rcx
movsd dword [rdi], dword [rsi]
cmp al, 0x8d
jge 0x140120014
adc esp, 0x26e5acc1
test eax, 0xec57b700
shr dword [rbp + riz*8 - 0x48ff56da], 0x57
in al, dx
fild qword [rdx + 0x4ed7ffc1]
mov byte [rsi - 0x50], ah
add dh, dl
add eax, 0x6b593dc
xchg ebx, eax
mov ch, 6
cdq
outsb dx, byte [rsi]
jmp rsp
push rsp
and r15b, byte [r15]
int1
clc
push rax
push 0xffffffff8f5d30df
test eax, 0x8241ebf3
push rcx
add dword [rbp + 0x45], esp
jnp 0x14012006d
or bl, bl
invalid
imul edi, edi, 0x9c01ff34
invalid