Function at 0x1001202c0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x60
mov r12, r9
mov rbp, r8
mov rsi, rdx
mov bl, cl
mov rcx, qword [0x1001653b8]
lea r15, [0x1001653b8]
cmp rcx, r15
je 0x10012030f
test byte [rcx + 0x1c], 1
je 0x10012030f
cmp byte [rcx + 0x19], 4
jb 0x10012030f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f10]
mov edx, 0xe
call fcn.10001c854
mov rdx, qword [rsi]
and qword [rsp + 0x38], 0
lea rcx, [0x10000f0f8]
mov byte [rsp + 0x30], 0
cmp rdx, qword [rcx]
jne 0x100120337
mov rdx, qword [rsi + 8]
cmp rdx, qword [rcx + 8]
jne 0x100120337
xor eax, eax
jmp 0x10012033c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100120358
lea r8, [0x1000064e0]
lea rcx, [0x100013690]
mov edx, 0x2b7
call fcn.10009a050
lea rcx, [rsp + 0x30]
call fcn.1000a2fe4
mov edi, eax
test eax, eax
jns 0x1001203a9
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100120633
test byte [rcx + 0x1c], 1
je 0x10012060d
cmp byte [rcx + 0x19], 2
jb 0x10012060d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f10]
mov edx, 0xf
mov r9d, eax
call fcn.10001c878
jmp 0x100120606
cmp byte [rsp + 0x30], 0
je 0x100120606
test bl, bl
je 0x1001204fe
movdqu xmm0, xmmword [0x100166a40]
movdqu xmm1, xmmword [rsi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov r8, r12
mov rdx, rbp
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call fcn.100088460
mov edi, eax
test eax, eax
jns 0x100120444
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100120564
test byte [rcx + 0x1c], 1
je 0x100120564
cmp byte [rcx + 0x19], 2
jb 0x100120564
mov edx, 0x10
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f10]
mov r9d, eax
call fcn.10001c878
mov rbx, qword [rsp + 0x38]
jmp 0x1001205f1
mov rcx, qword [0x1001653b8]
mov rbx, qword [rsp + 0x38]
cmp rcx, r15
je 0x100120479
test byte [rcx + 0x1c], 1
je 0x100120479
cmp byte [rcx + 0x19], 4
jb 0x100120479
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f10]
mov edx, 0x11
mov r9, rbx
call fcn.10001db08
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001204ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1001204ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1001205f8
test byte [rcx + 0x1c], 1
je 0x1001205f8
cmp byte [rcx + 0x19], 4
jb 0x1001205f8
mov edx, 0x12
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f10]
mov r9, rbx
mov dword [rsp + 0x20], edi
call fcn.10001ddb0
jmp 0x1001205f1
test rbx, rbx
je 0x1001204fe
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rsp + 0x38], 0
movdqu xmm0, xmmword [0x100166a40]
movdqu xmm1, xmmword [rsi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rcx, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x40], xmm1
call fcn.100088460
mov edi, eax
test eax, eax
jns 0x10012056e
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100120564
test byte [rcx + 0x1c], 1
je 0x100120564
cmp byte [rcx + 0x19], 2
jb 0x100120564
mov edx, 0x13
jmp 0x100120427
mov rbx, qword [rsp + 0x38]
jmp 0x1001205f8
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1001205c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1001205f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1001205f8
test byte [rcx + 0x1c], 1
je 0x1001205f8
cmp byte [rcx + 0x19], 4
jb 0x1001205f8
mov edx, 0x14
jmp 0x1001204ce
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1001205f8
test byte [rcx + 0x1c], 1
je 0x1001205f8
cmp byte [rcx + 0x19], 4
jb 0x1001205f8
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f10]
mov edx, 0x15
mov r9, rbx
call fcn.10001db08
mov rcx, qword [0x1001653b8]
test rbx, rbx
je 0x10012060d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x100120633
test byte [rcx + 0x1c], 1
je 0x100120633
cmp byte [rcx + 0x19], 4
jb 0x100120633
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002f10]
mov edx, 0x16
call fcn.10001c854
mov eax, edi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret