Function at 0x468690
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2050
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5061ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.004254a0
mov dword [ebp - 0x50], 0x4df688
mov byte [ebp - 0x34], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
call dword [eax + 0x44]
cmp byte [ebp - 0x34], 0
je 0x4686fa
lea ecx, [ebp - 0x50]
jmp 0x468b4d
cmp byte [esi + 0x1eb], 0
je 0x468942
cmp byte [esi + 0x1e9], 0
je 0x468942
cmp edi, 0xffffffff
je 0x46887e
xor eax, eax
cmp ebx, 0xffffffff
push 0x11
cmove ebx, eax
mov eax, edi
cmp ebx, edi
mov dword [ebp + 8], ebx
mov ecx, ebx
cmovg eax, ebx
cmp eax, ebx
mov dword [ebp - 0x10], eax
cmove ecx, edi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4687bf
xor edi, edi
cmp dword [ebp - 0x14], edi
jle 0x468789
mov ebx, dword [ebp - 0x14]
nop dword [eax + eax]
mov eax, dword [esi + 0x180]
push 0
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
call fcn.00417570
test eax, eax
jne 0x468781
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xe4]
inc edi
cmp edi, ebx
jl 0x468760
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
inc edi
cmp edi, dword [esi + 0x184]
jge 0x4687bf
mov eax, dword [esi + 0x180]
push 0
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
call fcn.00417570
test eax, eax
jne 0x4687b6
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xe4]
inc edi
cmp edi, dword [esi + 0x184]
jl 0x468795
mov eax, dword [ebp - 0x14]
mov edi, eax
cmp eax, dword [ebp - 0x10]
jg 0x4687f9
mov ebx, dword [ebp - 0x10]
nop dword [eax]
mov eax, dword [esi + 0x180]
push 1
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
call fcn.00417570
test eax, eax
jne 0x4687f1
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xe4]
inc edi
cmp edi, ebx
jle 0x4687d0
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x184], 0xffffffff
jle 0x468865
mov edi, dword [esi + 0x1c8]
cmp edi, 0xffffffff
je 0x468865
mov dword [esi + 0x1c8], 0xffffffff
mov eax, dword [esi + 0x180]
push 1
push 0
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
call fcn.004831c0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xe4]
mov ecx, dword [esi + 0x1c8]
cmp ecx, 0xffffffff
je 0x468865
mov eax, dword [esi + 0x180]
push 0
push 1
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
call fcn.004831c0
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x1c8]
call dword [eax + 0xe4]
cmp byte [esi + 0x1ec], 0
mov ecx, esi
mov eax, dword [ebp - 0x10]
cmovne eax, dword [ebp - 0x14]
push eax
call fcn.00467c00
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.004254e0
push esi
lea ecx, [ebp - 0x30]
call fcn.004254a0
mov dword [ebp - 0x30], 0x4df6b4
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x44]
mov ecx, dword [esi + 0x1c4]
cmp ecx, 0xffffffff
je 0x4688e8
mov eax, dword [esi + 0x180]
push 0
push 0
push 0
mov ecx, dword [eax + ecx*4]
push 7
mov ecx, dword [ecx]
call fcn.004174a0
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x1c4]
call dword [eax + 0xe4]
cmp dword [esi + 0x198], 0
je 0x468b4a
mov ecx, dword [esi + 0x19c]
xor edi, edi
test ecx, ecx
je 0x468921
mov edx, dword [esi + 0x194]
mov eax, edx
nop dword [eax]
cmp dword [eax], 0
jne 0x468ade
inc edi
add eax, 4
cmp edi, ecx
jb 0x468910
xor edi, edi
test edi, edi
je 0x468b4a
nop dword [eax + eax]
mov eax, edi
mov dword [ebp + 8], eax
test edi, edi
jne 0x468ae6
jmp 0x468b1c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4689cc
cmp byte [esi + 0x1e9], 0
je 0x4689cc
cmp edi, 0xffffffff
je 0x46887e
mov eax, dword [esi + 0x180]
lea ebx, [edi*4]
mov eax, dword [eax + ebx]
mov ecx, dword [eax]
mov eax, dword [esi + 0x180]
mov eax, dword [eax + ebx]
mov edi, dword [eax]
call fcn.00416810
test al, al
mov ecx, edi
sete al
movzx eax, al
push eax
call fcn.00417570
mov eax, dword [esi + 0x180]
mov eax, dword [eax + ebx]
mov ecx, dword [eax]
call fcn.00416810
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
test al, al
mov eax, dword [esi]
push edi
cmovne ecx, edi
mov dword [esi + 0x1c4], ecx
mov ecx, esi
call dword [eax + 0xe4]
mov ebx, dword [ebp + 8]
jmp 0x46887e
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x468a66
cmp byte [esi + 0x1e9], 0
je 0x468a66
cmp edi, 0xffffffff
je 0x46887e
xor eax, eax
cmp ebx, 0xffffffff
cmove ebx, eax
mov eax, edi
cmp ebx, edi
mov dword [ebp + 8], ebx
mov ecx, ebx
cmovg eax, ebx
cmp eax, ebx
cmove ecx, edi
xor edi, edi
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0x184], edi
jle 0x46887b
mov ebx, eax
cmp edi, ecx
jl 0x468a2c
mov byte [ebp - 0x14], 1
cmp edi, ebx
jle 0x468a30
mov byte [ebp - 0x14], 0
mov eax, dword [esi + 0x180]
push dword [ebp - 0x14]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
call fcn.00417570
test eax, eax
jne 0x468a52
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xe4]
mov ecx, dword [ebp - 0x10]
inc edi
cmp edi, dword [esi + 0x184]
jl 0x468a20
mov ebx, dword [ebp + 8]
jmp 0x46887b
xor edi, edi
mov dword [esi + 0x1c4], 0xffffffff
cmp dword [esi + 0x184], edi
jle 0x468aaa
nop word [eax + eax]
mov eax, dword [esi + 0x180]
push 0
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
call fcn.00417570
test eax, eax
jne 0x468aa1
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xe4]
inc edi
cmp edi, dword [esi + 0x184]
jl 0x468a80
mov edi, dword [ebp + 0xc]
cmp edi, 0xffffffff
je 0x46887e
mov eax, dword [esi + 0x180]
push 1
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
call fcn.00417570
mov eax, dword [esi]
mov ecx, esi
push edi
mov dword [esi + 0x1c4], edi
call dword [eax + 0xe4]
jmp 0x46887e
mov edi, dword [edx + edi*4]
jmp 0x468923
mov ecx, dword [edi + 0x14]
test ecx, ecx
jne 0x468b1a
mov eax, dword [edi + 0x18]
xor edx, edx
mov ebx, dword [esi + 0x19c]
div ebx
inc edx
nop dword [eax + eax]
cmp edx, ebx
jae 0x468b17
mov eax, dword [esi + 0x194]
mov eax, dword [eax + edx*4]
test eax, eax
cmovne ecx, eax
inc edx
test ecx, ecx
je 0x468b00
mov eax, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [eax]
cmp ecx, dword [esi + 0x1c4]
je 0x468b42
mov eax, dword [esi + 0x180]
push 0
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xe0]
add ecx, 0xe0
call dword [eax + 8]
test edi, edi
jne 0x468930
lea ecx, [ebp - 0x30]
call fcn.004254e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8