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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x602088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx + 0x18]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], edi
jne 0x4c0d3a
mov eax, dword [0x6cc564]
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4b0]
push edx
push eax
lea ecx, [ebp - 0x14]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push ecx
mov byte [ebp - 4], 1
call fcn.005dc6eb
add esp, 0x10
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
lea eax, [ebp + 0xc]
push edx
push eax
push edi
push 0xf003f
push edi
push 0x6d0ab8
push edi
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x4c0bdc
push edi
lea edx, [ebp + 8]
push edi
mov eax, dword [ebp + 0xc]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x4c0b84
inc eax
push eax
call fcn.005dfcbc
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4c0b84
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push edx
push esi
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x6ab558
push eax
call edi
test eax, eax
jne 0x4c0b48
push esi
call fcn.005ca553
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push edx
push esi
push 0
push 0
push 0x6a67a8
push eax
call edi
test eax, eax
jne 0x4c0b79
push 0x6a98f8
call fcn.005ca4cd
push esi
call fcn.005ca4a3
add esp, 8
push esi
call fcn.005dfce5
add esp, 4
xor edi, edi
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x4c0b92
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x6cc564]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push str._sChList
push eax
mov byte [ebp - 4], 2
call fcn.005dc6eb
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
push ecx
push reloc.WS2_32.dll_accept
call esi
mov edx, dword [ebp - 0x14]
push edx
push reloc.WS2_32.dll_accept
call esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005e38b9
mov eax, dword [ebx + 0x74]
cmp eax, edi
jne 0x4c0be6
lea eax, [ebx + 0x78]
push eax
call fcn.005c7292
add esp, 4
test eax, eax
je 0x4c0d2e
xor ecx, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x28], di
mov eax, dword [ebx + 0x74]
mov byte [ebp - 4], 3
cmp eax, edi
jne 0x4c0c11
lea eax, [ebx + 0x78]
mov edx, 0x6a1fe8
test edx, edx
je 0x4c0ce7
cmp eax, edi
je 0x4c0ce7
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x40], di
call fcn.00402060
mov bl, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401070
push edi
push 0x6a1fe8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x34], di
call fcn.00402980
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00402050
push eax
call fcn.005c7292
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x2c], edx
je 0x4c0ccb
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x44]
call fcn.00402050
push eax
lea ecx, [ebp - 0x38]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x2c]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005c7292
add esp, 0x14
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00401070
mov ecx, dword [ebp - 0x2c]
xor edi, edi
cmp ecx, edi
mov eax, ecx
jne 0x4c0cf0
lea eax, [ebp - 0x28]
push 0x5c
push eax
call fcn.005c71e2
add esp, 8
cmp eax, edi
je 0x4c0d22
push 0x6ab544
mov word [eax], di
call fcn.005ca2ea
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, edi
jne 0x4c0d19
lea eax, [ebp - 0x28]
push eax
call fcn.005c9bb4
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005e38b9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8