Function at 0x1005e590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1015d3c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10073f60
mov ebx, eax
mov dword [ebp - 0x38], ebx
call fcn.10073cb0
test eax, eax
je 0x1005e5c0
call fcn.10073f60
mov edi, dword [eax + 0x6c]
jmp 0x1005e5c2
xor edi, edi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x14], xmm0
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
movd xmm1, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 8], xmm1
movss dword [ebx + 0xc], xmm0
cmp byte [edi + 0x26], 0
je 0x1005e604
call fcn.1005f0e0
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [edi + 0x10]
mov edx, dword [ebp - 0x28]
sbb edx, dword [edi + 0x14]
call fcn.100d40c0
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
movss dword [ebp - 0x1c], xmm0
call fcn.100d40c0
movss xmm1, dword [ebp - 0x1c]
divss xmm1, xmm0
movss dword [ebx + 0x10], xmm1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
call fcn.10073cb0
test eax, eax
je 0x1005e667
call fcn.10073f60
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x1c], eax
jmp 0x1005e66e
mov dword [ebp - 0x1c], 0
call fcn.10073f60
mov esi, eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
test ebx, ebx
je 0x1005e75e
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
cmp ebx, ecx
je 0x1005e6b8
push ecx
push ebx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x1005e6b8
push ebx
call fcn.10073630
add esp, 4
test eax, eax
je 0x1005e75e
cmp byte [esi + 0x8f], 0
je 0x1005e701
test dword [esi], 0x400
cvttss2si eax, dword [esi + 0xd50]
cvttss2si ecx, dword [esi + 0xd54]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jne 0x1005e6f0
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x8f], 0
jne 0x1005e75e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp byte [eax + 8], 0
jne 0x1005e761
test ecx, ecx
je 0x1005e761
test dword [esi], 0x400
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jne 0x1005e737
lea ecx, [ebp - 0x24]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movd xmm0, edx
sub esp, 8
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, ecx
mov ecx, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10064180
xor ebx, ebx
jmp 0x1005e767
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
test ecx, ecx
je 0x1005e786
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_WindowFromPoint]
test eax, eax
je 0x1005e786
push eax
call fcn.10073630
add esp, 4
test eax, eax
je 0x1005e786
mov ebx, dword [eax]
push ebx
mov ecx, esi
call fcn.100641e0
push 0x210
call fcn.10075910
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 4
test al, al
je 0x1005e7dd
push 0xa0
call ebx
shr eax, 0xf
test al, 1
jne 0x1005e7dd
call fcn.10073f60
mov esi, eax
push 0
push 0x210
mov ecx, esi
call fcn.10063fc0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa0
push 0x210
mov ecx, esi
call fcn.1007f640
push 0x214
call fcn.10075910
add esp, 4
test al, al
je 0x1005e826
push 0xa1
call ebx
shr eax, 0xf
test al, 1
jne 0x1005e826
call fcn.10073f60
mov esi, eax
push 0
push 0x214
mov ecx, esi
call fcn.10063fc0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa1
push 0x214
mov ecx, esi
call fcn.1007f640
push 0x212
call fcn.10075910
add esp, 4
test al, al
je 0x1005e869
push 0x5b
call ebx
shr eax, 0xf
test al, 1
jne 0x1005e869
call fcn.10073f60
mov esi, eax
push 0
push 0x212
mov ecx, esi
call fcn.10063fc0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5b
push 0x212
mov ecx, esi
call fcn.1007f640
push 0x216
call fcn.10075910
add esp, 4
test al, al
je 0x1005e8ac
push 0x5c
call ebx
shr eax, 0xf
test al, 1
jne 0x1005e8ac
call fcn.10073f60
mov esi, eax
push 0
push 0x216
mov ecx, esi
call fcn.10063fc0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5c
push 0x216
mov ecx, esi
call fcn.1007f640
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x58], 0
je 0x1005e8ba
or eax, 0xffffffff
jmp 0x1005e8bf
call fcn.10074090
cmp dword [edi + 0x20], eax
je 0x1005e8cc
mov dword [edi + 0x20], eax
call fcn.1005f340
call fcn.1005ebe0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d37d3
mov esp, ebp
pop ebp
ret