Function at 0x1000a64d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
sub esp, 0x68
push 0x50
mov eax, 0x101792aa
call fcn.10145d80
mov dword [ebp + 0x4c], ecx
mov esi, dword [ebp + 0x74]
xor edi, edi
cmp esi, edi
je 0x1000abb0
mov eax, dword [esi]
lea ecx, [ebp + 0x40]
push ecx
push esi
mov dword [ebp + 0x40], edi
call dword [eax + 0x24]
cmp eax, edi
jl 0x1000abb0
cmp dword [ebp + 0x40], edi
je 0x1000abb0
mov dword [ebp + 0x3c], edi
jle 0x1000abb0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1000a69f
mov esi, dword [ebp + 0x74]
and dword [ebp + 0x50], 0
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 0x3c]
mov word [ebp - 0x1c], 3
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
lea ecx, [ebp + 0x50]
push ecx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 4], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
push dword [ebp + 0x74]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x2c]
push dword [ebp + 0x50]
lea ecx, [ebp + 0x64]
call fcn.10006642
mov eax, dword [ebp + 0x64]
xor esi, esi
cmp eax, esi
je 0x1000ab90
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x44], esi
mov ecx, dword [eax]
lea edx, [ebp + 0x48]
push edx
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x40]
mov eax, dword [ebp + 0x48]
cmp eax, esi
je 0x1000ab69
mov ecx, dword [eax]
lea edx, [ebp + 0x44]
push edx
push eax
call dword [ecx + 0x254]
push dword [ebp + 0x44]
lea ecx, [ebp + 0x38]
call fcn.10007b11
mov eax, dword [ebp + 0x38]
cmp dword [eax - 8], esi
mov byte [ebp - 4], 4
jne 0x1000a936
cmp dword [ebp + 0x7c], esi
je 0x1000ab61
cmp dword [ebp + 0x78], esi
jne 0x1000ab61
cmp dword [ebp + 0x40], 0x64
jae 0x1000ab61
mov dword [ebp + 0x68], esi
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
lea edx, [ebp + 0x68]
push edx
push eax
mov byte [ebp - 4], 5
call dword [ecx + 0x34]
mov eax, dword [0x101f3028]
mov dword [ebp + 0x58], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push dword [ebp + 0x68]
mov byte [ebp - 4], 7
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
mov edi, dword [ebp + 0x4c]
jne 0x1000a7f8
lea esi, [edi + 0x8c]
push dword [esi]
lea eax, [ebp + 0x58]
push str.D9965FA8_B520_442e_AD4F_86E7D47ECF38__d
push eax
call fcn.10004662
add esp, 0xc
inc dword [esi]
push dword [ebp + 0x58]
mov esi, dword [ebp + 0x64]
lea ecx, [ebp + 0x2c]
call fcn.10005f82
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push esi
mov byte [ebp - 4], 8
call dword [ecx + 0x30]
push dword [ebp + 0x2c]
mov byte [ebp - 4], 7
call ebx
push dword [ebp + 0x58]
lea ecx, [ebp + 8]
call fcn.10005f82
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 9
call fcn.10006797
push dword [ebp + 8]
mov byte [ebp - 4], 7
call ebx
xor esi, esi
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x64]
mov ecx, edi
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], esi
call fcn.10006e39
cmp dword [edi + 0x78], esi
jne 0x1000a83f
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x1000a83a
cmp dword [edi + 0x80], esi
jne 0x1000a83f
cmp dword [edi + 0x7c], esi
je 0x1000a845
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], esi
push dword [ebp + 0x68]
lea ecx, [ebp + 0x18]
call fcn.10007b11
push eax
lea eax, [ebp - 0x34]
lea esi, [edi + 0x6c]
push eax
mov ecx, esi
call fcn.100076a5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x24], ecx
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x28], eax
call fcn.10003b75
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x24]
call fcn.1000608e
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x24]
call fcn.1000504b
test al, al
jne 0x1000a904
lea ecx, [ebp + 0x24]
call fcn.1000603b
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, dword [eax + 8]
jne 0x1000a8a5
test eax, eax
je 0x1000a904
cmp dword [ebp + 0x60], 0
jne 0x1000a8b1
cmp dword [ebp + 0x5c], 0
je 0x1000a904
cmp dword [ebp + 0x5c], ecx
jne 0x1000a8bb
cmp dword [ebp + 0x60], eax
je 0x1000a904
mov eax, 0x190
cmp dword [ebp + 0x30], eax
mov dword [ebp + 0x54], 1
jb 0x1000a8d1
cmp dword [ebp + 0x34], eax
jae 0x1000a904
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x64]
mov ecx, edi
call fcn.10007d79
test eax, eax
jl 0x1000a904
cmp dword [ebp + 0x54], 0
jne 0x1000a904
mov eax, dword [edi]
push edi
call dword [eax + 0x28]
mov edi, 0x101f84e8
mov ecx, edi
call fcn.10053ae0
inc eax
push eax
mov ecx, edi
call fcn.10053b43
push dword [ebp + 0x68]
lea ecx, [ebp]
call fcn.10007b11
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.1000a336
mov ecx, dword [ebp + 0x5c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x60]
mov dword [eax + 4], ecx
lea ecx, [ebp]
call fcn.10003b75
lea eax, [ebp - 0x44]
jmp 0x1000ab0c
push str.absolute
push eax
call fcn.1014631e
test eax, eax
pop ecx
pop ecx
jne 0x1000ab61
cmp dword [ebp + 0x7c], esi
jne 0x1000ab24
mov dword [ebp + 0x68], esi
mov eax, dword [ebp + 0x64]
mov ecx, dword [eax]
lea edx, [ebp + 0x68]
push edx
push eax
mov byte [ebp - 4], 0xb
call dword [ecx + 0x34]
mov eax, dword [0x101f3028]
mov dword [ebp + 0x58], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push dword [ebp + 0x68]
mov byte [ebp - 4], 0xd
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
mov edi, dword [ebp + 0x4c]
jne 0x1000a9f0
lea esi, [edi + 0x8c]
push dword [esi]
lea eax, [ebp + 0x58]
push str.D9965FA8_B520_442e_AD4F_86E7D47ECF38__d
push eax
call fcn.10004662
add esp, 0xc
inc dword [esi]
push dword [ebp + 0x58]
mov esi, dword [ebp + 0x64]
lea ecx, [ebp + 0xc]
call fcn.10005f82
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push esi
mov byte [ebp - 4], 0xe
call dword [ecx + 0x30]
push dword [ebp + 0xc]
mov byte [ebp - 4], 0xd
call ebx
push dword [ebp + 0x58]
lea ecx, [ebp + 0x10]
call fcn.10005f82
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0xf
call fcn.10006797
push dword [ebp + 0x10]
mov byte [ebp - 4], 0xd
call ebx
xor esi, esi
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x64]
mov ecx, edi
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x60], esi
call fcn.10006d4e
cmp dword [edi + 0x78], esi
jne 0x1000aa29
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x1000aa24
cmp dword [edi + 0x80], esi
jne 0x1000aa29
cmp dword [edi + 0x7c], esi
je 0x1000aa2f
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x5c], esi
push dword [ebp + 0x68]
lea ecx, [ebp + 4]
call fcn.10007b11
push eax
lea eax, [ebp - 0x4c]
lea esi, [edi + 0x6c]
push eax
mov ecx, esi
call fcn.100076a5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0x1c], ecx
lea ecx, [ebp + 4]
mov dword [ebp + 0x20], eax
call fcn.10003b75
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000608e
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x1c]
call fcn.1000504b
test al, al
jne 0x1000aadf
lea ecx, [ebp + 0x1c]
call fcn.1000603b
mov ecx, dword [eax + 4]
test ecx, ecx
mov eax, dword [eax + 8]
jne 0x1000aa8f
test eax, eax
je 0x1000aadf
cmp dword [ebp + 0x5c], 0
jne 0x1000aa9b
cmp dword [ebp + 0x60], 0
je 0x1000aadf
cmp dword [ebp + 0x60], ecx
jne 0x1000aaa5
cmp dword [ebp + 0x5c], eax
je 0x1000aadf
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x64]
mov ecx, edi
mov dword [ebp + 0x54], 1
call fcn.10007d79
test eax, eax
jl 0x1000aadf
cmp dword [ebp + 0x54], 0
jne 0x1000aadf
mov eax, dword [edi]
push edi
call dword [eax + 0x28]
mov edi, 0x101f84e8
mov ecx, edi
call fcn.10053ae0
inc eax
push eax
mov ecx, edi
call fcn.10053b43
push dword [ebp + 0x68]
lea ecx, [ebp + 0x14]
call fcn.10007b11
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.1000a336
mov ecx, dword [ebp + 0x60]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x5c]
mov dword [eax + 4], ecx
lea ecx, [ebp + 0x14]
call fcn.10003b75
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp + 0x58]
call fcn.10003b75
push dword [ebp + 0x68]
call ebx
xor esi, esi
jmp 0x1000ab61
mov ecx, dword [ebp + 0x4c]
lea eax, [ebp + 0x54]
push eax
push dword [ebp + 0x64]
mov dword [ebp + 0x54], 1
call fcn.10007d79
test eax, eax
jl 0x1000ab61
cmp dword [ebp + 0x54], esi
jne 0x1000ab61
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov edi, 0x101f84e8
mov ecx, edi
call fcn.10053ae0
inc eax
push eax
mov ecx, edi
call fcn.10053b43
lea ecx, [ebp + 0x38]
call fcn.10003b75
push dword [ebp + 0x44]
call ebx
mov eax, dword [ebp + 0x48]
cmp eax, esi
mov byte [ebp - 4], 1
je 0x1000ab7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x64]
cmp eax, esi
mov byte [ebp - 4], 0
je 0x1000ab90
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x50]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x1000aba1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp + 0x3c]
mov eax, dword [ebp + 0x3c]
cmp eax, dword [ebp + 0x40]
jl 0x1000a69c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc