Function at 0x14002cb98
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 0x14002cbdf
test byte [rcx + 0x1c], 4
je 0x14002cbdf
cmp byte [rcx + 0x19], 5
jb 0x14002cbdf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088ba0]
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 0x14002cc2a
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002cddb
lea rcx, [0x14009f008]
call fcn.140035ed8
jmp case.default.0x14002cddb
cmp eax, 2
jne 0x14002cca5
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002cddb
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne case.default.0x14002cddb
mov rax, qword [0x14009b028]
cmp rax, r14
je case.default.0x14002cddb
test byte [rax + 0x1c], 4
je case.default.0x14002cddb
cmp byte [rax + 0x19], 2
jb case.default.0x14002cddb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088ba0]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp case.default.0x14002cddb
cmp eax, 3
jne case.default.0x14002cddb
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14002cd05
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x14002cd05
test byte [rax + 0x1c], 4
je 0x14002cd05
cmp byte [rax + 0x19], 2
jb 0x14002cd05
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088ba0]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001050
cmp dword [rbx + 0x660], 0
je 0x14002cd6c
cmp dword [rbx + 0x65c], 0
je 0x14002cd75
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002cd6c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002cd6c
test byte [rcx + 0x1c], 4
je 0x14002cd6c
cmp byte [rcx + 0x19], 2
jb 0x14002cd6c
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140088ba0]
call fcn.140001328
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002cddb
cmp qword [rbx + 0x668], 0
je case.default.0x14002cddb
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.14003e500
lea rcx, [0x14009f180]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140066f24
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]
scasd eax, dword [rdi]
inc qword [r15 - 0x7d]
je 0x14011fdae
cwde
loop 0x14011fd9c
stosd dword [rdi], eax
popfq
invalid
fadd st(4), st(0)
invalid
and eax, 0xcce3d648
jmp 0x1008e7f94
add dword [rsi - 4], ebx
sbb eax, 0x2192ff43
stosd dword [rdi], eax
add eax, 0xb0b8bed6
invalid
invalid
mov esi, 0x71297cfe
adc dl, r11b
sti
mov edi, 0xa70d6100
cmpsd dword [rsi], dword [rdi]
push rsp
insd dword [rdi], dx
lodsb al, byte [rsi]
xor byte [rdi - 0x16], 0xb9
push rcx
enter 0xffffffffffffca4d, 0xffffffffffffffa8
push qword [rcx + riz*2]
invalid