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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
lea rbp, [rax - 0x78]
sub rsp, 0x160
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x20], rax
xorps xmm0, xmm0
mov qword [rbp - 0x80], 3
lea rax, str.Game_Windows_Class
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x40], rax
mov rbx, rcx
lea rax, [0x140003300]
movdqa xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x80]
movdqa xmmword [rbp - 0x60], xmm1
xor edi, edi
call qword [sym.imp.USER32.dll_RegisterClassA]
mov rdx, qword [rbp - 0x40]
lea r8, str.ResidentOfKantos___PONG
mov qword [rsp + 0x58], rdi
mov r9d, 0x10cf0000
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
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 rbx, rax
call qword [sym.imp.USER32.dll_GetDC]
movss xmm6, dword [0x140005400]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
mov word [rbp - 0x24], ax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
cmp byte [0x140007634], dil
xorps xmm7, xmm7
cvtsi2ss xmm7, qword [rbp - 0x20]
je 0x14000374c
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x190], r12
mov qword [rsp + 0x198], r13
mov qword [rsp + 0x158], r14
mov qword [rsp + 0x150], r15
nop
xor r9d, r9d
mov byte [rbp - 0x2f], 0
xor r8d, r8d
mov byte [rbp - 0x2d], 0
mov rdx, rbx
mov byte [rbp - 0x2b], 0
lea rcx, [rbp - 0x10]
mov byte [rbp - 0x29], 0
mov byte [rbp - 0x27], 0
mov byte [rbp - 0x25], 0
mov byte [rbp - 0x23], 0
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140003690
movzx edi, byte [rbp - 0x24]
movzx esi, byte [rbp - 0x26]
movzx r14d, byte [rbp - 0x28]
movzx r15d, byte [rbp - 0x2a]
movzx r12d, byte [rbp - 0x2c]
movzx r13d, byte [rbp - 0x2e]
nop dword [rax + rax]
mov eax, dword [rbp - 8]
sub eax, 0x100
je 0x1400035c8
cmp eax, 1
je 0x1400035c8
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp case.0x1400035fb.14
mov rdx, qword [rbp + 8]
mov eax, dword [rbp]
shr rdx, 0x1f
add eax, 0xfffffff3
not dl
and dl, 1
cmp eax, 0x4a
ja case.0x1400035fb.14
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x3794]
mov ecx, dword [r8 + rax*4 + 0x3774]
add rcx, r8
jmp rcx
cmp dl, byte [rbp - 0x30]
mov byte [rbp - 0x30], dl
setne byte [rbp - 0x2f]
jmp case.0x1400035fb.14
cmp dl, r13b
movzx r13d, dl
setne byte [rbp - 0x2d]
jmp case.0x1400035fb.14
cmp dl, r12b
movzx r12d, dl
setne byte [rbp - 0x2b]
jmp case.0x1400035fb.14
cmp dl, r15b
movzx r15d, dl
setne byte [rbp - 0x29]
jmp case.0x1400035fb.14
cmp dl, sil
movzx esi, dl
setne byte [rbp - 0x25]
jmp case.0x1400035fb.14
cmp dl, r14b
movzx r14d, dl
setne byte [rbp - 0x27]
jmp case.0x1400035fb.14
cmp dl, dil
movzx edi, dl
setne byte [rbp - 0x23]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp - 0x10]
mov rdx, rbx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x1400035a0
mov byte [rbp - 0x24], dil
xor edi, edi
mov byte [rbp - 0x26], sil
mov byte [rbp - 0x28], r14b
mov byte [rbp - 0x2a], r15b
mov byte [rbp - 0x2c], r12b
mov byte [rbp - 0x2e], r13b
movaps xmm1, xmm6
lea rcx, [rbp - 0x30]
call fcn.140002990
mov r9d, dword [0x140007c64]
lea rax, [0x140007c70]
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x60], 0xcc0020
xor edx, edx
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x50], rax
mov rax, qword [0x140007c68]
mov qword [rsp + 0x48], rax
mov eax, dword [0x140007c60]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_StretchDIBits]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm6, xmm6
mov rcx, rax
sub rcx, qword [rbp - 0x18]
cmp byte [0x140007634], 0
mov qword [rbp - 0x18], rax
cvtsi2ss xmm6, rcx
divss xmm6, xmm7
jne 0x140003540
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov r13, qword [rsp + 0x198]
mov r12, qword [rsp + 0x190]
mov rsi, qword [rsp + 0x188]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400037f0
movaps xmm6, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x130]
add rsp, 0x160
pop rdi
pop rbx
pop rbp
ret