Function at 0x47c444
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
call sub.WINMM.dll_timeGetTime
sub eax, dword [0x58e754]
push 1
pop ecx
cmp eax, ecx
jb 0x47c46c
call sub.WINMM.dll_timeGetTime
mov ecx, eax
sub ecx, dword [0x58e754]
mov eax, 0x3e8
xor edx, edx
div ecx
push ebx
push esi
push edi
add eax, dword [0x58e750]
shr eax, 1
mov dword [0x58e750], eax
call sub.WINMM.dll_timeGetTime
mov ecx, 0x590fe4
mov dword [0x58e754], eax
call fcn.004e63a4
mov ecx, 0x5910a8
mov esi, eax
call fcn.004e63a4
push eax
push esi
mov ecx, 0x594a08
call fcn.004d9aa0
call sub.WINMM.dll_timeGetTime
mov esi, 0x58e778
push 0
mov ecx, esi
call fcn.00496a7e
call sub.WINMM.dll_timeGetTime
mov edi, dword [0x59020c]
mov ebx, dword [0x590210]
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 0x47c519
cmp dword [0x58e634], 0
je 0x47c519
push 1
push 1
jmp 0x47c51d
push 1
push 0
push ebx
push edi
mov ecx, esi
call fcn.0049748f
call fcn.005083a9
cmp byte [ebp + 8], 0
mov ebx, 0x590140
jne 0x47c584
call sub.WINMM.dll_timeGetTime
xor edi, edi
cmp dword [0x58e638], edi
jne 0x47c551
mov al, byte [ebp - 0x218]
and al, 0x80
cmp al, 0x80
jne 0x47c555
push 1
jmp 0x47c556
push edi
mov ecx, esi
call fcn.004968c2
mov ecx, ebx
call fcn.004bea9e
mov al, byte [ebp - 0x216]
and al, 0x80
cmp al, 0x80
jne 0x47c574
push 1
jmp 0x47c575
push edi
mov ecx, 0x58df80
call fcn.004915e3
call sub.WINMM.dll_timeGetTime
mov ecx, 0x590394
call fcn.004e63a4
mov ecx, 0x590458
mov dword [ebp - 8], eax
call fcn.004e63a4
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.004c1afe
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 0x47c74a
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 0x47c688
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 [0x58e750]
lea eax, [ebp - 0x128]
push dword [0x594690]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x594960
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 0x47c776
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 0x47c6df
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 0x47c734
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 0x47c74a
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], 0x580990
mov dword [ebp - 0x14], str.Jueves
mov dword [ebp - 0x10], str.Viernes
mov dword [ebp - 0xc], 0x580978
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 0x47c652
push dword [0x58e750]
lea eax, [ebp - 0x128]
push dword [0x594690]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x594960
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 0x47c803
call edi
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0xff000000
push 0
push 0
call fcn.004704b0
mov ecx, eax
call fcn.004e718a
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.004704b0
mov ecx, eax
call fcn.004e718a
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 [0x590210]
push dword [0x59020c]
call dword [sym.imp.NDSound.dll__DXProcessSound_8]
mov ecx, 0x594940
call fcn.004d10e2
pop edi
pop esi
pop ebx
leave
ret