Function at 0x1000d2d1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000d4fb
lea eax, [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1000d327
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1000d322
push 0x2099
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x1000d4f6
mov dword [ebp - 0x64], 0x16a9
cmp dword [ebp - 0x64], 0x6a1
jge 0x1000d4eb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x10007a6c
call fcn.100550ab
add esp, 0xc
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x28]
jne 0x1000d36d
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x24]
jne 0x1000d36d
push 0x10007a78
call fcn.10055376
pop ecx
jmp 0x1000d38a
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x24]
jg 0x1000d38a
jl 0x1000d37f
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x28]
jae 0x1000d38a
push 0x10007a68
call fcn.10055376
pop ecx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
sbb ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
xorpd xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x14], 1
and dword [ebp - 0x10], 0
jmp 0x1000d3cd
mov eax, dword [ebp - 0x14]
add eax, 1
mov ecx, dword [ebp - 0x10]
adc ecx, 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.1005af80
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x34]
jg 0x1000d48d
jl 0x1000d3fe
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x38]
jae 0x1000d48d
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.1006dfe0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x80]
or eax, dword [ebp - 0x7c]
jne 0x1000d488
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jl 0x1000d441
jg 0x1000d42f
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
jbe 0x1000d441
mov eax, dword [ebp - 0x20]
add eax, 1
mov ecx, dword [ebp - 0x1c]
adc ecx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.1006df30
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x24]
jl 0x1000d488
jg 0x1000d476
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x28]
jbe 0x1000d488
mov eax, dword [ebp - 0x20]
add eax, 1
mov ecx, dword [ebp - 0x1c]
adc ecx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x1000d3bb
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jl 0x1000d4d8
jg 0x1000d49f
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
jbe 0x1000d4d8
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.1005af80
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x38]
jne 0x1000d4d8
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x34]
jne 0x1000d4d8
mov eax, dword [ebp - 0x20]
add eax, 1
mov ecx, dword [ebp - 0x1c]
adc ecx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x10007a84
call fcn.100552a0
add esp, 0xc
push 0x281
call dword [sym.imp.USER32.dll_IsZoomed]
jmp 0x1000d5e4
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x1000d548
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1000d543
push 0
push 0xdf9
call dword [sym.imp.USER32.dll_TranslateMDISysAccel]
jmp 0x1000d5e4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0xffffffe2
jmp 0x1000d579
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0xffffffec
jl 0x1000d5e4
push 2
lea ecx, [ebp - 0x9c]
call fcn.1000b098
and dword [ebp - 4], 0
mov dword [ebp - 0x90], 0xfffffffc
mov dword [ebp - 0x30], 0
jmp 0x1000d5ac
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1000d5c8
push dword [ebp - 0x30]
lea ecx, [ebp - 0x9c]
call fcn.1000b0d9
mov dword [eax], 0x394d
jmp 0x1000d5a5
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.1000b0d4
jmp 0x1000d56e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret