Function at 0x100199e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1004a164]
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 [0x1004d87c]
call fcn.10011d30
cvtsi2sd xmm0, dword [ebp - 0x10]
mulsd xmm0, qword [0x100394b8]
cvttsd2si edx, xmm0
mov dword [ebp - 0x20], edx
cvtsi2sd xmm0, dword [ebp - 0x14]
mulsd xmm0, qword [0x100394b8]
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 [0x1004d87c]
call fcn.1000d590
movzx edx, al
test edx, edx
jne 0x10019a86
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 0x10019ac0
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x20]
jne 0x10019a96
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x24]
je 0x10019ac0
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 0x10019aeb
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 0x10019aff
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 0x10019b12
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 0x10019b26
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 0x10019b39
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 0x10019b51
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x24], 1
jmp 0x10019b82
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
jne 0x10019b82
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x24]
test eax, eax
je 0x10019b74
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x25], 1
jmp 0x10019b7b
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 0x10019b9a
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x26], 1
jmp 0x10019bc9
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x10019bc9
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x26]
test edx, edx
je 0x10019bbb
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x27], 1
jmp 0x10019bc2
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.1001d3cb
mov esp, ebp
pop ebp
ret 4