Function at 0x411ce0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x411d1d
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov dword [esp + 0x14], 1
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
add ecx, 0xffffff92
and ecx, 0xffff
shl ecx, 0x10
or ecx, 0x32
push ecx
push 1
push 0x201
push edi
call esi
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov edx, dword [esp + 0x20]
add edx, 0xffffff92
and edx, 0xffff
shl edx, 0x10
or edx, 0x32
push edx
push 1
push 0x202
push edi
call esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
push 1
push ebx
push ebp
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0
push ebx
push ebp
mov dword [0x4295e0], edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov ebp, dword [eax - 8]
test ebp, ebp
jle 0x411dd8
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x4295e0]
push 0
mov dl, byte [ebx + ecx]
and edx, 0xff
push edx
push 0x102
push eax
call esi
inc ebx
cmp ebx, ebp
jl 0x411db6
mov eax, dword [0x4295cc]
cmp eax, 4
jl 0x411e83
cmp eax, 5
jg 0x411e83
push edi
call fcn.00410d70
add esp, 4
test eax, eax
je 0x411e2d
cmp dword [0x4295c0], 4
je 0x411e2d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 0xffffffe9
add edx, 0xffffff2e
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
push ecx
jmp 0x411eb4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 0xffffffe9
mov eax, dword [0x4295e0]
and ecx, 0xffff
add edx, 0xfffffe61
shl ecx, 0x10
and edx, 0xffff
or ecx, edx
push ecx
push 1
push 0x201
push eax
call esi
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 0xffffffe9
and ecx, 0xffff
shl ecx, 0x10
add edx, 0xfffffe61
jmp 0x411ee5
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, eax
sub ecx, ebx
cmp ecx, 0x27a
jg 0x411efd
mov edx, dword [esp + 0x20]
add eax, 0xffffff2e
add edx, 0xffffffe9
and eax, 0xffff
and edx, 0xffff
shl edx, 0x10
or edx, eax
push edx
mov eax, dword [0x4295e0]
push 1
push 0x201
push eax
call esi
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add ecx, 0xffffffe9
and ecx, 0xffff
shl ecx, 0x10
add edx, 0xffffff2e
mov eax, dword [0x4295e0]
and edx, 0xffff
or ecx, edx
push ecx
push 1
push 0x202
push eax
jmp 0x411f62
mov ecx, dword [esp + 0x20]
mov edx, dword [0x4295e0]
add ecx, 0xffffffe9
add eax, 0xfffffe61
and ecx, 0xffff
and eax, 0xffff
shl ecx, 0x10
or ecx, eax
push ecx
push 1
push 0x201
push edx
call esi
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 0xffffffe9
mov edx, dword [0x4295e0]
and eax, 0xffff
add ecx, 0xfffffe61
shl eax, 0x10
and ecx, 0xffff
or eax, ecx
push eax
push 1
push 0x202
push edx
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x411f7b
push 0
push 0xf020
push 0x112
push edi
call esi
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret