Function at 0x140002984
Capabilities:
Delete file

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x140012010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
xor r13d, r13d
mov qword [rsp + 0x78], r13
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [rdx + 0x10]
movsd qword [rsp + 0x40], xmm1
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
call qword [rax + 0x50]
test eax, eax
jne 0x140002ce9
mov qword [rsp + 0x70], r13
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [r15 + 0x10]
movsd qword [rsp + 0x40], xmm1
mov rax, qword [r14]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [rax + 0x58]
test eax, eax
jne 0x140002cdd
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.140001f40
nop
cmp qword [rsp + 0xb0], r13
je 0x140002cc4
cmp dword [0x14001307c], r13d
je 0x140002b1b
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea r8d, [r13 + 1]
mov dl, 0x1d
mov cl, 0x11
call qword [0x140012fd0]
xor r9d, r9d
lea r8d, [r13 + 1]
mov dl, 0x2f
mov cl, 0x54
call qword [0x140012fd0]
xor r9d, r9d
lea ebx, [r13 + 3]
mov r8d, ebx
mov dl, 0x2f
mov cl, 0x54
call qword [0x140012fd0]
xor r9d, r9d
mov r8d, ebx
mov dl, 0x1d
mov cl, 0x11
call qword [0x140012fd0]
lea ecx, [rbx + 0x61]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x140012410]
cmp qword [0x140012428], 8
cmovae r8, qword [0x140012410]
mov rdx, r15
mov rcx, r14
call fcn.140001edc
xor r9d, r9d
lea ebx, [r13 + 0xd]
mov r8d, ebx
mov edx, 0x100
mov rcx, qword [r12]
call qword [0x140012fc0]
xor r9d, r9d
mov r8d, ebx
mov edx, 0x101
mov rcx, qword [r12]
call qword [0x140012fc0]
lea rcx, [0x140012450]
cmp qword [0x140012468], 0x10
cmovae rcx, qword [0x140012450]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x14001307c], r13d
jmp 0x140002cc4
cmp dword [0x140012fd8], r13d
je 0x140002b3b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140012fdc]
cmp eax, 0x36ee80
jbe 0x140002cc4
lea rdx, [0x1400123d0]
cmp qword [0x1400123e8], 8
cmovae rdx, qword [0x1400123d0]
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], r13w
or rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140002b7e
lea rcx, [rsp + 0x80]
call fcn.140004ce0
nop
lea r9, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae r9, qword [rsp + 0xa0]
inc rsi
cmp word [r9 + rsi*2], r13w
jne 0x140002bb0
mov rcx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
sub rax, rcx
cmp rsi, rax
ja 0x140002c0f
lea rdi, [rcx + rsi]
mov qword [rsp + 0x90], rdi
lea rbx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rbx, qword [rsp + 0x80]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r13w
jmp 0x140002c24
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x80]
call fcn.140005768
lea r8, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae r8, qword [rsp + 0x80]
mov rdx, r15
mov rcx, r14
call fcn.140001edc
mov ebx, 3
mov word [rsp + 0x30], bx
mov dword [rsp + 0x38], r13d
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x60], xmm1
mov rax, qword [r14]
lea r8, [rsp + 0x50]
lea edx, [rbx - 2]
mov rcx, r14
call qword [rax + 0xa8]
xor r9d, r9d
lea ebx, [r9 + 0xd]
mov r8d, ebx
mov edx, 0x100
mov rcx, qword [r12]
call qword [0x140012fc0]
xor r9d, r9d
mov r8d, ebx
mov edx, 0x101
mov rcx, qword [r12]
call qword [0x140012fc0]
mov dword [0x140012fd8], r13d
lea rcx, [rsp + 0x80]
call fcn.14000464c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rcx, [rsp + 0xa0]
call fcn.14000464c
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000b210
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret