Function at 0x14006a2a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1ffb0]
mov eax, 0x200b0
call fcn.1400fe470
sub rsp, rax
mov rbx, r8
mov rdi, rdx
mov r15, rcx
mov r12, qword [0x14014c6e0]
mov r9, r8
movzx eax, word [r9]
cmp ax, 0x20
je 0x14006a2f0
cmp ax, 9
jne 0x14006a2f6
add r9, 2
jmp 0x14006a2e0
test ax, ax
je 0x14006a348
cmp ax, 0x2d
je 0x14006a307
cmp ax, 0x2b
jne 0x14006a311
lea rax, [r9 + 2]
mov r9, rax
movzx eax, word [rax]
cmp ax, 0x30
jne 0x14006a348
movzx eax, word [r9 + 2]
sub ax, 0x58
mov ecx, 0xffdf
test cx, ax
jne 0x14006a348
movzx ecx, word [r9 + 4]
call fcn.1400ea440
test eax, eax
je 0x14006a348
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rbx
call fcn.1400ea4ec
jmp 0x14006a350
mov rcx, rbx
call fcn.1400e9f38
mov rsi, rax
cmp rax, 1
jge 0x14006a3ab
mov rax, qword [0x140145a80]
mov dword [rax + 0x40], 0x57
lea rdx, [0x14012296c]
test byte [rax + 0x140], 1
jne 0x14006a394
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [r9 - 1]
mov rcx, qword [0x14014a3b0]
call fcn.1400c6a70
jmp 0x14006a6cc
lea r9, [0x14010d28c]
xor r8d, r8d
mov rcx, r15
call fcn.140050010
jmp 0x14006a6cc
lea rax, vtable.TextStream.0
mov qword [rsp + 0x30], rax
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x44], 0xffffffff
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov ecx, dword [0x14014e738]
cmp ecx, 0xffffffff
je 0x14006a3fe
mov dword [rsp + 0x44], ecx
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetCPInfo]
movzx ecx, byte [rsp + 0x4e]
test eax, eax
cmove ecx, r13d
mov byte [rsp + 0x4e], cl
lea rax, vtable.TextFile.0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
mov rax, qword [0x140145a80]
mov r9d, dword [rax + 0x13c]
btr r9d, 0x1f
mov r8d, 0x30c
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400bec10
test al, al
jne 0x14006a47e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140145a80]
mov dword [rcx + 0x40], eax
test byte [rcx + 0x140], 1
lea rdx, [0x14012296c]
jne 0x14006a622
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [r9 - 1]
mov rcx, qword [0x14014a3b0]
call fcn.1400c6a70
jmp 0x14006a634
mov r14d, dword gs:[0x48]
mov rbx, r13
nop word [rax + rax]
mov r9d, 1
mov r8d, 0xffff
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400bee10
mov edi, eax
test eax, eax
je 0x14006a5c3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x14014e4dc]
mov rcx, qword [0x140145a80]
cmp eax, dword [rcx + 0x118]
jbe 0x14006a50c
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14006a500
cmp dword [0x14014c878], r14d
jne 0x14006a500
mov edx, 1
lea ecx, [rdx - 2]
call fcn.1400018c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x14014e4dc], eax
inc rbx
cmp rbx, rsi
jl 0x14006a490
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x14006a541
cmp qword [rsp + 0x60], 0
jne 0x14006a541
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [rax + 0x20]
mov dword [rsp + 0x3c], r13d
mov word [rsp + 0x5c], r13w
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test edi, edi
je 0x14006a58c
lea edx, [rdi - 1]
cmp word [rbp + rdx*2 - 0x50], 0xa
jne 0x14006a569
mov edi, edx
test edx, edx
je 0x14006a58c
mov r8d, edi
xor r9d, r9d
lea rdx, [rbp - 0x50]
mov byte [rsp + 0x20], 1
mov rcx, r12
call fcn.1400c6a70
test eax, eax
jne 0x14006a597
mov ebx, r13d
jmp 0x14006a636
xor r9d, r9d
xor edx, edx
lea r8, [r9 - 1]
jmp 0x14006a573
mov rax, qword [0x140145a80]
mov dword [rax + 0x40], r13d
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, [0x14010d31c]
mov rcx, qword [0x14014a3b0]
call fcn.1400c6a70
jmp 0x14006a634
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140145a80]
mov dword [rcx + 0x40], eax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x14006a5fc
cmp qword [rsp + 0x60], 0
jne 0x14006a5fc
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [rax + 0x20]
mov dword [rsp + 0x3c], r13d
mov word [rsp + 0x5c], r13w
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [0x140145a80]
test byte [rax + 0x140], 1
jmp 0x14006a454
lea r9, [0x14010d28c]
xor r8d, r8d
mov rcx, r15
call fcn.140050010
mov ebx, eax
lea rax, vtable.TextFile.0
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x14006a66c
cmp qword [rsp + 0x60], 0
jne 0x14006a66c
mov rax, qword [0x14012aa70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call rax
mov dword [rsp + 0x3c], r13d
mov word [rsp + 0x5c], r13w
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14006a69c
mov eax, dword [rsp + 0x38]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x14006a693
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], 0xffffffffffffffff
lea rax, vtable.TextStream.0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006a6ca
xor edx, edx
mov r8d, 0x2000
call fcn.1400e1940
mov rcx, qword [rsp + 0x68]
call fcn.1400e89fc
nop
mov eax, ebx
lea r11, [rsp + 0x200b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret