Function at 0x5323d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 4], ecx
movzx eax, byte [0x7723bc]
test eax, eax
jne 0x5325d7
mov ecx, dword [ebp - 4]
add ecx, 0x210
call fcn.005bae60
fstp dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b65c0
fstp dword [ebp - 0x50]
push ecx
movss xmm0, dword [ebp - 0x50]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x6bff28]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x54]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x6cc724]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
add ecx, 0x788
call fcn.00592a80
call fcn.004b58d0
mov ecx, eax
call fcn.005a1c80
mov ecx, dword [ebp - 4]
add ecx, 0x2d8
call fcn.004be3d0
mov ecx, dword [ebp - 4]
add ecx, 0x2b0
call fcn.0056e620
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6e10
mov ecx, dword [ebp - 4]
add ecx, 0x788
call fcn.005be1f0
mov ecx, dword [ebp - 4]
add ecx, 0x788
call fcn.005bd390
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x210
call fcn.005baec0
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x788
call fcn.005be1d0
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6f30
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b7030
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6f70
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.005da290
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6d10
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b71a0
mov ecx, dword [ebp - 4]
add ecx, 0x2d8
call fcn.004be450
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b71f0
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6fb0
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6d70
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6ff0
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.005da630
mov ecx, dword [ebp - 4]
add ecx, 0x2b0
call fcn.0056e200
mov ecx, dword [ebp - 4]
add ecx, 0x25c1c
call fcn.004cec00
mov ecx, dword [ebp - 4]
add ecx, 0x15c
call fcn.005f0c60
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.005da290
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6d90
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.005da630
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b7070
jmp 0x532a9c
call fcn.0057f530
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 0x2d8
call fcn.004be3d0
call fcn.0057f530
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x2b0
call fcn.0056e620
call fcn.0057f530
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6e10
call fcn.0057f530
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
add ecx, 0x788
call fcn.005be1f0
mov ecx, dword [ebp - 4]
add ecx, 0x788
call fcn.005bd390
mov ecx, dword [ebp - 4]
add ecx, 0x210
call fcn.005bae60
fstp dword [ebp - 0x64]
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b65c0
fstp dword [ebp - 0x60]
push ecx
movss xmm0, dword [ebp - 0x60]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x6bff28]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [ebp - 0x64]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x6cc724]
movss dword [esp], xmm0
mov ecx, dword [ebp - 4]
add ecx, 0x788
call fcn.00592a80
call fcn.0057f530
mov dword [ebp - 0x1c], eax
call fcn.004b58d0
mov ecx, eax
call fcn.005a1c80
call fcn.0057f530
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x210
call fcn.005baec0
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x788
call fcn.005be1d0
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6f30
call fcn.0057f530
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b7030
call fcn.0057f530
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6f70
call fcn.0057f530
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.005da290
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6d10
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b71a0
call fcn.0057f530
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
add ecx, 0x2d8
call fcn.004be450
call fcn.0057f530
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b71f0
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6fb0
call fcn.0057f530
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6ff0
call fcn.0057f530
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.005da630
mov ecx, dword [ebp - 4]
add ecx, 0x2b0
call fcn.0056e200
call fcn.0057f530
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 4]
add ecx, 0x25c1c
call fcn.004cec00
call fcn.0057f530
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 4]
add ecx, 0x15c
call fcn.005f0c60
call fcn.0057f530
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.005da290
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b6d90
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.005da630
call fcn.0057f530
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 4]
add ecx, 0x31e4c
call fcn.004b7070
call fcn.0057f530
mov dword [ebp - 0x70], eax
call fcn.0057f530
mov dword [ebp - 0xc], eax
push 0x5a
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x532868
push 3
push 8
call fcn.004a8c80
mov ecx, eax
call fcn.0058feb0
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 8]
cmp ecx, 3
jae 0x532878
jmp 0x532a9c
mov edx, dword [0x7723cc]
and edx, 1
jne 0x5328a7
mov eax, dword [0x7723cc]
or eax, 1
mov dword [0x7723cc], eax
push 0x6cc454
push str.perf_game_render.txt
call fcn.00624b34
add esp, 8
mov dword [0x7723c8], eax
call fcn.0057f530
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 8]
push ecx
push str.GR.Total__d__Time__d__n
mov edx, dword [0x7723c8]
push edx
call fcn.00624b49
add esp, 0x10
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 8]
push eax
push str.GR.DFM__d_n
mov ecx, dword [0x7723c8]
push ecx
call fcn.00624b49
add esp, 0xc
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x10]
push edx
push str.GR.EFT.UP__d_n
mov eax, dword [0x7723c8]
push eax
call fcn.00624b49
add esp, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x14]
push ecx
push str.GR.SHW__d_n
mov edx, dword [0x7723c8]
push edx
call fcn.00624b49
add esp, 0xc
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
push eax
push str.GR.STT__d_n
mov ecx, dword [0x7723c8]
push ecx
call fcn.00624b49
add esp, 0xc
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x1c]
push edx
push str.GR.CLL__d_n
mov eax, dword [0x7723c8]
push eax
call fcn.00624b49
add esp, 0xc
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
push ecx
push str.GR.BG.SKY__d_n
mov edx, dword [0x7723c8]
push edx
call fcn.00624b49
add esp, 0xc
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x24]
push eax
push 0x6cc4d8
mov ecx, dword [0x7723c8]
push ecx
call fcn.00624b49
add esp, 0xc
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
push edx
push str.GR.BG.CLD__d_n
mov eax, dword [0x7723c8]
push eax
call fcn.00624b49
add esp, 0xc
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x2c]
push ecx
push str.GR.BG.MAIN__d_n
mov edx, dword [0x7723c8]
push edx
call fcn.00624b49
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x30]
push eax
push str.GR.CHR__d_n
mov ecx, dword [0x7723c8]
push ecx
call fcn.00624b49
add esp, 0xc
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x34]
push edx
push str.GR.BG.WTR__d_n
mov eax, dword [0x7723c8]
push eax
call fcn.00624b49
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x38]
push ecx
push str.GR.BG.EFT__d_n
mov edx, dword [0x7723c8]
push edx
call fcn.00624b49
add esp, 0xc
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x3c]
push eax
push str.GR.EFT__d_n
mov ecx, dword [0x7723c8]
push ecx
call fcn.00624b49
add esp, 0xc
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x40]
push edx
push str.GR.ITM__d_n
mov eax, dword [0x7723c8]
push eax
call fcn.00624b49
add esp, 0xc
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x44]
push ecx
push str.GR.FLY__d_n
mov edx, dword [0x7723c8]
push edx
call fcn.00624b49
add esp, 0xc
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x48]
push eax
push str.GR.BG.BLK__d_n
mov ecx, dword [0x7723c8]
push ecx
call fcn.00624b49
add esp, 0xc
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x4c]
push edx
push str.GR.BG.LEN__d_n
mov eax, dword [0x7723c8]
push eax
call fcn.00624b49
add esp, 0xc
mov ecx, dword [0x7723c8]
push ecx
call fcn.006252ed
add esp, 4
mov esp, ebp
pop ebp
ret