Function at 0x1000f7a1
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x10029fa5
call fcn.100112ec
sub esp, 0x20
mov eax, dword [ebp + 8]
test eax, eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
jne 0x1000f7c0
and dword [ebp - 0x28], eax
jmp 0x1000f7c6
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x28], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 4]
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x2c], eax
call fcn.1002042d
mov ebx, 0x100
cmp esi, ebx
mov dword [ebp - 0x14], eax
jb 0x1000f7f2
cmp esi, 0x109
jbe 0x1000f80a
cmp esi, 0x200
jb 0x1000f8b7
cmp esi, 0x209
ja 0x1000f8b7
test eax, eax
je 0x1000f8b7
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 0x4c], 0
jne 0x1000f842
push dword [esi + 0x1c]
call edi
push eax
call fcn.1002042d
cmp eax, dword [ebp + 8]
je 0x1000f842
push dword [esi + 0x1c]
call edi
push eax
call fcn.1002042d
mov esi, eax
test esi, esi
jne 0x1000f81b
test esi, esi
je 0x1000f869
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1000f869
cmp dword [eax + 0x54], 0
je 0x1000f869
mov eax, dword [eax + 0x54]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x1000f869
inc eax
jmp 0x1000fa10
cmp dword [ebp - 0x18], 0x101
je 0x1000f880
cmp dword [ebp - 0x18], ebx
je 0x1000f880
cmp dword [ebp - 0x18], 0x102
jne 0x1000f8b4
test esi, esi
je 0x1000f8b4
mov esi, dword [esi + 0x4c]
test esi, esi
je 0x1000f8b4
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0xd
jne 0x1000f8a5
test byte [esi + 0x80], 1
jne 0x1000f930
cmp ax, 0x1b
jne 0x1000f8b4
test byte [esi + 0x80], 2
jne 0x1000f930
mov edi, dword [ebp + 0xc]
push dword [edi]
call fcn.1002042d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
xor esi, esi
and dword [ebp - 0x24], esi
sub eax, ebx
mov dword [ebp - 0x20], 2
je 0x1000f95b
dec eax
dec eax
je 0x1000f906
sub eax, 4
jne 0x1000f992
cmp dword [ebp - 0x14], esi
jne 0x1000f8fb
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x1000f992
cmp word [edi + 8], 0x20
je 0x1000f992
push edi
push dword [ebp - 0x1c]
call fcn.1000f027
cmp dword [ebp - 0x18], 0x102
jne 0x1000f91c
test al, 0x84
jne 0x1000f992
mov cx, word [edi + 8]
cmp cx, 9
jne 0x1000f92a
test al, 2
jne 0x1000f992
cmp cx, 0x20
jne 0x1000f937
xor eax, eax
jmp 0x1000fa10
push edi
push dword [ebp - 0x1c]
push dword [ebp + 8]
call fcn.1000f3cb
test eax, eax
je 0x1000f992
mov eax, dword [eax + 4]
test eax, eax
je 0x1000f992
push edi
mov ecx, eax
call fcn.1000a27b
jmp 0x1000fbba
push edi
push dword [ebp - 0x1c]
call fcn.1000f027
movzx ecx, word [edi + 8]
cmp ecx, 0x1b
jg 0x1000faa7
je 0x1000faff
cmp ecx, 3
je 0x1000faff
cmp ecx, 9
je 0x1000fa21
cmp ecx, 0xd
je 0x1000facb
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov edi, eax
test edi, edi
je 0x1000f9c9
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call fcn.1002042d
cmp eax, dword [ebp - 0x14]
je 0x1000f9c9
call esi
push eax
call fcn.1002042d
push eax
call fcn.1000f4a6
pop ecx
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x1000fa0e
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
call fcn.1002042d
push eax
push dword [ebp - 0x14]
call fcn.1000f513
pop ecx
pop ecx
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x1000fa0e
call ebx
push eax
call fcn.1002042d
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.1000f6c1
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
test al, 2
jne 0x1000f992
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, dword [ebp + 8]
xor ebx, ebx
test ax, ax
setl bl
mov ecx, esi
push ebx
push 0
call fcn.1001d47d
test eax, eax
je 0x1000f992
cmp dword [eax + 4], 0
je 0x1000fa67
mov eax, dword [eax + 4]
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0xac]
jmp 0x1000fbba
mov eax, dword [eax]
test eax, eax
je 0x1000fa75
push eax
call fcn.1002042d
jmp 0x1000fa80
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.10006b29
mov edi, eax
test edi, edi
je 0x1000fbba
mov eax, dword [esi + 0x48]
and dword [eax + 0x6c], 0
push edi
call fcn.1000f110
push edi
push dword [ebp - 0x14]
call fcn.1000f513
pop ecx
pop ecx
jmp 0x1000fbba
cmp ecx, 0x25
jl 0x1000f992
cmp ecx, 0x26
jle 0x1000fb60
cmp ecx, 0x28
jle 0x1000fb67
cmp ecx, 0x2b
jne 0x1000f992
test al, 4
jne 0x1000f992
push dword [ebp - 0x14]
call fcn.1000f0b5
test al, 0x10
pop ecx
je 0x1000faec
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.1001d256
jmp 0x1000faf4
push dword [ebp + 8]
call fcn.1000f694
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x20], eax
jne 0x1000fb16
jmp 0x1000fb01
xor edi, edi
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.1000f58e
mov esi, eax
cmp esi, edi
je 0x1000f992
mov ecx, esi
call fcn.1001d2d0
test eax, eax
jne 0x1000fb2d
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x1000f992
cmp dword [esi + 0x4c], edi
je 0x1000f992
push edi
push edi
push edi
push 1
push 0xfffffdd9
push esi
mov dword [ebp - 4], edi
call fcn.1001d32d
add esp, 0x18
or dword [ebp - 4], 0xffffffff
jmp 0x1000fbba
mov dword [ebp - 0x24], 1
push edi
push dword [ebp - 0x14]
call fcn.1000f027
test al, 1
jne 0x1000f992
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp + 8]
push 0
je 0x1000fb8a
call fcn.1001d559
jmp 0x1000fb8f
call fcn.1001d655
mov esi, eax
test esi, esi
je 0x1000f992
cmp dword [esi + 8], 0
je 0x1000fba8
mov ecx, dword [ebp + 8]
push esi
call fcn.1001d751
cmp dword [esi + 4], 0
je 0x1000fbc2
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0xac]
xor edi, edi
inc edi
jmp 0x1000f9c9
mov eax, dword [esi]
test eax, eax
je 0x1000fbd0
push eax
call fcn.1002042d
jmp 0x1000fbde
push dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.1000f0d6
mov edi, eax
test edi, edi
je 0x1000f992
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
xor ebx, ebx
push edi
mov dword [eax + 0x6c], ebx
call fcn.1000f110
cmp dword [esi + 8], ebx
je 0x1000fbba
push ebx
push 1
push 0xf1
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1000fbba