Function at 0x5252e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x628066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [esp + 0x148]
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, ecx
cmp eax, ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], ebx
mov eax, str.SoftwareDownloadManagerGrabberStsIncludeFilters
jne 0x52531f
mov eax, str.SoftwareDownloadManagerGrabberStsExcludeFilters
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x10]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x6d0c38
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x52553c
push ebx
lea eax, [esp + 0x10]
push ebx
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x525374
mov dword [esp + 0xc], 0x800
mov edx, dword [esp + 0xc]
inc edx
push edx
call fcn.005feedc
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x52553c
push edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x40]
push ebp
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], eax
push 0
lea edx, [esp + 0x54]
mov eax, ebx
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], 0x104
push eax
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x525532
test eax, eax
jne 0x52538d
cmp dword [esp + 0x3c], 1
jne 0x52538d
lea ecx, [esp + 0x28]
lea edx, [esp + 0x44]
push ecx
push 0x6a0150
push edx
call fcn.005e68f0
add esp, 0xc
cmp eax, 1
jne 0x52538d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x52538d
lea eax, [esp + 0x44]
push 0x20
push eax
call fcn.005e63d0
mov edx, eax
add esp, 8
test edx, edx
je 0x52538d
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jb 0x52538d
mov eax, dword [0x6cc708]
inc edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x154], 0
call fcn.00602c5f
push ebp
lea ecx, [esp + 0x1c]
call fcn.00602c5f
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0x24], 1
mov dword [esp + 0x20], ecx
je 0x5254b7
lea edi, [esi + 0x124]
push 0xffffffffffffffff
mov ecx, edi
mov esi, dword [edi + 8]
lea edx, [esi + 1]
push edx
call fcn.004ad010
mov edx, dword [edi + 4]
lea eax, [esp + 0x18]
shl esi, 4
add esi, edx
push eax
mov ecx, esi
call fcn.00602c0f
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.00602c0f
mov edx, dword [esp + 0x20]
mov dword [esi + 8], edx
mov al, byte [esp + 0x24]
mov byte [esi + 0xc], al
jmp 0x5254fc
lea edi, [esi + 0x138]
push 0xffffffffffffffff
mov esi, dword [edi + 8]
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.004ad010
mov eax, dword [edi + 4]
lea edx, [esp + 0x18]
shl esi, 4
add esi, eax
push edx
mov ecx, esi
call fcn.00602c0f
lea eax, [esp + 0x1c]
lea ecx, [esi + 4]
push eax
call fcn.00602c0f
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ecx
mov dl, byte [esp + 0x24]
mov byte [esi + 0xc], dl
mov eax, 1
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x150], eax
call fcn.00602ad6
lea ecx, [esp + 0x18]
mov dword [esp + 0x150], 0xffffffff
call fcn.00602ad6
mov esi, dword [esp + 0x34]
jmp 0x52538d
push ebp
call fcn.005fef05
add esp, 4
pop edi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 4