Function at 0x102fd66
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 8]
push edi
mov edi, ecx
push 0xffffffffffffffec
push dword [edi + 0x24]
mov dword [ebp - 4], edi
mov dword [ebp - 0x60], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x400000
mov dword [ebp - 0x10], eax
je 0x102fdb7
cmp ebx, 0x25
jne 0x102fd9b
push 0x27
jmp 0x102fda2
cmp ebx, 0x27
jne 0x102fda3
push 0x25
pop ebx
push 7
pop ecx
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x44], ebx
cmp ebx, 0x25
je 0x102fdc7
cmp ebx, 0x26
je 0x102fdc7
and dword [ebp + 0xc], 0
jmp 0x102fdce
mov dword [ebp + 0xc], 1
cmp ebx, 0x26
je 0x102fdde
cmp ebx, 0x28
je 0x102fdde
and dword [ebp - 8], 0
jmp 0x102fde5
mov dword [ebp - 8], 1
xor esi, esi
cmp ebx, 0x27
jne 0x102fdfe
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x102fdfe
mov esi, 0x200
or esi, 0x505
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x6c]
push eax
push esi
mov ecx, edi
call fcn.0102fc80
test eax, eax
jne 0x102ff38
mov eax, dword [ebp - 0x50]
xor edx, edx
cmp dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
jne 0x102ff09
test ah, ah
js 0x102ff09
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
push 2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push edx
push esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [ebp + 0xc]
push esi
push dword [edi + 0x24]
jmp 0x102fef7
cmp ebx, dword [ebp + 8]
je 0x102ff38
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test byte [ebp - 0xb], 0x40
je 0x102fe9c
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
jne 0x102fe87
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 0x102feed
cmp eax, dword [ebp - 0x24]
jl 0x102feb2
jmp 0x102feed
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 0x102feed
cmp eax, dword [ebp - 0x28]
jge 0x102feed
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
movsd dword es:[edi], dword [esi]
push ebx
push 0
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
push 0x502
lea eax, [ebp - 0x6c]
push eax
push ebx
call fcn.0102fc80
test eax, eax
jne 0x102ff38
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push ebx
push dword [eax + 0x24]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov ebx, eax
test ebx, ebx
jne 0x102fe61
jmp 0x102ff38
xor eax, eax
cmp dword [ebp + 0xc], edx
mov ecx, edi
setne al
or eax, 2
push eax
push dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
xor eax, eax
cmp dword [ebp + 0xc], edx
setne al
add eax, 3
or eax, 0x500
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
call fcn.0102fcf4
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8