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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x418928
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
xor edi, edi
cmp esi, edi
je 0x4026fa
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
push edi
push str.LowerFilters
push esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 1
call ebx
cmp eax, edi
jne 0x4026fa
mov edx, dword [esp + 0x14]
push edx
call fcn.00412ebe
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4026fa
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
push edi
push str.LowerFilters
push esi
call ebx
cmp eax, edi
jne 0x402560
cmp dword [esp + 0x1c], 7
jne 0x402560
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
shr eax, 1
push edx
mov dword [esp + 0x28], eax
call fcn.00401c50
add esp, 8
test eax, eax
jne 0x40256f
mov eax, dword [esp + 0x18]
push eax
call fcn.00412ee7
jmp 0x402701
mov ecx, dword [esp + 0x20]
push str.Nerocd2k
lea edx, [ecx + ecx]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
call fcn.0041285b
mov esi, dword [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
cmp word [esi], di
je 0x4025be
push esi
call fcn.0040411b
mov ebx, eax
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.00403c29
add esp, 0xc
cmp eax, edi
je 0x40260b
cmp word [esi + ebx*2 + 2], di
lea esi, [esi + ebx*2 + 2]
jne 0x402599
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
shr edx, 1
mov eax, dword [ecx - 8]
lea eax, [edx + eax + 1]
lea ebp, [eax + eax]
push ebp
call fcn.00412ebe
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x402615
push 1
call fcn.00402df0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00412ee7
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.004127e7
jmp 0x402704
mov esi, 1
jmp 0x4026be
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
cmp ecx, 4
jbe 0x402667
mov esi, dword [esp + 0x18]
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
inc eax
push eax
call fcn.00412add
mov edx, dword [esp + 0x18]
push eax
shr edx, 1
lea eax, [ebx + edx*2 - 2]
push eax
jmp 0x40267c
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
inc eax
push eax
call fcn.00412add
push eax
push ebx
call fcn.004040de
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00412b2d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
push ebp
push ebx
push edx
push 0
push str.LowerFilters
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x10
call fcn.00402df0
push ebx
call fcn.00412ee7
mov esi, dword [esp + 0x2c]
add esp, 8
xor edi, edi
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00412ee7
add esp, 4
xor edx, edx
cmp esi, edi
lea ecx, [esp + 0x10]
sete dl
mov esi, edx
mov dword [esp + 0x30], 0xffffffff
call fcn.004127e7
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push 1
call fcn.00402df0
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret