Function at 0x1400437f0
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.1400ad480
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 [0x1400f4120]
mov rcx, r8
call fcn.14000e370
mov rcx, rbx
test al, al
je 0x140043852
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.14009c1d0
jmp 0x140043857
call fcn.14009bde4
mov r14, rax
cmp rax, 1
jge 0x14004387d
mov rax, qword [0x1400ebaa8]
mov dword [rax + 0x40], 0x57
mov dl, 1
mov rcx, r15
call fcn.14002f160
jmp 0x140043a54
lea rcx, [rsp + 0x30]
call fcn.140016340
nop
mov rax, qword [0x1400ebaa8]
mov r9d, dword [rax + 0x134]
btr r9d, 0x1f
mov r8d, 0x30c
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400764b0
test al, al
jne 0x1400438c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400ebaa8]
mov dword [rcx + 0x40], eax
mov dl, 1
jmp 0x140043a3e
xor ebx, ebx
mov edi, ebx
test r14, r14
jle 0x1400439a8
nop word [rax + rax]
mov r9d, 1
mov r8d, 0xffff
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.140076620
mov esi, eax
test eax, eax
je 0x140043958
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1400f4f3c]
mov rcx, qword [0x1400ebaa8]
cmp eax, dword [rcx + 0x110]
jbe 0x14004394e
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 0x140043942
mov edx, 1
or ecx, 0xffffffff
call fcn.140001800
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400f4f3c], eax
inc rdi
cmp rdi, r14
jl 0x1400438e0
jmp 0x1400439ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400ebaa8]
mov dword [rcx + 0x40], eax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x14004398f
cmp qword [rsp + 0x60], rbx
jne 0x14004398f
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 0x140043a3e
mov esi, dword [rbp + 0x20008]
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x1400439d5
cmp qword [rsp + 0x60], rbx
jne 0x1400439d5
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 0x140043a18
lea edx, [rsi - 1]
cmp word [rbp + rdx*2 - 0x40], 0xa
cmove esi, edx
test esi, esi
je 0x140043a18
mov r8d, esi
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.14007c070
test eax, eax
jne 0x140043a32
jmp 0x140043a48
mov byte [rsp + 0x20], 1
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, r12
call fcn.14007c070
test eax, eax
je 0x140043a48
mov rax, qword [0x1400ebaa8]
mov dword [rax + 0x40], ebx
xor edx, edx
mov rcx, r15
call fcn.14002f160
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1400163b0
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