Function at 0x140001790
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 8], rax
xorps xmm0, xmm0
mov qword [rsp + 0x70], 3
lea rax, str.Game_Window
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x50], rax
mov rbx, rcx
lea rax, [0x140001680]
movdqa xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm1
xor r13d, r13d
call qword [sym.imp.USER32.dll_RegisterClassA]
mov rdx, qword [rbp - 0x50]
lea r8, str.Frogster
mov qword [rsp + 0x58], r13
mov r9d, 0x10cf0000
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 0x2d0
mov dword [rsp + 0x30], 0x500
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov r15, rax
call qword [sym.imp.USER32.dll_GetDC]
movss xmm6, dword [0x140003380]
lea rcx, [rbp - 0x30]
mov r12, rax
mov qword [rbp - 0x40], r13
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
cmp byte [0x140005038], r13b
xorps xmm7, xmm7
cvtsi2ss xmm7, qword [rbp - 0x38]
je 0x140001a48
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x178], r14
nop dword [rax]
xor r9d, r9d
mov byte [rbp - 0x3f], r13b
xor r8d, r8d
mov byte [rbp - 0x3d], r13b
mov rdx, r15
mov byte [rbp - 0x3b], r13b
lea rcx, [rbp - 0x28]
mov byte [rbp - 0x39], r13b
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14000199b
movzx ebx, byte [rbp - 0x3a]
movzx edi, byte [rbp - 0x3c]
movzx esi, byte [rbp - 0x3e]
movzx r14d, byte [rbp - 0x40]
mov eax, dword [rbp - 0x20]
sub eax, 0x100
je 0x140001919
cmp eax, 1
je 0x140001919
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140001969
test qword [rbp - 0x10], 0xffffffff80000000
mov eax, dword [rbp - 0x18]
sete cl
sub eax, 0x25
je 0x14000195f
sub eax, 1
je 0x140001952
sub eax, 1
je 0x140001947
cmp eax, 1
jne 0x140001969
cmp cl, sil
movzx esi, cl
setne byte [rbp - 0x3d]
jmp 0x140001969
cmp cl, bl
movzx ebx, cl
setne byte [rbp - 0x39]
jmp 0x140001969
cmp cl, r14b
movzx r14d, cl
setne byte [rbp - 0x3f]
jmp 0x140001969
cmp cl, dil
movzx edi, cl
setne byte [rbp - 0x3b]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x28]
mov rdx, r15
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x1400018f4
mov byte [rbp - 0x3a], bl
mov byte [rbp - 0x3c], dil
mov byte [rbp - 0x3e], sil
mov byte [rbp - 0x40], r14b
movaps xmm1, xmm6
lea rcx, [rbp - 0x40]
call fcn.1400011e0
mov r9d, dword [0x140005644]
lea rax, [0x140005650]
mov dword [rsp + 0x60], 0xcc0020
xor r8d, r8d
mov dword [rsp + 0x58], r13d
xor edx, edx
mov qword [rsp + 0x50], rax
mov rcx, r12
mov rax, qword [0x140005648]
mov qword [rsp + 0x48], rax
mov eax, dword [0x140005640]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_StretchDIBits]
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x38]
xorps xmm6, xmm6
mov rcx, rax
sub rcx, qword [rbp - 0x30]
cmp byte [0x140005038], r13b
mov qword [rbp - 0x30], rax
cvtsi2ss xmm6, rcx
divss xmm6, xmm7
jne 0x1400018b0
mov r14, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x168]
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140001a90
movaps xmm6, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x110]
add rsp, 0x130
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret