Function at 0x100d5af1
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x48
mov eax, 0x10148aee
call fcn.101237ae
mov edi, ecx
cmp byte [edi + 0x2c8], 0
je 0x100d5b0f
mov byte [edi + 0x2c8], 0
cmp dword [edi + 0x35c], 0
je 0x100d5e8c
mov eax, dword [edi]
call dword [eax + 0x19c]
push eax
mov ecx, 0x1019b944
call fcn.100a58e7
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x100d5b43
cmp dword [0x1019b948], eax
jne 0x100d5b43
call fcn.10004bd5
mov eax, dword [edi + 0x35c]
mov ecx, edi
mov esi, dword [edi + 0x358]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
call dword [eax + 0x38c]
mov ecx, edi
call fcn.100d50d5
mov edx, dword [ebp - 0x34]
mov ebx, eax
cmp esi, edx
jne 0x100d5b90
mov ecx, edx
sub ecx, 8
je 0x100d5dc7
sub ecx, 1
je 0x100d5c33
sub ecx, 0xa
je 0x100d5b9c
mov eax, dword [edi]
mov ecx, edi
push edx
call dword [eax + 0x37c]
mov ecx, edi
call fcn.10011142
jmp 0x100d5e9a
mov esi, dword [0x101a3ef4]
test esi, esi
jne 0x100d5bb3
mov ecx, edi
call fcn.10011918
mov esi, eax
test esi, esi
je 0x100d5c24
push esi
push 0x101634f0
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
je 0x100d5bd1
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 0x218]
jmp 0x100d5c1c
push esi
push 0x10162f60
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
je 0x100d5bef
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 0x1f8]
jmp 0x100d5c1c
push esi
push 0x10163b00
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
jne 0x100d5c11
push esi
push 0x10163eb8
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
je 0x100d5c24
mov edx, dword [eax]
mov ecx, eax
push edi
call dword [edx + 0x210]
test eax, eax
je 0x100d5b90
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2dc]
jmp 0x100d5b90
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x100d5d72
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x340]
test eax, eax
je 0x100d5d72
mov eax, dword [edi + 0xa4]
xor esi, esi
push esi
push esi
push 0xb
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x2f8], esi
jne 0x100d5cfa
push 0xa
lea ecx, [ebp - 0x54]
call fcn.100173af
lea eax, [ebp - 0x54]
mov dword [ebp - 4], esi
push eax
mov ecx, ebx
call fcn.10102d1a
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x100d5cec
mov ecx, eax
test eax, eax
je 0x100d5b3e
push dword [ecx + 8]
mov eax, dword [eax]
push 0x1019bb9c
mov dword [ebp - 0x38], eax
call fcn.10008cd2
mov esi, eax
pop ecx
pop ecx
mov ecx, esi
mov dword [ebp - 0x34], esi
mov edx, dword [esi]
call dword [edx + 0x340]
test eax, eax
je 0x100d5ce3
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [esi]
push 0
push 0
call dword [eax + 0x194]
mov ecx, dword [ebp - 0x34]
push eax
push 1
call dword [esi + 0x368]
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x100d5c96
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.100173d5
jmp 0x100d5d21
mov ecx, dword [edi + 0x330]
mov eax, dword [ecx]
call dword [eax + 0x1a0]
push eax
push 0x101728f8
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
je 0x100d5d21
push esi
mov ecx, eax
call fcn.10105f19
mov eax, dword [edi + 0xa4]
push esi
push 1
push 0xb
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0xa4]
push 0x1015d040
call fcn.10008cd2
pop ecx
pop ecx
test eax, eax
je 0x100d5d57
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x178]
mov eax, dword [edi + 0xa4]
push 0x181
push esi
push esi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x100d5e9a
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x100d5e9a
test ebx, ebx
je 0x100d5e9a
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [esi + 0x11c]
call dword [eax + 0x194]
test esi, eax
je 0x100d5e9a
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
push 1
push 0
call dword [eax + 0x194]
push eax
xor eax, eax
mov ecx, edi
cmp dword [edi + 0x2f8], eax
sete al
push eax
call dword [esi + 0x368]
jmp 0x100d5e9a
cmp dword [0x101a41c8], 0
je 0x100d5e9a
push 8
mov ecx, edi
call fcn.100d504b
mov ebx, eax
test ebx, ebx
je 0x100d5e9a
mov edx, dword [ebx]
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call dword [edx + 0xc]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.1000dd77
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.1000d7d5
mov dword [ebx + 0x14], 1
mov ecx, edi
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
call fcn.10015d5f
test eax, 0x400000
je 0x100d5e60
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
add esi, eax
mov dword [ebp - 0x34], esi
push dword [ebp - 0x38]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x34]
mov esi, dword [edi + 0x20]
call dword [eax + 0x2e4]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100d5e9a
and dword [ebx + 0x14], 0
mov ecx, edi
push ebx
call fcn.100d7184
jmp 0x100d5e9a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003a114
call fcn.10123758
ret 0xc