Function at 0x10026b03
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x101f0bce
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov dword [esp + 0x104], 1
cmp byte [esp + 0x10c], bl
je 0x10026829
push 5
push str.Ctrl
lea ecx, [esp + 0x40]
call fcn.1000c810
cmp byte [esp + 0x110], bl
je 0x10026842
push 6
push str.Shift
lea ecx, [esp + 0x40]
call fcn.1000c810
cmp byte [esp + 0x114], bl
je 0x1002685b
push 4
push str.Alt
lea ecx, [esp + 0x40]
call fcn.1000c810
movzx esi, byte [esp + 0x118]
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
push 0xa0
mov ebp, eax
lea eax, [esp + 0x5a]
push ebx
push eax
mov word [esp + 0x60], bx
call sub.MSVCR80.dll_memset
lea eax, [esi - 0x21]
add esp, 0xc
cmp eax, 0x9a
ja case.0x100268a2.41
movzx ecx, byte [eax + 0x10026b70]
jmp dword [ecx*4 + 0x10026b64]
push 0x50
lea edx, [esp + 0x58]
or ebp, 0x100
push edx
shl ebp, 0x10
push ebp
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
test eax, eax
jne 0x10026924
mov edx, 0x1022fcf8
mov eax, edi
call fcn.10007690
mov dword [esp + 0x14], 1
mov byte [esp + 0x104], bl
cmp dword [esp + 0x50], 8
jb 0x100268f3
mov eax, dword [esp + 0x3c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x50], 7
jmp 0x10026ad1
xor eax, eax
jmp 0x10026910
movzx ecx, word [eax + 0x10232d48]
mov word [esp + eax + 0x54], cx
add eax, 2
cmp cx, bx
jne 0x10026910
lea eax, [esp + 0x54]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10026940
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x20]
call fcn.10007a00
mov byte [esp + 0x104], 2
cmp dword [esp + 0x2c], 1
seta byte [esp + 0x13]
mov byte [esp + 0x104], 1
mov ebp, 8
cmp dword [esp + 0x30], ebp
jb 0x10026990
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x13], bl
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
je 0x10026a10
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp esi, ebx
je 0x10026a10
lea edx, [esp + 0x54]
lea eax, [esp + 0x18]
call fcn.10007690
mov byte [esp + 0x104], 3
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x54]
mov ecx, esi
sub ecx, edx
sar ecx, 1
sub eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_CharLowerBuffW]
mov byte [esp + 0x104], 1
cmp dword [esp + 0x30], ebp
jb 0x100269ff
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea eax, [esp + 0x54]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
jmp 0x10026a30
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10026a30
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x58]
push ecx
lea esi, [esp + 0x20]
call fcn.10007a00
mov byte [esp + 0x104], 4
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0x40]
call fcn.1000c700
mov byte [esp + 0x104], 1
cmp dword [esp + 0x30], ebp
jb 0x10026a81
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, 7
push 0xffffffffffffffff
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x40]
mov ecx, edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
mov word [edi + 4], bx
call fcn.10007880
mov dword [esp + 0x14], 1
mov byte [esp + 0x104], bl
cmp dword [esp + 0x50], ebp
jb 0x10026acd
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov eax, edi
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.101d19cc
add esp, 0xf8
ret
push 0x50
lea ecx, [esp + 0x58]
push ecx
shl ebp, 0x10
push ebp
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
test eax, eax
jne 0x10026924
push ebx
mov ebp, 7
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
push 0x1022fcf8
mov esi, edi
mov word [edi + 4], bx
call fcn.10007a00
mov dword [esp + 0x14], 1
mov byte [esp + 0x104], bl
cmp dword [esp + 0x50], 8
jb 0x10026b5b
mov edx, dword [esp + 0x3c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x50], ebp
jmp 0x10026ad1