Function at 0x4ff5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push eax
mov byte [ebp - 4], 1
call fcn.0053091a
add esp, 0x10
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
lea edx, [ebp + 0xc]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4ff798
lea ecx, [ebp + 8]
lea edx, [ebp - 0x120]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 0xc]
push str.LocalPath
push eax
mov dword [ebp + 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ff6a4
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x4ff792
lea edx, [ebp - 0x120]
push edx
call fcn.0051f193
add esp, 4
test eax, eax
je 0x4ff6c0
mov eax, dword [ebp + 0xc]
push eax
jmp 0x4ff792
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4ff6d0
push eax
call fcn.005380ca
add esp, 4
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005380a1
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebx + 0x2c], edx
jne 0x4ff706
push str.URL::set_localPath__:_Not_enough_memory__n
mov ecx, ebx
call fcn.004fdc20
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x4ff792
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x120]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push 0
push 0
mov edi, 0x104
push str.LocalFileName
push ecx
mov dword [ebp + 8], edi
call esi
test eax, eax
jne 0x4ff78e
lea eax, [ebp - 0x120]
mov ecx, ebx
push eax
call fcn.004ff9c0
test eax, eax
je 0x4ff76d
mov ecx, dword [ebp + 0xc]
push ecx
jmp 0x4ff792
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 8]
lea eax, [ebp - 0x120]
push edx
push eax
push 0
push 0
push str.LogFileName
push ecx
mov dword [ebp + 8], edi
call esi
test eax, eax
je 0x4ff7bc
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x3a0]
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8