Function at 0x4bc445
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.004b7162
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 0x4bca9f
mov ebx, dword [ebp + 8]
cmp ebx, 0xd
jne 0x4bc514
cmp dword [0x5743f0], edi
jne 0x4bc50a
push 0
push 0xa
push 0x102
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4bc52f
mov dword [ebp + 8], 0xa
mov ebx, dword [ebp + 8]
cmp ebx, 9
je 0x4bca9f
cmp ebx, 8
je 0x4bca9f
cmp ebx, 0x27
je 0x4bca9f
cmp dword [esi + 0x30], edi
je 0x4bca9f
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
cmp eax, ecx
je 0x4bc556
push ecx
push eax
push dword [esi]
mov ecx, esi
call fcn.004ba04d
mov eax, dword [esi + 0x60]
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x60]
cmp eax, 0xffffffff
je 0x4bca9f
cmp eax, dword [esi + 0x90]
jne 0x4bc573
cmp dword [esi + 0x34], edi
je 0x4bca9f
mov ecx, esi
call fcn.004b6826
cmp dword [esi + 0x6c], eax
jne 0x4bc586
and dword [esi + 0x6c], 0
inc dword [esi + 0x70]
mov ecx, esi
call fcn.004b64ef
cmp eax, edi
jne 0x4bc72b
cmp dword [esi + 0x40], edi
mov byte [ebp + 0xb], bl
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
jne 0x4bc651
cmp dword [esi + 0x34], 0
jne 0x4bca9f
test byte [esi + 0x1a], 8
je 0x4bc5e8
mov eax, dword [0x58ccb4]
test eax, eax
je 0x4bc5e8
push eax
lea ecx, [esi + 0xf8]
push dword [0x58ccb0]
call fcn.004b79e3
push 0
push 0
mov dword [esi + 0x448c], edi
mov eax, dword [0x58ccb0]
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.004b7578
test al, al
je 0x4bca9f
lea ecx, [esi + 0xf8]
call fcn.004b8e2d
push eax
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004b682d
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 0x4bc694
lea eax, [ebp + 0xb]
push edi
push eax
lea ecx, [esi + 0xf8]
push dword [esi + 0x60]
call fcn.004b7f11
test al, al
je 0x4bca9f
lea ecx, [esi + 0xf8]
call fcn.004b8e2d
push eax
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004b682d
push dword [esi]
mov ecx, esi
mov dword [esi + 0x8c], eax
call fcn.004b9c65
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x90]
cmp ecx, eax
jbe 0x4bc6a7
mov dword [esi + 0x60], eax
mov ecx, esi
call fcn.004babe3
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 0x4bc6e3
push 0
push edi
push 0x115
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.004b9f1d
mov eax, dword [ebp - 0x28]
cmp dword [esi + 0x8c], eax
je 0x4bca90
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 0x4bca90
mov ecx, esi
call fcn.004b64ef
test eax, eax
jne 0x4bca90
mov eax, dword [esi + 0x18]
xor edx, edx
and eax, 0xe0
or ebx, 0xffffffff
sub eax, edx
je 0x4bc7c5
sub eax, 0x20
je 0x4bc7a3
sub eax, 0x20
je 0x4bc781
sub eax, 0x40
jne 0x4bc7fd
mov eax, dword [ebp + 8]
cmp eax, 0x30
je 0x4bc76b
cmp eax, 0x31
jne 0x4bc76e
lea ebx, [eax - 0x30]
mov dword [ebp - 4], 8
mov dword [ebp - 8], 2
push 3
pop edx
jmp 0x4bc7fd
mov eax, dword [ebp + 8]
cmp eax, 0x30
jb 0x4bc791
cmp eax, 0x37
ja 0x4bc791
lea ebx, [eax - 0x30]
mov dword [ebp - 4], 3
mov dword [ebp - 8], 8
push 2
jmp 0x4bc77e
mov eax, dword [ebp + 8]
cmp eax, 0x30
jb 0x4bc7b3
cmp eax, 0x39
ja 0x4bc7b3
lea ebx, [eax - 0x30]
mov dword [ebp - 4], 3
mov dword [ebp - 8], 0xa
mov edx, edi
jmp 0x4bc7fd
mov eax, dword [ebp + 8]
cmp eax, 0x30
jb 0x4bc7d5
cmp eax, 0x39
ja 0x4bc7d5
lea ebx, [eax - 0x30]
cmp eax, 0x61
jb 0x4bc7e2
cmp eax, 0x66
ja 0x4bc7e2
lea ebx, [eax - 0x57]
cmp eax, 0x41
jb 0x4bc7ef
cmp eax, 0x46
ja 0x4bc7ef
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 0x4bc81f
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 0x4bc810
cmp ebx, 0xffffffff
je 0x4bca9f
lea eax, [ecx + edx*8]
cmp dword [ebp + eax*4 - 0xa8], ebx
jl 0x4bca9f
test ecx, ecx
jne 0x4bc99a
cmp dword [esi + 0x40], edi
jne 0x4bc90b
cmp dword [esi + 0x34], ecx
jne 0x4bca9f
mov al, bl
imul byte [ebp + 8]
test byte [esi + 0x1a], 8
mov byte [ebp + 0xb], al
je 0x4bc895
mov eax, dword [0x58ccb4]
test eax, eax
je 0x4bc895
push eax
lea ecx, [esi + 0xf8]
push dword [0x58ccb0]
call fcn.004b79e3
push 0
push 0
mov dword [esi + 0x448c], edi
mov eax, dword [0x58ccb0]
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.004b7578
test al, al
je 0x4bca9f
mov ecx, ebx
call fcn.004b8e2d
push eax
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004b682d
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 0x4bc995
mov eax, dword [esi + 0x60]
cmp eax, dword [esi + 0x90]
jae 0x4bc935
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0xf8]
call fcn.004b8f9a
push dword [eax]
mov ecx, dword [eax + 4]
call fcn.004b860d
movzx eax, al
jmp 0x4bc937
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 0x4bc950
mov ebx, ecx
push dword [esi + 0x60]
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0xf8]
push eax
call fcn.004b8f9a
mov ecx, dword [eax + 4]
push ebx
push dword [eax]
call fcn.004b8657
lea ecx, [esi + 0xf8]
call fcn.004b8e2d
push eax
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.004b682d
push dword [esi]
mov ecx, esi
mov dword [esi + 0x8c], eax
call fcn.004b9c65
inc dword [esi + 0x48]
jmp 0x4bc9f7
lea ecx, [esi + 0xf8]
call fcn.004172c0
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 0x4bc9d7
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.004b9c65
mov eax, dword [ebp - 4]
inc dword [esi + 0x48]
cmp dword [esi + 0x48], eax
jne 0x4bc9f7
and dword [esi + 0x48], 0
inc dword [esi + 0x60]
mov ecx, esi
call fcn.004babe3
mov eax, dword [esi + 0x90]
cmp dword [esi + 0x60], eax
jbe 0x4bca0c
mov dword [esi + 0x60], eax
mov ecx, esi
call fcn.004b6826
mov ecx, eax
mov eax, dword [esi + 0x60]
xor edx, edx
div ecx
mov ecx, esi
mov dword [esi + 0x6c], edx
call fcn.004b6826
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 0x4bca4d
push 0
push edi
push 0x115
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.004b9f1d
mov eax, dword [ebp - 0x28]
cmp dword [esi + 0x8c], eax
je 0x4bca90
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.004bb900
lea ecx, [ebp - 0x14]
call fcn.004b718e
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8