Function at 0x532500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x64fc38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [esi + 0x7bc], 0x96
mov eax, 0x50
mov dword [esi + 0x7c0], eax
mov dword [esi + 0x7c4], eax
mov dword [esi + 0x7c8], eax
mov dword [esi + 0x7cc], 0x64
mov eax, 0xfa
mov dword [esi + 0x7d0], eax
mov dword [esi + 0x7d4], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManagerGrabberDlgLS
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x5325f9
lea ecx, [ebp]
call fcn.004b8a90
mov byte [ebp - 4], 1
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp]
call fcn.004b8c00
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004b8bf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.00613241
add ebp, 0x214
mov esp, ebp
pop ebp
ret
mov ebx, 4
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.FileName
mov ecx, dword [ebp - 0x1c]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x53262b
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x7bc], edx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push str.FileType
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
jne 0x532652
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x7c0], eax
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push str.Size
mov eax, dword [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x532679
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x7c4], ecx
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x67dca8
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
test eax, eax
jne 0x5326a0
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x7c8], edx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0x67c960
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
jne 0x5326c7
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x7cc], eax
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x67c974
mov eax, dword [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x5326ee
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x7d0], ecx
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.SaveTo
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
test eax, eax
jne 0x532715
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x7d4], edx
cmp dword [esi + 0x7bc], 0
jne 0x532790
cmp dword [esi + 0x7c0], 0
jne 0x532790
cmp dword [esi + 0x7c4], 0
jne 0x532790
cmp dword [esi + 0x7c8], 0
jne 0x532790
cmp dword [esi + 0x7cc], 0
jne 0x532790
cmp dword [esi + 0x7d0], 0
jne 0x532790
cmp dword [esi + 0x7d4], 0
jne 0x532790
mov dword [esi + 0x7bc], 0x96
mov eax, 0x50
mov dword [esi + 0x7c0], eax
mov dword [esi + 0x7c4], eax
mov dword [esi + 0x7c8], eax
mov dword [esi + 0x7cc], 0x64
mov eax, 0xfa
mov dword [esi + 0x7d0], eax
mov dword [esi + 0x7d4], eax
mov byte [ebp - 0x2c], 0
mov edi, 0x60
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x2c]
call fcn.00435330
cmp eax, edi
je 0x5327cf
xor edi, edi
mov dword [ebp - 0x20], edi
cmp edi, 7
jge 0x5327cf
mov eax, dword [esi + edi*4 + 0x7bc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040d0a0
mov dword [esi + edi*4 + 0x7bc], eax
inc edi
jmp 0x5327ad
mov dword [ebp - 4], 0xffffffff
jmp 0x5325d4