Function at 0x1001286f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x24]
mov ebx, dword [eax + 0x30]
mov eax, dword [0x10076a0c]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10076a44]
push edi
push dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x68]
push eax
mov ecx, ebx
call fcn.100181b4
test byte [ebp - 0x15], 8
je 0x10012b5b
test byte [ebp - 0x18], 1
je 0x10012b5b
push 1
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
call fcn.10012087
mov edi, eax
test edi, edi
je 0x10012b5b
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.10011916
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
call fcn.1001823f
lea ecx, [ebx + 8]
mov eax, dword [ecx + 4]
test eax, eax
mov dword [ebp - 0x48], ecx
jne 0x10012900
call fcn.10016cdc
mov ecx, dword [esi + 0x24]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.1001fd57
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push edi
lea edi, [ebp - 0x4c]
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x68]
call fcn.1001188d
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 4]
mov ecx, esi
push ebx
call fcn.10010a3a
and dword [esi + 0x4c], 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 4]
mov ecx, esi
push ebx
call fcn.10010a3a
and dword [ebp - 0x1c], 0
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov dword [ebp - 0x34], ecx
jmp 0x10012ac2
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [eax + 4]
push 0x1b
mov dword [ebp - 0x6c], eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x10012ad5
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.100181b4
cmp dword [ebp - 0x3c], edi
jne 0x100129c3
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x38], eax
je 0x10012ac2
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 4]
mov ecx, esi
push ebx
call fcn.10010a3a
mov ecx, dword [ebp - 0x30]
xor edx, edx
cmp dword [ebp - 0x44], edx
je 0x100129ec
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jl 0x100129ec
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x50], edx
je 0x10012a03
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
add eax, edi
cmp ecx, eax
mov dword [ebp - 0xc], ecx
jg 0x10012a03
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x2c]
je 0x10012a1b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jl 0x10012a1b
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x4c], edx
je 0x10012a32
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
add eax, edx
cmp ecx, eax
mov dword [ebp - 8], ecx
jg 0x10012a32
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
call fcn.1001823f
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 4]
mov ecx, esi
push ebx
call fcn.10010a3a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0x109
mov edi, 0x100
push edi
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.1006cffe
test eax, eax
jne 0x10012ab1
push 3
push 0x20d
push 0x200
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.1006cffe
test eax, eax
jne 0x10012ab1
push 3
push 0xa9
push 0xa0
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.1006cffe
test eax, eax
je 0x10012ac2
cmp dword [ebp - 0x88], edi
jne 0x10012ac2
cmp dword [ebp - 0x84], 0x1b
je 0x10012ad5
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, ah
js 0x10012971
jmp 0x10012adc
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 4]
mov ecx, esi
push ebx
call fcn.10010a3a
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x4c], eax
jne 0x10012b4b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
test al, 1
je 0x10012b1c
test byte [esi + 0x4c], 0x80
jne 0x10012b1c
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub edi, dword [ebp - 0x14]
jmp 0x10012b28
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
sub edi, dword [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.10017ce0
push edi
mov ecx, ebx
mov dword [ebp - 0x30], eax
call fcn.10017d15
mov dword [ebp - 0x2c], eax
push 1
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.10012551
push dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
call fcn.100101aa
xor eax, eax
inc eax
jmp 0x10012b5d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4