Function at 0x4b36e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x648308
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x74f8a0]
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 + 0x310], 0x78
mov eax, 0x46
mov dword [esi + 0x314], eax
mov dword [esi + 0x318], eax
mov eax, 0xc8
mov dword [esi + 0x31c], eax
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], 0x64
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0x670984
push 0
push str.SoftwareDownloadManagerGetAllDlgLS
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4b37d3
lea ecx, [ebp]
call fcn.004bb9b0
mov byte [ebp - 4], 1
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp]
call fcn.004bbb20
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.004bbb10
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.0061807e
add ebp, 0x214
mov esp, ebp
pop ebp
ret
mov ebx, 4
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push str.FileName
mov ecx, dword [ebp - 0x20]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x4b3805
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x310], edx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.FileType
mov edx, dword [ebp - 0x20]
push edx
call edi
test eax, eax
jne 0x4b382c
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x314], eax
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push str.Size
mov eax, dword [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x4b3853
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x318], ecx
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x681a04
mov ecx, dword [ebp - 0x20]
push ecx
call edi
test eax, eax
jne 0x4b387a
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x31c], edx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0
push str.SaveTo
mov edx, dword [ebp - 0x20]
push edx
call edi
test eax, eax
jne 0x4b38a1
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x320], eax
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0x6819f0
mov eax, dword [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x4b38c8
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x324], ecx
mov cl, 1
mov byte [ebp - 0x19], cl
xor eax, eax
mov dword [ebp - 0x24], eax
cmp eax, 6
jge 0x4b38e9
cmp dword [esi + eax*4 + 0x310], 0
je 0x4b38e6
xor cl, cl
mov byte [ebp - 0x19], cl
inc eax
jmp 0x4b38cf
test cl, cl
je 0x4b3925
mov dword [esi + 0x310], 0x78
mov eax, 0x46
mov dword [esi + 0x314], eax
mov dword [esi + 0x318], eax
mov eax, 0xc8
mov dword [esi + 0x31c], eax
mov dword [esi + 0x320], eax
mov dword [esi + 0x324], 0x64
jmp 0x4b3938
cmp dword [esi + 0x310], 5
jge 0x4b3938
mov dword [esi + 0x310], 0x78
mov byte [ebp - 0x30], 0
mov edi, 0x60
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x30]
call fcn.00435ad0
cmp eax, edi
je 0x4b3977
xor edi, edi
mov dword [ebp - 0x24], edi
cmp edi, 6
jge 0x4b3977
mov edx, dword [esi + edi*4 + 0x310]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040d0b0
mov dword [esi + edi*4 + 0x310], eax
inc edi
jmp 0x4b3955
mov dword [ebp - 4], 0xffffffff
jmp 0x4b37ae