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

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1ffc0]
mov eax, 0x200c0
call fcn.1400ae8c0
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x200f0], rbx
mov qword [rsp + 0x200f8], rsi
mov rbx, r8
mov rdi, rdx
mov r15, rcx
mov r12, qword [0x1400f5760]
mov rcx, r8
call fcn.14000e2e0
mov rcx, rbx
test al, al
je 0x140045542
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.14009d610
jmp 0x140045547
call fcn.14009d224
mov r14, rax
cmp rax, 1
jge 0x14004556d
mov rax, qword [0x1400edaa8]
mov dword [rax + 0x40], 0x57
mov dl, 1
mov rcx, r15
call fcn.140030e80
jmp 0x140045744
lea rcx, [rsp + 0x30]
call fcn.1400162e0
nop
mov rax, qword [0x1400edaa8]
mov r9d, dword [rax + 0x134]
btr r9d, 0x1f
mov r8d, 0x30c
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140077a00
test al, al
jne 0x1400455b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400edaa8]
mov dword [rcx + 0x40], eax
mov dl, 1
jmp 0x14004572e
xor ebx, ebx
mov edi, ebx
test r14, r14
jle 0x140045698
nop word [rax + rax]
mov r9d, 1
mov r8d, 0xffff
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.140077b70
mov esi, eax
test eax, eax
je 0x140045648
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1400f6574]
mov rcx, qword [0x1400edaa8]
cmp eax, dword [rcx + 0x110]
jbe 0x14004563e
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140045632
mov edx, 1
or ecx, 0xffffffff
call fcn.140001800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f6574], eax
inc rdi
cmp rdi, r14
jl 0x1400455d0
jmp 0x14004569e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400edaa8]
mov dword [rcx + 0x40], eax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x14004567f
cmp qword [rsp + 0x60], rbx
jne 0x14004567f
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x20]
mov dword [rsp + 0x3c], ebx
mov word [rsp + 0x5c], bx
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov dl, 1
jmp 0x14004572e
mov esi, dword [rbp + 0x20008]
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x1400456c5
cmp qword [rsp + 0x60], rbx
jne 0x1400456c5
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x20]
mov dword [rsp + 0x3c], ebx
mov word [rsp + 0x5c], bx
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test esi, esi
je 0x140045708
lea edx, [rsi - 1]
cmp word [rbp + rdx*2 - 0x40], 0xa
cmove esi, edx
test esi, esi
je 0x140045708
mov r8d, esi
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.14007d4e0
test eax, eax
jne 0x140045722
jmp 0x140045738
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, r12
call fcn.14007d4e0
test eax, eax
je 0x140045738
mov rax, qword [0x1400edaa8]
mov dword [rax + 0x40], ebx
xor edx, edx
mov rcx, r15
call fcn.140030e80
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.140016350
mov eax, ebx
lea r11, [rsp + 0x200c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret