Function at 0x437140
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 0x43715e
mov byte [0x44302e], 1
push 0x2d
call esi
test al, 1
je 0x437174
cmp byte [0x44302f], 0
sete byte [0x44302f]
cmp dword [0x44315c], 0
jne 0x43718b
cmp dword [0x443164], 0
je 0x43718b
call fcn.00424790
mov ebx, dword [0x443030]
lea eax, [ebp - 0x28]
push eax
push dword [0x44317c]
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 [0x443180]
mov esi, dword [ebp - 0xc]
mov edx, esi
sbb edx, dword [0x443184]
call fcn.00439a10
mov edx, dword [0x44318c]
mov ecx, dword [0x443188]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.00439a10
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x443184], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x443180], 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 [0x443030]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
cmp byte [esi + 0x357], 0
je 0x4372b0
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 [0x44317c]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x4372b0
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 [0x44317c]
jne 0x437314
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x437314
lea eax, [ebp - 0x18]
push eax
push dword [0x44317c]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x437314
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 0x437322
or eax, 0xffffffff
jmp 0x43732d
mov eax, dword [0x443030]
mov eax, dword [eax + 0x1e40]
cmp dword [0x442228], eax
je 0x43733f
mov dword [0x442228], eax
call fcn.00424a30
call fcn.00424b60
call fcn.00405fb0
call fcn.004367a0
cmp byte [0x44302f], 0
je 0x43735c
call fcn.004369e0
call fcn.00408130
mov eax, dword [0x44309c]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x44309c]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x44309c]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x44309c]
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 [0x44309c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x4373fb
call fcn.00408440
mov eax, dword [0x443030]
mov eax, dword [eax + 0x1cfc]
mov ecx, dword [eax]
xor eax, eax
add ecx, 0x34
cmp byte [ecx], al
cmove ecx, eax
call fcn.00424250
mov eax, dword [0x44309c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [0x44309c]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
cmp eax, 0x88760868
jne 0x4374b7
mov eax, dword [0x44309c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x4374b7
cmp dword [0x443164], 0
je 0x437499
mov ecx, dword [0x443168]
test ecx, ecx
je 0x437453
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x443168], 0
mov ecx, dword [0x443160]
test ecx, ecx
je 0x43746d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x443160], 0
mov ecx, dword [0x44315c]
test ecx, ecx
je 0x437499
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x443030]
mov dword [0x44315c], 0
mov eax, dword [eax + 0x98]
mov dword [eax + 4], 0
mov eax, dword [0x44309c]
push 0x443044
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [0x443164], 0
je 0x4374b7
call fcn.00424790
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret