Function at 0x7cf6e1f6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x4000000
mov dword [ebp - 0x10], 0x7800
mov dword [ebp - 0x20], 0x7900
call sym.SHELL32.dll_SHRestricted
test eax, eax
jne 0x7cf6e66e
mov eax, dword [0x7d04b03c]
cmp eax, 0xffffffff
jne 0x7cf6e240
call sub.SHLWAPI.dll_Ordinal_241
mov dword [0x7d04b03c], eax
test eax, eax
je 0x7cf6e256
push 0
push 3
push 1
push 0x7cf3d588
push 6
call sub.SHLWAPI.dll_Ordinal_244
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x100c
test eax, eax
je 0x7cf6e29a
call dword [sym.imp.USER32.dll_GetFocus]
push eax
push dword [esi + 0xd4]
call dword [sym.imp.SHLWAPI.dll_SHIsChildOrSelf]
test eax, eax
jne 0x7cf6e29a
push 2
push 0xffffffffffffffff
push edi
push dword [esi + 0xd4]
call ebx
mov dword [ebp - 8], eax
jmp 0x7cf6e29e
or dword [ebp - 8], 0xffffffff
mov eax, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x7cf6e32c
cmp dword [ebp - 8], eax
je 0x7cf6e30d
push 3
push eax
push edi
push dword [esi + 0xd4]
call ebx
cmp eax, 0xffffffff
jne 0x7cf6e2c3
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x34]
test ecx, ecx
je 0x7cf6e2d8
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x34]
xor edi, edi
jmp 0x7cf6e2dc
xor edi, edi
xor ecx, ecx
push ecx
push eax
push 0x100e
push dword [esi + 0xd4]
call ebx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
jmp 0x7cf6e317
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
xor edi, edi
lea eax, [ebp - 0x18]
push 1
push eax
push edi
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
jmp 0x7cf6e33d
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
xor edi, edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x7cf6e36c
cmp dword [0x7d04b03c], edi
je 0x7cf6e66e
push edi
push 3
push 3
push 0x7cf3d544
push 6
call sub.SHLWAPI.dll_Ordinal_244
jmp 0x7cf6e66e
cmp dword [ebp - 8], 0xffffffff
jne 0x7cf6e3c0
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
lea ebx, [esi + 0xac]
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
push ebx
push 0x7cf39900
push 0
push esi
call dword [eax + 0x3c]
push dword [ebp - 0x10]
call edi
mov eax, dword [esi + 0xa4]
and dword [ebp - 0x10], 0
and eax, 0x20
mov dword [ebp - 0x20], 0xffff
or al, 0x10
shr eax, 4
xor edi, edi
jmp 0x7cf6e3ea
mov ecx, esi
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x24], edi
lea ebx, [esi + 0xac]
call fcn.7cfb4c03
mov dword [ebx], eax
mov eax, dword [esi + 0xa4]
and al, 0x20
neg al
sbb eax, eax
and eax, 2
inc eax
inc eax
push eax
push 5
push 2
push 0x32
push 0x7cf395d0
call fcn.7d031321
mov ecx, esi
call fcn.7cf6d09f
test eax, eax
je 0x7cf6e619
mov eax, dword [esi + 0x98]
lea edx, [ebp - 0xc]
push edx
push 0x7cf39710
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp dword [ebx], edi
je 0x7cf6e533
mov ecx, esi
call fcn.7cfb4c68
or dword [ebp - 4], eax
push esi
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_IUnknown_SetSite]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x7cf6e44a
or byte [ebp - 3], 1
push dword [ebp - 4]
mov eax, dword [ebx]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push dword [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
cmp dword [esi + 0x9c], edi
je 0x7cf6e525
cmp dword [ebp - 8], 0xffffffff
je 0x7cf6e525
push 0x104
push dword [0x7d04cdfc]
call fcn.7cfb0e70
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp edx, edi
je 0x7cf6e4f8
mov word [ebp - 0x284], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x284]
push 0x104
stosw word es:[edi], ax
mov eax, dword [edx]
push ecx
push esi
push edx
call dword [eax + 0x1c]
test eax, eax
jne 0x7cf6e4f6
push 0xa
lea edi, [ebp - 0x5c]
pop ecx
rep stosd dword es:[edi], eax
and dword [ebp - 0x58], eax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x60]
push eax
push 0x400
push 0
mov dword [ebp - 0x60], 0x2c
push dword [ebp - 4]
mov dword [ebp - 0x5c], 0x10
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
xor edi, edi
push 1
push 0xffffffffffffffff
push 0x7900
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sym.SHELL32.dll_Shell_MergeMenus
push 0x400
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyMenu]
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetMenuDefaultItem]
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
call fcn.7cf530e3
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x7cf6e54b
mov ecx, dword [eax]
push 2
push esi
push eax
call dword [ecx + 0x18]
cmp dword [0x7d04b03c], edi
je 0x7cf6e564
push edi
push 3
push 3
push 0x7cf3d510
push 6
call sub.SHLWAPI.dll_Ordinal_244
push edi
push dword [esi + 0xd0]
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x102
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jne 0x7cf6e5b0
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x7cf6e5a7
mov ecx, dword [esi + 0x8c]
cmp ecx, edi
jne 0x7cf6e59e
mov ecx, esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
jmp 0x7cf6e5ac
mov eax, 0x80004001
cmp eax, edi
je 0x7cf6e5f5
cmp dword [ebp - 4], edi
je 0x7cf6e5f5
cmp dword [ebp - 8], 0xffffffff
jne 0x7cf6e5e6
mov edx, dword [ebx]
cmp edx, edi
je 0x7cf6e5f5
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x24
mov dword [ebp - 0x4c], eax
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0x10]
xor edi, edi
jmp 0x7cf6e5f5
movzx eax, word [ebp - 4]
push edi
push eax
push dword [ebx]
mov ecx, esi
call fcn.7cf6fc7a
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x7cf6e60e
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_IUnknown_SetSite]
jmp 0x7cf6e632
cmp dword [0x7d04b03c], edi
je 0x7cf6e632
push edi
push 3
push 3
push 0x7cf3d4b4
push 6
call sub.SHLWAPI.dll_Ordinal_244
push ebx
call dword [sym.imp.SHLWAPI.dll_IUnknown_AtomicRelease]
mov eax, 0x4a5
push 1
push eax
push eax
push dword [esi + 0xcc]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x7cf6e665
push 0xffffffffffffffff
push esi
call fcn.7cfb4e05
mov ecx, esi
call fcn.7cf70bb3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebx
leave
ret 4