Function at 0x7d2420e0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
xor ebx, ebx
mov rsi, r8
mov r14, rdx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov edx, 0x40000000
mov qword [rbp - 0x11], rbx
lea r8d, [rbx + 7]
mov qword [rbp - 0x29], rbx
mov qword [rbp - 1], rbx
xor r15b, r15b
xor r12b, r12b
mov dword [rsp + 0x20], 3
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
mov qword [rbp + 0xf], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x7d242343
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 7]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov qword [rbp + 7], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x7d24231d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r12d, r12b
mov ecx, 1
cmp eax, 0xb7
cmovne r12d, ecx
test rsi, rsi
je 0x7d242204
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 7]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
test rax, rax
je 0x7d242314
cmp rax, 0xffffffffffffffff
je 0x7d242301
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
movzx r15d, r15b
mov eax, 1
cmovne r15d, eax
lea rax, [rbp + 0x1f]
mov rcx, r13
lea r9, [rbp + 0x17]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x21]
lea rdx, [rbp - 1]
call fcn.7d242400
lea rax, [rbp - 9]
mov rcx, r14
lea r9, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x7f]
lea rdx, [rbp - 0x29]
call fcn.7d242400
mov rsi, qword [rbp - 0x29]
mov r10, qword [rbp - 9]
mov r13, qword [rbp - 0x19]
mov r14d, dword [rbp + 0x7f]
test rbx, rbx
je 0x7d242285
lea rax, [rbp - 0x19]
mov rcx, rbx
lea r9, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x7f]
lea rdx, [rbp - 0x11]
call fcn.7d242400
mov rcx, qword [rbp - 0x11]
mov r8, qword [rbp - 0x19]
mov r9, qword [rbp - 0x29]
mov eax, dword [rbp + 0x7f]
mov r10, qword [rbp - 9]
jmp 0x7d242291
mov rcx, rsi
mov eax, r14d
mov r9, r13
mov r8, r10
cmp dword [rbp - 0x21], edi
je 0x7d2422a1
test r14d, r14d
je 0x7d2422aa
test eax, eax
jne 0x7d2422cb
jmp 0x7d2422aa
test r14d, r14d
jne 0x7d2422aa
test eax, eax
je 0x7d2422cb
mov rdx, qword [rbp + 0x17]
cmp r13, rdx
jne 0x7d2422c6
mov rax, qword [rbp + 0x1f]
cmp r10, rax
jne 0x7d2422c6
cmp r9, rdx
jne 0x7d2422c6
cmp r8, rax
je 0x7d2422cb
mov edi, 1
test rcx, rcx
je 0x7d2422da
cmp rcx, rsi
je 0x7d2422da
call fcn.7d221938
test rsi, rsi
je 0x7d2422e7
mov rcx, rsi
call fcn.7d221938
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x7d2422f5
call fcn.7d221938
mov r13, qword [rbp + 0xf]
mov r14, qword [rbp + 7]
mov rsi, qword [rbp + 0x77]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x7d242314
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15b, r15b
je 0x7d242334
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test r12b, r12b
je 0x7d242343
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret