Function at 0x10ec943
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x127d17d
call fcn.01160458
sub esp, 0x80
push ebx
xor ebx, ebx
push edi
mov edi, ecx
inc ebx
cmp dword [edi + 0xf4], ebx
jne 0x10ec969
xor eax, eax
jmp 0x10ed0f8
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.01032a72
push 0xf63a
lea ecx, [ebp - 0x44]
call fcn.01032a72
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 0x10ec9c1
mov esi, 0x80004003
jmp 0x10ed09f
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 0x10eca21
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.01086e00
mov esi, eax
test esi, esi
jge 0x10ecab7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ed09f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed09f
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 0x10eca54
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10eca07
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10eca07
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10eca7a
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10eca6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
jmp 0x10ecd48
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 0x10ed0bb
cmp dword [ebp - 0x10], eax
je 0x10ed0bb
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ecab7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10eca6c
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 0x10eca07
sub esp, 0x10
fldz
fstp qword [esp + 8]
fld qword [ebp - 0x5c]
fstp qword [esp]
call fcn.01055f12
test al, al
jne 0x10ed08c
fld qword [ebp - 0x5c]
push ecx
fstp qword [ebp - 0x20]
push ecx
fld qword [ebp - 0x5c]
mov ecx, edi
fstp qword [esp]
call fcn.010dfa8d
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.010e37ea
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.010865ed
test al, al
jne 0x10ecb86
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 0x10ecba2
cmp eax, 2
jne 0x10ecc5e
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov ecx, edi
call fcn.010dec1f
mov esi, eax
cmp esi, ebx
jl 0x10ecdaf
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ecd2e
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 0x10ecdaf
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x20]
fstp qword [esp]
call fcn.010865ed
test al, al
jne 0x10ecc02
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.010865ed
test al, al
jne 0x10ecc27
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.010865ed
test al, al
jne 0x10ecc5e
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.0107dbed
mov esi, eax
cmp esi, ebx
jge 0x10ecc9a
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ecced
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecced
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10eccb6
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x54]
mov esi, eax
cmp esi, ebx
jl 0x10ecc87
cmp dword [ebp - 0x2c], ebx
jne 0x10eccc9
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ecd0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecd0c
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10eccda
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 0x10ecd07
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ecd9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ecd9e
cmp dword [ebp - 0x24], ebx
jne 0x10ecd59
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ecd1d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ecd2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ecd3f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10ec9b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ec9b7
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ecd6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x84]
call fcn.0116b173
mov byte [ebp - 4], 8
push 0x26
lea ecx, [ebp - 0x84]
call fcn.0116addc
mov esi, eax
cmp esi, ebx
jge 0x10ecdce
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.0116ad76
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ecdaf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ecdc0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jmp 0x10eca10
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x25], 0
jmp 0x10ecf1e
test bl, bl
je 0x10ecf77
cmp byte [ebp - 0x26], 0
je 0x10ecf77
test al, al
jne 0x10ecf5e
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 0x10ece3a
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.010865ed
test al, al
je 0x10ecf64
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x10ece74
cmp eax, 2
jne 0x10ecef5
fld qword [ebp - 0x38]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x20]
fstp qword [esp]
call fcn.010865ed
test al, al
jne 0x10ece99
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.010865ed
test al, al
jne 0x10ecebe
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.010865ed
test al, al
jne 0x10ecef5
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.010e37ea
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 0x10ecddd
jmp 0x10ecf77
mov byte [ebp - 0x25], 1
jmp 0x10ecf77
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.010865ed
test al, al
je 0x10ecfa8
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 0x10ecfca
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.010de74b
lea ecx, [ebp - 0x84]
call fcn.0116ae15
mov ebx, eax
test ebx, ebx
jge 0x10ed021
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.0116ad76
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ecffb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed00c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ed01d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
jmp 0x10ed09f
mov ecx, edi
call fcn.010dfdea
lea eax, [edi + 0x88]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ecx, edi
call fcn.010ea601
push dword [ebp - 0x54]
call esi
cmp byte [ebp - 0x25], 0
je 0x10ed05b
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.0116ad76
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ed07b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed08c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ed09d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.010328fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.010328fe
mov eax, esi
jmp 0x10ed0f7
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10ed0cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10ed0dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.010328fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.010328fe
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10