Function at 0x10eccc9
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x127d098
call fcn.01160168
sub esp, 0x74
push edi
mov edi, ecx
cmp dword [edi + 0xf4], 1
jne 0x10ecce9
xor eax, eax
jmp 0x10ed47a
mov eax, dword [0x12ce0a0]
push ebx
push esi
mov dword [ebp - 0x38], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
push 0xf639
lea ecx, [ebp - 0x38]
call fcn.01032a95
push 0xf63a
lea ecx, [ebp - 0x34]
call fcn.01032a95
mov eax, dword [ebp - 0x38]
movzx eax, word [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
movzx eax, word [eax]
lea ecx, [edi + 0x80]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx]
call dword [eax]
cmp dword [edi + 0xa0], ebx
mov dword [ebp - 0x48], eax
jne 0x10ecd4f
mov esi, 0x80004003
jmp 0x10ed420
mov ecx, dword [edi + 0xf8]
mov eax, dword [ecx]
call dword [eax + 0x20]
fdivr qword [0x1003510]
mov dword [ebp - 0x14], ebx
fstp qword [ebp - 0x5c]
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xb8]
cmp eax, ebx
je 0x10ecda2
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.010866f9
mov esi, eax
cmp esi, ebx
jge 0x10ece1e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ed420
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed420
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 3
mov eax, dword [edi + 0xa0]
lea edx, [ebp - 0x30]
add eax, 0x24
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, ebx
jge 0x10ecdce
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
jmp 0x10ed157
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x10ecde1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
jmp 0x10ed0bd
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [edi + 0xf8]
fld qword [edx + 8]
push ecx
push ecx
fstp qword [esp]
push eax
call dword [ecx + 0x8c]
test eax, eax
jne 0x10ed43c
cmp dword [ebp - 0x14], ebx
je 0x10ed43c
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ece1e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x14], ebx
je 0x10ed0c7
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 5
cmp dword [edi + 0xf4], ebx
jne 0x10ece72
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.01053268
test eax, eax
jne 0x10ece72
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ece72
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
jne 0x10ecf0e
cmp dword [ebp - 0x1c], ebx
je 0x10ecf0e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x58]
mov esi, eax
cmp esi, ebx
jl 0x10ed13f
fld qword [ebp - 0x6c]
push ecx
fstp qword [ebp - 0x54]
push ecx
fld qword [ebp - 0x6c]
mov ecx, edi
fstp qword [esp]
call fcn.010df649
mov ecx, dword [edi + 0xf8]
fld qword [ebp - 0x54]
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
add eax, dword [ebp - 0x48]
mov ecx, edi
push eax
push 5
call fcn.010e33a6
push dword [edi + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 0xfa
push 1
push eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0x28
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov ecx, dword [edi + 0xf8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
fadd qword [ebp - 0x54]
sub esp, 0x10
fstp qword [ebp - 0x54]
fldz
fstp qword [esp + 8]
fld qword [ebp - 0x54]
fstp qword [esp]
call fcn.01085e6b
test al, al
jne 0x10ecf3e
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ecf1f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ecf30
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jmp 0x10ed416
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
fldz
mov eax, dword [edi + 0xf4]
fstp qword [ebp - 0x64]
cmp eax, ebx
mov byte [ebp - 0xd], 0
je 0x10ecf5d
cmp eax, 2
jne 0x10ecfc4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov ecx, edi
call fcn.010de7db
mov esi, eax
cmp esi, ebx
jl 0x10ed12e
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed094
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push ebx
push eax
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jl 0x10ed12e
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x64]
fsub qword [ebp - 0x54]
fstp qword [esp]
call fcn.01085e6b
test al, al
jne 0x10ecfc0
fld qword [ebp - 0x64]
mov byte [ebp - 0xd], 1
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x54]
jmp 0x10ecfc4
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 8
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x12d2398
call fcn.0107d39e
mov esi, eax
cmp esi, ebx
jge 0x10ed000
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed053
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed053
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed01c
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x54]
mov esi, eax
cmp esi, ebx
jl 0x10ecfed
cmp dword [ebp - 0x28], ebx
jne 0x10ed02f
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed072
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed072
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed040
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x74]
mov esi, eax
cmp esi, ebx
jge 0x10ed06d
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed11d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed11d
cmp dword [ebp - 0x24], ebx
jne 0x10ed0e1
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed083
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ed094
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed0a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ed0b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed0c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ecd45
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecd45
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed0f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x80]
call fcn.0116ae78
mov byte [ebp - 4], 0xa
push 0x26
lea ecx, [ebp - 0x80]
call fcn.0116aae1
mov esi, eax
cmp esi, ebx
jge 0x10ed16a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0116aa7b
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ed12e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed13f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ed150
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ecd88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecd88
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x10], 0
jmp 0x10ed264
test bl, bl
je 0x10ed2a6
test al, al
je 0x10ed2a6
cmp byte [ebp - 0xf], 0
jne 0x10ed2a2
mov ecx, dword [edi + 0xf8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
fadd qword [ebp - 0x54]
push 0
lea eax, [ebp - 0x3c]
push eax
fstp qword [ebp - 0x54]
push 0
push 0xa
mov dword [ebp - 0x3c], 0x19
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x10ed1d6
mov eax, dword [ebp - 0x3c]
lea eax, [eax + eax*4]
lea ecx, [eax + eax + 0x19]
mov eax, 0x2710
cdq
idiv ecx
mov dword [ebp - 0x44], eax
push 1
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_SleepEx]
fldz
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x54]
fstp qword [esp]
call fcn.01085e6b
test al, al
je 0x10ed3bd
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x10ed20c
cmp eax, 2
jne 0x10ed23b
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x64]
fsub qword [ebp - 0x54]
fstp qword [esp]
call fcn.01085e6b
test al, al
jne 0x10ed237
fld qword [ebp - 0x64]
mov byte [ebp - 0xd], 1
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x54]
jmp 0x10ed23b
mov byte [ebp - 0xd], 0
mov ecx, dword [edi + 0xf8]
fld qword [ebp - 0x54]
mov eax, dword [ecx]
push ecx
push ecx
fstp qword [esp]
call dword [eax + 0x2c]
add eax, dword [ebp - 0x48]
mov ecx, edi
push eax
push 5
call fcn.010e33a6
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 - 0xe], al
call esi
push dword [ebp - 0x4c]
xor ebx, ebx
mov bx, ax
shr ebx, 0xf
and bl, 1
call esi
push dword [ebp - 0x40]
test ax, 0x8001
setne byte [ebp - 0xf]
call esi
shr eax, 0xf
and al, 1
cmp byte [ebp - 0xe], 0
jne 0x10ed179
jmp 0x10ed2a6
mov byte [ebp - 0x10], 1
cmp byte [ebp - 0xd], 0
jne 0x10ed2db
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x6c]
fstp qword [esp]
call fcn.01085e6b
test al, al
je 0x10ed2eb
mov eax, dword [ebp - 0x14]
fld qword [ebp - 0x54]
mov ecx, dword [eax]
push ecx
push ecx
fstp qword [esp]
push eax
call dword [ecx + 0x5c]
jmp 0x10ed2e7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x9c]
test eax, eax
jl 0x10ed30d
lea eax, [edi + 0x88]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
fld qword [ebp - 0x54]
fadd qword [ebp - 0x5c]
push 0
push ecx
push ecx
fstp qword [esp]
push 0
mov ecx, edi
call fcn.010de2e0
lea ecx, [ebp - 0x80]
call fcn.0116ab1a
mov ebx, eax
test ebx, ebx
jge 0x10ed383
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0116aa7b
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ed338
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10ed349
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10ed35a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed36b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10ed37c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
jmp 0x10ed420
mov ecx, edi
call fcn.010df9a6
lea eax, [edi + 0x88]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ecx, edi
call fcn.010ea1bd
push dword [ebp - 0x40]
call esi
cmp byte [ebp - 0x10], 0
je 0x10ed3bd
push 0
push 0x354
push 0x111
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0116aa7b
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ed3da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10ed3eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10ed3fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed40d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10ed41e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.010328fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.010328fa
mov eax, esi
jmp 0x10ed478
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ed44d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ed45e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.010328fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.010328fa
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0x10