Function at 0x180124ea0
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 [0x1804cc010]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx ebx, dl
mov rdi, rcx
cmp qword [rcx + 0x2f8], 0
je 0x180125344
mov rax, qword [rcx + 0x308]
test rax, rax
je 0x180124f1d
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180125344
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 0x180125344
mov rsi, qword [rdi + 0x188]
test rsi, rsi
je 0x180124f58
mov rcx, qword [rdi + 0xe0]
test rcx, rcx
je 0x180124f58
cmp byte [rdi + 0x1a0], 0
je 0x180124f4e
mov rax, qword [rcx]
call qword [rax + 0x80]
movsd qword [rsi + 0x30], xmm0
jmp 0x180124f58
xor edx, edx
mov rcx, rdi
call fcn.18011ea30
mov rcx, qword [rdi + 0x2f8]
mov rax, qword [rcx]
call qword [rax + 0x150]
test al, al
je 0x180125054
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x1f0]
cmp dword [rdi + 0x168], 2
jne 0x180125344
cmp eax, 0xc8
jb 0x180125344
test bl, bl
je 0x180125054
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803c9a98]
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 0x180125014
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012500f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012500f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
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 0x180125344
mov rcx, qword [rdi + 0x2f8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test al, al
je 0x18012514f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x1f0]
cmp dword [rdi + 0x168], 2
jne 0x180125344
cmp eax, 0xc8
jb 0x180125344
test bl, bl
jne 0x180125157
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], bl
mov r8d, 3
lea rdx, [0x1803c9ac8]
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 0x18012510f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18012510a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18012510a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
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 0x180125344
test bl, bl
je 0x1801251dd
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803c9a98]
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 0x1801251cf
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801251ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801251ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov word [rdi + 0x1ab], 1
jmp 0x18012525e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
mov r8d, 3
lea rdx, [0x1803c9ac8]
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 0x180125255
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180125250
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180125250
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov word [rdi + 0x1ab], 0x100
movdqa xmm0, xmmword [0x1803e7610]
mov byte [rbp - 0x30], 0
movdqu xmmword [rbp - 0x20], xmm0
movzx edx, bl
mov rcx, rdi
call fcn.1801253d0
test al, al
je 0x180125344
mov rcx, qword [rdi + 0x1f8]
movzx eax, bl
xor eax, 1
mov dword [rcx + 0x70], eax
lea rcx, [rdi + 0x1b0]
call fcn.180209bc0
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 0x180125344
mov rcx, qword [rdi + 0x2f0]
test rcx, rcx
je 0x180125344
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rbx, rax
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1801252f9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
nop
test rbx, rbx
jne 0x180125300
jmp 0x180125344
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 0x18012532a
xor edx, edx
call qword [rax + 0x40]
jmp 0x18012533b
mov rdx, rbx
call qword [rax + 0x40]
mov dl, 1
mov rcx, rdi
call fcn.180123260
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1803868f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret