Function at 0x403ff0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1914
call fcn.00404fe0
push ebx
push esi
push edi
xor ebx, ebx
lea edi, [esp + 0x65c]
push ebp
xor eax, eax
mov ecx, 0x4b1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x192c]
mov ecx, 0xffffffff
mov edi, ebp
sub eax, eax
mov dword [esp + 0x660], 0x574257
mov dword [esp + 0x664], 0x10000
mov dword [esp + 0x668], 0x12c4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x66c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
push str.ZSpool32____s
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x84]
lea edx, [esp + 0x7c4]
add esp, 0xc
push 0x30
push ecx
push edx
call dword [sym.imp.MSVCRT40.dll_strncpy]
lea edi, [esp + 0x84]
add esp, 0xc
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x30
jb 0x4040b7
mov byte [esp + 0x7e7], bl
lea eax, [esp + 0x78]
push eax
push 0
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT40.dll__splitpath]
mov ebx, dword [esp + 0x193c]
add esp, 0x14
test ebx, ebx
je 0x4042cb
lea eax, [esp + 0x24]
mov ebp, dword [sym.imp.ZSPOOL.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SOFTWAREZenographicsFilters
push 0x80000002
call ebp
test eax, eax
jne 0x4042cb
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
lea edx, [esp + 0x1b8]
push eax
lea ebp, [esp + 0x34]
push edx
lea eax, [esp + 0x180]
push 0
inc dword [esp + 0x24]
push 0
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x3c], 0x104
push ebp
push eax
push ecx
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.ZSPOOL.dll_RegEnumValueA]
test eax, eax
jne 0x4042c0
lea eax, [esp + 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4042b5
push str.ZFltOpen
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.ZFltClose
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x34], eax
push str.ZFltEnum
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
call edi
cmp eax, 0x2ffe0000
jne 0x4042aa
lea edi, [esp + 0x2bc]
xor eax, eax
mov ecx, 0xe9
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2bc]
push eax
push 0x4042e0
call esi
add esp, 8
cmp eax, 0x2ffe0000
jne 0x4042a6
mov dword [esp + 0x20], 0
cmp dword [esp + 0x2bc], 0
jle 0x4042a6
lea ebp, [esp + 0x300]
lea eax, [esp + 0x38]
mov edi, dword [ebp]
mov ecx, 0xffffffff
mov dword [esp + 0x1c], eax
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
push 0x4074d4
push eax
call dword [sym.imp.MSVCRT40.dll_strtok]
add esp, 8
test eax, eax
je 0x40428e
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.MSVCRT40.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x404224
push 1
lea eax, [ebp - 0x40]
lea ecx, [esp + 0x664]
push eax
push ecx
push ebx
push 0
call fcn.004043e0
mov dword [esp + 0x28], eax
add esp, 0x14
test eax, eax
je 0x404224
lea eax, [esp + 0x660]
push eax
push ebx
call fcn.004044e0
mov dword [esp + 0x30], eax
add esp, 8
jmp 0x404224
add ebp, 0x74
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x2bc]
jl 0x4041f8
call dword [esp + 0x34]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x14], 0
je 0x404109
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ZSPOOL.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1914
ret 8