Function at 0x180125550
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 [0x1804cd010]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx ebx, dl
mov rdi, rcx
cmp qword [rcx + 0x2f8], 0
je 0x1801259f4
mov rax, qword [rcx + 0x308]
test rax, rax
je 0x1801255cd
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1801259f4
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 0x1801259f4
mov rsi, qword [rdi + 0x188]
test rsi, rsi
je 0x180125608
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x180125608
cmp byte [rdi + 0x1a0], 0
je 0x1801255fe
mov rax, qword [rcx]
call qword [rax + 0x80]
movsd qword [rsi + 0x30], xmm0
jmp 0x180125608
xor edx, edx
mov rcx, rdi
call fcn.18011f0e0
mov rcx, qword [rdi + 0x2f8]
mov rax, qword [rcx]
call qword [rax + 0x150]
test al, al
je 0x180125704
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x1f0]
cmp dword [rdi + 0x168], 2
jne 0x1801259f4
cmp eax, 0xc8
jb 0x1801259f4
test bl, bl
je 0x180125704
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803cab24]
lea rcx, [rbp - 0x30]
call fcn.180005220
nop
lea rcx, [rbp - 0x30]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1801256c4
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801256bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801256bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
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 0x1801259f4
mov rcx, qword [rdi + 0x2f8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test al, al
je 0x1801257ff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x1f0]
cmp dword [rdi + 0x168], 2
jne 0x1801259f4
cmp eax, 0xc8
jb 0x1801259f4
test bl, bl
jne 0x180125807
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], bl
mov r8d, 3
lea rdx, [0x1803cab28]
lea rcx, [rbp - 0x30]
call fcn.180005220
nop
lea rcx, [rbp - 0x30]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1801257bf
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801257ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801257ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
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 0x1801259f4
test bl, bl
je 0x18012588d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803cab24]
lea rcx, [rbp - 0x30]
call fcn.180005220
nop
lea rcx, [rbp - 0x30]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18012587f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012587a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012587a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov word [rdi + 0x1ab], 1
jmp 0x18012590e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803cab28]
lea rcx, [rbp - 0x30]
call fcn.180005220
nop
lea rcx, [rbp - 0x30]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180125905
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180125900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180125900
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
mov word [rdi + 0x1ab], 0x100
movdqa xmm0, xmmword [0x1803e8780]
mov byte [rbp - 0x30], 0
movdqu xmmword [rbp - 0x20], xmm0
movzx edx, bl
mov rcx, rdi
call fcn.180125a80
test al, al
je 0x1801259f4
mov rcx, qword [rdi + 0x1f8]
movzx eax, bl
xor eax, 1
mov dword [rcx + 0x70], eax
lea rcx, [rdi + 0x1b0]
call fcn.18020a390
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 0x1801259f4
mov rcx, qword [rdi + 0x2f0]
test rcx, rcx
je 0x1801259f4
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rbx, rax
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1801259a9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
nop
test rbx, rbx
jne 0x1801259b0
jmp 0x1801259f4
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 0x1801259da
xor edx, edx
call qword [rax + 0x40]
jmp 0x1801259eb
mov rdx, rbx
call qword [rax + 0x40]
mov dl, 1
mov rcx, rdi
call fcn.180123910
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret