Function at 0x483e6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
call sub.WINMM.dll_timeGetTime
sub eax, dword [0x5d91a0]
push 1
pop ecx
cmp eax, ecx
jb 0x483e94
call sub.WINMM.dll_timeGetTime
mov ecx, eax
sub ecx, dword [0x5d91a0]
mov eax, 0x3e8
xor edx, edx
div ecx
push ebx
push esi
push edi
add eax, dword [0x5d919c]
shr eax, 1
mov dword [0x5d919c], eax
call sub.WINMM.dll_timeGetTime
push dword [0x5db928]
mov dword [0x5d91a0], eax
mov eax, dword [0x5db924]
mov ecx, 0x5df0b0
push eax
call fcn.004e596f
call sub.WINMM.dll_timeGetTime
mov esi, 0x5d91d0
push 0
mov ecx, esi
call fcn.0049f4af
call sub.WINMM.dll_timeGetTime
mov edi, dword [0x5dac9c]
mov ebx, dword [0x5daca0]
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 0x483f35
cmp dword [0x5d907c], 0
je 0x483f35
push 1
push 1
jmp 0x483f39
push 1
push 0
push ebx
push edi
mov ecx, esi
call fcn.0049fefd
call fcn.005190eb
cmp byte [ebp + 8], 0
mov ebx, 0x5dabc0
jne 0x483fa0
call sub.WINMM.dll_timeGetTime
xor edi, edi
cmp dword [0x5d9080], edi
jne 0x483f6d
mov al, byte [ebp - 0x218]
and al, 0x80
cmp al, 0x80
jne 0x483f71
push 1
jmp 0x483f72
push edi
mov ecx, esi
call fcn.0049f2fe
mov ecx, ebx
call fcn.004c8fb6
mov al, byte [ebp - 0x216]
and al, 0x80
cmp al, 0x80
jne 0x483f90
push 1
jmp 0x483f91
push edi
mov ecx, 0x5d85a0
call fcn.00499b1c
call sub.WINMM.dll_timeGetTime
mov eax, dword [0x5dae34]
and byte [ebp - 0x128], 0
mov dword [ebp - 8], eax
mov eax, dword [0x5dae38]
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
stosb byte es:[edi], al
mov eax, dword [sym.imp.MSVCRT.dll__daylight]
mov ecx, ebx
and dword [eax], 0
call fcn.004cc68e
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 0x48415c
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 0x48409a
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 [0x5d919c]
lea eax, [ebp - 0x128]
push dword [0x5dec00]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x5def58
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 0x484188
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 0x4840f1
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 0x484146
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 0x48415c
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], 0x5c8f9c
mov dword [ebp - 0x14], str.Jueves
mov dword [ebp - 0x10], str.Viernes
mov dword [ebp - 0xc], 0x5c8f84
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 0x484064
push dword [0x5d919c]
lea eax, [ebp - 0x128]
push dword [0x5dec00]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x5def58
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 0x484215
call edi
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0xff000000
push 0
push 0
call fcn.00477cc3
mov ecx, eax
call fcn.004f52d6
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.00477cc3
mov ecx, eax
call fcn.004f52d6
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 [0x5daca0]
push dword [0x5dac9c]
call dword [sym.imp.NDSound.dll__DXProcessSound_8]
mov ecx, 0x5df010
call fcn.004dcad9
pop edi
pop esi
pop ebx
leave
ret