Function at 0x4c8940
Capabilities:
Encode data using xor
Hash data using fnv
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x690a1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebx]
mov dword [ebp - 0x2c], esi
mov eax, dword [eax + 0x38]
call eax
test al, al
jne 0x4c8987
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp + 0xc]
push esi
mov eax, dword [eax + 8]
call eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret 8
test esi, esi
jns 0x4c89a6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 0x4d0], 0xffffffff
jne 0x4c89bf
cmp dword [ebx + 8], 0xffffffff
mov eax, esi
cmovne eax, dword [ebx + 8]
mov dword [ebx + 0x4d0], eax
mov eax, dword [ebx - 0x60]
lea ecx, [ebx - 0x60]
push edi
push esi
call dword [eax]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x4c8d68
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x11c]
call edx
test al, al
je 0x4c8d68
mov eax, dword [edi]
mov ecx, edi
push str.ListItem
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4c8d68
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4c8be1
lea ecx, [ebx + 0x4c4]
push esi
call fcn.00480750
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov ecx, eax
je 0x4c8b91
push 0
call edx
test al, al
je 0x4c8d68
cmp dword [ebx + 8], esi
jne 0x4c8a52
mov dword [ebx + 8], 0xffffffff
mov eax, dword [ebx - 0x60]
lea ecx, [ebx - 0x60]
push esi
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.0043f3b0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00420140
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebx + 0x4d4]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x30], esi
push eax
mov ecx, esi
call fcn.004c97f0
mov ecx, dword [esi + 4]
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edi
cmp edi, dword [ecx]
jne 0x4c8aad
cmp eax, ecx
jne 0x4c8aad
mov ecx, esi
call fcn.004c9720
jmp 0x4c8b62
cmp edi, eax
je 0x4c8b62
mov esi, edi
mov edi, dword [edi]
mov dword [ebp - 0x2c], esi
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
mov ecx, dword [esi + 0x18]
jb 0x4c8acb
mov ebx, dword [esi + 8]
xor eax, eax
mov edx, 0x811c9dc5
add ecx, ecx
mov dword [ebp - 0x28], ecx
je 0x4c8af4
mov esi, ecx
nop dword [eax + eax]
movzx ecx, byte [eax + ebx]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, esi
jb 0x4c8ae0
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
and edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4c8b24
cmp eax, esi
jne 0x4c8b1c
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x4c8b2c
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4c8b2c
cmp eax, esi
jne 0x4c8b2c
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 8]
dec dword [ebx + 8]
lea ecx, [ebx + 4]
push eax
push ecx
call fcn.004c7680
push 0x20
push esi
call fcn.004fa0f5
add esp, 0x10
cmp edi, dword [ebp - 0x34]
jne 0x4c8ab5
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.0040efb0
push dword [ebp - 0x24]
lea ecx, [ebx + 0x4c4]
call fcn.00480f60
mov ecx, dword [ebx - 0x574]
test ecx, ecx
je 0x4c8d53
push 0
push 0
push 0xffffffffffffffff
jmp 0x4c8d42
push 1
call edx
test al, al
je 0x4c8d68
push esi
lea ecx, [ebx + 0x4c4]
mov dword [ebx + 8], esi
call fcn.00480430
mov eax, dword [ebx - 0x60]
lea ecx, [ebx - 0x60]
push esi
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.0043f3b0
mov dword [ebp - 0x20], eax
lea ecx, [ebx + 0x4d4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004c76e0
jmp 0x4c8d10
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4c8cf1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x40]
mov eax, dword [ebx + 0x4d0]
mov edi, esi
cmp eax, esi
mov ecx, eax
cmovle ecx, esi
cmovle edi, eax
mov dword [ebp - 0x30], ecx
cmp edi, ecx
jg 0x4c8c91
mov eax, dword [ebx - 0x60]
lea ecx, [ebx - 0x60]
push edi
call dword [eax]
mov esi, eax
test esi, esi
je 0x4c8c88
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x11c]
call edx
test al, al
je 0x4c8c88
mov eax, dword [esi]
mov ecx, esi
push str.ListItem
call dword [eax + 0x14]
mov ecx, eax
test ecx, ecx
je 0x4c8c88
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x4c8c88
push edi
lea ecx, [ebx + 0x4c4]
call fcn.00480430
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
mov ecx, eax
call fcn.0043f3b0
mov dword [ebp - 0x20], eax
lea ecx, [ebx + 0x4d4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004c76e0
inc edi
cmp edi, dword [ebp - 0x30]
jle 0x4c8c17
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx - 0x5b8]
lea edi, [ebx - 0x5b8]
push esi
mov ecx, edi
mov dword [ebx + 8], esi
call dword [eax + 0x220]
cmp byte [ebp + 0xc], 0
je 0x4c8cba
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0x13c]
mov ecx, dword [ebx - 0x574]
test ecx, ecx
je 0x4c8d53
push 0
push dword [ebx + 0x4d0]
push esi
push str.itemselect
push edi
call fcn.00487740
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x28]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
je 0x4c8d68
push esi
lea ecx, [ebx + 0x4c4]
mov dword [ebx + 8], esi
call fcn.00480430
mov eax, dword [ebx - 0x5b8]
lea ecx, [ebx - 0x5b8]
push esi
call dword [eax + 0x220]
cmp byte [ebp + 0xc], 0
je 0x4c8d33
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x13c]
mov ecx, dword [ebx - 0x574]
test ecx, ecx
je 0x4c8d53
push 0
push 0
push esi
push str.itemselect
lea eax, [ebx - 0x5b8]
push eax
call fcn.00487740
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa103
mov esp, ebp
pop ebp
ret 8