Function at 0x100198f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1004d180]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [0x100508bc]
call fcn.10011a40
cvtsi2sd xmm0, dword [ebp - 0x10]
mulsd xmm0, qword [0x1003b420]
cvttsd2si edx, xmm0
mov dword [ebp - 0x20], edx
cvtsi2sd xmm0, dword [ebp - 0x14]
mulsd xmm0, qword [0x1003b420]
cvttsd2si eax, xmm0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov ecx, dword [0x100508bc]
call fcn.1000d2b0
movzx edx, al
test edx, edx
jne 0x10019996
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov dword [edx + 0x20], eax
jmp 0x100199d0
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x20]
jne 0x100199a6
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x24]
je 0x100199d0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x1c]
lea eax, [edx + eax*2]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
lea edx, [ecx + edx*2]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2c], 0
je 0x100199fb
mov edx, dword [ebp + 8]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebp - 0x10]
jle 0x10019a0f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x1c], 0
jge 0x10019a22
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
cmp eax, dword [ebp - 0x14]
jle 0x10019a36
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
jge 0x10019a49
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], 0
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x10019a61
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x24], 1
jmp 0x10019a92
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
jne 0x10019a92
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x24]
test eax, eax
je 0x10019a84
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x25], 1
jmp 0x10019a8b
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x25], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x24], 0
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x10019aaa
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x26], 1
jmp 0x10019ad9
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x10019ad9
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x26]
test edx, edx
je 0x10019acb
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x27], 1
jmp 0x10019ad2
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x27], 0
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x26], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d4a2
mov esp, ebp
pop ebp
ret 4