Function at 0x67897bb0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67987a87
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x138]
push ebp
push esi
cmp ebx, 0x60
push edi
jb 0x67897bf9
cmp ebx, 0x69
ja 0x67897bf9
movsx eax, byte [esp + 0x140]
add ebx, 0xffffffd0
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
jmp 0x67897de9
push 2
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test al, al
je 0x67897dc0
mov edx, dword [esp + 0x140]
push edx
call sym.MfcHlpr520.dll_public:_static_char___cdecl_CMHPShortcutManager::ToUpper_char_
mov cl, byte [esp + 0x144]
add esp, 4
cmp cl, bl
mov byte [esp + 0x13], al
je 0x67897de4
cmp al, bl
je 0x67897de4
mov ebp, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor esi, esi
push esi
push esi
call ebp
mov edi, eax
cmp edi, 1
jbe 0x67897dc0
xor ebx, ebx
mov dword [esp + 0x18], 0x679a27c0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
cmp edi, esi
mov dword [esp + 0x138], esi
jne 0x67897c7b
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
jmp 0x67897ca2
lea eax, [edi*4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
push edi
push eax
call fcn.678d8ff0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
push ebx
push edi
call ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x67897ccd
mov dword [esp + 0x18], 0x679a27c0
mov dword [esp + 0x138], 1
jmp 0x67897db3
cmp edi, esi
mov dword [esp + 0x2c], esi
jbe 0x67897da0
mov ebp, dword [sym.imp.USER32.dll_ToAsciiEx]
mov esi, ebx
mov dword [esp + 0x14], 0
mov edx, dword [esi]
push edx
mov edx, dword [esp + 0x148]
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x38]
push eax
push ecx
push 0
push edx
call ebp
cmp eax, 1
jne 0x67897d31
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x67897dc4
push eax
call sym.MfcHlpr520.dll_public:_static_char___cdecl_CMHPShortcutManager::ToUpper_char_
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x67897dc4
mov bl, byte [esp + 0x40]
mov byte [esp + 0x40], 0x81
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x148]
push 0
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push eax
call ebp
cmp eax, 1
jne 0x67897d82
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x140]
cmp cl, al
je 0x67897e02
push eax
call sym.MfcHlpr520.dll_public:_static_char___cdecl_CMHPShortcutManager::ToUpper_char_
mov cl, byte [esp + 0x17]
add esp, 4
cmp cl, al
je 0x67897e02
mov eax, dword [esp + 0x2c]
add esi, 4
inc eax
mov byte [esp + 0x40], bl
mov ebx, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x2c], eax
jb 0x67897ce1
xor esi, esi
mov dword [esp + 0x18], 0x679a27c0
mov dword [esp + 0x138], 4
cmp ebx, esi
je 0x67897dc0
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
jmp 0x67897de9
mov dword [esp + 0x18], 0x679a27c0
test ebx, ebx
mov dword [esp + 0x138], 2
je 0x67897de4
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
mov dword [esp + 0x18], 0x679a27c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x138], 3
test eax, eax
je 0x67897de4
push eax
jmp 0x67897ddc