Function at 0x481322
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 + 0x108]
mov edx, dword [ebp + 8]
test al, al
jne 0x481366
cmp dword [edx], 8
jle 0x481366
cmp dword [edx], 0x16
jge 0x481366
mov ecx, dword [ebx + 0x48]
push edx
test ecx, ecx
je 0x48135a
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x4815ea
mov ecx, ebx
call fcn.0047e576
jmp 0x4815ea
cmp dword [edx], 0x18
jne 0x481377
mov byte [ebx + 0x19d], 1
jmp 0x4815ea
cmp dword [edx], 0x17
jne 0x481388
mov byte [ebx + 0x19d], 0
jmp 0x4815ea
cmp dword [edx], 3
push esi
push edi
je 0x481429
cmp dword [edx], 0x15
jne 0x481501
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x4813e3
sub eax, 1
jne 0x481501
cmp byte [ebx + 0x63c], al
je 0x4813d4
lea edi, [ebx + 0x638]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x4813d4
mov eax, dword [ebx + 0x640]
push 1
push 1
inc eax
jmp 0x481408
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1bc]
jmp 0x4815e8
cmp byte [ebx + 0x63c], 0
je 0x48141a
lea edi, [ebx + 0x638]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x48141a
mov eax, dword [ebx + 0x640]
push 1
push 0
dec eax
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
push eax
call dword [edx + 0x1a0]
jmp 0x4815a1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1b8]
jmp 0x4815e8
movzx eax, word [edx + 0x14]
cmp eax, 0x24
ja 0x4814ed
je 0x4814ca
sub eax, 0xd
je 0x4814a4
sub eax, 0x14
je 0x481495
sub eax, 1
je 0x481486
sub eax, 1
jne 0x481501
mov eax, dword [ebp - 4]
lea edi, [ebx + 0x638]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 4]
dec eax
push eax
call dword [esi + 0x1a0]
push eax
mov ecx, edi
call dword [ebx + 0xc]
jmp 0x4815e8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c4]
jmp 0x4815e8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c0]
jmp 0x4815e8
mov edx, dword [ebx + 0x640]
cmp edx, 0xffffffff
je 0x4815e8
lea ecx, [ebx + 0x4c8]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
jmp 0x4815e8
mov eax, dword [ebx]
lea esi, [ebx + 0x638]
mov edi, dword [esi]
mov ecx, ebx
push 1
push 0
push 0
call dword [eax + 0x1a0]
push eax
mov ecx, esi
call dword [edi + 0xc]
jmp 0x4815e8
sub eax, 0x26
je 0x4815b0
dec eax
sub eax, 1
je 0x48154f
sub eax, 0x19
je 0x48150e
push edx
mov ecx, ebx
call fcn.0047e576
jmp 0x4815e8
mov eax, dword [ebx + 0x638]
lea ecx, [ebx + 0x638]
call dword [eax + 0x38]
test al, al
je 0x4815e8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4815e8
mov eax, dword [ebx + 0x638]
lea ecx, [ebx + 0x638]
call dword [eax + 0x3c]
jmp 0x4815e8
lea ecx, [ebx + 0x648]
call fcn.00482828
test eax, eax
jle 0x4815e8
mov ecx, ebx
call fcn.00482a4e
lea edi, [ebx + 0x638]
mov edx, dword [edi]
mov ecx, edi
lea esi, [eax + 1]
call dword [edx + 0x40]
mov ecx, dword [ebx + 0x660]
add ecx, 0x4c8
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [esi + 1]
push 1
cmp ecx, eax
jle 0x4815a9
mov esi, dword [edi]
lea ecx, [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push eax
mov ecx, edi
call dword [esi + 0xc]
jmp 0x4815e8
mov eax, dword [edi]
mov ecx, edi
push esi
jmp 0x4815e5
lea ecx, [ebx + 0x648]
call fcn.00482828
test eax, eax
jle 0x4815e8
mov ecx, ebx
call fcn.00482a9d
add ebx, 0x638
mov ecx, ebx
lea esi, [eax - 1]
mov edx, dword [ebx]
call dword [edx + 0x40]
mov eax, dword [ebx]
mov ecx, ebx
push 1
test esi, esi
jle 0x4815e3
push esi
jmp 0x4815e5
push 0
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4