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

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x5f]
sub rsp, 0xe8
mov rax, qword [0x7ff7904d6b68]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov qword [r11 + 0x10], rsi
mov rbx, rcx
mov qword [r11 - 0x18], r12
lea rsi, [rcx + 0x370]
mov qword [r11 - 0x20], r14
lea r12, [0x7ff7904d5178]
mov qword [r11 - 0x28], r15
xor r15d, r15d
mov qword [r11 + 0x18], rdi
nop word [rax + rax]
lea rcx, [rbp - 0x31]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rax, qword [rbp - 0x31]
lea rcx, [rbp - 0x61]
xor r9d, r9d
mov qword [0x7ff7904d6bb4], rax
xor r8d, r8d
mov dword [rsp + 0x20], 1
xor edx, edx
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_PeekMessageW]
nop dword [rax + rax]
test eax, eax
je 0x7ff790195bbb
lea rcx, [rbp - 0x29]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rax, qword [rbp - 0x29]
mov r8d, dword [rbp - 0x59]
mov qword [0x7ff7904d6bb4], rax
cmp r8d, 0x12
je 0x7ff7901eee6a
cmp dword [rbx + 0x1c4], r15d
je 0x7ff790195adf
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, dword [rbp - 0x41]
mov edi, eax
test ecx, ecx
je 0x7ff790195adb
cmp eax, ecx
jb 0x7ff790195adb
mov r10d, dword [rbx + 0x1c8]
mov r8d, eax
sub r8d, ecx
xor r9b, r9b
inc r8d
cmp r8d, 2
jae 0x7ff790195bf5
mov r8d, dword [rbp - 0x59]
cmp r8d, 0x100
je 0x7ff7901eedd6
lea eax, [r8 - 0x201]
cmp eax, 1
jbe 0x7ff7901eee16
movups xmm0, xmmword [rbp - 0x61]
mov rcx, qword [rbx + 0x370]
lea rsi, [rbx + 0x370]
movups xmm1, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rbp - 0x41]
mov rax, qword [rcx]
movaps xmmword [rbp - 9], xmm1
movaps xmmword [rbp + 7], xmm0
movabs r10, 0xcd341759785bf370
mov rax, qword [rax + 0x38]
lea rdx, [rbp - 0x19]
call qword [0x7ff79045bf28]
test al, al
jne 0x7ff790195a30
mov rdx, qword [rbx + 0x110]
test rdx, rdx
je 0x7ff790195b74
mov rcx, qword [rbx + 8]
lea r8, [rbp - 0x61]
lea rsi, [rbx + 0x370]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
nop dword [rax + rax]
test eax, eax
jne 0x7ff790195a30
lea rcx, [rbp - 0x61]
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_TranslateMessage]
nop dword [rax + rax]
lea rcx, [rbp - 0x61]
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_DispatchMessageW]
nop dword [rax + rax]
lea rcx, [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov rax, qword [rbp - 0x21]
lea rsi, [rbx + 0x370]
mov qword [0x7ff7904d6bb4], rax
jmp 0x7ff790195a30
mov qword [0x7ff7904d6bb4], r15
cmp byte [rbx + 0x1ec], r15b
je 0x7ff790195c8a
mov rcx, qword [rsi]
mov rax, qword [rcx]
movabs r10, 0xfc8c8f517457c870
mov rax, qword [rax + 0x28]
call qword [0x7ff79045bf28]
lea rsi, [rbx + 0x370]
jmp 0x7ff790195a30
mov edx, dword [rbx + 0x1cc]
mov r11d, 0x64
movzx esi, byte [rbx + 0x1ec]
sub r11d, edx
imul r11d, r10d
mov eax, edx
imul eax, r8d
add r11d, eax
mov ecx, r11d
test sil, sil
jne 0x7ff790195caf
mov eax, 0x51eb851f
mul ecx
mov eax, dword [rbx + 0x1d0]
shr edx, 5
mov dword [rbx + 0x1c8], edx
cmp edx, eax
ja 0x7ff790195ced
mov byte [rbx + 0x1e0], r9b
mov dword [rbx + 0x1d8], r15d
mov byte [rbx + 0x1ec], r15b
mov dword [rbx + 0x1e8], edi
jmp 0x7ff790195adb
cmp r8d, dword [rbx + 0x1d4]
ja 0x7ff7901eed9d
test r9b, r9b
jne 0x7ff7901eed9d
mov byte [rbx + 0x1ec], r15b
mov dword [rbx + 0x1e8], edi
jmp 0x7ff790195adb
mov byte [rbx + 0x1ec], 1
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 0x1e4], eax
lea rsi, [rbx + 0x370]
jmp 0x7ff790195bcf
mov eax, edi
sub eax, dword [rbx + 0x1e4]
cmp eax, dword [rbx + 0x1f4]
jbe 0x7ff790195c24
imul eax, r10d, 0x64
cmp eax, r11d
jbe 0x7ff790195c24
imul edx, dword [rbx + 0x1f0]
mov ecx, 0x64
sub ecx, edx
imul edx, r8d
imul ecx, r10d
add ecx, edx
jmp 0x7ff790195c24
movzx edx, byte [rbx + 0x1e0]
lea rcx, [rbx + 0x1d8]
test dl, dl
je 0x7ff790195d2e
mov r10d, dword [rcx]
sub r10d, dword [rbx + 0x1e8]
add r10d, edi
mov dword [rcx], r10d
test sil, sil
jne 0x7ff7901eed8a
cmp r10d, dword [rbx + 0x1dc]
ja 0x7ff790195d43
test dl, dl
je 0x7ff790195c78
jmp 0x7ff790195c62
xor dl, dl
cmp r10d, eax
ja 0x7ff790195d21
mov byte [rbx + 0x1e0], 1
mov dl, 1
mov dword [rcx], r8d
jmp 0x7ff790195d21
mov r9b, 1
jmp 0x7ff790195c62
mov eax, dword [rbx + 0x1e4]
sub eax, edi
add r10d, eax
mov dword [rcx], r10d
jmp 0x7ff790195d18
mov byte [rbx + 0x1e0], r15b
mov dword [rcx], r15d
test byte [0x7ff7904d9cc1], 1
mov word [rbp - 0x69], r15w
je 0x7ff790195c78
mov r8d, dword [rbx + 0x1c4]
lea r9, [rbp - 0x69]
lea rdx, [0x7ff790467238]
call fcn.7ff79017c2e0
nop
jmp 0x7ff790195c78
cmp qword [rbp - 0x51], 0xd
jne 0x7ff790195afc
test byte [0x7ff7904d9cc0], 1
je 0x7ff790195afc
lea rax, [rbp + 0x17]
mov r9d, 1
lea rdx, [0x7ff7904836b8]
mov qword [rsp + 0x20], rax
lea rcx, [0x7ff7904d5510]
call fcn.7ff79017c950
nop
jmp 0x7ff790195afc
mov rcx, qword [0x7ff7904d5178]
cmp rcx, r12
je 0x7ff7901eee44
test byte [rcx + 0x1c], 8
je 0x7ff7901eee44
mov rcx, qword [rcx + 0x10]
mov r9d, r8d
lea r8, [0x7ff790488378]
mov edx, 0xa
call fcn.7ff790281a00
mov r8d, dword [rbp - 0x59]
test byte [0x7ff7904d9cc0], 1
je 0x7ff790195afc
lea rdx, [0x7ff790483a68]
lea rcx, [0x7ff7904d5510]
call 0x7ff790244458
nop
jmp 0x7ff790195afc
mov rcx, qword [rbx + 8]
mov r15, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x108]
test rcx, rcx
je 0x7ff7901eef09
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_IsWindow]
nop dword [rax + rax]
test eax, eax
je 0x7ff7901eef09
cmp dword [0x7ff7904d9fc4], 0
jne 0x7ff7901eeee6
cmp dword [rbx + 0x1b8], 0
jne 0x7ff7901eeee6
test byte [0x7ff7904d9cc0], 1
mov dword [0x7ff7904d9fc4], 1
je 0x7ff7901eeee6
xor r8d, r8d
lea rdx, [0x7ff790483958]
lea rcx, [0x7ff7904d5510]
call 0x7ff790244458
mov rcx, rbx
call fcn.7ff7901f1efe
mov rcx, qword [rbx + 8]
xor r9d, r9d
lea edx, [r9 + 0x16]
lea r8d, [r9 + 1]
call qword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.7ff7901bf100
add rsp, 0xe8
pop rbx
pop rbp
ret