Function at 0x402d30
Capabilities:
Log keystrokes

Disassembly:
push ecx
mov eax, dword [0x4183a8]
test eax, eax
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
jne 0x402d5a
mov eax, dword [esi]
push 0
push 0x66
mov dword [esi + 0x199c], ebp
call dword [eax + 0x13c]
inc dword [0x4183a8]
cmp dword [esi + 0x199c], ebp
je 0x402e35
mov ecx, esi
mov dword [esi + 0x199c], ebp
call fcn.00402960
push 0
push 0
push 0
push 0
push 0x413040
push str._bLLLL
push 0
push 0
push 1
lea ecx, [esi + 0x190]
push 0x68
push ecx
call sub.MFC71U.DLL_COleDispatchDriver::InvokeHelper
add esp, 0x2c
push 0
mov ecx, esi
call fcn.0040c880
mov eax, ebp
sub eax, 0
lea ecx, [esi + 0x19a0]
je 0x402e02
dec eax
je 0x402db8
dec eax
je 0x402ddd
push 5
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 0
lea ecx, [esi + 0x19f4]
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 0
lea ecx, [esi + 0x1a48]
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 0
jmp 0x402e25
push 0
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 0
lea ecx, [esi + 0x19f4]
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 5
lea ecx, [esi + 0x1a48]
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 2
jmp 0x402e25
push 0
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 5
lea ecx, [esi + 0x19f4]
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 0
lea ecx, [esi + 0x1a48]
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 1
call fcn.00407c50
add esp, 4
mov ecx, esi
push eax
call sub.MFC71U.DLL_COleControlSite::SetWindowTextW
push edi
mov edi, dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp edi, eax
je 0x402e98
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push edi
call ebx
mov edx, dword [esi + 0x20]
push 0
push edx
mov edi, eax
call ebx
mov ebx, eax
cmp edi, ebx
je 0x402e89
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push ebx
push edi
call ebp
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push ebx
push edi
mov dword [esp + 0x1c], eax
call ebp
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
jmp 0x402e93
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
pop ebx
jne 0x402ee1
mov edx, dword [esi + 0x20]
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 3
push 0
push 0
push 0
shr eax, 3
test al, 1
push 0
push 0xffffffffffffffff
je 0x402ec3
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x402ee1
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push ecx
call edi
mov edx, dword [esi + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edx
call edi
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
pop edi
mov ecx, esi
je 0x402ef6
push 9
jmp 0x402ef8
push 5
call sub.MFC71U.DLL_COleControlSite::ShowWindow
push 0
mov ecx, esi
call sub.MFC71U.DLL_CScrollView::CenterOnPoint
test ebp, ebp
je 0x402f0f
cmp ebp, 2
jne 0x402f62
mov ecx, dword [0x4183e4]
mov eax, dword [ecx + 0x24]
mov ecx, dword [eax + 0x14]
cmp ecx, 1
jne 0x402f25
mov eax, dword [eax + 0x18]
jmp 0x402f32
cmp ecx, 2
jne 0x402f2f
mov eax, dword [eax + 0x2c]
jmp 0x402f32
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x5c]
mov eax, dword [edx]
mov esi, dword [eax + 0x6c]
test esi, esi
je 0x402f62
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov eax, dword [eax + 0x104]
push esi
push 9
push 0x110b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebp
pop ecx
ret 4