Function at 0x10012803
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x1c
mov eax, 0x1007fa0e
call fcn.1007d9f0
cmp byte [0x100e0995], 0
jne 0x10012aa3
mov ecx, dword [0x100e0804]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10012aa3
mov ecx, dword [0x10117a8c]
test ecx, ecx
je 0x10012aa3
call fcn.1000e789
cmp dword [eax], 0
jle 0x10012aa3
push dword [0x100df10c]
push dword [0x100e09b8]
call fcn.1007c579
pop ecx
pop ecx
test al, al
je 0x10012aa3
cmp byte [0x100e0930], 0
je 0x1001288c
push dword [0x100df0ec]
push dword [0x100e0934]
call fcn.1007c579
pop ecx
pop ecx
test al, al
jne 0x10012aa3
cmp byte [0x100e09bc], 0
je 0x100128b0
push dword [0x100df0fc]
push dword [0x100e0988]
call fcn.1007c579
pop ecx
pop ecx
test al, al
jne 0x10012aa3
mov ecx, dword [0x10117a8c]
call fcn.100118de
test byte [eax], 1
jne 0x10012aa3
mov ecx, dword [0x10117a8c]
call fcn.1001121c
cmp eax, 9
je 0x10012aa3
mov ecx, dword [0x10117a8c]
call fcn.1001121c
cmp eax, 8
je 0x10012aa3
mov ecx, dword [0x10117a8c]
call fcn.100112a5
movss xmm0, dword [eax + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x100891d0]
lahf
test ah, 0x44
jnp 0x10012aa3
call fcn.100119c2
test al, al
jne 0x10012aa3
push dword [0x100e0968]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1001293c
cmp byte [0x100e09b4], 0
jne 0x10012aa3
and dword [ebp - 0x24], 0
cmp byte [0x100e0995], 0
jne 0x10012aa3
mov eax, dword [0x100e0958]
mov eax, dword [eax + 0x1c]
dec eax
push eax
call fcn.10012e89
pop ecx
mov ecx, dword [0x10117a8c]
call fcn.100118de
mov ecx, dword [0x10117a8c]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
call fcn.100112a5
mov esi, eax
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x20], edi
cmp dword [0x100df0cc], edi
jle 0x10012a82
push 0x4c
call fcn.1007d625
mov ebx, eax
pop ecx
test ebx, ebx
je 0x100129b2
mov esi, dword [ebp + 8]
mov edi, ebx
push 0x13
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x20]
jmp 0x100129b4
xor ebx, ebx
mov ecx, dword [ebx + 0x30]
mov eax, ecx
mov esi, dword [ebp - 0x24]
and eax, 0xfffffffb
or ecx, 4
test esi, esi
push ebx
cmovne ecx, eax
mov dword [ebx + 0x30], ecx
call fcn.10012f63
test byte [ebp - 0x28], 1
pop ecx
jne 0x10012a82
mov ecx, dword [0x10117a8c]
call fcn.100112a5
movsd xmm1, qword [0x100891d0]
movss xmm0, dword [eax + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x10012a12
movss xmm0, dword [ebp - 0x14]
cvtps2pd xmm0, xmm0
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10012a4a
mov ecx, dword [0x10117a8c]
call fcn.100112a5
mov ecx, dword [0x10117a8c]
lea edi, [ebp - 0x1c]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100118de
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x20], edi
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp edi, dword [0x100df0cc]
jl 0x10012995
jmp 0x10012a82
mov eax, dword [ebp + 8]
mov ecx, dword [0x10117a8c]
mov eax, dword [eax + 8]
add eax, edi
mov dword [0x100e09a4], ebx
test esi, esi
mov dword [0x100e099c], eax
sete byte [0x100e0996]
call fcn.1000d3b6
mov esi, eax
mov edi, 0x100e09a8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [0x100e0995], 1
call fcn.10012e21
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1001dae8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 2
jl 0x10012940
call fcn.1007d99f
ret