Function at 0x41e750
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43cc20
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x120]
test eax, eax
jne 0x41eb13
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41eb13
mov ecx, dword [esi + 0x44]
lea ebx, [esi + 0x44]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x41eb13
cmp eax, dword [esi + 0x138]
jg 0x41e7b3
cmp eax, dword [esi + 0x13c]
jle 0x41eb13
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebp
mov di, ax
push 0x11
shr edi, 0xf
and edi, 1
call ebp
mov bp, ax
shr ebp, 0xf
and ebp, 1
test edi, edi
je 0x41e813
mov eax, dword [esi + 0x13c]
mov ecx, esi
test eax, eax
jl 0x41e7fb
call fcn.0041fe00
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
call fcn.0041eb30
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
test ebp, ebp
je 0x41e82c
mov eax, dword [esi + 0x13c]
test eax, eax
jge 0x41e82c
mov edx, dword [ebx]
mov eax, dword [edx - 8]
mov dword [esi + 0x13c], eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
or edi, 0xffffffff
mov dword [esp + 0x38], 0
test ebp, ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
jne 0x41ea53
mov eax, dword [esi + 0x13c]
test eax, eax
jge 0x41ea53
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x18]
mov byte [esp + 0x38], 1
mov ecx, dword [eax - 8]
mov eax, dword [esi + 0x138]
test eax, eax
jne 0x41e882
test ecx, ecx
jle 0x41e886
cmp ecx, eax
jg 0x41e899
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
jmp 0x41eb06
mov dword [esp + 0x24], edi
lea edi, [esi + 0x67c]
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x6a0]
mov byte [esp + 0x38], 2
test eax, eax
je 0x41e900
cmp word [esi + 0xda], 0
jle 0x41e900
push ebx
lea ecx, [esp + 0x28]
push edi
push ecx
mov ecx, esi
call fcn.00421130
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x69c]
mov ebp, dword [esi + 0x138]
test eax, eax
mov edi, ebp
je 0x41e94f
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x41e94f
lea eax, [esp + 0x28]
push 1
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x44a4cc
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41e94f
lea edi, [ebp - 1]
cmp word [esi + 0x10e], 2
mov ecx, dword [esp + 0x14]
je 0x41e967
mov eax, dword [esi + 0x690]
test eax, eax
je 0x41e974
mov edx, dword [esi + 0x44]
mov eax, dword [ecx - 8]
sub eax, dword [edx - 8]
add eax, ebp
mov edi, eax
cmp edi, dword [ecx - 8]
jge 0x41e9b1
test edi, edi
jl 0x41e9b1
mov al, byte [edi + ecx]
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00421310
test eax, eax
jne 0x41e9b1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp eax, edi
jne 0x41e9a8
mov eax, dword [ecx - 8]
dec eax
cmp edi, eax
je 0x41e9b1
mov eax, dword [ecx - 8]
inc ebp
inc edi
cmp edi, eax
jl 0x41e979
mov edx, dword [esi + 0x44]
cmp dword [edx - 8], ebp
jg 0x41e9e2
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x38], 0xffffffff
jmp 0x41eb0a
mov eax, dword [esi + 0x138]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
call fcn.0041b420
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push 0
push eax
push ecx
push edx
mov ecx, esi
call fcn.0041cc20
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x138], eax
mov ecx, dword [ecx - 8]
cmp ecx, eax
jge 0x41ea2c
mov eax, ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x138], eax
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
or edi, 0xffffffff
jmp 0x41ea75
mov edx, dword [esi + 0x13c]
mov eax, dword [esi + 0x138]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
call fcn.0041f0f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 1
lea edx, [esp + 0x14]
push 1
push edx
push eax
push ecx
push 1
mov ecx, esi
call fcn.004214e0
push 0
mov ecx, esi
call fcn.0041ac10
mov ecx, esi
call fcn.0041f170
mov ecx, esi
call fcn.0041b540
mov ecx, esi
call fcn.0041a8d0
mov edx, dword [esi + 0x20]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x41eb06
mov ecx, dword [esi + 0x20]
push ecx
call ebx
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebp, dword [esi + 0x20]
mov ecx, esi
mov ebx, eax
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov edx, dword [ebx + 0x20]
and eax, 0xffff
or eax, 0x3000000
push ebp
push eax
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret