Function at 0x416bdc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427055
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push esi
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
imul eax, eax, 6
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x416c73
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x228]
jmp 0x416e58
mov dword [ebp - 0x1c], 0
jmp 0x416c85
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + 0xc]
jge 0x416e2e
push 0x206
push 0
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x224]
push ecx
push 0x4392d4
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 4]
push ecx
mov ecx, dword [ebp - 0x238]
call sym.PcMFStation.exe_public:_unsigned_long_int___thiscall_CResIni::IniReadString_char_const___char_const___char_const___char___unsigned_long_int_
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x18]
call fcn.00420f6a
lea ecx, [ebp - 0x18]
call fcn.00401415
cmp eax, 1
jne 0x416d00
jmp 0x416c7c
push 0x4376f4
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::SpanExcluding
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x240]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call fcn.00401415
cmp eax, 1
jne 0x416d5a
jmp 0x416c7c
lea ecx, [ebp - 0x18]
call fcn.00401186
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.00401186
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x248]
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
call fcn.00401415
cmp eax, 1
jne 0x416dc7
jmp 0x416c7c
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov ax, word [esi + eax]
mov word [edx + ecx + 4], ax
lea ecx, [ebp - 0x10]
call fcn.00401307
push eax
mov ecx, dword [ebp - 0x238]
call sym.PcMFStation.exe_private:_unsigned_char___thiscall_CResIni::GetSpecialKey_char_const__
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x14]
mov byte [edx + ecx], al
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::MakeLower
push 0
lea ecx, [ebp - 0x18]
call fcn.00417400
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x14]
mov word [edx + ecx + 2], ax
jmp 0x416c7c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8