Function at 0x10012e0f
Capabilities:
Log keystrokes via polling
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060d0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push esi
push edi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100131a3
lea eax, [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x10013194
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x68], 6
mov dword [ebp - 0x60], 0xfffffffc
mov dword [ebp - 0xac], 0xffffffff
push 0x5eec
lea eax, [ebp - 0xac]
push eax
push 0x5c0d
push 1
push 1
lea eax, [ebp - 0x60]
push eax
push 0xf55
push 0xcac
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.100129e9
add esp, 0x28
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10012edc
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call fcn.1000c152
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0xb8]
call fcn.10013a8f
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x1001315d
mov dword [ebp - 0x98], 0xac7a
mov dword [ebp - 0x44], 0xf4e26c12
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xc8], 0xfffffffa
mov dword [ebp - 0xc4], 0xfffffffa
mov dword [ebp - 0xc0], 0xfffffffa
mov dword [ebp - 0xbc], 0xfffffffa
mov dword [ebp - 0x1c], 0
jmp 0x10012f64
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10012f77
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x14], 0xfffffffa
jmp 0x10012f5d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0xdf5e
je 0x10012f90
mov dword [ebp - 0x2c], 1
jmp 0x10012f94
and dword [ebp - 0x2c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
dec ecx
cmp dword [ebp + eax - 0x14], ecx
jge 0x10012fad
mov dword [ebp - 0x24], 1
jmp 0x10012fb1
and dword [ebp - 0x24], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x24], eax
jg 0x10012fc9
mov dword [ebp - 0x3c], 1
jmp 0x10012fcd
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x3c], eax
jl 0x10012fe1
mov dword [ebp - 0x34], 1
jmp 0x10012fe5
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x28], eax
jl 0x10013009
mov dword [ebp - 0x4c], 1
jmp 0x1001300d
and dword [ebp - 0x4c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0xcc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
add eax, dword [ebp - 0x9c]
cmp eax, 7
je 0x1001303b
mov dword [ebp - 0x30], 1
jmp 0x1001303f
and dword [ebp - 0x30], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
add eax, dword [ebp - 0x30]
cmp eax, 0x490c
jge 0x1001305c
mov dword [ebp - 0x38], 1
jmp 0x10013060
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
neg eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0xc8], eax
lea eax, [ebp - 0x100]
push eax
call fcn.1000a9a7
pop ecx
mov esi, eax
lea edi, [ebp - 0xf4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xf4]
lea edi, [ebp - 0xe8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call fcn.1000c1ac
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x20], 0
jmp 0x100130b6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x100130cc
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xd0], 0
jmp 0x100130af
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x100130fd
push 0x7319
push 0x7a6
push 0x67b6
push 1
push 0x252f
push 0x6a35
push 1
call fcn.10012b84
add esp, 0x1c
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
push 1
push 1
call fcn.10012cc6
add esp, 0xc
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x48]
lea eax, [ebp - 0xdc]
push eax
call fcn.1000e527
add esp, 0x10
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x80]
lea ecx, [ebp - 0xb8]
call fcn.10013c67
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xdc]
call fcn.10013c9c
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x94]
call fcn.10013ca1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.10013c9c
jmp 0x1001322b
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x1001322b
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x100131fb
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1001322b
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
sub eax, 0xf
cdq
mov ecx, 0x338
idiv ecx
sub eax, 0xf
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret