Function at 0x100118b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x50c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x9d]
mov byte [esp + 0x9c], bl
mov byte [esp + 0x19c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x31c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x31d]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x520]
mov dword [esp + 0x14], 0x100
cmp eax, ebx
jne 0x100119bb
mov edi, str.SYSTEMCurrentControlSetControlClass4D36E96F_E325_11CE_BFC1_08002BE10318
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x31c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, 8
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x29c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.mouclass
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.moufiltr
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10011a41
cmp eax, 1
jne 0x10011b1c
mov edi, str.SYSTEMCurrentControlSetControlClass4D36E96B_E325_11CE_BFC1_08002BE10318
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x31c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, 7
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x29c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.kbdclass
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.kbfiltr
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x31c]
push ecx
push 0xf003f
push ebx
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x10011afb
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebx
push str.UpperFilters
push eax
mov dword [esp + 0x30], 7
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x10011af0
mov ecx, ebp
lea edi, [esp + 0x1c]
lea esi, [esp + 0x9c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x10011b0a
mov eax, dword [esp + 0x14]
lea esi, [esp + ebp + 0x9d]
mov ecx, eax
lea edi, [esp + 0x19c]
mov edx, ecx
sub eax, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
dec eax
push eax
lea eax, [esp + 0x1a0]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push eax
push 7
push ebx
push str.UpperFilters
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50c
ret 4
pop edi
pop esi
pop ebp
mov eax, 0x64
pop ebx
add esp, 0x50c
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x50c
ret 4