Function at 0x436e40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
push 0x2e
call esi
test al, 1
je 0x436e5e
mov byte [0x4772f6], 1
push 0x2d
call esi
test al, 1
je 0x436e74
cmp byte [0x4772f7], 0
sete byte [0x4772f7]
cmp dword [0x477424], 0
jne 0x436e8b
cmp dword [0x47742c], 0
je 0x436e8b
call fcn.00424630
mov ebx, dword [0x4772f8]
lea eax, [ebp - 0x28]
push eax
push dword [0x477444]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
movd xmm1, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x10]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x10]
mov ecx, edi
sub ecx, dword [0x477448]
mov esi, dword [ebp - 0xc]
mov edx, esi
sbb edx, dword [0x47744c]
call fcn.0045a9c0
mov edx, dword [0x477454]
mov ecx, dword [0x477450]
movss dword [ebp - 4], xmm0
call fcn.0045a9c0
movss xmm1, dword [ebp - 4]
divss xmm1, xmm0
push 0x11
movss dword [ebx + 0x18], xmm1
mov dword [0x47744c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x477448], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xfd], al
call esi
mov esi, dword [0x4772f8]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
cmp byte [esi + 0x357], 0
je 0x436fa8
cvttss2si eax, dword [esi + 0xe4]
mov dword [ebp - 8], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x477444]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x436fa8
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x477444]
jne 0x43700c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x43700c
lea eax, [ebp - 0x18]
push eax
push dword [0x477444]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x43700c
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [ebx + 0xb0], 0
je 0x43701a
or eax, 0xffffffff
jmp 0x437025
mov eax, dword [0x4772f8]
mov eax, dword [eax + 0x1e40]
cmp dword [0x475b60], eax
je 0x437037
mov dword [0x475b60], eax
call fcn.004248d0
call fcn.00424a00
call fcn.00405e90
call fcn.004364e0
cmp byte [0x4772f7], 0
je 0x437054
call fcn.004366e0
call fcn.00408070
mov eax, dword [0x477364]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x477364]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x477364]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x477364]
push 0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push 0
push 1
push 0
push 0
push eax
call dword [ecx + 0xac]
mov eax, dword [0x477364]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x4370f3
call fcn.004083a0
mov eax, dword [0x4772f8]
mov eax, dword [eax + 0x1cfc]
mov ecx, dword [eax]
xor eax, eax
add ecx, 0x34
cmp byte [ecx], al
cmove ecx, eax
call fcn.004240d0
mov eax, dword [0x477364]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x477364]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x4371af
mov eax, dword [0x477364]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x4371af
cmp dword [0x47742c], 0
je 0x437191
mov ecx, dword [0x477430]
test ecx, ecx
je 0x43714b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x477430], 0
mov ecx, dword [0x477428]
test ecx, ecx
je 0x437165
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x477428], 0
mov ecx, dword [0x477424]
test ecx, ecx
je 0x437191
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x4772f8]
mov dword [0x477424], 0
mov eax, dword [eax + 0x98]
mov dword [eax + 4], 0
mov eax, dword [0x477364]
push 0x47730c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [0x47742c], 0
je 0x4371af
call fcn.00424630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret