Function at 0x1004cb36
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
call dword [eax + 0x114]
mov edx, dword [ebp + 8]
test al, al
jne 0x1004cb7a
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x1004cb7a
mov ecx, dword [ebx + 0x48]
push edx
test ecx, ecx
je 0x1004cb6e
mov eax, dword [ecx]
call dword [eax + 0x144]
jmp 0x1004cdf9
mov ecx, ebx
call fcn.10048d06
jmp 0x1004cdf9
cmp dword [edx], 0x18
jne 0x1004cb8b
mov byte [ebx + 0x19d], 1
jmp 0x1004cdf9
cmp dword [edx], 0x17
jne 0x1004cb9c
mov byte [ebx + 0x19d], 0
jmp 0x1004cdf9
cmp dword [edx], 3
push esi
push edi
je 0x1004cc43
cmp dword [edx], 0x15
jne 0x1004cd15
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x1004cbf7
sub eax, 1
jne 0x1004cd15
cmp byte [ebx + 0x6c5], al
je 0x1004cbe8
lea edi, [ebx + 0x6c0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x1004cbe8
mov eax, dword [ebx + 0x6c8]
push 1
push 1
inc eax
jmp 0x1004cc1c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1cc]
jmp 0x1004cdf7
cmp byte [ebx + 0x6c5], 0
je 0x1004cc34
lea edi, [ebx + 0x6c0]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x1004cc34
mov eax, dword [ebx + 0x6c8]
push 1
push 0
dec eax
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
push eax
call dword [edx + 0x1b0]
push eax
mov ecx, edi
call dword [esi + 0xc]
jmp 0x1004cdf7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c8]
jmp 0x1004cdf7
movzx eax, word [edx + 0x14]
cmp eax, 0x24
ja 0x1004cd01
je 0x1004cce4
sub eax, 0xd
je 0x1004ccbe
sub eax, 0x14
je 0x1004ccaf
sub eax, 1
je 0x1004cca0
sub eax, 1
jne 0x1004cd15
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x6c0]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
dec eax
push eax
call dword [esi + 0x1b0]
push eax
mov ecx, edi
call dword [ebx + 0xc]
jmp 0x1004cdf7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1d4]
jmp 0x1004cdf7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1d0]
jmp 0x1004cdf7
mov edx, dword [ebx + 0x6c8]
cmp edx, 0xffffffff
je 0x1004cdf7
lea ecx, [ebx + 0x550]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
jmp 0x1004cdf7
mov eax, dword [ebx]
lea esi, [ebx + 0x6c0]
mov edi, dword [esi]
mov ecx, ebx
push 1
push 0
push 0
call dword [eax + 0x1b0]
jmp 0x1004cdb4
sub eax, 0x26
je 0x1004cdbf
dec eax
sub eax, 1
je 0x1004cd5e
sub eax, 0x19
je 0x1004cd22
push edx
mov ecx, ebx
call fcn.10048d06
jmp 0x1004cdf7
mov eax, dword [ebx + 0x6c0]
lea ecx, [ebx + 0x6c0]
call dword [eax + 0x38]
test al, al
je 0x1004cdf7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004cdf7
mov eax, dword [ebx + 0x6c0]
lea ecx, [ebx + 0x6c0]
call dword [eax + 0x3c]
jmp 0x1004cdf7
lea ecx, [ebx + 0x6d0]
call fcn.1001f85f
test eax, eax
jle 0x1004cdf7
mov ecx, ebx
call fcn.1004df3c
lea esi, [ebx + 0x6c0]
inc eax
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp + 8], eax
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x6e8]
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [esi]
push 1
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x1004cdb7
lea ecx, [ebx + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push eax
jmp 0x1004cdb8
push edx
mov ecx, esi
call dword [edi + 0xc]
jmp 0x1004cdf7
lea ecx, [ebx + 0x6d0]
call fcn.1001f85f
test eax, eax
jle 0x1004cdf7
mov ecx, ebx
call fcn.1004df8b
add ebx, 0x6c0
mov ecx, ebx
lea esi, [eax - 1]
mov edx, dword [ebx]
call dword [edx + 0x40]
mov edx, dword [ebx]
mov ecx, ebx
push 1
test esi, esi
jle 0x1004cdf2
push esi
jmp 0x1004cdf4
push 0
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
leave
ret 4