Function at 0x101f7ee
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x101f827
call fcn.0100cc7b
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.0100cc04
test eax, eax
jne 0x101f82e
xor eax, eax
jmp 0x101fa2e
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
shr eax, 0xf
and al, 1
xor ecx, ecx
mov ch, al
or ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
call fcn.0100cc36
cmp dword [ebp + 0x10], esi
mov ebx, eax
je 0x101f8e3
movzx eax, word [ebp + 0xc]
push 1
add eax, 0xffffffdf
pop ecx
cmp eax, 7
mov dword [ebp - 8], ecx
ja case.default.0x101f869
jmp dword [eax*4 + 0x101fa35]
mov dword [ebp - 4], 4
jmp 0x101f880
mov dword [ebp - 4], 3
mov esi, ecx
jmp 0x101f8e6
mov dword [ebp - 4], 4
jmp 0x101f894
mov dword [ebp - 4], 3
push 2
jmp 0x101f8dd
mov dword [ebp - 4], 2
jmp 0x101f8a4
mov dword [ebp - 4], ecx
push 0x11
call edi
mov si, ax
and si, 0x8000
neg si
sbb esi, esi
inc esi
inc esi
jmp 0x101f8e6
mov dword [ebp - 4], 5
jmp 0x101f8c9
mov dword [ebp - 4], 6
push 0x11
call edi
test ah, 0x80
jne 0x101f8db
cmp dword [ebx + 0x70], esi
je 0x101f8db
push 1
jmp 0x101f8dd
push 3
pop esi
jmp 0x101f8e6
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [0x103a884]
je 0x101f91b
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
setne cl
push ecx
push eax
call fcn.01023c96
push eax
push dword [ebp + 0xc]
call fcn.0100b632
test eax, eax
je 0x101f9b9
push dword [ebp - 0xc]
call fcn.0100cc04
jmp 0x101f931
cmp dword [ebp + 0x10], 0
jne 0x101f939
push 0
push 0xffffffffffffffff
push dword [ebp + 0xc]
call fcn.0100b632
test eax, eax
je 0x101f939
push 1
pop eax
jmp 0x101fa2e
movzx eax, word [ebp + 0xc]
cmp eax, 9
je 0x101f967
cmp eax, 0xd
jne 0x101f9b9
cmp dword [ebp + 0x10], 0
je 0x101f9b9
push ebx
push dword [ebp + 8]
call fcn.0101fa90
mov edi, eax
test edi, edi
je 0x101f9b9
push 2
push ebx
call fcn.0102582e
push edi
jmp 0x101f9b0
push 0x12
call edi
test ah, 0x80
jne 0x101f9b9
cmp dword [ebp + 0x10], 0
je 0x101f9b9
push ebx
push dword [ebp + 8]
call fcn.0101fa90
test eax, eax
mov dword [ebp + 0x10], eax
je 0x101f9b9
push 0x10
call edi
shr eax, 0xf
and eax, 1
push eax
push ebx
call fcn.0102582e
cmp eax, 3
jne 0x101f9ad
push 0x10
call edi
shr eax, 0xf
and eax, 1
push eax
push ebx
call fcn.0102582e
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.0101faad
cmp dword [ebp - 4], 0
je 0x101fa23
push ebx
push dword [ebp + 8]
call fcn.0101fa90
mov edi, eax
test edi, edi
je 0x101fa1c
push 1
push esi
push dword [ebp - 4]
push ebx
call fcn.0102542d
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ax, word [ebp - 0x14]
push 0
mov word [ebp + 0x10], ax
mov ax, word [ebp - 0x10]
mov word [ebp + 0x12], ax
lea eax, [ebp + 0x10]
push 0x200
push eax
push ebx
call fcn.01024f41
push edi
push ebx
push dword [ebp + 8]
call fcn.0101faad
mov dword [ebp - 8], 1
push dword [ebp - 0xc]
call fcn.0100cc04
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc