Function at 0x460910a7
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x460ec018]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x28], ecx
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x5c]
mov dword [ebp - 0x54], edx
mov esi, dword [eax + 0x24]
mov eax, edx
mov edx, 0x8000001
and eax, edx
cmp eax, edx
jne 0x4609143d
push ecx
mov ecx, ebx
call fcn.4608fad5
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4609143d
test esi, esi
je 0x4609143d
lea eax, [esi + 8]
mov ecx, eax
mov dword [ebp - 0x58], eax
call fcn.4608e7ad
mov ecx, dword [ebx + 0x24]
lea esi, [ebx + 0x30]
lea edi, [ebp - 0x84]
mov dword [ebp - 0x1c], eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x24]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.460a0455
test eax, eax
js 0x4609143d
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebx + 0x24]
call fcn.460a03a7
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, Ordinal_1
test esi, 0x100000
je 0x4609116e
mov dword [ebp - 0x10], eax
test esi, 0x200000
je 0x46091179
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x20]
lea esi, [ebx + 0x30]
mov edx, esi
call fcn.4609101f
test byte [ebx + 0x5c], 0x40
mov edi, dword [ebp - 0x1c]
jne 0x460911ab
push esi
push edi
mov ecx, ebx
call fcn.4608fcb4
xor eax, eax
mov ecx, ebx
push esi
push edi
mov dword [ebp - 0x20], eax
mov dword [ebx + 0x5c], eax
call fcn.4608fcb4
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
push ecx
mov dword [ebp - 0x50], ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x460913b7
mov eax, dword [ebp - 0x28]
push 0x1b
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x460913ad
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
cmp eax, edi
jne 0x46091229
cmp ecx, dword [ebp - 0x4c]
je 0x46091391
cmp eax, dword [ebp - 0x18]
jge 0x46091233
mov eax, dword [ebp - 0x18]
jmp 0x4609123b
cmp eax, dword [ebp - 0x10]
jle 0x4609123e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
cmp ecx, dword [ebp - 0x14]
jge 0x46091248
mov ecx, dword [ebp - 0x14]
jmp 0x46091250
cmp ecx, dword [ebp - 0xc]
jle 0x46091253
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x3c], ecx
test byte [ebx + 0x5c], 0x40
jne 0x4609126b
mov edi, dword [ebp - 0x1c]
mov ecx, ebx
push esi
push edi
call fcn.4608fcb4
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], 0
je 0x46091273
mov dword [esi], eax
cmp dword [ebp - 0x30], 0
je 0x4609127c
mov dword [ebx + 0x38], eax
cmp dword [ebp - 0x34], 0
je 0x46091285
mov dword [ebx + 0x34], ecx
cmp dword [ebp - 0x38], 0
je 0x4609128e
mov dword [ebx + 0x3c], ecx
mov ecx, dword [ebx + 0x38]
mov eax, ecx
sub eax, dword [esi]
mov edx, dword [0x460ec758]
mov edi, dword [0x460ec754]
cmp eax, edx
jge 0x460912bc
cmp dword [ebp - 0x2c], 0
je 0x460912af
sub ecx, edx
mov dword [esi], ecx
cmp dword [ebp - 0x30], 0
je 0x460912bc
mov eax, dword [esi]
add eax, edx
mov dword [ebx + 0x38], eax
mov ecx, dword [ebx + 0x3c]
mov eax, ecx
sub eax, dword [ebx + 0x34]
cmp eax, edi
jge 0x460912e1
cmp dword [ebp - 0x34], 0
je 0x460912d3
sub ecx, edi
mov dword [ebx + 0x34], ecx
cmp dword [ebp - 0x38], 0
je 0x460912e1
mov eax, dword [ebx + 0x34]
add eax, edi
mov dword [ebx + 0x3c], eax
test byte [ebx + 0x5c], 0x40
mov edi, dword [ebp - 0x1c]
jne 0x460912f3
push esi
push edi
mov ecx, ebx
call fcn.4608fcb4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x460ec72c], 1
lea eax, [ebp - 0x74]
push 1
push 0x109
push 0x100
push 0
push eax
je 0x4609131e
call dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x46091324
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x46091382
cmp dword [0x460ec72c], 1
lea eax, [ebp - 0x74]
push 3
push 0x20e
push 0x200
push 0
push eax
je 0x4609134b
call dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x46091351
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x46091382
cmp dword [0x460ec72c], 1
lea eax, [ebp - 0x74]
push 3
push 0xa9
push 0xa0
push 0
push eax
je 0x46091378
call dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x4609137e
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x46091391
cmp dword [ebp - 0x70], 0x100
jne 0x46091391
cmp dword [ebp - 0x6c], 0x1b
je 0x460913b0
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x460911e4
mov edi, dword [ebp - 0x1c]
jmp 0x460913b7
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 1
test byte [ebx + 0x5c], 0x40
jne 0x460913c6
push esi
push edi
mov ecx, ebx
call fcn.4608fcb4
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [ebp - 0x20], 0
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x30]
mov ecx, dword [ebp - 0x54]
mov dword [ebx + 0x5c], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, eax
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x46091401
mov edi, dword [ebp - 0x1c]
test cl, 0x40
jne 0x4609142f
push eax
push edi
mov ecx, ebx
call fcn.4608fcb4
jmp 0x4609142f
or dword [ebx + 0x6c], 0x80
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.46091452
test byte [ebx + 0x5c], 0x40
mov edi, dword [ebp - 0x1c]
jne 0x46091428
lea eax, [ebx + 0x30]
mov ecx, ebx
push eax
push edi
call fcn.4608fcb4
and dword [ebx + 0x6c], 0xffffff7f
mov ecx, dword [ebp - 0x58]
push edi
call fcn.4608e7ec
xor eax, eax
inc eax
jmp 0x4609143f
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.460ea320
mov esp, ebp
pop ebp
ret 4