Function at 0x405630
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x41813c]
xor eax, ebp
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x14], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x8c], eax
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [ebp - 0x8c], 0
jne 0x4056a2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x8c], edx
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4056b8
mov cl, byte [ebp + 0x10]
mov byte [ebp - 0x85], cl
jmp 0x405967
mov edx, dword [ebp - 0x8c]
cmp edx, dword [0x419838]
je 0x40595c
mov eax, dword [ebp - 0x8c]
mov dword [0x419838], eax
push 0x32
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov dword [ebp - 8], eax
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ebp + ecx*2 - 0x80], ax
mov byte [0x419834], 0
push 0x414600
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.RichEdit20W
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.MDIClass
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.REComboBox20W
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.Scintilla
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.RichEdit20WPT
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.paneClassDC
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.RICHEDIT60W
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str._WwG
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.TPSSynEdit
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.Afx:00400000:28:00000000:0000
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.Internet_Explorer_Server
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.AfxFrameOrView42su
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push 6
push str.Chrome
lea eax, [ebp - 0x80]
push eax
call fcn.00408efa
add esp, 0xc
test eax, eax
je 0x405882
push str.QTool
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.MozillaWindowClass
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.ATL:00A5DC00
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405882
push str.WebViewWindowClass
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x40588e
mov byte [0x419834], 2
jmp 0x40595c
push str.OperaWindowClass
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x4058ed
push str._WwO
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x4058ed
push str.RB_CanvasPane
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x4058ed
push str.DanaEditWindowClass
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x4058ed
push str.SALFRAME
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x4058f6
mov byte [0x419834], 3
jmp 0x40595c
push str.gdkWindowToplevel
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405955
push str.TRichViewEdit
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405955
push str.AfxFrameOrView42s
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405955
push str.TUnicodeRichEdit
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
je 0x405955
push str.TDBRichViewEdit
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
jne 0x40595c
mov byte [0x419834], 4
mov al, byte [0x419834]
mov byte [ebp - 0x85], al
mov cl, byte [ebp - 0x85]
mov byte [ebp - 0x90], cl
cmp byte [ebp - 0x90], 2
je 0x4059bc
cmp byte [ebp - 0x90], 3
je 0x4059a8
cmp byte [ebp - 0x90], 4
je 0x405990
jmp 0x4059c8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00405590
add esp, 8
mov al, byte [ebp - 0x85]
jmp 0x405a22
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004054f0
add esp, 4
mov al, byte [ebp - 0x85]
jmp 0x405a22
mov dword [ebp - 0x84], 0x102
jmp 0x4059d9
mov byte [ebp - 0x85], 1
mov dword [ebp - 0x84], 0x286
mov dword [ebp - 0x10], 0
jmp 0x4059eb
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2]
test edx, edx
je 0x405a1c
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4059e2
mov al, byte [ebp - 0x85]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00408348
mov esp, ebp
pop ebp
ret