Function at 0x4151f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a81c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00404480
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.00417870
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0xc8]
call fcn.0040b7e0
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x80
test eax, eax
je 0x415327
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xd
mov edx, dword [ebp - 0x18]
movsx eax, word [edx + ecx + 0x1139]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xd
mov edx, dword [ebp - 0x18]
xor eax, eax
mov al, byte [edx + ecx + 0x1135]
push eax
call sub.WINDCS32.dll_sysini_GetPcuFamily
cmp eax, 7
jne 0x4152af
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xd
mov edx, dword [ebp - 0x18]
movsx eax, word [edx + ecx + 0x1139]
add eax, 1
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
and edx, 2
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
push eax
push 1
mov cx, word [ebp - 0xcc]
push ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0xd
mov eax, dword [ebp - 0x18]
mov cx, word [eax + edx + 0x1137]
push ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0xd
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + edx + 0x1136]
push ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0xd
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + edx + 0x1135]
push ecx
call fcn.00418330
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.0040b8e0
jmp 0x415446
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc8]
mov dword [edx + 0x124], eax
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xd
mov edx, dword [ebp - 0x18]
xor eax, eax
mov al, byte [edx + ecx + 0x1135]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xd
mov edx, dword [ebp - 0x18]
xor eax, eax
mov al, byte [edx + ecx + 0x1136]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xd
mov edx, dword [ebp - 0x18]
xor eax, eax
mov ax, word [edx + ecx + 0x1137]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xd
mov edx, dword [ebp - 0x18]
movsx eax, word [edx + ecx + 0x1139]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
push edx
push 0x4401d8
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x60]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x68], eax
push 0
push 0
lea ecx, [ebp - 0xd8]
call fcn.00414820
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00404480
mov ecx, eax
call fcn.004069a0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x74]
add eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x70]
add edx, dword [ebp - 0xd8]
push edx
lea ecx, [ebp - 0xc8]
call fcn.0040c990
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.004020c0
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040c9c0
lea ecx, [ebp - 0xc8]
call sub.MFC42.DLL_CDialog::DoModal
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x124], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.0040b8e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret