Function at 0x4f8a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9bfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push esi
mov esi, ecx
mov eax, 0x50
push edi
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x658], eax
mov dword [esi + 0x65c], eax
mov dword [esi + 0x660], eax
mov eax, 0xfa
mov dword [esi + 0x668], eax
mov dword [esi + 0x66c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6874e8
push 0
push str.SoftwareDownloadManagerGrabberDlgLS
push reloc.WSOCK32.dll_accept
mov dword [ebp - 4], 0
mov dword [esi + 0x654], 0x96
mov dword [esi + 0x664], 0x64
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4f8b12
lea ecx, [ebp - 0x230]
call fcn.004849d0
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00484af0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00484ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
mov ebx, 4
push str.FileName
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f8b44
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x654], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push str.FileType
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f8b6b
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x658], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push str.Size
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f8b92
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x65c], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push 0x663834
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f8bb9
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x660], edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
push ecx
push 0
push 0
push 0x66313c
push edx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f8be0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x664], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
push ecx
push edx
push 0
push 0
push 0x65f058
push eax
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f8c07
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x668], ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
push edx
push eax
push 0
push 0
push str.SaveTo
push ecx
mov dword [ebp - 0x14], ebx
call edi
test eax, eax
jne 0x4f8c2e
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x66c], edx
mov eax, dword [esi + 0x654]
test eax, eax
jne 0x4f8cb0
mov eax, dword [esi + 0x658]
test eax, eax
jne 0x4f8cb0
mov eax, dword [esi + 0x65c]
test eax, eax
jne 0x4f8cb0
mov eax, dword [esi + 0x660]
test eax, eax
jne 0x4f8cb0
mov eax, dword [esi + 0x664]
test eax, eax
jne 0x4f8cb0
mov eax, dword [esi + 0x668]
test eax, eax
jne 0x4f8cb0
mov eax, dword [esi + 0x66c]
test eax, eax
jne 0x4f8cb0
mov eax, 0x50
mov dword [esi + 0x654], 0x96
mov dword [esi + 0x658], eax
mov dword [esi + 0x65c], eax
mov dword [esi + 0x660], eax
mov eax, 0xfa
mov dword [esi + 0x664], 0x64
mov dword [esi + 0x668], eax
mov dword [esi + 0x66c], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret