Function at 0x4db6d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0x3ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [edi + 0x100], 0
je 0x4db716
push dword [edi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4db716
mov dword [edi + 0x100], 0
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
shr eax, 0xf
and eax, 1
push 0x10
mov dword [ebp - 0x28], eax
call esi
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov si, ax
lea eax, [ebp - 0x24]
shr esi, 0xf
push eax
push dword [edi + 4]
xorps xmm0, xmm0
and esi, 1
mov dword [ebp - 0x34], esi
movups xmmword [ebp - 0x24], xmm0
call ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0xffffffff
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0xffffffff
push eax
mov ecx, edi
call fcn.00418160
movsx eax, byte [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x1f
ja case.0x4db790.10
movzx eax, byte [eax + 0x4dbb78]
jmp dword [eax*4 + 0x4dbb4c]
mov esi, dword [ebp - 0x30]
mov ecx, edi
inc esi
call fcn.004c2d10
dec eax
cmp esi, eax
jl 0x4db7b1
mov ecx, edi
call fcn.004c2d10
lea esi, [eax - 1]
push dword [ebp - 0x2c]
mov ecx, edi
push esi
call fcn.004e49c0
jmp 0x4dbb12
mov eax, dword [ebp - 0x30]
xor ecx, ecx
push dword [ebp - 0x2c]
dec eax
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.004e49c0
jmp 0x4dbb15
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x14], xmm0
call ebx
cmp dword [edi + 0x24], 0
je 0x4db7fa
mov ecx, dword [edi + 0xa0]
jmp 0x4db7fc
xor ecx, ecx
mov eax, dword [ebp - 8]
push dword [edi + 0x9c]
sub eax, ecx
mov dword [ebp - 0x10], ecx
push eax
call fcn.0052746f
mov ebx, 1
add esp, 8
cmp eax, ebx
mov esi, ebx
mov ecx, edi
cmovg esi, eax
call fcn.004c2d10
mov ecx, dword [ebp - 0x30]
dec eax
dec ecx
add ecx, esi
cmp ecx, eax
jge 0x4db889
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
movups xmmword [ebp - 0x14], xmm0
call eax
cmp dword [edi + 0x24], 0
je 0x4db854
mov ecx, dword [edi + 0xa0]
jmp 0x4db856
xor ecx, ecx
mov eax, dword [ebp - 8]
push dword [edi + 0x9c]
sub eax, ecx
mov dword [ebp - 0x10], ecx
push eax
call fcn.0052746f
add esp, 8
mov ecx, edi
cmp eax, 1
cmovg ebx, eax
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x2c]
dec eax
add eax, ebx
push eax
call fcn.004e49c0
jmp 0x4dbb12
mov ecx, edi
call fcn.004c2d10
push dword [ebp - 0x2c]
dec eax
mov ecx, edi
push eax
call fcn.004e49c0
jmp 0x4dbb12
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x14], xmm0
call ebx
cmp dword [edi + 0x24], 0
je 0x4db8bf
mov ecx, dword [edi + 0xa0]
jmp 0x4db8c1
xor ecx, ecx
mov eax, dword [ebp - 8]
push dword [edi + 0x9c]
sub eax, ecx
mov dword [ebp - 0x10], ecx
push eax
call fcn.0052746f
mov esi, dword [ebp - 0x30]
mov ebx, 1
add esp, 8
mov ecx, ebx
cmp eax, ebx
cmovg ecx, eax
mov eax, esi
sub eax, ecx
inc eax
test eax, eax
jle 0x4db945
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
movups xmmword [ebp - 0x14], xmm0
call eax
cmp dword [edi + 0x24], 0
je 0x4db913
mov ecx, dword [edi + 0xa0]
jmp 0x4db915
xor ecx, ecx
mov eax, dword [ebp - 8]
push dword [edi + 0x9c]
sub eax, ecx
mov dword [ebp - 0x10], ecx
push eax
call fcn.0052746f
add esp, 8
mov ecx, edi
cmp eax, 1
cmovg ebx, eax
push dword [ebp - 0x2c]
sub esi, ebx
inc esi
push esi
call fcn.004e49c0
jmp 0x4dbb12
push dword [ebp - 0x2c]
xor esi, esi
mov ecx, edi
push esi
call fcn.004e49c0
jmp 0x4dbb12
mov eax, dword [ebp - 0x2c]
mov ecx, edi
push eax
push 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], eax
call fcn.004c2260
jmp 0x4dbb15
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.004c2d10
dec eax
mov ecx, edi
push eax
call fcn.004e49c0
jmp 0x4dbb15
cmp dword [edi + 0x48], 0
je 0x4db9b2
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
dec eax
test eax, eax
cmovg ecx, eax
push ecx
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004e49c0
jmp 0x4dbb15
mov ebx, dword [ebp - 0x28]
mov eax, 0x32
push 0
push dword [edi + 4]
test ebx, ebx
mov esi, 5
cmovne esi, eax
call dword [sym.imp.USER32.dll_GetScrollPos]
sub eax, esi
test eax, eax
jle 0x4db9e4
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
sub eax, esi
jmp 0x4db9e6
xor eax, eax
push 1
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetScrollPos]
mov esi, dword [ebp - 0x34]
jmp 0x4dbb18
cmp dword [edi + 0x48], 0
je 0x4dba22
mov ecx, dword [edi + 0x35c]
mov eax, dword [ebp - 0x2c]
dec ecx
inc eax
cmp eax, ecx
cmovl ecx, eax
push ecx
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004e49c0
jmp 0x4dbb15
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ebx, dword [ebp - 0x28]
mov ecx, 0x32
test ebx, ebx
mov esi, 5
cmovne esi, ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
add eax, esi
cmp eax, ecx
jge 0x4dba59
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
lea ecx, [eax + esi]
push 1
push ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetScrollPos]
mov esi, dword [ebp - 0x34]
jmp 0x4dbb18
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne case.0x4db790.10
cmp dword [edi + 0x48], ebx
je 0x4dbb1c
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x4dba9f
dec eax
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004e49c0
jmp 0x4dbb1c
mov ecx, dword [edi + 0x35c]
inc eax
dec ecx
cmp eax, ecx
cmovl ecx, eax
push ecx
push dword [ebp - 0x30]
mov ecx, edi
call fcn.004e49c0
jmp 0x4dbb1c
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.004aa470
mov esi, eax
test esi, esi
js 0x4dbadb
cmp esi, dword [edi + 0x35c]
jge 0x4dbadb
push esi
mov ecx, edi
call fcn.0047d520
jmp 0x4dbadd
xor eax, eax
test al, 8
jne 0x4dbb12
mov ebx, dword [ebp - 0x30]
mov ecx, edi
push esi
push ebx
call fcn.0045f4d0
cmp eax, 4
je 0x4dbaf7
cmp eax, 5
jne 0x4dbb12
push 0
push 0xfffffa1f
push esi
push ebx
mov ecx, edi
call fcn.004c1300
push dword [ebp - 0x2c]
mov ecx, edi
push ebx
call fcn.004d8600
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne case.0x4db790.10
lea eax, [esi*4]
mov ecx, edi
push eax
push dword [edi + 0xac]
push dword [edi + 0xa8]
call fcn.004e3db0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 0xc