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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fd78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp - 0x14], 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 ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebx + 0x18], edi
jne 0x4d505a
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x24]
call fcn.00402500
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [esi + 0x4b0]
push ecx
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
lea edx, [ebp - 0x24]
push edx
call fcn.00402f70
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
push ecx
push edi
push 0xf003f
push edi
push 0x676974
push edi
mov edx, dword [ebp - 0x24]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x4d4fa8
mov dword [ebp - 0x2c], edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x4d4f51
inc eax
push eax
call fcn.005f15c2
add esp, 4
mov esi, eax
cmp esi, edi
je 0x4d4f51
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x34]
push eax
push esi
push edi
push edi
push 0x68a104
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
test eax, eax
jne 0x4d4f15
push esi
call fcn.00623c5d
add esp, 4
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x34]
push eax
push esi
push 0
push 0
push 0x67ff90
mov ecx, dword [ebp - 0x28]
push ecx
call edi
test eax, eax
jne 0x4d4f46
push 0x6874d0
call fcn.00623b25
push esi
call fcn.00623af5
add esp, 8
push esi
call fcn.005f15b7
add esp, 4
xor edi, edi
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x4d4f5f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
call fcn.00402500
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24]
push edx
push str._sChList
lea eax, [ebp - 0x30]
push eax
call fcn.00402f70
add esp, 0xc
mov ecx, dword [ebp - 0x30]
push ecx
push 0x80000001
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
call esi
mov edx, dword [ebp - 0x24]
push edx
push 0x80000001
call esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00402570
cmp dword [ebx + 0x74], edi
je 0x4d4fb2
mov eax, dword [ebx + 0x74]
jmp 0x4d4fb5
lea eax, [ebx + 0x78]
lea edx, [eax + 2]
jmp 0x4d4fc0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4d4fc0
sub eax, edx
sar eax, 1
je 0x4d5047
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 3
cmp dword [ebx + 0x74], edi
je 0x4d4feb
mov eax, dword [ebx + 0x74]
jmp 0x4d4fee
lea eax, [ebx + 0x78]
push edi
push eax
push 0x675ea0
lea ecx, [ebp - 0x20]
call fcn.004021b0
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x4d5007
lea eax, [ebp - 0x1c]
push 0x5c
push eax
call fcn.0061ce13
add esp, 8
cmp eax, edi
je 0x4d503b
xor ecx, ecx
mov word [eax], cx
push 0x68a0f0
call fcn.006200a3
add esp, 4
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x4d5032
lea eax, [ebp - 0x1c]
push eax
call fcn.00621fe8
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402570
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061d2ff
mov esp, ebp
pop ebp
ret 8