Function at 0x10012ec0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006037e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1006e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x34], xmm2
mov esi, ecx
mov dword [ebp - 0x30], 0
mov edi, dword [0x10128c20]
mov eax, dword [edi + 0x3e48]
mov byte [eax + 0xac], 1
mov ebx, dword [edi + 0x3e48]
cmp byte [ebx + 0xaf], 0
je 0x10012f22
xor al, al
jmp 0x10013180
mov ecx, dword [ebx + 0xe4]
xor edx, edx
mov eax, dword [ebx + 0xec]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.1001b030
mov ecx, dword [ebx]
add esp, 4
cmp dword [ecx + 0x3e7c], eax
jne 0x10012f5f
push ecx
push esi
mov edx, 0xb
mov ecx, eax
call fcn.10030960
mov edi, dword [0x10128c20]
add esp, 8
mov ecx, esi
cmp esi, 0xffffffff
jae 0x10012f7c
mov dl, byte [ecx]
test dl, dl
je 0x10012f7c
cmp dl, 0x23
jne 0x10012f76
cmp byte [ecx + 1], dl
je 0x10012f7c
inc ecx
cmp ecx, 0xffffffff
jb 0x10012f66
cmp esi, ecx
je 0x10012faa
movss xmm3, dword [0x10068f34]
lea eax, [ebp - 0x3c]
movss xmm2, dword [edi + 0x3bb8]
push ecx
push ecx
push esi
push ecx
mov ecx, dword [edi + 0x3bb4]
mov dword [esp], 0xbf800000
push eax
call fcn.1003ff30
push 1
xor edx, edx
mov ecx, esi
call fcn.100447c0
movss xmm1, dword [0x10068f54]
add esp, 4
movss xmm0, dword [ebp - 0x34]
call fcn.10029360
mov edx, dword [0x1007553c]
test edx, edx
jne 0x10012fde
mov ebx, dword [ebp - 0x30]
mov eax, 0x10062da4
jmp 0x10012ffd
lea ecx, [ebp - 0x2c]
call fcn.10002b60
mov dword [ebp - 4], 0
mov ebx, 1
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 0x30], ebx
jbe 0x10012ffd
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov ecx, eax
push 0
call fcn.10045880
add esp, 4
test bl, 1
je 0x10013059
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10013047
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001303d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001303d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005e292
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov ecx, dword [0x10128c20]
cmp byte [ecx + 0x4803], 0
mov esi, dword [ecx + 0x3e48]
je 0x100130a3
cmp byte [ecx + 0x4802], 0
jne 0x100130a3
test byte [ecx + 0x46c0], 4
jne 0x1001317e
mov eax, dword [ecx + 0x47cc]
cmp eax, dword [ecx + 0x46bc]
jne 0x1001317e
test eax, eax
je 0x1001317e
jmp 0x10013157
mov eax, dword [ecx + 0x46c4]
test al, 1
je 0x1001317e
cmp dword [ecx + 0x3e4c], esi
je 0x100130c1
test al, al
jns 0x1001317e
mov eax, dword [ecx + 0x3e94]
test eax, eax
je 0x100130e5
cmp eax, dword [ecx + 0x46bc]
je 0x100130e5
cmp byte [ecx + 0x3ea1], 0
jne 0x100130e5
cmp eax, dword [esi + 0x70]
jne 0x1001317e
mov edx, dword [ecx + 0x47c8]
test edx, edx
je 0x1001313a
mov edx, dword [edx + 0x308]
test edx, edx
je 0x1001313a
cmp byte [edx + 0xab], 0
je 0x1001313a
mov eax, dword [esi + 0x308]
cmp edx, eax
je 0x1001313a
test dword [edx + 0xc], 0xc000000
je 0x1001313a
cmp dword [eax + 0x308], edx
je 0x1001313a
nop dword [eax]
cmp eax, edx
je 0x1001313a
mov eax, dword [eax + 0x304]
test eax, eax
jne 0x10013120
test dword [ecx + 0x46c0], 0x100
je 0x1001317e
test byte [ecx + 0x46c0], 4
jne 0x1001317e
mov eax, dword [ecx + 0x46bc]
cmp eax, dword [esi + 0x70]
jne 0x10013157
cmp byte [esi + 0xac], 0
jne 0x1001317e
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, 0xd
cmp esi, 0x1b
je 0x10013175
push esi
call edi
test ax, ax
jns 0x10013175
mov dword [0x1007553c], esi
inc esi
cmp esi, 0xe7
jle 0x10013162
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005e254
mov esp, ebp
pop ebp
ret