Function at 0x10ec8ca
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x127d21f
call fcn.01160118
sub esp, 0x80
push ebx
xor ebx, ebx
push edi
mov edi, ecx
inc ebx
cmp dword [edi + 0xf8], ebx
jne 0x10ec8f0
xor eax, eax
jmp 0x10ed07f
mov eax, dword [0x12ce0a0]
push esi
mov dword [ebp - 0x40], eax
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
push 0xf639
lea ecx, [ebp - 0x40]
call fcn.01032a7e
push 0xf63a
lea ecx, [ebp - 0x44]
call fcn.01032a7e
cmp dword [edi + 0xa4], esi
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
movzx eax, word [eax]
mov dword [ebp - 0x6c], eax
jne 0x10ec948
mov esi, 0x80004003
jmp 0x10ed026
mov ecx, dword [edi + 0xfc]
mov eax, dword [ecx]
call dword [eax + 0x20]
fdivr qword [0x1003510]
lea ecx, [edi + 0x84]
mov eax, dword [ecx]
fstp qword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xbc]
cmp eax, esi
je 0x10ec9a8
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0108654a
mov esi, eax
test esi, esi
jge 0x10eca3e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ed026
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed026
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 3
mov eax, dword [edi + 0xa4]
lea edx, [ebp - 0x3c]
add eax, 0x24
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
jge 0x10ec9db
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ec98e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ec98e
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10eca01
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ec9f3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x10ecccf
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
mov edx, dword [edi + 0xfc]
fld qword [edx + 8]
push ecx
push ecx
fstp qword [esp]
push eax
call dword [ecx + 0x8c]
test eax, eax
jne 0x10ed042
cmp dword [ebp - 0x10], eax
je 0x10ed042
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10eca3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ec9f3
mov ecx, dword [eax]
lea edx, [ebp - 0x8c]
push edx
lea edx, [ebp - 0x5c]
push edx
push eax
call dword [ecx + 0x58]
mov esi, eax
test esi, esi
jl 0x10ec98e
sub esp, 0x10
fldz
fstp qword [esp + 8]
fld qword [ebp - 0x5c]
fstp qword [esp]
call fcn.010558de
test al, al
jne 0x10ed013
fld qword [ebp - 0x5c]
push ecx
fstp qword [ebp - 0x20]
push ecx
fld qword [ebp - 0x5c]
mov ecx, edi
fstp qword [esp]
call fcn.010dfa0b
mov ecx, dword [edi + 0xfc]
fld qword [ebp - 0x20]
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
add eax, dword [ebp - 0x70]
mov ecx, edi
push eax
push 5
call fcn.010e3771
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 0xfa
push ebx
push eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], 0x28
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov ecx, dword [edi + 0xfc]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
fsubr qword [ebp - 0x20]
sub esp, 0x10
fstp qword [ebp - 0x20]
fldz
fstp qword [esp + 8]
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ecb0d
mov ecx, dword [edi + 0xfc]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
fadd qword [ebp - 0x20]
fstp qword [ebp - 0x20]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 4
mov eax, dword [edi + 0xf8]
cmp eax, ebx
je 0x10ecb29
cmp eax, 2
jne 0x10ecbe5
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov ecx, edi
call fcn.010deb9d
mov esi, eax
cmp esi, ebx
jl 0x10ecd36
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10eccb5
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
lea edx, [ebp - 0x78]
push edx
push eax
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jl 0x10ecd36
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x20]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ecb89
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x78]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ecbae
fld qword [ebp - 0x78]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x8c]
sub esp, 0x10
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x38]
fstp qword [esp + 8]
fld qword [ebp - 0x64]
fadd qword [ebp - 0x20]
fsub qword [ebp - 0x4c]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ecbe5
fld qword [ebp - 0x4c]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x64]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x12d2398
call fcn.0107d32f
mov esi, eax
cmp esi, ebx
jge 0x10ecc21
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ecc74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecc74
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ecc3d
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x54]
mov esi, eax
cmp esi, ebx
jl 0x10ecc0e
cmp dword [ebp - 0x2c], ebx
jne 0x10ecc50
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ecc93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecc93
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ecc61
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x74]
mov esi, eax
cmp esi, ebx
jge 0x10ecc8e
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ecd25
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecd25
cmp dword [ebp - 0x24], ebx
jne 0x10ecce0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ecca4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10eccb5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10eccc6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10ec93e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ec93e
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10eccf1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x84]
call fcn.0116ae34
mov byte [ebp - 4], 8
push 0x26
lea ecx, [ebp - 0x84]
call fcn.0116aa9d
mov esi, eax
cmp esi, ebx
jge 0x10ecd55
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.0116aa37
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ecd36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ecd47
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jmp 0x10ec997
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x25], 0
jmp 0x10ecea5
test bl, bl
je 0x10ecefe
cmp byte [ebp - 0x26], 0
je 0x10ecefe
test al, al
jne 0x10ecee5
mov ecx, dword [edi + 0xfc]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
fsubr qword [ebp - 0x20]
push 0
lea eax, [ebp - 0x50]
push eax
fstp qword [ebp - 0x20]
push 0
push 0xa
mov dword [ebp - 0x50], 0x19
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x10ecdc1
mov eax, dword [ebp - 0x50]
lea eax, [eax + eax*4]
lea ecx, [eax + eax + 0x19]
mov eax, 0x2710
cdq
idiv ecx
mov dword [ebp - 0x68], eax
push 1
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_SleepEx]
fldz
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.01085cf6
test al, al
je 0x10eceeb
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x10ecdfb
cmp eax, 2
jne 0x10ece7c
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x20]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ece20
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x20]
fsub qword [ebp - 0x78]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ece45
fld qword [ebp - 0x78]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x8c]
sub esp, 0x10
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x38]
fstp qword [esp + 8]
fld qword [ebp - 0x64]
fadd qword [ebp - 0x20]
fsub qword [ebp - 0x4c]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ece7c
fld qword [ebp - 0x4c]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x64]
fstp qword [ebp - 0x20]
mov ecx, dword [edi + 0xfc]
fld qword [ebp - 0x20]
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
add eax, dword [ebp - 0x70]
mov ecx, edi
push eax
push 5
call fcn.010e3771
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x11
call esi
push 0x10
shr eax, 0xf
and al, 1
mov byte [ebp - 0x11], al
call esi
push dword [ebp - 0x54]
xor ebx, ebx
mov bx, ax
shr ebx, 0xf
and bl, 1
call esi
push dword [ebp - 0x6c]
shr eax, 0xf
and al, 1
mov byte [ebp - 0x26], al
call esi
test ax, 0x8001
setne al
cmp byte [ebp - 0x11], 0
jne 0x10ecd64
jmp 0x10ecefe
mov byte [ebp - 0x25], 1
jmp 0x10ecefe
mov ecx, dword [edi + 0xfc]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
fadd qword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x5c]
fsub qword [ebp - 0x20]
fstp qword [esp]
call fcn.01085cf6
test al, al
je 0x10ecf2f
mov eax, dword [ebp - 0x10]
fld qword [ebp - 0x20]
mov ecx, dword [eax]
push ecx
push ecx
fstp qword [esp]
push eax
call dword [ecx + 0x5c]
test eax, eax
jl 0x10ecf51
lea eax, [edi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
fld qword [ebp - 0x20]
fadd qword [ebp - 0x38]
push 0
push ecx
push ecx
fstp qword [esp]
push 0
mov ecx, edi
call fcn.010de681
lea ecx, [ebp - 0x84]
call fcn.0116aad6
mov ebx, eax
test ebx, ebx
jge 0x10ecfa8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.0116aa37
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ecf82
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ecf93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ecfa4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
jmp 0x10ed026
mov ecx, edi
call fcn.010dfd68
lea eax, [edi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ecx, edi
call fcn.010ea588
push dword [ebp - 0x54]
call esi
cmp byte [ebp - 0x25], 0
je 0x10ecfe2
push 0
push 0x355
push 0x111
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.0116aa37
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ed002
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed013
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ed024
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0103290a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0103290a
mov eax, esi
jmp 0x10ed07e
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ed053
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ed064
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0103290a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0103290a
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10