Function at 0x469344
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
call sub.WINMM.dll_timeGetTime
sub eax, dword [0x56b6ac]
push 1
pop ecx
cmp eax, ecx
jb 0x46936c
call sub.WINMM.dll_timeGetTime
mov ecx, eax
sub ecx, dword [0x56b6ac]
mov eax, 0x3e8
xor edx, edx
div ecx
push ebx
push esi
push edi
add eax, dword [0x56b6a8]
shr eax, 1
mov dword [0x56b6a8], eax
call sub.WINMM.dll_timeGetTime
mov ecx, 0x56dee4
mov dword [0x56b6ac], eax
call fcn.004cc502
mov ecx, 0x56dfa8
mov esi, eax
call fcn.004cc502
push eax
push esi
mov ecx, 0x571898
call fcn.004c99dd
call sub.WINMM.dll_timeGetTime
mov esi, 0x56b6d0
push 0
mov ecx, esi
call fcn.00480dbe
call sub.WINMM.dll_timeGetTime
mov edi, dword [0x56d164]
mov ebx, dword [0x56d168]
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 0x469419
cmp dword [0x56b614], 0
je 0x469419
push 1
push 1
jmp 0x46941d
push 1
push 0
push ebx
push edi
mov ecx, esi
call fcn.004817c4
call fcn.004ec8e3
cmp byte [ebp + 8], 0
mov ebx, 0x56d0b0
jne 0x469484
call sub.WINMM.dll_timeGetTime
xor edi, edi
cmp dword [0x56b618], edi
jne 0x469451
mov al, byte [ebp - 0x218]
and al, 0x80
cmp al, 0x80
jne 0x469455
push 1
jmp 0x469456
push edi
mov ecx, esi
call fcn.00480c02
mov ecx, ebx
call fcn.004a8758
mov al, byte [ebp - 0x216]
and al, 0x80
cmp al, 0x80
jne 0x469474
push 1
jmp 0x469475
push edi
mov ecx, 0x56af60
call fcn.0047bdc8
call sub.WINMM.dll_timeGetTime
mov ecx, 0x56d2ec
call fcn.004cc502
mov ecx, 0x56d3b0
mov dword [ebp - 8], eax
call fcn.004cc502
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.004ab4a9
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 0x469642
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 0x469580
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 [0x56b6a8]
lea eax, [ebp - 0x128]
push dword [0x571450]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x5716dc
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 0x46966e
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 0x4695d7
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 0x46962c
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 0x469642
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], 0x55dda8
mov dword [ebp - 0x14], str.Jueves
mov dword [ebp - 0x10], str.Viernes
mov dword [ebp - 0xc], 0x55dd90
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 0x46954a
push dword [0x56b6a8]
lea eax, [ebp - 0x128]
push dword [0x571450]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x5716dc
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 0x4696fb
call edi
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0xff000000
push 0
push 0
call fcn.0045fb57
mov ecx, eax
call fcn.0045fb8c
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.0045fb57
mov ecx, eax
call fcn.0045fb8c
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 [0x56d168]
push dword [0x56d164]
call dword [sym.imp.NDSound.dll__DXProcessSound_8]
mov ecx, 0x5716c0
call fcn.004b9e54
pop edi
pop esi
pop ebx
leave
ret