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

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx ebx, dl
mov rdi, rcx
cmp qword [rcx + 0x2f8], 0
je 0x18012a8c4
mov rax, qword [rcx + 0x308]
test rax, rax
je 0x18012a49d
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18012a8c4
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44b
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x18012a8c4
mov rsi, qword [rdi + 0x188]
test rsi, rsi
je 0x18012a4d8
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x18012a4d8
cmp byte [rdi + 0x1a0], 0
je 0x18012a4ce
mov rax, qword [rcx]
call qword [rax + 0x80]
movsd qword [rsi + 0x30], xmm0
jmp 0x18012a4d8
xor edx, edx
mov rcx, rdi
call fcn.180124080
mov rcx, qword [rdi + 0x2f8]
mov rax, qword [rcx]
call qword [rax + 0x150]
test al, al
je 0x18012a5d4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x1f0]
cmp dword [rdi + 0x168], 2
jne 0x18012a8c4
cmp eax, 0xc8
jb 0x18012a8c4
test bl, bl
je 0x18012a5d4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803d89e8]
lea rcx, [rbp - 0x30]
call fcn.180006050
nop
lea rcx, [rbp - 0x30]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18012a594
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012a58f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012a58f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov word [rdi + 0x1ab], 1
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor r9d, r9d
mov edx, VarUI4FromDisp
mov r8d, 0x11cb
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x18012a8c4
mov rcx, qword [rdi + 0x2f8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test al, al
je 0x18012a6cf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x1f0]
cmp dword [rdi + 0x168], 2
jne 0x18012a8c4
cmp eax, 0xc8
jb 0x18012a8c4
test bl, bl
jne 0x18012a6d7
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], bl
mov r8d, 3
lea rdx, [0x1803d89ec]
lea rcx, [rbp - 0x30]
call fcn.180006050
nop
lea rcx, [rbp - 0x30]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18012a68f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012a68a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012a68a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov word [rdi + 0x1ab], 0x100
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor r9d, r9d
mov edx, VarUI4FromDisp
mov r8d, 0x11ca
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x18012a8c4
test bl, bl
je 0x18012a75d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803d89e8]
lea rcx, [rbp - 0x30]
call fcn.180006050
nop
lea rcx, [rbp - 0x30]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18012a74f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012a74a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012a74a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov word [rdi + 0x1ab], 1
jmp 0x18012a7de
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803d89ec]
lea rcx, [rbp - 0x30]
call fcn.180006050
nop
lea rcx, [rbp - 0x30]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18012a7d5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012a7d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012a7d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov word [rdi + 0x1ab], 0x100
movdqa xmm0, xmmword [0x1803f7250]
mov byte [rbp - 0x30], 0
movdqu xmmword [rbp - 0x20], xmm0
movzx edx, bl
mov rcx, rdi
call fcn.18012a950
test al, al
je 0x18012a8c4
mov rcx, qword [rdi + 0x1f8]
movzx eax, bl
xor eax, 1
mov dword [rcx + 0x70], eax
lea rcx, [rdi + 0x1b0]
call fcn.18020ad90
movzx ebx, bl
add ebx, 0x11ca
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor r9d, r9d
mov r8d, ebx
mov edx, VarUI4FromDisp
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [rdi + 0xe0], 0
je 0x18012a8c4
mov rcx, qword [rdi + 0x2f0]
test rcx, rcx
je 0x18012a8c4
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rbx, rax
mov qword [rbp - 0x38], rax
test rax, rax
je 0x18012a879
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
nop
test rbx, rbx
jne 0x18012a880
jmp 0x18012a8c4
mov rax, qword [rbx]
mov edx, 2
mov rcx, rbx
call qword [rax + pe_nt_image_headers64]
add eax, 0xfffffffe
mov rcx, qword [rdi + 0xe0]
cmp eax, 1
mov rax, qword [rcx]
jbe 0x18012a8aa
xor edx, edx
call qword [rax + 0x40]
jmp 0x18012a8bb
mov rdx, rbx
call qword [rax + 0x40]
mov dl, 1
mov rcx, rdi
call fcn.1801287d0
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180393f50
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret