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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445834
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [ebp - 0x70], ecx
push 9
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Find_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x423af2
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp + 8]
call fcn.004423b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x6c]
push ecx
mov dx, word [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x70]
add ecx, 0x64
call sub.MFC42.DLL_CMapWordToPtr::Lookup
neg eax
sbb eax, eax
and eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], eax
jmp 0x423b2d
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cx, word [eax + 4]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x14]
sub edx, ecx
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x423c61
cmp dword [ebp - 0x10], 0
je 0x423b46
mov dword [ebp - 0x7c], 0x45db78
jmp 0x423b4d
mov dword [ebp - 0x7c], 0x45db7c
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
and edx, 0x10
test edx, edx
je 0x423b74
push str.Alt
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax]
and ecx, 8
test ecx, ecx
je 0x423b8f
push str.Ctrl
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx]
and eax, 4
test eax, eax
je 0x423baa
push str.Shift
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
and edx, 1
test edx, edx
je 0x423c37
push 0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cx, word [eax + 2]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x40
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x5c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.004238bb
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x88]
push edx
mov ecx, dword [ebp + 8]
call fcn.00442732
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::CString
jmp 0x423c46
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 2]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator_2
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ax, word [edx + 4]
test eax, eax
jne 0x423c5c
jmp 0x423c61
jmp 0x423b19
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8