Function at 0x458400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [eax]
cmp ecx, 0xd
je 0x458710
cmp ecx, 0xf
je 0x458710
cmp ecx, 3
je 0x45850e
cmp ecx, 0x12
jne case.0x458525.37
movzx ecx, word [eax + 0x18]
sub ecx, 0
je 0x4584b6
dec ecx
jne case.0x458525.37
cmp byte [edi + 0x4f8], cl
je 0x4584a1
cmp byte [edi + 0x971], cl
je 0x4584a1
mov ecx, dword [edi + 0x980]
mov eax, dword [edi + 0x984]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x45846e
mov eax, dword [ecx]
push eax
call fcn.00458970
push 1
push 1
inc eax
mov edx, dword [edi]
mov esi, dword [edi + 0x4f4]
push eax
mov eax, dword [edx + 0x15c]
mov ecx, edi
call eax
mov edx, dword [esi + 8]
push eax
lea ecx, [edi + 0x4f4]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x4f8], 0
je 0x4584f9
cmp byte [edi + 0x971], 0
je 0x4584f9
mov ecx, dword [edi + 0x980]
mov eax, dword [edi + 0x984]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x4584ea
push eax
call fcn.00458970
push 1
push 0
dec eax
jmp 0x458479
mov eax, dword [ecx]
push eax
call fcn.00458970
push 1
push 0
dec eax
jmp 0x458479
mov eax, dword [edi]
mov edx, dword [eax + 0x16c]
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx ecx, word [eax + 0x14]
add ecx, 0xffffffdf
cmp ecx, 0x20
ja case.0x458525.37
movzx ecx, byte [ecx + 0x458820]
jmp dword [ecx*4 + 0x458800]
mov edx, dword [edi + 0x984]
sub edx, dword [edi + 0x980]
sar edx, 2
test edx, edx
je 0x4587f5
mov eax, edi
call fcn.00458850
lea esi, [eax - 1]
mov eax, dword [edi]
mov edx, dword [eax + 0x1cc]
mov ecx, edi
call edx
mov eax, dword [edi + 0x4f4]
mov edx, dword [eax + 8]
lea ecx, [edi + 0x4f4]
push 1
test esi, esi
jle 0x45857a
push esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x984]
sub eax, dword [edi + 0x980]
sar eax, 2
test eax, eax
je 0x4587f5
mov eax, edi
call fcn.004588e0
mov edx, dword [edi]
lea esi, [eax + 1]
mov eax, dword [edx + 0x1cc]
mov ecx, edi
call eax
mov ecx, dword [edi + 0x508]
mov edx, dword [ecx + 0x4a0]
mov eax, dword [edx + 0xc]
add ecx, 0x4a0
call eax
lea ecx, [esi + 1]
push 1
cmp ecx, eax
jle 0x4585f1
mov edx, dword [edi + 0x4a0]
mov eax, dword [edx + 0xc]
mov esi, dword [edi + 0x4f4]
lea ecx, [edi + 0x4a0]
call eax
dec eax
jmp 0x45848c
mov eax, dword [edi + 0x4f4]
mov edx, dword [eax + 8]
push esi
lea ecx, [edi + 0x4f4]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax + 0x174]
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax + 0x178]
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x508]
mov eax, dword [ecx + 0x4a0]
mov edx, dword [eax + 0xc]
add ecx, 0x4a0
call edx
test eax, eax
jle 0x4587f5
mov eax, dword [edi + 0x4f4]
mov edx, dword [eax + 8]
lea ecx, [edi + 0x4f4]
push 1
push 0
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x508]
mov eax, dword [ecx + 0x4a0]
mov edx, dword [eax + 0xc]
add ecx, 0x4a0
call edx
test eax, eax
jle 0x4587f5
mov ecx, dword [edi + 0x508]
mov eax, dword [ecx + 0x4a0]
mov edx, dword [eax + 0xc]
mov esi, dword [edi + 0x4f4]
add ecx, 0x4a0
push 1
call edx
dec eax
push eax
mov eax, dword [esi + 8]
lea ecx, [edi + 0x4f4]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x971], 0
jne 0x4587f5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4587f5
mov edx, dword [edi]
mov eax, dword [edx + 0x1c8]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
mov ecx, edi
call fcn.00444e40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x508]
mov eax, dword [ecx + 0x4a0]
add ecx, 0x4a0
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
mov byte [esp + 0xf], 0
xor ebx, ebx
call edx
test eax, eax
jle 0x4587e9
jmp 0x458750
mov ecx, dword [edi + 0x508]
mov eax, dword [ecx + 0x4a0]
mov edx, dword [eax]
add ecx, 0x4a0
push ebx
call edx
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push str.ListItem
mov ecx, esi
call edx
test eax, eax
je 0x4587c2
mov eax, dword [esi]
mov edx, dword [eax + 0xc8]
mov ecx, esi
call edx
test al, al
je 0x4587c2
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
call edx
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
cmp ecx, eax
jg 0x4587c2
cmp edx, eax
jl 0x4587c2
mov eax, dword [esp + 0x14]
cmp esi, eax
jg 0x4587c2
cmp dword [esp + 0x24], eax
jl 0x4587c2
mov byte [esp + 0xf], 1
mov ecx, dword [edi + 0x508]
mov edx, dword [ecx + 0x4a0]
mov eax, dword [edx + 0xc]
add ecx, 0x4a0
inc ebx
call eax
cmp ebx, eax
jl 0x458750
cmp byte [esp + 0xf], 0
jne 0x4587f5
mov edx, dword [edi]
mov eax, dword [edx + 0x1cc]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4