Function at 0x3006b276
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 0x3006b29a
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.3006990a
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.3006980a
test eax, eax
pop ecx
je 0x3006b2db
push 0xffffffffffffffff
push ebx
call fcn.3006a25a
pop ecx
pop ecx
mov eax, dword [ebp - 0xc]
cmp eax, 0x64
jae 0x3006b2e6
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 0x3006b356
test byte [ebx], 1
je 0x3006b356
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x3006b356
push 3
push 0x20e
push 0x100
push edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x3006b37b
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 0x3006b3b2
mov eax, dword [ebp - 8]
push ebx
mov dword [eax], edi
call fcn.3006990a
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 0x3006b37e
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x3c], 0x113
jne 0x3006b3b2
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 0x3006b3f2
dec ecx
dec ecx
jne 0x3006b2fe
push dword [ebp - 0x10]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp esi, edi
je 0x3006b3db
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 8]
mov dword [eax], edi
and dword [ebx], 0xfffffffd
push ebx
call fcn.3006990a
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.30085102
pop ecx
push edx
push eax
call fcn.3006b20a
mov esi, dword [ebp - 8]
add esp, 0x18
cmp dword [ebp - 0x14], eax
mov dword [esi], eax
je 0x3006b42f
push ebx
mov dword [ebp - 4], 1
call fcn.3006990a
pop ecx
xor edi, edi
cmp dword [ebp - 4], edi
je 0x3006b44f
cmp dword [esi], edi
je 0x3006b44f
push ebx
call fcn.3006980a
test eax, eax
pop ecx
je 0x3006b44f
push 0xffffffffffffffff
push ebx
call fcn.3006a25a
pop ecx
pop ecx
push dword [ebp - 0x34]
call fcn.30085102
mov dword [ebp - 4], edi
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
xor edi, edi
jmp 0x3006b2fe