Function at 0x44f590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
cmp byte [0x6e811c], 0
lea eax, [ecx + 0x2b4]
mov dword [esp + 4], eax
lea eax, [ecx + 0x1920c]
push ebx
mov dword [esp + 0xc], eax
lea ebx, [ecx + 0x210]
lea eax, [ecx + 0x15c]
push esi
mov dword [esp + 0x14], eax
lea esi, [ecx + 0x1b978]
lea eax, [ecx + 0x2dc]
push edi
lea edi, [ecx + 0x7a0]
mov dword [esp + 0xc], eax
jne 0x44f706
mov ecx, ebx
call fcn.00503e30
mov ecx, esi
fstp dword [esp + 0x1c]
call fcn.00455f60
sub esp, 0x10
mov ecx, edi
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
mov dword [esp + 8], 0x42c80000
movss dword [esp + 4], xmm0
mov dword [esp], 0x41f00000
call fcn.004da7b0
mov ecx, dword [0x6e7c78]
call fcn.004ddcc0
mov ecx, dword [esp + 0xc]
call fcn.00459930
mov ecx, dword [esp + 0x10]
call fcn.004b0660
mov ecx, esi
call fcn.00456e00
mov ecx, edi
call fcn.005075e0
mov ecx, edi
call fcn.00506700
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00503e80
push dword [esp + 0x1c]
mov ecx, edi
push dword [esp + 0x24]
call fcn.005075c0
mov ecx, esi
call fcn.00457010
mov ecx, esi
call fcn.00457090
mov ecx, esi
call fcn.00457030
mov ecx, esi
call fcn.005170d0
mov ecx, esi
call fcn.00456d70
mov ecx, esi
call fcn.00457120
mov ecx, dword [esp + 0xc]
call fcn.00459c90
mov ecx, esi
call fcn.00457150
mov ecx, esi
call fcn.00457050
mov ecx, esi
call fcn.00456db0
mov ecx, esi
call fcn.00457070
mov ecx, esi
call fcn.00517490
mov ecx, dword [esp + 0x10]
call fcn.004b0290
mov ecx, dword [esp + 0x14]
call fcn.0046dbc0
mov ecx, dword [esp + 0x18]
call fcn.00527430
mov ecx, esi
call fcn.005170d0
mov ecx, esi
call fcn.00456dc0
mov ecx, esi
call fcn.00517490
mov ecx, esi
call fcn.004570b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004c2c60
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], eax
call fcn.00459930
call fcn.004c2c60
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
call fcn.004b0660
call fcn.004c2c60
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.00456e00
call fcn.004c2c60
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.005075e0
mov ecx, edi
call fcn.00506700
mov ecx, ebx
call fcn.00503e30
mov ecx, esi
fstp dword [esp + 0x20]
call fcn.00455f60
sub esp, 0x10
mov ecx, edi
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x30]
mov dword [esp + 8], 0x42c80000
movss dword [esp + 4], xmm0
mov dword [esp], 0x41f00000
call fcn.004da7b0
call fcn.004c2c60
mov ecx, dword [0x6e7c78]
mov dword [esp + 0x34], eax
call fcn.004ddcc0
call fcn.004c2c60
mov dword [esp + 0x38], eax
mov ecx, ebx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00503e80
push dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x20]
call fcn.005075c0
mov ecx, esi
call fcn.00457010
call fcn.004c2c60
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00457090
call fcn.004c2c60
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00457030
call fcn.004c2c60
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.005170d0
mov ecx, esi
call fcn.00456d70
mov ecx, esi
call fcn.00457120
call fcn.004c2c60
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], eax
call fcn.00459c90
call fcn.004c2c60
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.00457150
mov ecx, esi
call fcn.00457050
call fcn.004c2c60
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00457070
call fcn.004c2c60
mov dword [esp + 0x48], eax
mov ecx, esi
call fcn.00517490
mov ecx, dword [esp + 0x10]
call fcn.004b0290
call fcn.004c2c60
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
call fcn.0046dbc0
call fcn.004c2c60
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.00527430
call fcn.004c2c60
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.005170d0
mov ecx, esi
call fcn.00456dc0
mov ecx, esi
call fcn.00517490
call fcn.004c2c60
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004570b0
call fcn.004c2c60
mov ebx, eax
call fcn.004c2c60
push 0x5a
mov esi, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x44f8de
mov ecx, dword [0x6e7c94]
push 3
push 8
call fcn.004da020
mov edi, dword [esp + 0x24]
sub esi, edi
cmp esi, 3
jb 0x44fb01
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6e88c8]
cmp eax, dword [ecx + 0x20]
jg 0x44fb08
call fcn.004c2c60
push eax
push esi
push str.GR.Total__d__Time__d__n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x38]
sub eax, edi
push eax
push str.GR.DFM__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x48]
add esp, 0x1c
sub eax, dword [esp + 0x28]
push eax
push str.GR.EFT.UP__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x3c]
add esp, 0xc
sub eax, dword [esp + 0x2c]
push eax
push str.GR.SHW__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x40]
add esp, 0xc
sub eax, dword [esp + 0x30]
push eax
push str.GR.STT__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x44]
add esp, 0xc
sub eax, dword [esp + 0x34]
push eax
push str.GR.CLL__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, dword [esp + 0x38]
push eax
push str.GR.BG.SKY__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x28]
add esp, 0xc
sub eax, dword [esp + 0x20]
push eax
push str.GR.BG.LEN__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x48]
add esp, 0xc
sub eax, dword [esp + 0x1c]
push eax
push str.GR.BG.CLD__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x4c]
add esp, 0xc
sub eax, dword [esp + 0x3c]
push eax
push str.GR.BG.MAIN__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x18]
add esp, 0xc
sub eax, dword [esp + 0x40]
push eax
push str.GR.CHR__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x50]
add esp, 0xc
sub eax, dword [esp + 0xc]
push eax
push str.GR.BG.WTR__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x54]
add esp, 0xc
sub eax, dword [esp + 0x44]
push eax
push str.GR.BG.EFT__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x1c]
add esp, 0xc
sub eax, dword [esp + 0x48]
push eax
push str.GR.EFT__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x20]
add esp, 0xc
sub eax, dword [esp + 0x10]
push eax
push str.GR.ITM__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x24]
add esp, 0xc
sub eax, dword [esp + 0x14]
push eax
push str.GR.FLY__d_n
push dword [0x6e88cc]
call fcn.0044be70
mov eax, dword [esp + 0x58]
add esp, 0xc
sub eax, dword [esp + 0x18]
push eax
push str.GR.BG.BLK__d_n
push dword [0x6e88cc]
call fcn.0044be70
sub ebx, dword [esp + 0x58]
add esp, 0xc
push ebx
push str.GR.BG.LEN__d_n
push dword [0x6e88cc]
call fcn.0044be70
add esp, 0xc
push dword [0x6e88cc]
call fcn.005b97ed
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6e88c8
call fcn.0056a220
add esp, 4
cmp dword [0x6e88c8], 0xffffffff
jne 0x44f906
push 0x647978
push str.perf_game_render.txt
call fcn.005b002b
push 0x6e88c8
mov dword [0x6e88cc], eax
call fcn.0056a1cf
add esp, 0xc
jmp 0x44f906