Function at 0x10ed094
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x127d286
call fcn.01160118
sub esp, 0x74
push edi
mov edi, ecx
cmp dword [edi + 0xf8], 1
jne 0x10ed0b4
xor eax, eax
jmp 0x10ed845
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.01032a7e
push 0xf63a
lea ecx, [ebp - 0x34]
call fcn.01032a7e
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 + 0x84]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx]
call dword [eax]
cmp dword [edi + 0xa4], ebx
mov dword [ebp - 0x48], eax
jne 0x10ed11a
mov esi, 0x80004003
jmp 0x10ed7eb
mov ecx, dword [edi + 0xfc]
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 + 0xbc]
cmp eax, ebx
je 0x10ed16d
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.0108654a
mov esi, eax
cmp esi, ebx
jge 0x10ed1e9
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ed7eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed7eb
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 3
mov eax, dword [edi + 0xa4]
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 0x10ed199
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
jmp 0x10ed522
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x10ed1ac
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
jmp 0x10ed488
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
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 0x10ed807
cmp dword [ebp - 0x14], ebx
je 0x10ed807
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ed1e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x14], ebx
je 0x10ed492
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 5
cmp dword [edi + 0xf8], ebx
jne 0x10ed23d
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
call fcn.0105325e
test eax, eax
jne 0x10ed23d
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed23d
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x94]
test eax, eax
jne 0x10ed2d9
cmp dword [ebp - 0x1c], ebx
je 0x10ed2d9
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 0x10ed50a
fld qword [ebp - 0x6c]
push ecx
fstp qword [ebp - 0x54]
push ecx
fld qword [ebp - 0x6c]
mov ecx, edi
fstp qword [esp]
call fcn.010dfa0b
mov ecx, dword [edi + 0xfc]
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.010e3771
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 + 0xfc]
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.01085cf6
test al, al
jne 0x10ed309
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ed2ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed2fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jmp 0x10ed7e1
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
fldz
mov eax, dword [edi + 0xf8]
fstp qword [ebp - 0x64]
cmp eax, ebx
mov byte [ebp - 0xd], 0
je 0x10ed328
cmp eax, 2
jne 0x10ed38f
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov ecx, edi
call fcn.010deb9d
mov esi, eax
cmp esi, ebx
jl 0x10ed4f9
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed45f
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 0x10ed4f9
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x64]
fsub qword [ebp - 0x54]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ed38b
fld qword [ebp - 0x64]
mov byte [ebp - 0xd], 1
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x54]
jmp 0x10ed38f
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.0107d32f
mov esi, eax
cmp esi, ebx
jge 0x10ed3cb
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed41e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed41e
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed3e7
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x54]
mov esi, eax
cmp esi, ebx
jl 0x10ed3b8
cmp dword [ebp - 0x28], ebx
jne 0x10ed3fa
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed43d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed43d
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x10ed40b
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 0x10ed438
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed4e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed4e8
cmp dword [ebp - 0x24], ebx
jne 0x10ed4ac
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed44e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ed45f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed470
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ed481
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed492
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ed110
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed110
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x10ed4bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x80]
call fcn.0116ae34
mov byte [ebp - 4], 0xa
push 0x26
lea ecx, [ebp - 0x80]
call fcn.0116aa9d
mov esi, eax
cmp esi, ebx
jge 0x10ed535
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0116aa37
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10ed4f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10ed50a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x10ed51b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10ed153
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10ed153
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov byte [ebp - 0x10], 0
jmp 0x10ed62f
test bl, bl
je 0x10ed671
test al, al
je 0x10ed671
cmp byte [ebp - 0xf], 0
jne 0x10ed66d
mov ecx, dword [edi + 0xfc]
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 0x10ed5a1
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.01085cf6
test al, al
je 0x10ed788
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x10ed5d7
cmp eax, 2
jne 0x10ed606
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x64]
fsub qword [ebp - 0x54]
fstp qword [esp]
call fcn.01085cf6
test al, al
jne 0x10ed602
fld qword [ebp - 0x64]
mov byte [ebp - 0xd], 1
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x54]
jmp 0x10ed606
mov byte [ebp - 0xd], 0
mov ecx, dword [edi + 0xfc]
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.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 - 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 0x10ed544
jmp 0x10ed671
mov byte [ebp - 0x10], 1
cmp byte [ebp - 0xd], 0
jne 0x10ed6a6
fld qword [ebp - 0x5c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x6c]
fstp qword [esp]
call fcn.01085cf6
test al, al
je 0x10ed6b6
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 0x10ed6b2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x9c]
test eax, eax
jl 0x10ed6d8
lea eax, [edi + 0x8c]
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.010de681
lea ecx, [ebp - 0x80]
call fcn.0116aad6
mov ebx, eax
test ebx, ebx
jge 0x10ed74e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.0116aa37
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ed703
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10ed714
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10ed725
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed736
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10ed747
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, ebx
jmp 0x10ed7eb
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 - 0x40]
call esi
cmp byte [ebp - 0x10], 0
je 0x10ed788
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.0116aa37
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10ed7a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10ed7b6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10ed7c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10ed7d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10ed7e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0103290a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0103290a
mov eax, esi
jmp 0x10ed843
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x10ed818
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10ed829
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0103290a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0103290a
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0x10