Function at 0x1089dcf
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 0x1089df4
cmp eax, dword [edi + 0x1b8]
jne 0x1089dfd
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 0x1089e3a
cmp ebx, 0x25
jne 0x1089e1e
push 0x27
jmp 0x1089e25
cmp ebx, 0x27
jne 0x1089e26
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 0x1089e4a
cmp ebx, 0x26
je 0x1089e4a
and dword [ebp - 4], 0
jmp 0x1089e51
mov dword [ebp - 4], 1
cmp ebx, 0x26
je 0x1089e61
cmp ebx, 0x28
je 0x1089e61
and dword [ebp + 0xc], 0
jmp 0x1089e68
mov dword [ebp + 0xc], 1
xor esi, esi
cmp ebx, 0x27
jne 0x1089e81
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x1089e81
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 0x1089fe0
mov eax, dword [ebp - 0x54]
test eax, 0x1000
je 0x1089eaf
xor eax, eax
jmp 0x1089fe3
xor edx, edx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], edx
jne 0x1089fb0
test eax, 0x8000
jne 0x1089fb0
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 0x1089f98
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1089fe0
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test dword [ebp - 0xc], 0x4000
je 0x1089f38
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
jne 0x1089f23
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 0x1089f92
cmp eax, dword [ebp - 0x24]
jge 0x1089f92
jmp 0x1089f4e
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 0x1089f92
cmp eax, dword [ebp - 0x28]
jge 0x1089f92
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 0x1089fe0
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 0x1089fe0
jmp 0x1089ef7
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 0x108979f
setne al
add eax, 3
or eax, 0x500
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 8]
call fcn.01089cf6
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8