Function at 0x1089d3c
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 0x1089d61
cmp eax, dword [edi + 0x1b8]
jne 0x1089d6a
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 0x1089da7
cmp ebx, 0x25
jne 0x1089d8b
push 0x27
jmp 0x1089d92
cmp ebx, 0x27
jne 0x1089d93
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 0x1089db7
cmp ebx, 0x26
je 0x1089db7
and dword [ebp - 4], 0
jmp 0x1089dbe
mov dword [ebp - 4], 1
cmp ebx, 0x26
je 0x1089dce
cmp ebx, 0x28
je 0x1089dce
and dword [ebp + 0xc], 0
jmp 0x1089dd5
mov dword [ebp + 0xc], 1
xor esi, esi
cmp ebx, 0x27
jne 0x1089dee
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1089dee
mov esi, 0x200
or esi, 0x505
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.010381f8
test eax, eax
jne 0x1089f4d
mov eax, dword [ebp - 0x54]
test eax, 0x1000
je 0x1089e1c
xor eax, eax
jmp 0x1089f50
xor edx, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], edx
jne 0x1089f1d
test eax, 0x8000
jne 0x1089f1d
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 0x1089f05
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1089f4d
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test dword [ebp - 0xc], 0x4000
je 0x1089ea5
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
jne 0x1089e90
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 0x1089eff
cmp eax, dword [ebp - 0x24]
jge 0x1089eff
jmp 0x1089ebb
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 0x1089eff
cmp eax, dword [ebp - 0x28]
jge 0x1089eff
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.010381f8
test eax, eax
jne 0x1089f4d
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 0x1089f4d
jmp 0x1089e64
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 0x108970c
setne al
add eax, 3
or eax, 0x500
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 8]
call fcn.01089c63
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8