Function at 0x482453
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x114]
mov edx, dword [ebp + 8]
test al, al
jne 0x482496
mov eax, dword [edx]
cmp eax, 8
jle 0x482496
cmp eax, 0x16
jge 0x482496
mov ecx, dword [esi + 0x48]
push edx
test ecx, ecx
je 0x48248a
mov eax, dword [ecx]
call dword [eax + 0x144]
jmp 0x48270e
mov ecx, esi
call fcn.004722fb
jmp 0x48270e
mov eax, dword [edx]
cmp eax, 0x18
jne 0x4824a9
mov byte [esi + 0x19d], 1
jmp 0x48270e
cmp eax, 0x17
jne 0x4824ba
mov byte [esi + 0x19d], 0
jmp 0x48270e
push edi
cmp eax, 3
je 0x482550
cmp eax, 0x15
jne 0x482614
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x482518
dec eax
jne 0x482614
cmp byte [esi + 0x6c5], al
je 0x482509
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x38]
test al, al
jne 0x482509
mov ecx, dword [esi + 0x6c8]
push 1
push 1
inc ecx
push ecx
jmp 0x4825ed
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1cc]
jmp 0x48270d
cmp byte [esi + 0x6c5], 0
je 0x482541
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x38]
test al, al
jne 0x482541
mov ecx, dword [esi + 0x6c8]
push 1
push 0
dec ecx
jmp 0x482503
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
jmp 0x48270d
movzx eax, word [edx + 0x14]
cmp eax, 0x24
jg 0x482602
je 0x4825e7
sub eax, 0xd
je 0x4825c1
sub eax, 0x14
je 0x4825b2
dec eax
je 0x4825a3
dec eax
jne 0x482614
mov eax, dword [esi]
mov ebx, dword [esi + 0x6c0]
lea ecx, [esi + 0x550]
push 1
mov dword [ebp + 8], eax
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
dec eax
push eax
mov eax, dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x1b0]
jmp 0x4826ba
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d4]
jmp 0x48270d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d0]
jmp 0x48270d
mov eax, dword [esi + 0x6c8]
cmp eax, 0xffffffff
je 0x48270d
lea ecx, [esi + 0x550]
mov edx, dword [ecx]
push eax
call dword [edx]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x18]
jmp 0x48270d
push 1
push 0
push 0
mov eax, dword [esi]
mov ebx, dword [esi + 0x6c0]
mov ecx, esi
call dword [eax + 0x1b0]
jmp 0x4826ba
sub eax, 0x26
je 0x4826d5
dec eax
dec eax
je 0x482662
sub eax, 0x19
je 0x482621
push edx
mov ecx, esi
call fcn.004722fb
jmp 0x48270d
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x38]
test al, al
je 0x48270d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x48270d
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x3c]
jmp 0x48270d
lea ecx, [esi + 0x6d0]
call fcn.004857bc
test eax, eax
jle 0x48270d
mov ecx, esi
call fcn.00482403
lea ebx, [eax + 1]
mov eax, dword [esi + 0x6c0]
lea ecx, [esi + 0x6c0]
call dword [eax + 0x40]
mov ecx, dword [esi + 0x6e8]
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebx + 1]
push 1
cmp ecx, eax
jle 0x4826c6
mov ebx, dword [esi + 0x6c0]
lea ecx, [esi + 0x550]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
push eax
lea ecx, [esi + 0x6c0]
call dword [ebx + 0xc]
jmp 0x48270d
mov eax, dword [esi + 0x6c0]
push ebx
lea ecx, [esi + 0x6c0]
jmp 0x48270a
lea ecx, [esi + 0x6d0]
call fcn.004857bc
test eax, eax
jle 0x48270d
mov ecx, esi
call fcn.004823b3
add esi, 0x6c0
lea edi, [eax - 1]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [esi]
push 1
mov ecx, esi
test edi, edi
jle 0x482708
push edi
jmp 0x48270a
push 0
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4