Function at 0x14002c900
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov qword [rbp - 0x28], rcx
xor r15d, r15d
mov dword [rbp - 0x40], r15d
mov edx, 0x120116
mov rcx, qword [rcx]
call fcn.14002c770
mov r14d, eax
lea rbx, [r15 - 1]
test eax, eax
jne 0x14002cb71
lea r8d, [r15 + 1]
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14001da50
nop
mov ecx, 1
mov dword [rbp - 0x40], ecx
mov rdx, qword [rax]
cmp word [rdx], 0x5c
jne 0x14002c97f
cmp word [rdx + 2], r14w
je 0x14002c9a7
mov r8d, ecx
lea rdx, [rbp - 0x38]
mov rcx, rdi
call fcn.14001da50
nop
mov ecx, 3
mov dword [rbp - 0x40], ecx
mov rdx, qword [rax]
cmp word [rdx], 0x2f
jne 0x14002c9ac
cmp word [rdx + 2], 0
jne 0x14002c9ac
xor sil, sil
jmp 0x14002c9af
mov sil, 1
test cl, 2
je 0x14002c9e1
and ecx, 0xfffffffd
mov dword [rbp - 0x40], ecx
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002c9de
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov ecx, dword [rbp - 0x40]
test cl, 1
je 0x14002ca10
and ecx, 0xfffffffe
mov dword [rbp - 0x40], ecx
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002ca10
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test sil, sil
je 0x14002ca33
lea rdx, [0x1402624f4]
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002ca20
mov rcx, rdi
call fcn.14001dda0
mov qword [rbp - 0x18], r15
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14002cbbe
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp - 0x18], rax
xor ecx, ecx
call fcn.140209900
mov r8, rax
lea rdx, str.__writable_test_d.temp
lea rcx, [rbp - 0x18]
call fcn.14001c3d0
mov qword [rbp - 0x20], r15
lea r8, [rbp - 0x18]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140029020
nop
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14002cb27
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002caf5
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002cb18
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
nop
mov rcx, rdi
call fcn.1400192d0
mov eax, 1
jmp 0x14002cb95
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002cb4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002cb71
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002cb92
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov eax, r14d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3