Function at 0x14002dcc8
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 [0x14009b020]
lea r14, [0x14009b020]
cmp rcx, r14
je 0x14002dd0f
test byte [rcx + 0x1c], 4
je 0x14002dd0f
cmp byte [rcx + 0x19], 5
jb 0x14002dd0f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c248]
mov edx, 0x14
call fcn.1400042fc
lea rcx, [0x14009f1f0]
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 0x14002dd5a
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002df0b
lea rcx, [0x14009f108]
call fcn.14004020c
jmp case.default.0x14002df0b
cmp eax, 2
jne 0x14002ddd5
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002df0b
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne case.default.0x14002df0b
mov rax, qword [0x14009b020]
cmp rax, r14
je case.default.0x14002df0b
test byte [rax + 0x1c], 4
je case.default.0x14002df0b
cmp byte [rax + 0x19], 2
jb case.default.0x14002df0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea r8, [0x14008c248]
mov edx, 0x15
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
jmp case.default.0x14002df0b
cmp eax, 3
jne case.default.0x14002df0b
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14002de35
mov rax, qword [0x14009b020]
cmp rax, r14
je 0x14002de35
test byte [rax + 0x1c], 4
je 0x14002de35
cmp byte [rax + 0x19], 2
jb 0x14002de35
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
lea r8, [0x14008c248]
mov edx, 0x16
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.1400046fc
cmp dword [rbx + 0x660], 0
je 0x14002de9c
cmp dword [rbx + 0x65c], 0
je 0x14002dea5
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002de9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b020]
cmp rcx, r14
je 0x14002de9c
test byte [rcx + 0x1c], 4
je 0x14002de9c
cmp byte [rcx + 0x19], 2
jb 0x14002de9c
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x14008c248]
call fcn.1400045e8
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002df0b
cmp qword [rbx + 0x668], 0
je case.default.0x14002df0b
lea rcx, [0x14009f280]
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.140039cf0
lea rcx, [0x14009f280]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140069d30
lea rcx, [0x14009f1f0]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x140122561
push rsp
cmp byte [rbx], bl
add byte [0x15c6caacd], dh
push rax
mov ah, 0xff
push 0x1f
iretd
sbb ah, byte [rax - 0x7bbd4b02]
mov dh, 0x6d
movabs al, byte [0x93a25eecf0835e65]
in al, dx
pop rsi
movabs byte [0x1dc71ba7ae5e4593], al
imul ecx, dword [rbx], 0xffffffaf
invalid
scasd eax, dword [rdi]
std
sbb eax, ebx
or dword [rax - 0x1f68891], ebp
insb byte [rdi], dx
jnp case.0x140051048.12
loope 0x1401225f3
and al, 0xfe
movabs dword [0xe7bed18ba0ff2b1b], eax
invalid
add byte [rax], 0x2c
pop rbp
adc dword [rbx - 0xd], ebx
jge 0x1401225f0
imul ecx, dword [rdx + 0x60], 0x779f5ec9
leave
pop rsi
lahf
ja 0x1401225f7
jmp [rdx - 0x22e78bbf]
stosb byte [rdi], al
je 0x140122614
fld qword [rcx - 0x56]
sub eax, 0xa5311003
mov edx, dword [rcx + 0x51c6038c]
sbb eax, 0xea3e0afe
or qword [0xe34d76bc], rbx
in eax, dx
std
xor dword [rbp + 0x38c918b], esp
invalid
cmp esp, dword [rbx - 0x204f0213]
mov al, 0xdf
sahf
and eax, 0xff33db45
xor byte [rbx - 0x48], al
invalid
jmp 0x140122651
out 0xab, eax
adc byte [rbx + rdx - 0x1f], 0x3b
invalid
jg 0x140122602
invalid
loop 0x140122652
loop 0x140122652
int1
invalid