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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rbp + 0x1020], rax
mov r12, r9
mov rsi, r8
mov r13, rdx
mov r14, rcx
mov rax, qword [rbp + 0x1090]
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rax
mov edi, eax
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400e733c
nop
mov rax, qword [rsi]
lea r9, [rsp + 0x48]
mov r8d, 0xa0
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x1400a1ff7.0]
test eax, eax
jne 0x140017342
cmp qword [rsp + 0x48], rdi
je 0x140017359
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r15d, eax
lea ebx, [rdi + 1]
jmp 0x14001731c
cmp dword [r14 + 0x14], 0
je 0x140017137
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r15d
xor edi, edi
cmp eax, dword [r14 + 0x14]
ja 0x140017342
mov dword [rsp + 0x30], 0x70000000
mov rax, qword [rsi]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov edx, ebx
mov rcx, rsi
mov rax, qword [rax + 0x48]
call qword [case.0x1400a1ff7.0]
test dword [rsp + 0x30], 0x20000000
je 0x1400172fb
call fcn.140089140
mov edi, 0x500
cmp eax, edi
jb 0x140017181
test dword [rsp + 0x30], 0x10000000
jne 0x14001718e
call fcn.140089140
cmp eax, edi
jae 0x1400172fb
mov edi, 0x80000000
mov dword [rsp + 0x40], edi
mov rax, qword [rsi]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov edx, ebx
mov rcx, rsi
mov rax, qword [rax + 0x48]
call qword [case.0x1400a1ff7.0]
mov eax, dword [rsp + 0x40]
and eax, edi
or dword [rsp + 0x30], eax
mov dword [rsp + 0x68], 0x27
jge 0x1400171d2
mov dword [rbp - 0x6c], ebx
mov dword [rsp + 0x68], 0x67
mov rcx, qword [0x1401f7cf8]
mov rax, qword [rcx]
mov edx, 0x18
mov rax, qword [rax + 0x18]
call qword [case.0x1400a1ff7.0]
mov rbx, rax
xor edi, edi
test rax, rax
je 0x140017342
mov qword [rsp + 0x20], 0x800
lea r9, [rbp + 0x20]
lea r8d, [rdi + 1]
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140018888
test al, al
je 0x140017342
lea rax, [rbp + 0x20]
mov qword [rbp - 0x80], rax
mov rdx, qword [rsp + 0x38]
mov rcx, r12
call fcn.140016b64
mov rdi, rax
test rax, rax
je 0x140017342
mov rcx, qword [rsp + 0x38]
call fcn.140016c5c
mov qword [rbx + 8], rax
lea r8, [rsp + 0x68]
mov rdx, rdi
mov rcx, r14
call fcn.140017688
mov qword [rbx], rsi
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400a1ff7.0]
mov rdx, qword [rsp + 0x38]
mov rcx, r12
call fcn.140016b64
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140017342
mov qword [rbp - 0x68], rbx
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rbp - 0x78]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rbp - 0x68]
movsd qword [rbp], xmm1
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x38], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x40], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
mov edx, 0x1132
mov rcx, r13
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1401f7cf8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x28]
mov rdx, rdi
call qword [case.0x1400a1ff7.0]
mov ebx, 1
mov rcx, qword [0x1401f7cf8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x28]
mov rdx, qword [rsp + 0x38]
call qword [case.0x1400a1ff7.0]
and qword [rsp + 0x38], 0
xor edi, edi
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x38]
mov edx, ebx
mov rax, qword [rax + 0x18]
call qword [case.0x1400a1ff7.0]
test eax, eax
je 0x14001711b
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140017359
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a1ff7.0]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140017377
mov rcx, qword [0x1401f7cf8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a1ff7.0]
test rdi, rdi
je 0x140017394
mov rcx, qword [0x1401f7cf8]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 0x28]
call qword [case.0x1400a1ff7.0]
nop
lea rcx, [rbp - 0x60]
call fcn.1400e7380
mov rcx, qword [rbp + 0x1020]
xor rcx, rsp
call fcn.140119970
mov rbx, qword [rsp + 0x1170]
add rsp, 0x1130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret