Function at 0x30065ed1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xa]
mov ecx, dword [ebx + 0x10]
xor edx, edx
inc edx
cmp eax, edx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
jb 0x30065ef5
mov dword [ebp - 0xc], eax
lea esi, [ebx + 0x28]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ecx], edx
push ebx
mov dword [ebx + 0x44], 0x1a
call fcn.30064679
pop ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetCapture]
push ebx
call fcn.3006459c
test eax, eax
pop ecx
je 0x30065f36
push 0xffffffffffffffff
push ebx
call fcn.30064f8a
pop ecx
pop ecx
mov eax, dword [ebp - 0xc]
cmp eax, 0x64
jae 0x30065f41
push 0x64
pop eax
xor edi, edi
push edi
push eax
push 0x1234
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetCapture]
mov esi, eax
sub esi, dword [ebx + 4]
neg esi
sbb esi, esi
inc esi
je 0x30065fb0
test byte [ebx], 1
je 0x30065fb0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
jns 0x30065fb0
push 3
push 0x209
push 0x100
push edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x30065fd5
movzx eax, word [ebp + 0xc]
movzx ecx, word [ebp + 8]
shl eax, 0x10
or eax, ecx
mov dword [ebp - 0x3c], 0x200
mov dword [ebp - 0x34], eax
jmp 0x3006600c
mov eax, dword [ebp - 8]
push ebx
mov dword [eax], edi
call fcn.30064679
movzx eax, word [ebp + 0xc]
pop ecx
movzx ecx, word [ebp + 8]
shl eax, 0x10
or eax, ecx
mov dword [ebp - 0x3c], 0x202
mov dword [ebp - 0x34], eax
jmp 0x30065fd8
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x3c], 0x113
jne 0x3006600c
push dword [ebp - 0x10]
mov dword [ebp - 4], 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push dword [ebp - 0xc]
push 0x1234
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
sub ecx, 0x200
je 0x3006604c
dec ecx
dec ecx
jne 0x30065f59
push dword [ebp - 0x10]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp esi, edi
je 0x30066035
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 8]
mov dword [eax], edi
and dword [ebx], 0xfffffffd
push ebx
call fcn.30064679
pop ecx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0x14], ecx
movsd dword es:[edi], dword [esi]
call fcn.3007f13a
pop ecx
push edx
push eax
call fcn.30065e65
mov esi, dword [ebp - 8]
add esp, 0x18
cmp dword [ebp - 0x14], eax
mov dword [esi], eax
je 0x30066089
push ebx
mov dword [ebp - 4], 1
call fcn.30064679
pop ecx
xor edi, edi
cmp dword [ebp - 4], edi
je 0x300660a9
cmp dword [esi], edi
je 0x300660a9
push ebx
call fcn.3006459c
test eax, eax
pop ecx
je 0x300660a9
push 0xffffffffffffffff
push ebx
call fcn.30064f8a
pop ecx
pop ecx
push dword [ebp - 0x34]
call fcn.3007f13a
mov dword [ebp - 4], edi
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
xor edi, edi
jmp 0x30065f59