Function at 0x1006f0d0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10247964
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1034ad40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
sub edx, 0x21
mov dword [ebp - 0xd0], edx
cmp dword [ebp - 0xd0], 0x84
ja case.0x1006f148.8
mov eax, dword [ebp - 0xd0]
movzx ecx, byte [eax + 0x1006f3f0]
jmp dword [ecx*4 + 0x1006f3e8]
mov edx, dword [ebp - 0xd8]
or edx, 0x100
mov dword [ebp - 0xd8], edx
push 0x80
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0xd8]
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x1006f196
cmp dword [ebp + 0xc], 0x14
jne 0x1006f2cb
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
sub eax, 1
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x13
ja case.0x1006f1c8.2
mov ecx, dword [ebp - 0xd4]
movzx edx, byte [ecx + 0x1006f494]
jmp dword [edx*4 + 0x1006f478]
push str._M4_
mov ecx, dword [ebp + 8]
call fcn.10017770
mov eax, dword [ebp - 0xcc]
or eax, 1
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 8]
jmp 0x1006f3cc
push str._M5_
mov ecx, dword [ebp + 8]
call fcn.10017770
mov ecx, dword [ebp - 0xcc]
or ecx, 1
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp + 8]
jmp 0x1006f3cc
push str._M1_
mov ecx, dword [ebp + 8]
call fcn.10017770
mov edx, dword [ebp - 0xcc]
or edx, 1
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp + 8]
jmp 0x1006f3cc
push str._M3_
mov ecx, dword [ebp + 8]
call fcn.10017770
mov eax, dword [ebp - 0xcc]
or eax, 1
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 8]
jmp 0x1006f3cc
push str._M2_
mov ecx, dword [ebp + 8]
call fcn.10017770
mov ecx, dword [ebp - 0xcc]
or ecx, 1
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp + 8]
jmp 0x1006f3cc
push str._CAPS_
mov ecx, dword [ebp + 8]
call fcn.10017770
mov edx, dword [ebp - 0xcc]
or edx, 1
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp + 8]
jmp 0x1006f3cc
push 0x1027b894
mov ecx, dword [ebp + 8]
call fcn.10017770
mov eax, dword [ebp - 0xcc]
or eax, 1
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 8]
jmp 0x1006f3cc
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0xac]
call fcn.10017770
mov dword [ebp - 4], 0
push fcn.101f6c10
sub esp, 0xc
mov edx, esp
mov dword [ebp - 0xe8], esp
push edx
lea ecx, [ebp - 0xac]
call fcn.1006fe20
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0xec], esp
push eax
lea ecx, [ebp - 0xac]
call fcn.1006fe70
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ecx
lea ecx, [ebp - 0xac]
call fcn.1006fe20
lea edx, [ebp - 0x100]
push edx
call fcn.1006f900
add esp, 0x2c
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x100]
call fcn.1006faf0
nop
push 0x1027b2bc
lea eax, [ebp - 0xac]
push eax
push 0x1027b46c
lea ecx, [ebp - 0xc8]
push ecx
call fcn.1006ba00
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1006b9c0
add esp, 0xc
mov edx, dword [ebp - 0xcc]
or edx, 1
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.10018310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.10018310
nop
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101aa0b0
mov esp, ebp
pop ebp
ret