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

Disassembly:
mov eax, 0x4425ef
call fcn.0043e4e0
sub esp, 0x1a0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov al, byte [esi + 0x17cc]
push dword [esi + 0x20]
mov bl, byte [esi + 0x17cd]
mov byte [ebp - 0x11], al
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp byte [ebp - 0x11], 0
jne 0x4230b0
push 0xffffffffffffffff
push 0x44
push 0xe037
call sub.MFC42.DLL_AfxMessageBox_1
cmp eax, 6
jne 0x4230a9
mov ecx, esi
call fcn.00422391
xor eax, eax
jmp 0x423271
movzx eax, byte [ebp - 0x11]
xor edi, edi
push edi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
lea ecx, [ebp - 0x28]
push 9
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_4
test bl, 2
mov byte [ebp - 4], 1
je 0x4230f7
push str.Ctrl
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
test bl, 4
je 0x42311e
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x423111
push 0x454b3c
lea ecx, [ebp - 0x10]
call fcn.0043e0cc
push 0x454b38
lea ecx, [ebp - 0x10]
call fcn.0043e0cc
test bl, 1
je 0x423145
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x423138
push 0x454b3c
lea ecx, [ebp - 0x10]
call fcn.0043e0cc
push str.Shift
lea ecx, [ebp - 0x10]
call fcn.0043e0cc
test byte [esi + 0x17cd], 0x80
je 0x423170
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x423163
push 0x454b3c
lea ecx, [ebp - 0x10]
call fcn.0043e0cc
push str.Windows
lea ecx, [ebp - 0x10]
call fcn.0043e0cc
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x423185
push 0x454b3c
lea ecx, [ebp - 0x10]
call fcn.0043e0cc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x10]
push eax
call fcn.0043e0cc
lea eax, [ebp - 0x1c]
push 0xe038
push eax
call fcn.00429029
pop ecx
pop ecx
push dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
cmp byte [esi + 0x17e7], 0
jne 0x423256
push edi
lea ecx, [ebp - 0x1ac]
call fcn.00405886
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_1
movzx eax, byte [esi + 0x17e7]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x1ac]
movzx eax, byte [esi + 0x17e4]
mov dword [ebp - 0x2c], eax
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x42322b
cmp dword [ebp - 0x34], edi
push 1
setne al
cmp dword [ebp - 0x2c], edi
mov byte [esi + 0x17e7], al
pop edi
setne al
mov byte [esi + 0x17e4], al
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 1
call fcn.00405932
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, edi
jmp 0x423271
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret