Function at 0x268647cc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
push edi
mov ebx, eax
je 0x26864858
cmp dword [ebp + 0x10], esi
je 0x2686480e
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x268647ff
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push esi
push esi
lea eax, [ebp - 0x24]
push esi
push eax
call edi
test eax, eax
jne 0x268647eb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 4], eax
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [ebp - 8], eax
je 0x26864837
push 1
push eax
push dword [ebp - 4]
call edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x26864858
push esi
push dword [ebp - 8]
push eax
call edi
xor edi, edi
cmp dword [ebp + 0x10], esi
je 0x26864915
xor eax, eax
inc eax
cmp dword [ebx + 8], eax
mov dword [ebx + 0x14], eax
jb 0x268648cb
lea eax, [ebp - 0x40]
push eax
mov eax, ebx
call fcn.268646cf
test eax, eax
pop ecx
je 0x268648c0
cmp dword [ebp - 0x40], esi
jne 0x268648b2
cmp di, si
mov eax, dword [ebp - 0x30]
je 0x26864894
movzx ecx, di
test eax, ecx
je 0x26864894
xor edi, edi
test al, 2
je 0x2686489b
push 4
pop edi
test al, 8
je 0x268648a2
push 0x10
pop edi
test al, 0x20
je 0x268648a9
push 0x40
pop edi
test al, al
jns 0x268648b2
mov edi, 0x100
push 0x1c
lea eax, [ebp - 0x40]
push eax
push 1
call dword [sym.imp.USER32.dll_SendInput]
inc dword [ebx + 0x14]
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 8]
jbe 0x2686486e
push 7
push 0x64
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0x102
je 0x26864910
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x26864901
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x20], 0xf
je 0x26864910
push 1
push esi
push esi
lea eax, [ebp - 0x24]
push esi
push eax
call ebx
test eax, eax
jne 0x268648e7
xor eax, eax
inc eax
jmp 0x26864977
inc edi
cmp dword [ebx + 8], edi
mov dword [ebx + 0x14], edi
jb 0x26864975
push esi
push dword [ebp + 8]
mov dword [0x2692ae8c], ebx
push sym.wd180std.dll_long_int___stdcall_lJournalPlaybackProc_int__unsigned_int__long_int_
push edi
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp eax, esi
mov dword [0x2692ae88], eax
jne 0x26864941
xor eax, eax
jmp 0x26864977
push edi
push esi
push esi
push esi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x26864967
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [0x2692ae88], esi
jne 0x26864941
mov dword [0x2692ae8c], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret