Function at 0x4c2ed0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x644acc
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
mov edx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2c4]
mov edi, ecx
mov ecx, dword [esp + 0x2c8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2d0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2e0]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2d4]
mov dword [esp + 0x30], ecx
mov byte [ecx], 0
push eax
mov ecx, edi
mov dword [esp + 0x28], edx
call fcn.005f39b8
mov ecx, dword [edi + 0x74]
mov edx, dword [ecx + 8]
mov ebp, eax
xor ebx, ebx
mov dword [esp + 0x14], ebp
test edx, edx
jle 0x4c33f7
xor esi, esi
test esi, esi
jl 0x4c2f8e
cmp ebx, edx
jge 0x4c2f8e
mov eax, dword [ecx + 4]
add eax, esi
cmp ebp, dword [eax]
je 0x4c2f93
inc ebx
add esi, 0x2c
cmp ebx, edx
jl 0x4c2f6e
xor eax, eax
jmp 0x4c349e
call fcn.005e77c5
mov eax, dword [edi + 0x54]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [edi + 0x20]
push 4
push 0x110a
push eax
mov dword [esp + 0x28], ebx
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x4c3007
lea ebx, [ebx]
push esi
mov ecx, edi
call fcn.005f39b8
mov ecx, dword [edi + 0x20]
cmp eax, dword [esp + 0x14]
je 0x4c2fe4
push esi
push 1
push 0x110a
push ecx
call ebp
mov esi, eax
test esi, esi
jne 0x4c2fc0
jmp 0x4c3007
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
push 0
push 0x113f
push ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 1
mov dword [esp + 0x54], edx
call ebx
mov eax, dword [edi + 0x58]
mov edx, dword [edi + 0x20]
push eax
push 4
push 0x110a
push edx
call ebp
mov esi, eax
test esi, esi
je 0x4c3067
mov edi, edi
push esi
mov ecx, edi
call fcn.005f39b8
cmp eax, dword [esp + 0x14]
mov eax, dword [edi + 0x20]
je 0x4c3044
push esi
push 1
push 0x110a
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x4c3020
jmp 0x4c3067
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
push 0
push 0x113f
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 1
mov dword [esp + 0x54], ecx
call ebx
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x20]
push eax
push 4
push 0x110a
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x4c30c7
mov edi, edi
push esi
mov ecx, edi
call fcn.005f39b8
mov edx, dword [edi + 0x20]
cmp eax, dword [esp + 0x14]
je 0x4c30a4
push esi
push 1
push 0x110a
push edx
call ebp
mov esi, eax
test esi, esi
jne 0x4c3080
jmp 0x4c30c7
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push 0
push 0x113f
push edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 1
mov dword [esp + 0x54], eax
call ebx
mov eax, dword [edi + 0x74]
mov ebx, dword [esp + 0x18]
cmp ebx, dword [eax + 8]
jge 0x4c2f8e
mov eax, dword [eax + 4]
mov esi, ebx
imul esi, esi, 0x2c
mov ecx, dword [eax + esi + 4]
add eax, esi
xor ebp, ebp
mov dword [esp + 0x28], esi
cmp ecx, ebp
jne 0x4c30f2
lea ecx, [eax + 8]
xor eax, eax
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x68], ebp
mov word [esp + 0x64], ax
call fcn.004017f0
mov dword [esp + 0x2bc], ebp
mov eax, dword [edi + 0x74]
cmp ebx, dword [eax + 8]
jge 0x4c2f8e
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x10]
add eax, esi
cmp ecx, ebp
jne 0x4c312e
lea ecx, [eax + 0x14]
xor edx, edx
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x74], ebp
mov word [esp + 0x70], dx
call fcn.004017f0
mov byte [esp + 0x2bc], 1
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x4c3199
mov eax, dword [edi + 0x74]
cmp ebx, dword [eax + 8]
jge 0x4c2f8e
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax + 0x1c]
jmp 0x4c3170
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c3190
test dl, dl
je 0x4c318c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c3190
add eax, 2
add ecx, 2
test dl, dl
jne 0x4c3170
xor eax, eax
jmp 0x4c3195
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x4c31ff
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x4c31e0
mov eax, dword [edi + 0x74]
cmp ebx, dword [eax + 8]
jge 0x4c2f8e
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax + 0x28]
mov ecx, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c31d7
test dl, dl
je 0x4c31d3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c31d7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4c31b7
xor eax, eax
jmp 0x4c31dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4c3203
mov eax, dword [edi + 0x74]
cmp ebx, dword [eax + 8]
jge 0x4c2f8e
mov eax, dword [eax + 4]
mov cl, byte [esp + 0x2dc]
add eax, esi
cmp cl, byte [eax + 0x25]
je 0x4c320a
jmp 0x4c3203
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov byte [edx], 1
lea ecx, [esp + 0x74]
call fcn.0043d460
mov byte [esp + 0x2bc], 2
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x7c]
call fcn.004017f0
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x20]
cmp esi, eax
je 0x4c326a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x4c325f
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x94], eax
test eax, eax
jne 0x4c326a
push 0x8007000e
call fcn.00401090
mov dword [esp + 0x94], 0
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x4c3276
xor eax, eax
jmp 0x4c3289
mov eax, esi
lea edx, [eax + 1]
jmp 0x4c3280
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c3280
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x98]
call fcn.00402960
test ebp, ebp
jne 0x4c329f
xor eax, eax
jmp 0x4c32ad
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c32a4
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0xa4]
call fcn.00402960
mov eax, dword [esp + 0x5c]
mov cl, byte [esp + 0x2d8]
mov dl, byte [esp + 0x2dc]
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x98], cl
mov byte [esp + 0x99], dl
mov dword [esp + 0x74], ebx
test eax, eax
jne 0x4c32eb
lea eax, [esp + 0x60]
mov esi, dword [esp + 0x1c]
push esi
push eax
call fcn.0061874a
add esp, 8
test eax, eax
je 0x4c3300
push esi
jmp 0x4c330d
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4c330c
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x88]
call fcn.004017f0
mov eax, dword [edi + 0x74]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 8]
jge 0x4c2f8e
mov ecx, dword [eax + 4]
add ecx, dword [esp + 0x28]
lea edx, [esp + 0x74]
push edx
call fcn.004416d0
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4c3346
lea eax, [esp + 0x60]
push esi
push eax
call fcn.0061874a
add esp, 8
test eax, eax
je 0x4c345e
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareDownloadManagerFoldersTree
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4c33fe
lea ecx, [esp + 0xa0]
call fcn.004b8a90
mov byte [esp + 0x2bc], 3
push 1
push str.Cannot_open__create__registry_key_during_CIDMMainDlgTree::OnEditItem__._r_n
lea ecx, [esp + 0xa8]
call fcn.004b8c00
mov byte [esp + 0x2bc], 2
lea ecx, [esp + 0xa0]
call fcn.004b8bf0
mov byte [esp + 0x2bc], 1
lea ecx, [esp + 0x74]
call fcn.00405650
mov byte [esp + 0x2bc], 0
lea ecx, [esp + 0x68]
call fcn.004011f0
mov dword [esp + 0x2bc], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.004011f0
xor eax, eax
jmp 0x4c349e
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4c340a
lea eax, [esp + 0x60]
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push eax
push edx
call ebp
mov edx, dword [esp + 0x68]
mov eax, edx
test edx, edx
jne 0x4c3426
lea eax, [esp + 0x6c]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c3430
sub eax, esi
sar eax, 1
je 0x4c3453
mov eax, edx
test edx, edx
jne 0x4c344b
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x18]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [edi + 0x74]
call fcn.004bc140
mov byte [esp + 0x2bc], 1
lea ecx, [esp + 0x74]
call fcn.00405650
mov byte [esp + 0x2bc], 0
lea ecx, [esp + 0x68]
call fcn.004011f0
mov dword [esp + 0x2bc], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.004011f0
mov eax, ebx
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.00613241
add esp, 0x2ac
ret 0x20