Function at 0x52f460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x651bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x74d890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x66e97c
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x52f84c
mov edi, 4
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.nLevels
mov ecx, dword [ebp - 0x1c]
push ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call ebx
test eax, eax
jne 0x52f4f6
mov edx, dword [ebp - 0x18]
mov dword [esi + 0xb8], edx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.nATSTFiles
mov edx, dword [ebp - 0x1c]
push edx
call ebx
test eax, eax
jne 0x52f51d
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xb0], eax
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.nDwnlATSTFiles
mov eax, dword [ebp - 0x1c]
push eax
call ebx
test eax, eax
jne 0x52f544
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x11c], ecx
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.bDontShowCnfNameDlg
mov ecx, dword [ebp - 0x1c]
push ecx
call ebx
test eax, eax
jne 0x52f56e
cmp dword [ebp - 0x18], eax
setne dl
mov byte [esi + 0x121], dl
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.bUseTL
mov edx, dword [ebp - 0x1c]
push edx
call ebx
test eax, eax
jne 0x52f598
cmp dword [ebp - 0x18], eax
setne al
mov byte [esi + 0x112], al
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.bUseIEC
mov eax, dword [ebp - 0x1c]
push eax
call ebx
test eax, eax
jne 0x52f5c2
cmp dword [ebp - 0x18], eax
setne cl
mov byte [esi + 0x113], cl
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.bUseAdvWPP
mov ecx, dword [ebp - 0x1c]
push ecx
call ebx
test eax, eax
jne 0x52f5ec
cmp dword [ebp - 0x18], eax
setne dl
mov byte [esi + 0x114], dl
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.bAutoAddFOnCl
mov edx, dword [ebp - 0x1c]
push edx
call ebx
test eax, eax
jne 0x52f616
cmp dword [ebp - 0x18], eax
setne al
mov byte [esi + 0x120], al
lea ecx, [ebp - 0x14]
push ecx
xor edi, edi
push edi
push edi
push edi
push str.includeFilter
mov edx, dword [ebp - 0x1c]
push edx
call ebx
test eax, eax
jne 0x52f71d
mov dword [ebp - 0x20], edi
lea ecx, [esi + 0xc4]
mov eax, dword [ebp - 0x14]
push eax
call fcn.00402850
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
push edi
push str.includeFilter
mov edx, dword [ebp - 0x1c]
push edx
call ebx
test eax, eax
jne 0x52f6c2
mov dword [ebp - 0x28], edi
lea ecx, [ecx]
cmp edi, dword [esi + 0x12c]
jge 0x52f6bc
lea ebx, [esi + 0x124]
lea eax, [esi + 0xc4]
push eax
push edi
mov ecx, ebx
call fcn.004c7a00
add eax, 4
push eax
call fcn.00435ab0
add esp, 8
test al, al
je 0x52f6b0
mov dword [ebp - 0x20], 1
push edi
mov ecx, ebx
call fcn.004c7a00
push eax
lea ecx, [esi + 0xc0]
call fcn.00405980
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x52f6ec
inc edi
mov dword [ebp - 0x28], edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x52f660
cmp dword [ebp - 0x20], 0
jne 0x52f6ec
push 0x676924
lea ecx, [esi + 0xc0]
call fcn.00546c40
mov eax, dword [0x754028]
push eax
push 0x66dea8
lea eax, [esi + 0xc4]
push eax
call fcn.00402f70
add esp, 0xc
lea edi, [esi + 0xc0]
push 0x676924
push edi
call fcn.004c79d0
add esp, 8
test al, al
je 0x52f71d
push 0x66f890
push edi
call fcn.004c79d0
add esp, 8
test al, al
je 0x52f71d
mov byte [esi + 0xe1], 1
lea ecx, [ebp - 0x14]
push ecx
xor edi, edi
push edi
push edi
push edi
push str.excludeFilter
mov edx, dword [ebp - 0x1c]
push edx
call ebx
test eax, eax
jne 0x52f83b
mov dword [ebp - 0x24], edi
lea ecx, [esi + 0xd4]
mov eax, dword [ebp - 0x14]
push eax
call fcn.00402850
lea ecx, [ebp - 0x14]
push ecx
push eax
push edi
push edi
push str.excludeFilter
mov edx, dword [ebp - 0x1c]
push edx
call ebx
test eax, eax
jne 0x52f7b7
mov dword [ebp - 0x2c], edi
cmp edi, dword [esi + 0x140]
jge 0x52f7b1
lea ebx, [esi + 0x138]
lea eax, [esi + 0xd4]
push eax
push edi
mov ecx, ebx
call fcn.004c7a00
add eax, 4
push eax
call fcn.00435ab0
add esp, 8
test al, al
je 0x52f7ae
mov dword [ebp - 0x24], 1
push edi
mov ecx, ebx
call fcn.004c7a00
push eax
lea ecx, [esi + 0xd0]
call fcn.00405980
jmp 0x52f7e1
inc edi
jmp 0x52f761
cmp dword [ebp - 0x24], 0
jne 0x52f7e1
push 0x66e97c
lea ecx, [esi + 0xd0]
call fcn.00546c40
mov eax, dword [0x754044]
push eax
push 0x66dea8
lea eax, [esi + 0xd4]
push eax
call fcn.00402f70
add esp, 0xc
cmp byte [esi + 0xe1], 0
jne 0x52f83b
lea edi, [esi + 0xd0]
push 0x676924
push edi
call fcn.004c79d0
add esp, 8
test al, al
je 0x52f83b
push 0x66f890
push edi
call fcn.004c79d0
add esp, 8
test al, al
je 0x52f83b
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
jle 0x52f83b
push 0x754044
lea eax, [esi + 0xd4]
push eax
call fcn.004c79a0
add esp, 8
test al, al
je 0x52f83b
mov byte [esi + 0xe0], 1
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret