Function at 0x65b1c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x695f78
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.004bbc6e
and al, 3
cmp al, 1
je 0x65b596
mov ecx, esi
call fcn.004bbc6e
test al, 3
je 0x65b596
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
push ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call dword [0x69b9d4]
push 1
call dword [0x69b8d0]
test ax, ax
jns 0x65b259
mov edx, dword [esi + 0x20]
push ebx
push ebx
push 0x157
push edx
call dword [0x69ba48]
mov dword [ebp - 0x84], 1
test eax, eax
jne 0x65b25f
mov dword [ebp - 0x84], ebx
cmp dword [esi + 0x1f4], ebx
jne 0x65b278
call dword [0x69b7c4]
mov dword [ebp - 0x88], ebx
cmp eax, dword [esi + 0x20]
jne 0x65b282
mov dword [ebp - 0x88], 1
mov ecx, esi
call fcn.004bbdec
mov ecx, esi
mov ebx, eax
call fcn.004bbc88
and eax, 0x1000
mov dword [ebp - 0x8c], eax
test edi, edi
je 0x65b2a4
mov edi, dword [edi + 4]
lea eax, [ebp - 0x50]
push eax
push edi
lea ecx, [ebp - 0x80]
call fcn.0066b980
mov edx, dword [esi]
mov eax, dword [edx + 0x188]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
call eax
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x80]
push edx
mov ecx, esi
call fcn.00659550
mov ecx, dword [ebp - 0x7c]
push edi
mov dword [ebp - 0x94], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x11c]
push ecx
push 0xf
mov ecx, esi
mov dword [esi + 0x1fc], 1
call edx
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
mov dword [esi + 0x1fc], edi
mov edi, dword [esi + 0x78]
push 0x6b2800
call fcn.00401b65
mov eax, dword [edi]
mov edx, dword [eax + 4]
push esi
mov ecx, edi
call edx
mov edi, eax
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x90], edi
call fcn.004bad2e
test ebx, ebx
jne 0x65b33d
mov dword [ebp - 0x84], 4
jmp 0x65b364
cmp dword [ebp - 0x84], 0
je 0x65b352
mov dword [ebp - 0x84], 3
jmp 0x65b364
xor eax, eax
cmp dword [ebp - 0x88], eax
setne al
inc eax
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push 0
push 0xfa1
push ecx
push 0
mov ecx, edi
call fcn.00642a60
mov edi, dword [ebp - 0x8c]
mov ecx, esi
mov dword [ebp - 0x88], eax
call fcn.00643820
mov ebx, dword [eax + 0x168]
mov ecx, esi
add ebx, 3
call fcn.00643820
mov ecx, esi
test edi, edi
je 0x65b3f3
mov edx, dword [eax + 0x150]
inc edx
cmp edx, ebx
jle 0x65b3bd
call fcn.00643820
mov eax, dword [eax + 0x150]
inc eax
jmp 0x65b3cb
call fcn.00643820
mov eax, dword [eax + 0x168]
add eax, 3
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x44]
add eax, ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1c], ecx
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x7c]
push ecx
push edx
jmp 0x65b442
mov eax, dword [eax + 0x150]
inc eax
cmp eax, ebx
jle 0x65b40c
call fcn.00643820
mov eax, dword [eax + 0x150]
inc eax
jmp 0x65b41a
call fcn.00643820
mov eax, dword [eax + 0x168]
add eax, 3
mov ecx, dword [ebp - 0x48]
mov edx, ecx
sub edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
push edx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x7c]
push eax
push ecx
call dword [0x69ba28]
mov ecx, esi
call fcn.00643820
mov esi, dword [eax + 0x150]
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x65b4c0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x50]
sub eax, esi
add ecx, 0xfffffffd
sub eax, 3
add edx, 3
add ebx, 3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x65b496
push 0
push esi
lea edx, [ebp - 0x20]
push edx
call dword [0x69ba4c]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x80]
call fcn.004ba8c0
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x90]
push edx
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.006416d0
jmp 0x65b53e
cmp eax, 1
jne 0x65b53e
mov ecx, dword [ebp - 0x84]
push 0xffffffffffffffff
push 0xed9
push ecx
mov ecx, dword [ebp - 0x90]
push 0
call fcn.00642a10
push eax
push eax
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x80]
call fcn.004c4332
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x50]
push eax
call dword [0x69ba1c]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
test edi, edi
je 0x65b520
lea eax, [esi + ecx]
mov dword [ebp - 0x20], eax
jmp 0x65b525
sub eax, esi
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x7c]
push ecx
push 2
lea edx, [ebp - 0x20]
push edx
push eax
call fcn.0066a640
add esp, 0x10
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
test edi, edi
je 0x65b561
add esi, ecx
mov dword [ebp - 0x38], esi
jmp 0x65b566
sub eax, esi
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x40]
push eax
push ecx
mov ecx, dword [ebp - 0x90]
push 1
lea edx, [ebp - 0x80]
push edx
call fcn.006416d0
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.0066bb90
jmp 0x65b6d1
push esi
lea ecx, [ebp - 0x30]
call fcn.0066b2a0
mov eax, dword [esi + 0x20]
push 0
push 0xffffffffffffffff
push 0x154
push eax
call dword [0x69ba48]
push 8
mov ebx, eax
call dword [0x69b9d0]
lea ecx, [ebx + eax*2]
add ecx, dword [ebp - 0x2c]
push ecx
mov dword [ebp - 0x24], ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
push str.EDIT
call fcn.00401b65
mov ecx, dword [esi + 0x78]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, esi
mov ebx, eax
call fcn.00643820
mov edx, dword [esi]
mov dword [ebp - 0x8c], eax
mov eax, dword [edx + 0x180]
push edi
mov ecx, esi
call eax
push 0
push 0xfa1
push 0
push 0
mov ecx, ebx
mov dword [ebp - 0x88], eax
call fcn.00642a60
cmp eax, 1
jne 0x65b66e
push 0xffffffffffffffff
push 0xed9
push 0
push 0
mov ecx, ebx
call fcn.00642a10
push eax
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, edi
call fcn.004c4332
mov esi, dword [0x69ba1c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [ebp - 0x30]
push edx
call esi
test edi, edi
jne 0x65b653
xor eax, eax
jmp 0x65b656
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x88]
push ecx
push 1
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.0066a640
add esp, 0x10
jmp 0x65b6aa
mov ebx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
push eax
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, edi
call fcn.004c4332
mov esi, dword [0x69ba1c]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
call esi
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x38]
push ecx
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004c4332
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
push ecx
call esi
test edi, edi
je 0x65b6bb
mov edi, dword [edi + 4]
mov edx, dword [ebp - 0x88]
push edx
push 1
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.0066a640
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b851f
mov esp, ebp
pop ebp
ret 4