Function at 0x10ec4ff
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x127d031
call fcn.01160168
sub esp, 0x80
push ebx
xor ebx, ebx
push edi
mov edi, ecx
inc ebx
cmp dword [edi + 0xf4], ebx
jne 0x10ec525
xor eax, eax
jmp 0x10eccb4
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.01032a95
push 0xf63a
lea ecx, [ebp - 0x44]
call fcn.01032a95
cmp dword [edi + 0xa0], 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 0x10ec57d
mov esi, 0x80004003
jmp 0x10ecc5b
mov ecx, dword [edi + 0xf8]
mov eax, dword [ecx]
call dword [eax + 0x20]
fdivr qword [0x1003510]
lea ecx, [edi + 0x80]
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 + 0xb8]
cmp eax, esi
je 0x10ec5dd
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.010866f9
mov esi, eax
test esi, esi
jge 0x10ec673
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ecc5b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecc5b
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 3
mov eax, dword [edi + 0xa0]
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 0x10ec610
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ec5c3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ec5c3
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10ec636
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ec628
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x10ec904
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
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 0x10ecc77
cmp dword [ebp - 0x10], eax
je 0x10ecc77
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ec673
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ec628
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 0x10ec5c3
sub esp, 0x10
fldz
fstp qword [esp + 8]
fld qword [ebp - 0x5c]
fstp qword [esp]
call fcn.010558e8
test al, al
jne 0x10ecc48
fld qword [ebp - 0x5c]
push ecx
fstp qword [ebp - 0x20]
push ecx
fld qword [ebp - 0x5c]
mov ecx, edi
fstp qword [esp]
call fcn.010df649
mov ecx, dword [edi + 0xf8]
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.010e33a6
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 + 0xf8]
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.01085e6b
test al, al
jne 0x10ec742
mov ecx, dword [edi + 0xf8]
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 + 0xf4]
cmp eax, ebx
je 0x10ec75e
cmp eax, 2
jne 0x10ec81a
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov ecx, edi
call fcn.010de7db
mov esi, eax
cmp esi, ebx
jl 0x10ec96b
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ec8ea
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 0x10ec96b
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x20]
fstp qword [esp]
call fcn.01085e6b
test al, al
jne 0x10ec7be
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.01085e6b
test al, al
jne 0x10ec7e3
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.01085e6b
test al, al
jne 0x10ec81a
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.0107d39e
mov esi, eax
cmp esi, ebx
jge 0x10ec856
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ec8a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ec8a9
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ec872
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x54]
mov esi, eax
cmp esi, ebx
jl 0x10ec843
cmp dword [ebp - 0x2c], ebx
jne 0x10ec885
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ec8c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ec8c8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ec896
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 0x10ec8c3
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ec95a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ec95a
cmp dword [ebp - 0x24], ebx
jne 0x10ec915
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ec8d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ec8ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ec8fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10ec573
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ec573
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ec926
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x84]
call fcn.0116ae78
mov byte [ebp - 4], 8
push 0x26
lea ecx, [ebp - 0x84]
call fcn.0116aae1
mov esi, eax
cmp esi, ebx
jge 0x10ec98a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.0116aa7b
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ec96b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ec97c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jmp 0x10ec5cc
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x25], 0
jmp 0x10ecada
test bl, bl
je 0x10ecb33
cmp byte [ebp - 0x26], 0
je 0x10ecb33
test al, al
jne 0x10ecb1a
mov ecx, dword [edi + 0xf8]
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 0x10ec9f6
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.01085e6b
test al, al
je 0x10ecb20
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x10eca30
cmp eax, 2
jne 0x10ecab1
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x20]
fstp qword [esp]
call fcn.01085e6b
test al, al
jne 0x10eca55
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.01085e6b
test al, al
jne 0x10eca7a
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.01085e6b
test al, al
jne 0x10ecab1
fld qword [ebp - 0x4c]
fadd qword [ebp - 0x38]
fsub qword [ebp - 0x64]
fstp qword [ebp - 0x20]
mov ecx, dword [edi + 0xf8]
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.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 - 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 0x10ec999
jmp 0x10ecb33
mov byte [ebp - 0x25], 1
jmp 0x10ecb33
mov ecx, dword [edi + 0xf8]
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.01085e6b
test al, al
je 0x10ecb64
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 0x10ecb86
lea eax, [edi + 0x88]
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.010de2e0
lea ecx, [ebp - 0x84]
call fcn.0116ab1a
mov ebx, eax
test ebx, ebx
jge 0x10ecbdd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.0116aa7b
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ecbb7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ecbc8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ecbd9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
jmp 0x10ecc5b
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 - 0x54]
call esi
cmp byte [ebp - 0x25], 0
je 0x10ecc17
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.0116aa7b
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ecc37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ecc48
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ecc59
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.010328fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.010328fa
mov eax, esi
jmp 0x10eccb3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ecc88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ecc99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.010328fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.010328fa
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10