Function at 0x4557b5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00440f5c
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x21
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 0x20
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [0x483fc0], 0
mov dword [ebp - 0x14], eax
je 0x455901
mov ecx, ebx
call fcn.004415ee
cmp dword [0x483fb8], 0
mov ebx, eax
je 0x45582e
test esi, 0x1000
je 0x45582e
cmp ebx, 3
jne 0x45581a
mov ebx, 2
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x45582e
xor eax, eax
jmp 0x455b40
cmp ebx, 0xa
jb 0x455838
cmp ebx, 0x11
jbe 0x455844
cmp ebx, 4
je 0x455844
mov eax, ebx
jmp 0x455b40
test esi, 0x800
je 0x455856
mov eax, 2
jmp 0x455b40
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg edi
neg eax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
test esi, 0x200
je 0x4558fa
cmp ebx, 4
je 0x45588e
cmp ebx, 0xd
je 0x4558a9
cmp ebx, 0xe
je 0x4558c4
cmp ebx, 0x10
je 0x4558df
cmp ebx, 0x11
jne 0x4558fa
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
mov eax, 0xf
jl 0x455b40
mov eax, 0xb
jmp 0x455b40
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0xc], eax
mov eax, 0xa
jle 0x455b40
mov eax, 0xc
jmp 0x455b40
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0xc], eax
mov eax, 0xb
jle 0x455b40
mov eax, 0xc
jmp 0x455b40
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
mov eax, 0xf
jl 0x455b40
mov eax, 0xa
jmp 0x455b40
mov eax, ebx
jmp 0x455b40
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x45591c
xor eax, eax
jmp 0x455b40
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x60]
push ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
push 0
mov ecx, ebx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], eax
call fcn.00455747
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x455983
mov eax, 1
jmp 0x455b40
test esi, 0x40600
je 0x455af3
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
imul eax, eax, 3
sub ecx, eax
add edx, edx
add ecx, dword [0x484238]
mov eax, dword [0x48423c]
sub eax, edx
lea edx, [eax + edi]
mov eax, dword [ebp - 0xc]
add eax, edi
cmp eax, dword [ebp + 0xc]
jle 0x4559fe
test esi, 0x200
je 0x4559cd
mov ebx, 0xc
jmp 0x455acb
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, dword [ebp + 8]
jl 0x4559e1
mov ebx, 0xd
jmp 0x455acb
mov eax, dword [ebp - 8]
mov ebx, 0xe
sub eax, ecx
cmp eax, dword [ebp + 8]
jle 0x455acb
mov ebx, 0xc
jmp 0x455acb
mov eax, dword [ebp - 4]
sub eax, edi
cmp eax, dword [ebp + 0xc]
jg 0x455a4b
test esi, 0x200
je 0x455a1a
mov ebx, 0xf
jmp 0x455acb
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, dword [ebp + 8]
jl 0x455a2e
mov ebx, 0x10
jmp 0x455acb
mov eax, dword [ebp - 8]
mov ebx, 0x11
sub eax, ecx
cmp eax, dword [ebp + 8]
jle 0x455acb
mov ebx, 0xf
jmp 0x455acb
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jle 0x455a8c
test esi, 0x200
je 0x455a65
mov ebx, 0xa
jmp 0x455acb
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebp + 0xc]
jl 0x455a76
mov ebx, 0xd
jmp 0x455acb
mov eax, dword [ebp - 4]
mov ebx, 0x10
sub eax, edx
cmp eax, dword [ebp + 0xc]
jle 0x455acb
mov ebx, 0xa
jmp 0x455acb
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jg 0x455acb
test esi, 0x200
je 0x455aa6
mov ebx, 0xb
jmp 0x455acb
mov eax, dword [ebp - 0xc]
add eax, edx
cmp eax, dword [ebp + 0xc]
jl 0x455ab7
mov ebx, 0xe
jmp 0x455acb
mov eax, dword [ebp - 4]
mov ebx, 0x11
sub eax, edx
cmp eax, dword [ebp + 0xc]
jle 0x455acb
mov ebx, 0xb
test ebx, ebx
je 0x455ae0
test esi, 0x800
mov eax, 2
jne 0x455b40
mov eax, ebx
jmp 0x455b40
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
neg edi
neg eax
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [0x48423c]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x455b3b
mov eax, dword [0x484238]
add eax, dword [ebp - 0x10]
sub eax, 2
cmp eax, dword [ebp + 8]
jle 0x455b34
test esi, 0x80000
je 0x455b34
mov eax, 3
jmp 0x455b40
mov eax, 2
jmp 0x455b40
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8