Function at 0x468e25
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
call sub.WINMM.dll_timeGetTime
sub eax, dword [0x56966c]
push 1
pop ecx
cmp eax, ecx
jb 0x468e4d
call sub.WINMM.dll_timeGetTime
mov ecx, eax
sub ecx, dword [0x56966c]
mov eax, 0x3e8
xor edx, edx
div ecx
push ebx
push esi
push edi
add eax, dword [0x569668]
shr eax, 1
mov dword [0x569668], eax
call sub.WINMM.dll_timeGetTime
mov ecx, 0x56be8c
mov dword [0x56966c], eax
call fcn.004cb2b8
mov ecx, 0x56bf50
mov esi, eax
call fcn.004cb2b8
push eax
push esi
mov ecx, 0x56f7f8
call fcn.004c88ad
call sub.WINMM.dll_timeGetTime
mov esi, 0x569690
push 0
mov ecx, esi
call fcn.004807ee
call sub.WINMM.dll_timeGetTime
mov edi, dword [0x56b10c]
mov ebx, dword [0x56b110]
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenWidth_void_]
push 0xfffffffffffffffe
cdq
pop ecx
idiv ecx
add edi, eax
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenHeight_void_]
push 0xfffffffffffffffe
cdq
pop ecx
idiv ecx
add ebx, eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, byte [ebp - 0x216]
and al, 0x80
cmp al, 0x80
jne 0x468efa
cmp dword [0x5695d4], 0
je 0x468efa
push 1
push 1
jmp 0x468efe
push 1
push 0
push ebx
push edi
mov ecx, esi
call fcn.004811f4
call fcn.004ea997
cmp byte [ebp + 8], 0
mov ebx, 0x56b070
jne 0x468f65
call sub.WINMM.dll_timeGetTime
xor edi, edi
cmp dword [0x5695d8], edi
jne 0x468f32
mov al, byte [ebp - 0x218]
and al, 0x80
cmp al, 0x80
jne 0x468f36
push 1
jmp 0x468f37
push edi
mov ecx, esi
call fcn.00480632
mov ecx, ebx
call fcn.004a7f56
mov al, byte [ebp - 0x216]
and al, 0x80
cmp al, 0x80
jne 0x468f55
push 1
jmp 0x468f56
push edi
mov ecx, 0x568f20
call fcn.0047b787
call sub.WINMM.dll_timeGetTime
mov ecx, 0x56b294
call fcn.004cb2b8
mov ecx, 0x56b358
mov dword [ebp - 8], eax
call fcn.004cb2b8
and byte [ebp - 0x128], 0
push 0x3f
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
stosb byte es:[edi], al
call fcn.004aacad
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_localtime]
mov edi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov esi, eax
test esi, esi
pop ecx
je 0x469123
call edi
mov edx, dword [eax]
push str.English
mov ecx, eax
call dword [edx + 0x34]
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
push eax
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x469061
push dword [esi + 4]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x24], str.Sunday
mov dword [ebp - 0x20], str.Monday
push dword [esi + 8]
mov dword [ebp - 0x1c], str.Tuesday
mov dword [ebp - 0x18], str.Wednesday
mov dword [ebp - 0x14], str.Thursday
mov dword [ebp - 0x10], str.Friday
mov dword [ebp - 0xc], str.Saturday
push dword [ebp + eax*4 - 0x24]
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0xc]
inc eax
push eax
push dword [0x569668]
lea eax, [ebp - 0x128]
push dword [0x56f3c8]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x56f64c
push str.__s____03d__03d__Ping:__04d__Fps:__02d___02d__02d__d__s__02d:_02d
push 0xff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x38
jmp 0x46914f
call edi
mov edx, dword [eax]
push str.French
mov ecx, eax
call dword [edx + 0x34]
push eax
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x4690b8
push dword [esi + 4]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x24], str.Dimanche
mov dword [ebp - 0x20], str.Lundi
push dword [esi + 8]
mov dword [ebp - 0x1c], str.Mardi
mov dword [ebp - 0x18], str.Mercredi
mov dword [ebp - 0x14], str.Jeudi
mov dword [ebp - 0x10], str.Vendredi
mov dword [ebp - 0xc], str.Samedi
push dword [ebp + eax*4 - 0x24]
jmp 0x46910d
call edi
mov edx, dword [eax]
push str.Spanish
mov ecx, eax
call dword [edx + 0x34]
push eax
call ebx
pop ecx
test eax, eax
pop ecx
jne 0x469123
push dword [esi + 4]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x24], str.Domingo
mov dword [ebp - 0x20], str.Lunes
push dword [esi + 8]
mov dword [ebp - 0x1c], str.Martes
mov dword [ebp - 0x18], 0x55bda8
mov dword [ebp - 0x14], str.Jueves
mov dword [ebp - 0x10], str.Viernes
mov dword [ebp - 0xc], 0x55bd90
push dword [ebp + eax*4 - 0x24]
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
mov eax, dword [esi + 0x10]
inc eax
push eax
push dword [esi + 0xc]
jmp 0x46902b
push dword [0x569668]
lea eax, [ebp - 0x128]
push dword [0x56f3c8]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x56f64c
push str.__s____03d__03d__ping_d__Fps:_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x1c
cmp byte [ebp + 8], 0
jne 0x4691dc
call edi
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0xff000000
push 0
push 0
call fcn.0045f70c
mov ecx, eax
call fcn.004cc09e
push eax
mov eax, dword [esi]
mov ebx, 0x2741
mov ecx, esi
push ebx
call dword [eax + 0x3c]
mov esi, dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::ShowStringEx_int__int__unsigned_long_int__char_const___char_const___int__int__enum_RENDER_TEXT_STYLE__unsigned_long_int__struct_CMyPos__]
push eax
lea eax, [ebp - 0x128]
push eax
push 0x7f7f7f
push 3
push 6
call esi
add esp, 0x28
call edi
mov edi, eax
lea eax, [ebp - 8]
push eax
push 0xff000000
push 0
push 0
call fcn.0045f70c
mov ecx, eax
call fcn.004cc09e
push eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x128]
push eax
push 0xffff00
push 2
push 5
call esi
add esp, 0x28
push dword [0x56b110]
push dword [0x56b10c]
call dword [sym.imp.NDSound.dll__DXProcessSound_8]
mov ecx, 0x56f630
call fcn.004b95d1
pop edi
pop esi
pop ebx
leave
ret