Function at 0x10017ee6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006347e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1001829e
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x34], 0x2da0
mov dword [ebp - 0x68], 0x10008930
cmp dword [ebp - 0x34], 0x3108
jle 0x10017fad
and dword [ebp - 0x28], 0
jmp 0x10017f5f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x23c1
jge 0x10017fad
and dword [ebp - 0x1c], 0
jmp 0x10017f75
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1ef0
jge 0x10017fab
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
mov ecx, 0x1060c3d8
call fcn.1001b57c
jmp 0x10017f6e
jmp 0x10017f58
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x88], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x29f0
jge 0x10017fd0
mov edx, dword [ebp - 0x68]
mov ecx, 0x1060c3d8
call fcn.1001da87
jmp 0x10017fec
or dword [ebp - 4], 0xffffffff
jmp 0x10017ff6
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x3c], 0x6163
mov dword [ebp - 0x58], 0x100089b8
cmp dword [ebp - 0x3c], 0x63aa
jle 0x100180ba
and dword [ebp - 0x2c], 0
jmp 0x10018024
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x625c
jge 0x100180ba
and dword [ebp - 0x30], 0
jmp 0x1001803e
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6e25
jge 0x100180b5
and dword [ebp - 0x24], 0
jmp 0x10018054
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2b49
jge 0x100180b3
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
shl eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
lea ecx, [ebp - 0xd4]
call fcn.1000db9a
pop ecx
pop ecx
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.1001b55c
push eax
call fcn.1004de26
pop ecx
lea ecx, [ebp - 0xd4]
call fcn.1001b552
jmp 0x1001804d
jmp 0x10018037
jmp 0x1001801d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x6153
jge 0x100180d9
push dword [ebp - 0x58]
call fcn.1004de26
pop ecx
jmp 0x100180f5
or dword [ebp - 4], 0xffffffff
jmp 0x100180ff
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x10018269
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
jmp 0x1001816b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], eax
jae 0x10018267
mov dword [ebp - 0x40], 0x2cd9
mov dword [ebp - 0x64], 0x10008a30
cmp dword [ebp - 0x40], 0x2eff
jle 0x10018207
push 0x11ac
call dword [sym.imp.USER32.dll_GetKeyState]
and dword [ebp - 0x20], 0
jmp 0x100181bb
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1808
jge 0x10018207
and dword [ebp - 0x14], 0
jmp 0x100181d1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6de4
jge 0x10018205
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
mov ecx, 0x1060c3d8
call fcn.1001b57c
jmp 0x100181ca
jmp 0x100181b4
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
mov dword [ebp - 4], 4
cmp dword [ebp - 0x40], 0x2c65
jge 0x1001823c
mov edx, dword [ebp - 0x64]
mov ecx, 0x1060c3d8
call fcn.1001da87
jmp 0x10018258
or dword [ebp - 4], 0xffffffff
jmp 0x10018262
jmp 0x10018160
jmp 0x1001829c
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x8c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
jmp 0x100182c6
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x94], eax
push dword [ebp - 0x94]
push 0x65f5
push 0x1054
push 0x5126
push 0
call fcn.10017242
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret