Function at 0x14001e5ac
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x14002c298]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
xor r14d, r14d
mov dword [rsp + 0x54], r9d
or rdi, 0xffffffffffffffff
mov qword [rsp + 0x68], r8
cmp dword [0x14002d8fc], r14d
mov r15, rdx
mov qword [rbp - 0x78], rcx
mov r12d, r14d
mov dword [rsp + 0x50], r14d
lea edx, [rdi + 2]
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x70], r14
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x5c], r14d
je 0x14001e631
cmp byte [0x14002c428], r14b
je 0x14001e631
mov ecx, edx
mov qword [rbp - 0x68], rdx
jmp 0x14001e638
mov ecx, r14d
mov qword [rbp - 0x68], r14
mov rax, qword [rbp + 0x820]
mov ebx, r14d
cmp rax, qword [0x14002d618]
jge 0x14001e6ae
mov qword [rbp - 0x80], rdx
mov esi, 0x10000
mov word [rbp - 0x50], r14w
test ecx, ecx
je 0x14001e67e
mov rcx, qword [0x14002d148]
lea r8, [rbp - 0x50]
mov r9d, 0x100
lea edx, [r9 - 0x21]
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
mov ecx, esi
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov qword [rbp - 0x58], rax
mov r13, rax
test rax, rax
jne 0x14001e6da
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14001eb29
mov eax, dword [0x14002d610]
mov qword [rbp - 0x80], r14
test eax, eax
je 0x14001e64f
mov esi, 0x418
cmp eax, esi
jbe 0x14001e6d1
mov edx, 0x20000
mov esi, eax
cmp eax, edx
cmovae esi, edx
mov qword [rbp - 0x80], r14
jmp 0x14001e654
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xa000000
mov edx, 0x80000000
mov rcx, r15
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14001ea1a
mov r15, qword [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov edx, 0x40000000
mov dword [rsp + 0x28], 0xa000080
mov rcx, r15
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001e7de
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x11a
jne 0x14001e7a5
and qword [rsp + 0x30], rbx
lea r8d, [rdi + 2]
mov dword [rsp + 0x28], 0xa000080
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001e7de
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp dword [0x14002d804], r12d
mov ebx, eax
je 0x14001ea4f
mov r8d, eax
lea rcx, str._n_____ERROR:_CreateFile_Dst_s__FAILED___d_
mov rdx, r15
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
jmp 0x14001ea4f
mov r15d, dword [0x14002d614]
shl r15, 0xa
mov qword [rbp - 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x60], 1
jmp 0x14001e96a
mov r8d, dword [rsp + 0x50]
test r8d, r8d
je 0x14001ea10
lea rax, [rbp - 0x70]
mov rdx, r13
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x58]
and dword [rsp + 0x28], ebx
mov rcx, rdi
and dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_BackupWrite]
nop dword [rax + rax]
test eax, eax
je 0x14001e9f0
mov eax, dword [rsp + 0x54]
mov rdx, r12
neg eax
sbb rcx, rcx
and rcx, qword [rbp - 0x78]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbp + 0x820]
mov qword [rsp + 0x38], rdi
call fcn.14000df88
mov eax, dword [rsp + 0x58]
add r12, rax
cmp r12, qword [rbp + 0x820]
cmovg r12, qword [rbp + 0x820]
cmp qword [rbp - 0x80], rbx
jne 0x14001e8c1
test r15, r15
je 0x14001e8c1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, eax
xor edx, edx
sub ecx, dword [rsp + 0x78]
imul rax, r12, 0x3e8
div r15
cmp eax, ecx
jbe 0x14001e8c1
sub eax, ecx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
cmp qword [rbp - 0x68], rbx
je 0x14001e96a
mov rax, qword [rbp - 0x78]
xor r13d, r13d
test byte [rax + 0x70], 0x10
je 0x14001e8de
or r15, 0xffffffffffffffff
jmp 0x14001e8e5
mov r15, qword [rax + 0x88]
call fcn.140011b2c
test eax, eax
js 0x14001e962
cmp byte [0x14002c428], bl
je 0x14001e962
mov r9, qword [0x14002c410]
xor eax, eax
mov rcx, qword [0x14002c430]
cmp r9, rcx
jbe 0x14001e911
mov rax, r9
sub rax, rcx
cmp r15, rax
jbe 0x14001e962
test rax, rax
jne 0x14001e962
mov r8d, r13d
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x3b0]
call fcn.14001dd04
lea rdx, [rbp + 0x3b0]
call fcn.1400169a8
mov rcx, qword [0x14002d368]
call qword [sym.imp.msvcrt.dll_fflush]
nop dword [rax + rax]
mov ecx, dword [0x14002c2b0]
inc r13d
mov edx, r13d
call fcn.140011cb8
test eax, eax
jne 0x14001e8e5
mov r13, qword [rbp - 0x58]
mov r15, qword [rbp - 0x60]
lea rax, [rsp + 0x70]
mov r8d, esi
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x50]
and dword [rsp + 0x28], ebx
mov rdx, r13
and dword [rsp + 0x20], ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_BackupRead]
nop dword [rax + rax]
test eax, eax
jne 0x14001e80a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp dword [0x14002d804], 0
mov ebx, eax
je 0x14001e9ca
lea rcx, str._n_____ERROR:_BackupRead_Src__FAILED___d__n
mov edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
neg dword [rsp + 0x54]
mov rdx, r12
mov rcx, qword [rbp + 0x820]
sbb rax, rax
and rax, qword [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
call fcn.14000df88
jmp 0x14001ea4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp dword [0x14002d804], 0
mov ebx, eax
je 0x14001e9ca
lea rcx, str._n_____ERROR:_BackupWrite_Dst__FAILED___d__n
jmp 0x14001e9bc
mov dword [rsp + 0x5c], 1
jmp 0x14001e9ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp dword [0x14002d804], r12d
mov ebx, eax
je 0x14001ea4a
mov r8d, eax
lea rcx, str._n_____ERROR:_CreateFile_Src_s__FAILED___d_
mov rdx, r15
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov r15, qword [rsp + 0x68]
cmp qword [rbp - 0x70], 0
je 0x14001ea83
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
and dword [rsp + 0x28], 0
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_BackupWrite]
nop dword [rax + rax]
cmp rdi, 0xffffffffffffffff
je 0x14001ea98
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
cmp qword [rsp + 0x70], 0
je 0x14001eace
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
and dword [rsp + 0x28], 0
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_BackupRead]
nop dword [rax + rax]
cmp r14, 0xffffffffffffffff
je 0x14001eae3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov edi, dword [rsp + 0x5c]
test edi, edi
jne 0x14001eb27
cmp dword [rsp + 0x60], edi
je 0x14001eb0f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test ebx, ebx
mov eax, 0x6e
cmove ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.140001a50
mov rbx, qword [rsp + 0x918]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret