Function at 0x480f60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
test esi, esi
je 0x481240
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x102
je 0x480fa3
cmp edi, 0x106
je 0x480fa3
cmp edi, 0x286
je 0x480fa3
mov eax, dword [ebp + 0x10]
cmp eax, 0x19
je 0x48123f
cmp eax, 0xe5
je 0x48123f
jmp 0x480fa6
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push ebx
push ecx
mov ecx, dword [esi + 0x3bf8]
push eax
push edi
push edx
call fcn.00474c80
test al, al
jne case.0x4810ab.258
cmp dword [ebp + 0x10], 0x12
jne 0x48104d
cmp edi, 0x101
je 0x480fde
cmp edi, 0x105
jne 0x48104d
mov eax, dword [0x50b3a0]
cmp byte [eax + 0x11423], 0
je 0x48104d
call fcn.0041fdb0
cmp eax, dword [0x50b384]
je 0x48104d
cmp dword [esi + 0x40d0], 0
je 0x48104d
mov eax, dword [esi + 0x4494]
test al, 4
je 0x48104d
test al, 0x10
jne 0x48104d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x48104d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x48104d
push 0xffffffffffffffff
push 0
push 2
push 0x11
mov ecx, esi
call fcn.004804a0
mov ecx, dword [ebp + 0x10]
mov eax, ecx
and eax, 0xff
cmp eax, 0xd0
jb 0x481069
cmp eax, 0xd3
jbe case.0x4810ab.258
mov eax, dword [ebp + 0x14]
push esi
push ebx
push eax
push ecx
mov ecx, dword [0x50b39c]
push edi
add ecx, 0x118
call fcn.004270c0
test al, al
jne case.0x4810ab.258
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x481194
lea eax, [edi - 0x100]
cmp eax, 6
ja case.default.0x4810ab
movzx edx, byte [eax + 0x481250]
jmp dword [edx*4 + 0x481248]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4810ee
cmp edi, 0x100
je 0x4810cd
cmp edi, 0x104
jne case.0x4810ab.258
mov dword [esi + 0x26c], edi
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0047a2c0
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
mov edx, dword [esi + 0x26c]
test edx, edx
je case.default.0x4810ab
test ebx, ebx
je 0x481156
movzx eax, word [ebx]
test ax, ax
je 0x481156
xor edi, edi
movzx eax, ax
lea ecx, [ecx]
mov ecx, dword [ebp + 0x14]
movzx edx, ax
xor eax, eax
cmp dword [esi + 0x26c], 0x100
push ecx
mov ecx, dword [esi + 4]
setne al
push edx
lea eax, [eax*4 + 0x102]
push eax
push ecx
mov ecx, esi
call fcn.0047a2c0
movzx eax, word [ebx + edi*2 + 2]
inc edi
test ax, ax
jne 0x481110
pop ebx
pop edi
mov dword [esi + 0x26c], 0
pop esi
pop ebp
ret 0x18
test edx, edx
je case.default.0x4810ab
cmp edi, 0x101
je case.0x4810ab.258
cmp edi, 0x105
je case.0x4810ab.258
mov dword [esi + 0x26c], 0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
push edi
push ecx
mov ecx, esi
call fcn.0047a2c0
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
mov ecx, dword [0x50b39c]
call fcn.00407660
test al, al
jne case.0x4810ab.258
mov ecx, dword [esi + 0x3bf8]
call fcn.0046e9c0
test al, al
je 0x481221
mov eax, dword [0x50b3a0]
cmp byte [eax + 0x1248], 0
je 0x4811ce
test ebx, ebx
je 0x4811ce
cmp word [ebx], 0
jne 0x481206
cmp byte [eax + 0x1249], 0
je case.0x4810ab.258
mov ecx, dword [esi + 0x3bf8]
push 0
call fcn.0046e2f0
xor ecx, ecx
test al, al
setne cl
add ecx, 0x7d7
push ecx
mov ecx, dword [0x50b3a0]
call fcn.004451d0
test al, al
jne case.0x4810ab.258
mov eax, dword [0x50b3a0]
cmp byte [eax + 0x1248], 1
mov ecx, dword [esi + 0x3bf8]
sete dl
movzx eax, dl
push 0
push eax
call fcn.004713d0
mov ecx, esi
call fcn.00476a30
cmp eax, 1
jne case.0x4810ab.258
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push ecx
push edx
push edi
mov ecx, esi
call fcn.0047d960
pop ebx
pop edi
pop esi
pop ebp
ret 0x18