Function at 0x4fb660
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x5b5ecc]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x408]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x4fb6c3
mov ecx, dword [esi + 0x780]
mov edx, dword [esi + 0x77c]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push eax
call fcn.0053091a
add esp, 0x10
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, ebx
je 0x4fb6da
mov al, byte [esi + 0x430]
test al, al
jne 0x4fb825
mov eax, dword [esi + 0x408]
cmp eax, ebx
je 0x4fb7a1
cmp dword [esi + 0x3c8], ebx
jne 0x4fb71a
push eax
lea ecx, [esi + 0x20]
call fcn.004ffed0
test al, al
jne 0x4fb71a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00537b04
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x18]
push ebx
mov edx, dword [esi + 0x3c8]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edx, dword [ebp - 0x18]
inc edx
push edx
call fcn.005380a1
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4fb6fd
mov al, byte [esi + 0x430]
test al, al
jne 0x4fb825
cmp dword [esi + 0x408], ebx
je 0x4fb80d
mov eax, dword [esi + 0x3c8]
cmp eax, ebx
je 0x4fb830
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
push edi
push ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.LogFileName
push eax
mov dword [ebp - 0x1c], ecx
call ebx
test eax, eax
jne 0x4fb836
push edi
call fcn.0051de13
add esp, 4
jmp 0x4fb836
cmp dword [esi + 0x77c], ebx
je 0x4fb6fd
cmp dword [esi + 0x780], ebx
je 0x4fb6fd
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push ebx
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4fb6fd
push ebx
lea edx, [ebp - 0x18]
push ebx
mov eax, dword [ebp - 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x18], ebx
jne 0x4fb735
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4fb6fd
cmp dword [esi + 0x77c], ebx
je 0x4fb830
cmp dword [esi + 0x780], ebx
je 0x4fb830
mov eax, dword [ebp - 0x20]
jmp 0x4fb768
lea ecx, [esi + 0x42c]
call fcn.004c97e0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x59dc78
call fcn.0051f193
mov eax, dword [esi + 0x4c]
add esp, 4
test eax, eax
jne 0x4fb895
mov eax, dword [esi + 0x408]
test eax, eax
je 0x4fb85c
mov eax, dword [esi + 0x3c8]
jmp 0x4fb873
mov eax, dword [esi + 0x77c]
test eax, eax
je 0x4fb89e
mov eax, dword [esi + 0x780]
test eax, eax
je 0x4fb89e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4fb89e
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
push edi
push 0
push 0
push str.LocalPath
push eax
mov dword [ebp - 0x1c], ecx
call ebx
test eax, eax
jne 0x4fb89e
push edi
jmp 0x4fb896
push eax
call fcn.0051e9d6
add esp, 4
test edi, edi
je 0x4fb8ab
push edi
call fcn.005380ca
add esp, 4
mov eax, dword [esi + 0x408]
test eax, eax
je 0x4fb8c1
mov ecx, esi
call fcn.004fb1e0
jmp 0x4fb6fd
mov eax, dword [esi + 0x77c]
test eax, eax
je 0x4fb6fd
mov eax, dword [esi + 0x780]
test eax, eax
je 0x4fb6fd
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4fb8eb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x5b5ecc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push ecx
push str._sChList
push edx
mov byte [ebp - 4], 2
call fcn.0053091a
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
push eax
push 0x80000001
call esi
mov ecx, dword [ebp - 0x14]
push ecx
push 0x80000001
call esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00537b04
jmp 0x4fb6fd