Function at 0x4bc5e5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [ebp - 0x14]
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x28], eax
call fcn.004b7302
push 0xf
lea edi, [ebp - 0xa0]
pop eax
push 6
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
pop ecx
xor eax, eax
push 5
rep stosd dword es:[edi], eax
pop eax
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x88], 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 7
stosd dword es:[edi], eax
pop eax
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x68], 3
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
pop edi
push 0x11
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4bcc3f
mov ebx, dword [ebp + 8]
cmp ebx, 0xd
jne 0x4bc6b4
cmp dword [0x574420], edi
jne 0x4bc6aa
push 0
push 0xa
push 0x102
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4bc6cf
mov dword [ebp + 8], 0xa
mov ebx, dword [ebp + 8]
cmp ebx, 9
je 0x4bcc3f
cmp ebx, 8
je 0x4bcc3f
cmp ebx, 0x27
je 0x4bcc3f
cmp dword [esi + 0x30], edi
je 0x4bcc3f
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp eax, ecx
je 0x4bc6f6
push ecx
push eax
push dword [esi]
mov ecx, esi
call fcn.004ba1ed
mov eax, dword [esi + 0x60]
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x60]
cmp eax, 0xffffffff
je 0x4bcc3f
cmp eax, dword [esi + 0x90]
jne 0x4bc713
cmp dword [esi + 0x34], edi
je 0x4bcc3f
mov ecx, esi
call fcn.004b69c6
cmp dword [esi + 0x6c], eax
jne 0x4bc726
and dword [esi + 0x6c], 0
inc dword [esi + 0x70]
mov ecx, esi
call fcn.004b668f
cmp eax, edi
jne 0x4bc8cb
cmp dword [esi + 0x40], edi
mov byte [ebp + 0xb], bl
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
jne 0x4bc7f1
cmp dword [esi + 0x34], 0
jne 0x4bcc3f
test byte [esi + 0x1a], 8
je 0x4bc788
mov eax, dword [0x58cce4]
test eax, eax
je 0x4bc788
push eax
lea ecx, [esi + 0xf8]
push dword [0x58cce0]
call fcn.004b7b83
push 0
push 0
mov dword [esi + 0x448c], edi
mov eax, dword [0x58cce0]
push dword [esi]
mov dword [esi + 0x60], eax
call ebx
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0xf8]
push dword [esi + 0x60]
call fcn.004b7718
test al, al
je 0x4bcc3f
lea ecx, [esi + 0xf8]
call fcn.004b8fcd
push eax
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004b69cd
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x70]
imul eax, dword [esi + 0x5c]
push dword [esi + 0x54]
push dword [esi + 0x50]
push eax
mov eax, dword [esi + 0xe0]
imul eax, dword [esi + 0x58]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x24]
push 0
push eax
push dword [esi]
call ebx
jmp 0x4bc834
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0xf8]
push dword [esi + 0x60]
call fcn.004b80b1
test al, al
je 0x4bcc3f
lea ecx, [esi + 0xf8]
call fcn.004b8fcd
push eax
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004b69cd
push dword [esi]
mov ecx, esi
mov dword [esi + 0x8c], eax
call fcn.004b9e05
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x90]
cmp ecx, eax
jbe 0x4bc847
mov dword [esi + 0x60], eax
mov ecx, esi
call fcn.004bad83
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0xd0]
xor edx, edx
div ecx
mov eax, dword [esi + 0x60]
mov dword [esi + 0x6c], edx
xor edx, edx
div ecx
sub eax, dword [esi + 0x74]
cmp eax, dword [esi + 0x84]
mov dword [esi + 0x70], eax
jl 0x4bc883
push 0
push edi
push 0x115
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.004ba0bd
mov eax, dword [ebp - 0x28]
cmp dword [esi + 0x8c], eax
je 0x4bcc30
mov eax, dword [esi + 0xe0]
push dword [esi + 0x54]
imul eax, dword [esi + 0x58]
push eax
mov eax, dword [esi + 0x70]
dec eax
imul eax, dword [esi + 0x5c]
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x24]
push 0
push eax
push dword [esi]
call ebx
jmp 0x4bcc30
mov ecx, esi
call fcn.004b668f
test eax, eax
jne 0x4bcc30
mov eax, dword [esi + 0x18]
xor edx, edx
and eax, 0xe0
or ebx, 0xffffffff
sub eax, edx
je 0x4bc965
sub eax, 0x20
je 0x4bc943
sub eax, 0x20
je 0x4bc921
sub eax, 0x40
jne 0x4bc99d
mov eax, dword [ebp + 8]
cmp eax, 0x30
je 0x4bc90b
cmp eax, 0x31
jne 0x4bc90e
lea ebx, [eax - 0x30]
mov dword [ebp - 4], 8
mov dword [ebp - 8], 2
push 3
pop edx
jmp 0x4bc99d
mov eax, dword [ebp + 8]
cmp eax, 0x30
jb 0x4bc931
cmp eax, 0x37
ja 0x4bc931
lea ebx, [eax - 0x30]
mov dword [ebp - 4], 3
mov dword [ebp - 8], 8
push 2
jmp 0x4bc91e
mov eax, dword [ebp + 8]
cmp eax, 0x30
jb 0x4bc953
cmp eax, 0x39
ja 0x4bc953
lea ebx, [eax - 0x30]
mov dword [ebp - 4], 3
mov dword [ebp - 8], 0xa
mov edx, edi
jmp 0x4bc99d
mov eax, dword [ebp + 8]
cmp eax, 0x30
jb 0x4bc975
cmp eax, 0x39
ja 0x4bc975
lea ebx, [eax - 0x30]
cmp eax, 0x61
jb 0x4bc982
cmp eax, 0x66
ja 0x4bc982
lea ebx, [eax - 0x57]
cmp eax, 0x41
jb 0x4bc98f
cmp eax, 0x46
ja 0x4bc98f
lea ebx, [eax - 0x37]
mov dword [ebp - 4], 2
mov dword [ebp - 8], 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x48]
dec eax
mov dword [ebp + 8], edi
cmp eax, ecx
jle 0x4bc9bf
sub eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
imul eax, dword [ebp - 8]
dec dword [ebp - 0x18]
mov dword [ebp + 8], eax
jne 0x4bc9b0
cmp ebx, 0xffffffff
je 0x4bcc3f
lea eax, [ecx + edx*8]
cmp dword [ebp + eax*4 - 0xa8], ebx
jl 0x4bcc3f
test ecx, ecx
jne 0x4bcb3a
cmp dword [esi + 0x40], edi
jne 0x4bcaab
cmp dword [esi + 0x34], ecx
jne 0x4bcc3f
mov al, bl
imul byte [ebp + 8]
test byte [esi + 0x1a], 8
mov byte [ebp + 0xb], al
je 0x4bca35
mov eax, dword [0x58cce4]
test eax, eax
je 0x4bca35
push eax
lea ecx, [esi + 0xf8]
push dword [0x58cce0]
call fcn.004b7b83
push 0
push 0
mov dword [esi + 0x448c], edi
mov eax, dword [0x58cce0]
push dword [esi]
mov dword [esi + 0x60], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp + 0xb]
push edi
push eax
lea ebx, [esi + 0xf8]
push dword [esi + 0x60]
mov ecx, ebx
call fcn.004b7718
test al, al
je 0x4bcc3f
mov ecx, ebx
call fcn.004b8fcd
push eax
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004b69cd
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x70]
imul eax, dword [esi + 0x5c]
push dword [esi + 0x54]
push dword [esi + 0x50]
push eax
mov eax, dword [esi + 0xe0]
imul eax, dword [esi + 0x58]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x24]
push 0
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4bcb35
mov eax, dword [esi + 0x60]
cmp eax, dword [esi + 0x90]
jae 0x4bcad5
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0xf8]
call fcn.004b913a
push dword [eax]
mov ecx, dword [eax + 4]
call fcn.004b87ad
movzx eax, al
jmp 0x4bcad7
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 8]
div dword [ebp + 8]
imul ecx, ebx
mov ebx, edx
add ebx, ecx
cmp ebx, 0xff
jbe 0x4bcaf0
mov ebx, ecx
push dword [esi + 0x60]
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0xf8]
push eax
call fcn.004b913a
mov ecx, dword [eax + 4]
push ebx
push dword [eax]
call fcn.004b87f7
lea ecx, [esi + 0xf8]
call fcn.004b8fcd
push eax
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004b69cd
push dword [esi]
mov ecx, esi
mov dword [esi + 0x8c], eax
call fcn.004b9e05
inc dword [esi + 0x48]
jmp 0x4bcb97
lea ecx, [esi + 0xf8]
call fcn.00417550
mov dword [ebp - 0x18], eax
xor edx, edx
movzx eax, byte [eax]
div dword [ebp + 8]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
sub ebx, edx
imul ebx, dword [ebp + 8]
add ebx, eax
cmp ebx, 0xff
jbe 0x4bcb77
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
cdq
idiv dword [ebp + 8]
sub ebx, edx
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov byte [eax], bl
push dword [esi]
call fcn.004b9e05
mov eax, dword [ebp - 4]
inc dword [esi + 0x48]
cmp dword [esi + 0x48], eax
jne 0x4bcb97
and dword [esi + 0x48], 0
inc dword [esi + 0x60]
mov ecx, esi
call fcn.004bad83
mov eax, dword [esi + 0x90]
cmp dword [esi + 0x60], eax
jbe 0x4bcbac
mov dword [esi + 0x60], eax
mov ecx, esi
call fcn.004b69c6
mov ecx, eax
mov eax, dword [esi + 0x60]
xor edx, edx
div ecx
mov ecx, esi
mov dword [esi + 0x6c], edx
call fcn.004b69c6
mov ecx, eax
mov eax, dword [esi + 0x60]
xor edx, edx
div ecx
sub eax, dword [esi + 0x74]
cmp eax, dword [esi + 0x84]
mov dword [esi + 0x70], eax
jl 0x4bcbed
push 0
push edi
push 0x115
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.004ba0bd
mov eax, dword [ebp - 0x28]
cmp dword [esi + 0x8c], eax
je 0x4bcc30
mov eax, dword [esi + 0xe0]
push dword [esi + 0x54]
imul eax, dword [esi + 0x58]
push eax
mov eax, dword [esi + 0x70]
dec eax
imul eax, dword [esi + 0x5c]
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [ebp - 0x24]
push 0
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0xfffffbfb
mov dword [esi + 0x38], edi
push dword [esi]
call fcn.004bbaa0
lea ecx, [ebp - 0x14]
call fcn.004b732e
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8