Function at 0x408e10
Capabilities:
Check for time delay via gettickcount
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x457880]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
cmp dword [0x483c04], ebx
jne 0x408ec5
mov eax, dword [esi + 0x2b818]
push ebx
push 0x408d60
push ebx
push 0x450e7c
push ebx
mov dword [0x457d28], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push str.NVIDIA_Keystone
push eax
mov dword [0x483c04], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x483c04]
cmp eax, ebx
jne 0x408e97
mov ecx, dword [0x457d28]
push ebx
push ebx
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d16e
mov esp, ebp
pop ebp
ret
cmp dword [0x457d80], ebx
jne 0x4090ad
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [0x483c04]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x2ba5c], 1
cmp dword [0x457d80], ebx
jne 0x4090ad
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
jne 0x408f48
push 0x5c
call edi
mov edx, 0x8000
test dx, ax
jne 0x408f48
cmp dword [esi + 0x2ba5c], ebx
jne 0x408f48
mov eax, dword [0x483c04]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4090ac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x483c48]
cmp eax, 0x1388
jbe 0x4090ac
mov ecx, dword [0x483c04]
push ebx
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [0x483c04]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4090ac
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
jne 0x408f62
cmp dword [esi + 0x2ba5c], ebx
je 0x409099
mov dword [ebp - 0xe4], str.Top_Left
mov dword [ebp - 0xe0], str.Bottom_Left
mov dword [ebp - 0xdc], str.Top_Right
mov dword [ebp - 0xd8], str.Bottom_Right
mov dword [ebp - 0xd4], str.Aspect
mov dword [ebp - 0xd0], 0x450f18
mov edx, str.__GDI
cmp dword [esi + 0x2b798], ebx
jne 0x408fb0
mov edx, 0x450c0c
mov ecx, 0x450c0c
cmp dword [esi + 0x2ba50], ebx
jne 0x408fc2
mov ecx, str.__No_Yield
mov eax, str.__Anisotropic
cmp dword [esi + 0x2ba58], ebx
jne 0x408fd4
mov eax, str.__Bilinear
push edx
mov edx, dword [esi + 0x2bbc0]
push ecx
push eax
mov eax, dword [ebp + edx*4 - 0xe4]
push eax
push str._s__s_s_s
mov ecx, 0xc8
lea ebx, [ebp - 0xcc]
call fcn.00403170
fld dword [esi + 0x2b974]
add esp, 0xc
fstp qword [esp]
lea ebx, [esi + 0x2b978]
push str._.02f_fps
mov ecx, 0xb4
call fcn.00403170
mov edx, dword [0x483c04]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0xc
lea ecx, [ebp - 0xcc]
push ecx
push 0x2afa
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x483c04]
push ebx
push 0x2afb
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x483c04]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x409099
mov edx, dword [0x483c04]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x483c04]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x483c04]
push 0
push 0
push 0x8000
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
mov dword [esi + 0x2ba5c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x483c48], eax
pop edi
mov ecx, dword [esi + 0x2ba8c]
mov ecx, dword [esi + ecx*4 + 0x2ba80]
mov eax, dword [esi + 0x2b820]
mov edx, dword [eax]
mov edx, dword [edx + 0x94]
push ecx
push ebx
push eax
call edx
mov eax, dword [esi + 0x2ba8c]
cmp dword [esi + eax*4 + 0x2ba38], ebx
je 0x40910e
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
fld1
mov eax, dword [esi + 0x2b820]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
push ebx
push ecx
fstp dword [esp]
push ebx
push 1
push ebx
push ebx
push eax
call edx
mov eax, dword [esi + 0x2ba8c]
mov dword [esi + eax*4 + 0x2ba38], ebx
mov eax, dword [esi + 0x2b820]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa4]
push eax
call edx
test eax, eax
jl 0x4091a2
mov eax, esi
call fcn.00408800
mov eax, dword [esi + 0x2b820]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push eax
call edx
cmp dword [esi + 0x2b798], ebx
jne 0x409175
cmp dword [esi + 0x2b79c], ebx
jne 0x409175
mov eax, dword [esi + 0x2b788]
mov ecx, dword [esi + 0x2ba8c]
mov edx, dword [esi + ecx*4 + 0x2ba90]
push eax
mov eax, dword [esi + 0x2b820]
push ebx
push edx
push eax
call fcn.00425870
mov dword [esi + 0x2b7a0], ebx
jmp 0x40918e
mov ecx, dword [esi + 0x2b820]
push ebx
push ebx
push ebx
push ecx
call fcn.00425870
mov dword [esi + 0x2b7a0], 1
xor edx, edx
add esp, 0x10
cmp dword [esi + 0x2ba8c], ebx
sete dl
mov dword [esi + 0x2ba8c], edx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0044d16e
mov esp, ebp
pop ebp
ret