Function at 0x10ed10d
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x127d1e4
call fcn.01160458
sub esp, 0x74
push edi
mov edi, ecx
cmp dword [edi + 0xf4], 1
jne 0x10ed12d
xor eax, eax
jmp 0x10ed8be
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.01032a72
push 0xf63a
lea ecx, [ebp - 0x34]
call fcn.01032a72
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 0x10ed193
mov esi, 0x80004003
jmp 0x10ed864
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 0x10ed1e6
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.01086e00
mov esi, eax
cmp esi, ebx
jge 0x10ed262
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ed864
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed864
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 0x10ed212
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
jmp 0x10ed59b
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x10ed225
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
jmp 0x10ed501
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 0x10ed880
cmp dword [ebp - 0x14], ebx
je 0x10ed880
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ed262
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x14], ebx
je 0x10ed50b
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 0x10ed2b6
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.0105384d
test eax, eax
jne 0x10ed2b6
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed2b6
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
jne 0x10ed352
cmp dword [ebp - 0x1c], ebx
je 0x10ed352
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 0x10ed583
fld qword [ebp - 0x6c]
push ecx
fstp qword [ebp - 0x54]
push ecx
fld qword [ebp - 0x6c]
mov ecx, edi
fstp qword [esp]
call fcn.010dfa8d
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.010e37ea
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.010865ed
test al, al
jne 0x10ed382
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ed363
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed374
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jmp 0x10ed85a
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 0x10ed3a1
cmp eax, 2
jne 0x10ed408
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov ecx, edi
call fcn.010dec1f
mov esi, eax
cmp esi, ebx
jl 0x10ed572
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed4d8
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 0x10ed572
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x64]
fsub qword [ebp - 0x54]
fstp qword [esp]
call fcn.010865ed
test al, al
jne 0x10ed404
fld qword [ebp - 0x64]
mov byte [ebp - 0xd], 1
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x54]
jmp 0x10ed408
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.0107dbed
mov esi, eax
cmp esi, ebx
jge 0x10ed444
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed497
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed497
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed460
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x54]
mov esi, eax
cmp esi, ebx
jl 0x10ed431
cmp dword [ebp - 0x28], ebx
jne 0x10ed473
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed4b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed4b6
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed484
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 0x10ed4b1
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed561
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed561
cmp dword [ebp - 0x24], ebx
jne 0x10ed525
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed4c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ed4d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed4e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ed4fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed50b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ed189
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed189
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed536
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x80]
call fcn.0116b173
mov byte [ebp - 4], 0xa
push 0x26
lea ecx, [ebp - 0x80]
call fcn.0116addc
mov esi, eax
cmp esi, ebx
jge 0x10ed5ae
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0116ad76
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ed572
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed583
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ed594
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed1cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed1cc
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x10], 0
jmp 0x10ed6a8
test bl, bl
je 0x10ed6ea
test al, al
je 0x10ed6ea
cmp byte [ebp - 0xf], 0
jne 0x10ed6e6
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 0x10ed61a
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.010865ed
test al, al
je 0x10ed801
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x10ed650
cmp eax, 2
jne 0x10ed67f
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x64]
fsub qword [ebp - 0x54]
fstp qword [esp]
call fcn.010865ed
test al, al
jne 0x10ed67b
fld qword [ebp - 0x64]
mov byte [ebp - 0xd], 1
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x54]
jmp 0x10ed67f
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.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 - 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 0x10ed5bd
jmp 0x10ed6ea
mov byte [ebp - 0x10], 1
cmp byte [ebp - 0xd], 0
jne 0x10ed71f
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x6c]
fstp qword [esp]
call fcn.010865ed
test al, al
je 0x10ed72f
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 0x10ed72b
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x9c]
test eax, eax
jl 0x10ed751
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.010de74b
lea ecx, [ebp - 0x80]
call fcn.0116ae15
mov ebx, eax
test ebx, ebx
jge 0x10ed7c7
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0116ad76
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ed77c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10ed78d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10ed79e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed7af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10ed7c0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
jmp 0x10ed864
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 - 0x40]
call esi
cmp byte [ebp - 0x10], 0
je 0x10ed801
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.0116ad76
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ed81e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10ed82f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10ed840
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed851
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10ed862
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.010328fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.010328fe
mov eax, esi
jmp 0x10ed8bc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ed891
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ed8a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.010328fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.010328fe
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0x10