Function at 0x108885d
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x68], esi
test eax, eax
je 0x1088882
cmp eax, dword [edi + 0x1b8]
jne 0x108888b
mov eax, dword [edi + 0x1e0]
mov dword [ebp + 8], eax
mov ebx, dword [esi + 8]
push 0xffffffffffffffec
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x400000
mov dword [ebp - 0x10], eax
je 0x10888c8
cmp ebx, 0x25
jne 0x10888ac
push 0x27
jmp 0x10888b3
cmp ebx, 0x27
jne 0x10888b4
push 0x25
pop ebx
push 7
pop ecx
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x44], ebx
cmp ebx, 0x25
je 0x10888d8
cmp ebx, 0x26
je 0x10888d8
and dword [ebp - 4], 0
jmp 0x10888df
mov dword [ebp - 4], 1
cmp ebx, 0x26
je 0x10888ef
cmp ebx, 0x28
je 0x10888ef
and dword [ebp + 0xc], 0
jmp 0x10888f6
mov dword [ebp + 0xc], 1
xor esi, esi
cmp ebx, 0x27
jne 0x108890f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x108890f
mov esi, 0x200
or esi, 0x505
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.01036df7
test eax, eax
jne 0x1088a6e
mov eax, dword [ebp - 0x54]
test eax, 0x1000
je 0x108893d
xor eax, eax
jmp 0x1088a71
xor edx, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], edx
jne 0x1088a3e
test eax, 0x8000
jne 0x1088a3e
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push edx
push dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
call ebx
push dword [ebp - 4]
push dword [ebp + 8]
jmp 0x1088a26
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1088a6e
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test dword [ebp - 0xc], 0x4000
je 0x10889c6
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
jne 0x10889b1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jl 0x1088a20
cmp eax, dword [ebp - 0x24]
jge 0x1088a20
jmp 0x10889dc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x30]
jl 0x1088a20
cmp eax, dword [ebp - 0x28]
jge 0x1088a20
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
call ebx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc]
and eax, 0x10000
or eax, 0x502
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0xc]
call fcn.01036df7
test eax, eax
jne 0x1088a6e
push dword [ebp - 4]
push dword [ebp + 0xc]
mov eax, dword [ebp - 8]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1088a6e
jmp 0x1088985
xor eax, eax
cmp dword [ebp - 4], edx
mov ecx, edi
setne al
or eax, 2
push eax
xor eax, eax
cmp dword [ebp - 4], edx
push 0x108822d
setne al
add eax, 3
or eax, 0x500
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 8]
call fcn.01088784
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8