Function at 0x47c5b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
call sub.WINMM.dll_timeGetTime
sub eax, dword [0x58f614]
push 1
pop ecx
cmp eax, ecx
jb 0x47c5d8
call sub.WINMM.dll_timeGetTime
mov ecx, eax
sub ecx, dword [0x58f614]
mov eax, 0x3e8
xor edx, edx
div ecx
push ebx
push esi
push edi
add eax, dword [0x58f610]
shr eax, 1
mov dword [0x58f610], eax
call sub.WINMM.dll_timeGetTime
mov ecx, 0x591ea4
mov dword [0x58f614], eax
call fcn.004e65f8
mov ecx, 0x591f68
mov esi, eax
call fcn.004e65f8
push eax
push esi
mov ecx, 0x5958c8
call fcn.004d9c08
call sub.WINMM.dll_timeGetTime
mov esi, 0x58f638
push 0
mov ecx, esi
call fcn.00496bbe
call sub.WINMM.dll_timeGetTime
mov edi, dword [0x5910cc]
mov ebx, dword [0x5910d0]
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 0x47c685
cmp dword [0x58f4f4], 0
je 0x47c685
push 1
push 1
jmp 0x47c689
push 1
push 0
push ebx
push edi
mov ecx, esi
call fcn.004975cf
call fcn.0050850b
cmp byte [ebp + 8], 0
mov ebx, 0x591000
jne 0x47c6f0
call sub.WINMM.dll_timeGetTime
xor edi, edi
cmp dword [0x58f4f8], edi
jne 0x47c6bd
mov al, byte [ebp - 0x218]
and al, 0x80
cmp al, 0x80
jne 0x47c6c1
push 1
jmp 0x47c6c2
push edi
mov ecx, esi
call fcn.00496a02
mov ecx, ebx
call fcn.004bec09
mov al, byte [ebp - 0x216]
and al, 0x80
cmp al, 0x80
jne 0x47c6e0
push 1
jmp 0x47c6e1
push edi
mov ecx, 0x58ee40
call fcn.0049174f
call sub.WINMM.dll_timeGetTime
mov ecx, 0x591254
call fcn.004e65f8
mov ecx, 0x591318
mov dword [ebp - 8], eax
call fcn.004e65f8
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
stosb byte es:[edi], al
mov eax, dword [sym.imp.MSVCRT.dll__daylight]
mov ecx, ebx
and dword [eax], 0
call fcn.004c1c69
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 0x47c8b6
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 0x47c7f4
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 [0x58f610]
lea eax, [ebp - 0x128]
push dword [0x595550]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x595820
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 0x47c8e2
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 0x47c84b
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 0x47c8a0
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 0x47c8b6
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], 0x581970
mov dword [ebp - 0x14], str.Jueves
mov dword [ebp - 0x10], str.Viernes
mov dword [ebp - 0xc], 0x581958
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 0x47c7be
push dword [0x58f610]
lea eax, [ebp - 0x128]
push dword [0x595550]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x595820
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 0x47c96f
call edi
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0xff000000
push 0
push 0
call fcn.004705d4
mov ecx, eax
call fcn.00401f9f
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.004705d4
mov ecx, eax
call fcn.00401f9f
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 [0x5910d0]
push dword [0x5910cc]
call dword [sym.imp.NDSound.dll__DXProcessSound_8]
mov ecx, 0x595800
call fcn.004d124e
pop edi
pop esi
pop ebx
leave
ret