Function at 0x52e0f0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64f4b0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
call ebp
test eax, eax
jne 0x52e397
mov edi, dword [esp + 0x30]
mov eax, str.IncludeFilters
test edi, edi
jne 0x52e15f
mov eax, str.ExcludeFilters
mov edx, dword [esp + 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, str.IncludeFilters
test edi, edi
jne 0x52e179
mov eax, str.ExcludeFilters
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push eax
mov eax, dword [esp + 0x38]
push eax
call ebp
test eax, eax
jne 0x52e397
xor ebp, ebp
test edi, edi
je 0x52e2a1
cmp dword [esi + 0x12c], ebp
jle 0x52e383
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
test edi, edi
jl 0x52e29c
cmp ebp, dword [esi + 0x12c]
jge 0x52e29c
mov eax, dword [esi + 0x128]
add eax, edi
cmp byte [eax + 0xc], 0
je 0x52e287
lea ecx, [esp + 0x30]
call fcn.00402500
mov dword [esp + 0x28], 0
cmp ebp, dword [esi + 0x12c]
jge 0x52e29c
mov ecx, dword [esi + 0x128]
add ecx, edi
cmp ebp, dword [esi + 0x12c]
jge 0x52e29c
mov eax, dword [esi + 0x128]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + edi + 8]
add eax, edi
push ecx
push edx
lea eax, [esp + 0x38]
push str._ld__s
push eax
call fcn.00402f80
add esp, 0x10
cmp ebp, dword [esi + 0x12c]
jge 0x52e29c
mov eax, dword [esi + 0x128]
mov ecx, dword [eax + edi]
mov ecx, dword [ecx - 0xc]
add eax, edi
cmp ebp, dword [esi + 0x12c]
jge 0x52e29c
mov eax, dword [esi + 0x128]
mov edx, dword [esp + 0x30]
add eax, edi
mov eax, dword [eax]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push edx
push eax
call ebx
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402570
inc ebp
add edi, 0x10
cmp ebp, dword [esi + 0x12c]
jl 0x52e1c1
jmp 0x52e383
call fcn.005e77c5
cmp dword [esi + 0x140], ebp
jle 0x52e383
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
test edi, edi
jl 0x52e29c
cmp ebp, dword [esi + 0x140]
jge 0x52e29c
mov eax, dword [esi + 0x13c]
add eax, edi
cmp byte [eax + 0xc], 0
je 0x52e373
lea ecx, [esp + 0x30]
call fcn.00402500
mov dword [esp + 0x28], 1
cmp ebp, dword [esi + 0x140]
jge 0x52e29c
mov ecx, dword [esi + 0x13c]
add ecx, edi
cmp ebp, dword [esi + 0x140]
jge 0x52e29c
mov eax, dword [esi + 0x13c]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + edi + 8]
add eax, edi
push ecx
push edx
lea eax, [esp + 0x38]
push str._ld__s
push eax
call fcn.00402f80
add esp, 0x10
cmp ebp, dword [esi + 0x140]
jge 0x52e29c
mov eax, dword [esi + 0x13c]
mov ecx, dword [eax + edi]
mov ecx, dword [ecx - 0xc]
add eax, edi
cmp ebp, dword [esi + 0x140]
jge 0x52e29c
mov eax, dword [esi + 0x13c]
mov edx, dword [esp + 0x30]
add eax, edi
mov eax, dword [eax]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push edx
push eax
call ebx
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00402570
inc ebp
add edi, 0x10
cmp ebp, dword [esi + 0x140]
jl 0x52e2b5
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4