Function at 0x4fca50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov dword [ebp - 4], ecx
movzx eax, byte [0x7901bc]
test eax, eax
jne 0x4fcd61
mov ecx, dword [ebp - 4]
add ecx, 0x38d5c
call fcn.0056db60
call fcn.004ffcb0
mov ecx, eax
call fcn.00542700
movzx ecx, al
test ecx, ecx
je 0x4fca9a
mov ecx, dword [ebp - 4]
add ecx, 0x38dd0
call fcn.00592070
mov ecx, dword [ebp - 4]
add ecx, 0x230
call fcn.0059cb10
fstp dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.0046fcc0
fstp dword [ebp - 0x50]
mov edx, dword [ebp - 4]
add edx, 0x7c4
mov dword [ebp - 0x5c], edx
push ecx
movss xmm0, dword [ebp - 0x50]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x6d107c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x54]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
add ecx, 0x365bc
call fcn.0050c5d0
fstp dword [ebp - 0x58]
movss xmm0, dword [ebp - 0x58]
divss xmm0, dword [0x6d107c]
mulss xmm0, dword [0x6e5328]
addss xmm0, dword [0x6e69f4]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x5c]
call fcn.005753e0
call fcn.00469be0
mov ecx, eax
call fcn.00588730
call fcn.0045c8c0
mov ecx, eax
call fcn.0050ca90
movzx eax, al
test eax, eax
jne 0x4fcb55
mov ecx, dword [ebp - 4]
add ecx, 0x352b0
call fcn.004a45c0
mov ecx, dword [ebp - 4]
add ecx, 0x300
call fcn.004758d0
mov ecx, dword [ebp - 4]
add ecx, 0x38d5c
call fcn.0056da70
mov ecx, dword [ebp - 4]
add ecx, 0x2d0
call fcn.0054c9e0
call fcn.004ffcb0
mov ecx, eax
call fcn.00542700
movzx ecx, al
test ecx, ecx
je 0x4fcba0
mov ecx, dword [ebp - 4]
add ecx, 0x38dd0
call fcn.00591e80
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470540
mov ecx, dword [ebp - 4]
add ecx, 0x7c4
call fcn.005a0970
mov ecx, dword [ebp - 4]
add ecx, 0x7c4
call fcn.0059fa50
mov edx, dword [ebp - 4]
add edx, 0x230
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.0059cb70
mov edx, dword [ebp - 4]
add edx, 0x7c4
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.005a0950
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470660
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470760
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004706a0
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.005c5320
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470440
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470900
call fcn.0045c8c0
mov ecx, eax
call fcn.0050ca90
movzx edx, al
test edx, edx
jne 0x4fcc77
mov ecx, dword [ebp - 4]
add ecx, 0x352b0
call fcn.004a4500
mov ecx, dword [ebp - 4]
add ecx, 0x300
call fcn.004759b0
mov ecx, dword [ebp - 4]
add ecx, 0x38d5c
call fcn.0056db90
call fcn.004ffcb0
mov ecx, eax
call fcn.00542700
movzx eax, al
test eax, eax
je 0x4fccb4
mov ecx, dword [ebp - 4]
add ecx, 0x38dd0
call fcn.005920a0
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470960
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004706e0
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004704a0
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470720
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.005c56c0
mov ecx, dword [ebp - 4]
add ecx, 0x2d0
call fcn.0054c5d0
mov ecx, dword [ebp - 4]
add ecx, 0x3014c
call fcn.0048e930
mov ecx, dword [ebp - 4]
add ecx, 0x15c
call fcn.005e5570
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.005c5320
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004704c0
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.005c56c0
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004707a0
jmp 0x4fd2e1
call fcn.005605a0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 0x300
call fcn.004758d0
call fcn.005605a0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x2d0
call fcn.0054c9e0
call fcn.005605a0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470540
call fcn.005605a0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
add ecx, 0x7c4
call fcn.005a0970
mov ecx, dword [ebp - 4]
add ecx, 0x7c4
call fcn.0059fa50
mov ecx, dword [ebp - 4]
add ecx, 0x230
call fcn.0059cb10
fstp dword [ebp - 0x74]
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.0046fcc0
fstp dword [ebp - 0x70]
mov ecx, dword [ebp - 4]
add ecx, 0x7c4
mov dword [ebp - 0x7c], ecx
push ecx
movss xmm0, dword [ebp - 0x70]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x6d107c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x74]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
add ecx, 0x365bc
call fcn.0050c5d0
fstp dword [ebp - 0x78]
movss xmm0, dword [ebp - 0x78]
divss xmm0, dword [0x6d107c]
mulss xmm0, dword [0x6e5328]
addss xmm0, dword [0x6e69f4]
push ecx
movss dword [esp], xmm0
mov ecx, dword [ebp - 0x7c]
call fcn.005753e0
call fcn.005605a0
mov dword [ebp - 0x1c], eax
call fcn.00469be0
mov ecx, eax
call fcn.00588730
call fcn.005605a0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 4]
add edx, 0x230
mov dword [ebp - 0x80], edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.0059cb70
mov edx, dword [ebp - 4]
add edx, 0x7c4
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.005a0950
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470660
call fcn.005605a0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470760
call fcn.005605a0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004706a0
call fcn.005605a0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.005c5320
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470440
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470900
call fcn.005605a0
mov dword [ebp - 0x30], eax
call fcn.0045c8c0
mov ecx, eax
call fcn.0050ca90
movzx edx, al
test edx, edx
jne 0x4fcf50
mov ecx, dword [ebp - 4]
add ecx, 0x352b0
call fcn.004a4500
mov ecx, dword [ebp - 4]
add ecx, 0x300
call fcn.004759b0
call fcn.005605a0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470960
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004706e0
call fcn.005605a0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.00470720
call fcn.005605a0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.005c56c0
mov ecx, dword [ebp - 4]
add ecx, 0x2d0
call fcn.0054c5d0
call fcn.005605a0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3014c
call fcn.0048e930
call fcn.005605a0
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 4]
add ecx, 0x15c
call fcn.005e5570
call fcn.005605a0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.005c5320
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004704c0
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.005c56c0
call fcn.005605a0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 4]
add ecx, 0x3503c
call fcn.004707a0
call fcn.005605a0
mov dword [ebp - 0x9c], eax
call fcn.005605a0
mov dword [ebp - 0xc], eax
push 0x5a
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x4fd06a
call fcn.0045c8e0
mov dword [ebp - 0x90], eax
push 3
push 8
mov ecx, dword [ebp - 0x90]
call fcn.00572f00
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 8]
cmp ecx, 3
jae 0x4fd07a
jmp 0x4fd2e1
mov edx, dword [0x7ce514]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x7901e4]
cmp edx, dword [ecx + 0x20]
jle 0x4fd0d1
push 0x7901e4
call fcn.00617272
add esp, 4
cmp dword [0x7901e4], 0xffffffff
jne 0x4fd0d1
push 0x6e61f4
push str.perf_game_render.txt
call fcn.00660653
add esp, 8
mov dword [0x7901e0], eax
push 0x7901e4
call fcn.00617221
add esp, 4
call fcn.005605a0
mov dword [ebp - 0x94], eax
mov eax, dword [0x7901e0]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
push edx
push str.GR.Total__d__Time__d__n
mov eax, dword [ebp - 0x98]
push eax
call fcn.004467d0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
push ecx
push str.GR.DFM__d_n
mov edx, dword [0x7901e0]
push edx
call fcn.004467d0
add esp, 0xc
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
push eax
push str.GR.EFT.UP__d_n
mov ecx, dword [0x7901e0]
push ecx
call fcn.004467d0
add esp, 0xc
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x14]
push edx
push str.GR.SHW__d_n
mov eax, dword [0x7901e0]
push eax
call fcn.004467d0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x18]
push ecx
push str.GR.STT__d_n
mov edx, dword [0x7901e0]
push edx
call fcn.004467d0
add esp, 0xc
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
push eax
push str.GR.CLL__d_n
mov ecx, dword [0x7901e0]
push ecx
call fcn.004467d0
add esp, 0xc
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x20]
push edx
push str.GR.BG.SKY__d_n
mov eax, dword [0x7901e0]
push eax
call fcn.004467d0
add esp, 0xc
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x24]
push ecx
push 0x6e6278
mov edx, dword [0x7901e0]
push edx
call fcn.004467d0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
push eax
push str.GR.BG.CLD__d_n
mov ecx, dword [0x7901e0]
push ecx
call fcn.004467d0
add esp, 0xc
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x2c]
push edx
push str.GR.BG.MAIN__d_n
mov eax, dword [0x7901e0]
push eax
call fcn.004467d0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x30]
push ecx
push str.GR.CHR__d_n
mov edx, dword [0x7901e0]
push edx
call fcn.004467d0
add esp, 0xc
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x34]
push eax
push str.GR.BG.WTR__d_n
mov ecx, dword [0x7901e0]
push ecx
call fcn.004467d0
add esp, 0xc
mov edx, dword [ebp - 0x3c]
sub edx, dword [ebp - 0x38]
push edx
push str.GR.BG.EFT__d_n
mov eax, dword [0x7901e0]
push eax
call fcn.004467d0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x3c]
push ecx
push str.GR.EFT__d_n
mov edx, dword [0x7901e0]
push edx
call fcn.004467d0
add esp, 0xc
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x40]
push eax
push str.GR.ITM__d_n
mov ecx, dword [0x7901e0]
push ecx
call fcn.004467d0
add esp, 0xc
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x44]
push edx
push str.GR.FLY__d_n
mov eax, dword [0x7901e0]
push eax
call fcn.004467d0
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x48]
push ecx
push str.GR.BG.BLK__d_n
mov edx, dword [0x7901e0]
push edx
call fcn.004467d0
add esp, 0xc
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x4c]
push eax
push str.GR.BG.LEN__d_n
mov ecx, dword [0x7901e0]
push ecx
call fcn.004467d0
add esp, 0xc
mov edx, dword [0x7901e0]
push edx
call fcn.00665d10
add esp, 4
mov esp, ebp
pop ebp
ret