Function at 0x401aa0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x18]
mov ebx, dword [esp + 0x21c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push str.LowerFilters
push ebx
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [0x40cb74]
test eax, eax
je 0x401b0b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push esi
push edx
push str.RegQueryValueEx_LowerFilters___s____X__dwType___X__dwValLen___d_r_n
call fcn.00402fb0
add esp, 0x14
test esi, esi
je 0x401b4e
mov edi, dword [esp + 0x220]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
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 edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x19], al
jmp 0x401c39
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x401bcd
push str.LowerFilters
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ebp, dword [esp + 0x220]
lea ecx, [esp + 0x18]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
lea edi, [esp + 0x18]
je 0x401b3b
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
lea edx, [esp + ecx + 0x19]
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
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x18]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x19]
mov byte [eax + edx], 0
jmp 0x401c39
cmp eax, 7
jne 0x401c8d
mov esi, dword [esp + 0x220]
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.004028a0
lea edx, [esp + 0x20]
push edx
call fcn.00402860
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x24]
push eax
lea ebp, [edx + ecx - 1]
call fcn.00402860
lea edx, [esp + eax + 0x27]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
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]
mov byte [esp + ebp + 0x18], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.00402860
add esp, 4
lea edx, [esp + 0x18]
push eax
push edx
push 7
push 0
push str.LowerFilters
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x401c71
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00402a10
add esp, 4
mov eax, dword [0x40cb74]
test eax, eax
je 0x401c8d
lea eax, [esp + 0x18]
push esi
push eax
push str.RegSetValueEx_LowerFilters___s____X_r_n
call fcn.00402fb0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret