Function at 0x45d95c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [ebx]
call dword [eax + 0x184]
mov edx, dword [ebp + 8]
test al, al
jne 0x45d9a1
mov eax, dword [edx]
sub eax, 9
cmp eax, 0xc
ja 0x45d9a1
mov ecx, dword [ebx + 0xa0]
push edx
test ecx, ecx
je 0x45db3e
mov eax, dword [ecx]
call dword [eax + 0x1c4]
jmp 0x45dc57
cmp dword [edx], 0x18
jne 0x45d9b2
mov byte [ebx + 0x1fe], 1
jmp 0x45dc57
cmp dword [edx], 0x17
jne 0x45d9c3
mov byte [ebx + 0x1fe], 0
jmp 0x45dc57
cmp dword [edx], 3
je 0x45da68
cmp dword [edx], 0x15
jne 0x45db3d
movzx eax, word [edx + 0x18]
sub eax, 0
je 0x45da32
sub eax, 1
jne 0x45db3d
cmp byte [ebx + 0x835], al
je 0x45da23
lea edi, [ebx + 0x830]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x45da23
mov eax, dword [ebx + 0x838]
push 1
push 1
inc eax
mov edx, dword [ebx]
mov ecx, ebx
mov esi, dword [edi]
push eax
call dword [edx + 0x250]
push eax
mov ecx, edi
call dword [esi + 0xc]
jmp 0x45dc57
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x26c]
jmp 0x45dc57
cmp byte [ebx + 0x835], 0
je 0x45da59
lea edi, [ebx + 0x830]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
test al, al
jne 0x45da59
mov eax, dword [ebx + 0x838]
push 1
push 0
dec eax
jmp 0x45da0b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x268]
jmp 0x45dc57
movzx eax, word [edx + 0x14]
cmp eax, 0x24
ja 0x45db29
je 0x45db0b
sub eax, 0xd
je 0x45dae5
sub eax, 0x14
je 0x45dad6
sub eax, 1
je 0x45dac7
sub eax, 1
jne 0x45db3d
mov eax, dword [esp + 0xc]
lea edi, [ebx + 0x830]
mov ebx, dword [edi]
push 1
push 1
mov esi, dword [eax]
lea ecx, [eax + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
dec eax
push eax
call dword [esi + 0x250]
push eax
mov ecx, edi
call dword [ebx + 0xc]
jmp 0x45dc57
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x274]
jmp 0x45dc57
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x270]
jmp 0x45dc57
mov edx, dword [ebx + 0x838]
cmp edx, 0xffffffff
je 0x45dc57
lea ecx, [ebx + 0x6b8]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x3c]
jmp 0x45dc57
mov eax, dword [ebx]
lea esi, [ebx + 0x830]
mov edi, dword [esi]
mov ecx, ebx
push 1
push 0
push 0
call dword [eax + 0x250]
push eax
jmp 0x45dc02
sub eax, 0x26
je 0x45dc09
dec eax
sub eax, 1
je 0x45db88
sub eax, 0x19
je 0x45db4a
push edx
mov ecx, ebx
call fcn.00451686
jmp 0x45dc57
mov eax, dword [ebx + 0x830]
lea ecx, [ebx + 0x830]
call dword [eax + 0x38]
test al, al
je 0x45dc57
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x45dc57
mov eax, dword [ebx + 0x830]
lea ecx, [ebx + 0x830]
call dword [eax + 0x3c]
jmp 0x45dc57
lea ecx, [ebx + 0x840]
test ecx, ecx
je 0x45dc57
cmp dword [ecx + 4], 0
jle 0x45dc57
mov eax, dword [ecx]
xor edi, edi
mov esi, dword [eax]
cmp edi, dword [ebx + 0x844]
jge 0x45dbbc
push edi
call fcn.00425223
cmp esi, eax
cmovl esi, eax
inc edi
jmp 0x45dba6
lea eax, [esi + 1]
lea esi, [ebx + 0x830]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, dword [ebx + 0x864]
add ecx, 0x6b8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [esp + 0xc]
mov edi, dword [esi]
push 1
lea ecx, [edx + 1]
cmp ecx, eax
jle 0x45dc01
lea ecx, [ebx + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0xc]
dec eax
jmp 0x45db23
push edx
mov ecx, esi
call dword [edi + 0xc]
jmp 0x45dc57
lea ecx, [ebx + 0x840]
test ecx, ecx
je 0x45dc57
cmp dword [ecx + 4], 0
jle 0x45dc57
mov eax, dword [ecx]
xor edi, edi
mov esi, dword [eax]
cmp edi, dword [ebx + 0x844]
jge 0x45dc35
push edi
call fcn.00425223
cmp esi, eax
cmovg esi, eax
inc edi
jmp 0x45dc1f
add ebx, 0x830
dec esi
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x40]
mov eax, dword [ebx]
mov ecx, ebx
push 1
mov eax, dword [eax + 0xc]
test esi, esi
jle 0x45dc53
push esi
jmp 0x45dc55
push 0
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4