Function at 0x4bb960
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x62999c
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x294], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x2ac]
mov dword fs:[0], eax
mov edx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2bc]
mov esi, ecx
mov ecx, dword [esp + 0x2c0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x2cc]
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.005dbc2b
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + 8]
mov ebp, eax
xor ebx, ebx
mov dword [esp + 0x1c], ebp
test edx, edx
jle 0x4bbdb6
xor edi, edi
test edi, edi
jl 0x4bba10
cmp ebx, edx
jge 0x4bba10
mov eax, dword [ecx + 4]
add eax, edi
cmp ebp, dword [eax]
je 0x4bba15
inc ebx
add edi, 0x2c
cmp ebx, edx
jl 0x4bb9f0
xor eax, eax
jmp 0x4bbe60
call fcn.005cfbb9
mov eax, dword [esi + 0x54]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x20]
push 4
push 0x110a
push eax
mov dword [esp + 0x28], ebx
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
je 0x4bba87
lea esp, [esp]
push edi
mov ecx, esi
call fcn.005dbc2b
mov ecx, dword [esi + 0x20]
cmp eax, dword [esp + 0x1c]
je 0x4bba64
push edi
push 1
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
jne 0x4bba40
jmp 0x4bba87
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push 0
push 0x113f
push ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x4c], edx
call ebx
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x20]
push eax
push 4
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
je 0x4bbae7
mov edi, edi
push edi
mov ecx, esi
call fcn.005dbc2b
cmp eax, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
je 0x4bbac4
push edi
push 1
push 0x110a
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x4bbaa0
jmp 0x4bbae7
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push 0
push 0x113f
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x4c], ecx
call ebx
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x20]
push eax
push 4
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
je 0x4bbb47
mov edi, edi
push edi
mov ecx, esi
call fcn.005dbc2b
mov edx, dword [esi + 0x20]
cmp eax, dword [esp + 0x1c]
je 0x4bbb24
push edi
push 1
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
jne 0x4bbb00
jmp 0x4bbb47
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x113f
push edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x4c], eax
call ebx
mov eax, dword [esi + 0x74]
mov ebx, dword [esp + 0x18]
cmp ebx, dword [eax + 8]
jge 0x4bba10
mov eax, dword [eax + 4]
mov edi, ebx
imul edi, edi, 0x2c
mov ecx, dword [eax + edi + 4]
add eax, edi
xor edx, edx
cmp ecx, edx
jne 0x4bbb6e
lea ecx, [eax + 8]
xor eax, eax
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], edx
mov word [esp + 0x5c], ax
call fcn.004017d0
xor ebp, ebp
mov dword [esp + 0x2b4], ebp
mov eax, dword [esi + 0x74]
cmp ebx, dword [eax + 8]
jge 0x4bba10
mov eax, dword [eax + 4]
mov ecx, dword [eax + edi + 0x10]
add eax, edi
cmp ecx, ebp
jne 0x4bbbac
lea ecx, [eax + 0x14]
xor edx, edx
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebp
mov word [esp + 0x68], dx
call fcn.004017d0
mov byte [esp + 0x2b4], 1
lea ecx, [esp + 0x6c]
call fcn.0043c3c0
mov byte [esp + 0x2b4], 2
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
call fcn.004017d0
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x28]
cmp ebx, eax
je 0x4bbc29
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp ebx, ebp
je 0x4bbc22
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x8c], eax
cmp eax, ebp
jne 0x4bbc29
push 0x8007000e
call fcn.00401090
mov dword [esp + 0x8c], ebp
mov ebx, dword [esp + 0x24]
cmp ebx, ebp
jne 0x4bbc35
xor eax, eax
jmp 0x4bbc49
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bbc40
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x90]
call fcn.00402940
mov ebx, dword [esp + 0x20]
cmp ebx, ebp
jne 0x4bbc63
xor eax, eax
jmp 0x4bbc71
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bbc68
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x9c]
call fcn.00402940
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x2d0]
mov dl, byte [esp + 0x2d4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov byte [esp + 0x90], cl
mov byte [esp + 0x91], dl
cmp eax, ebp
jne 0x4bbcaf
lea eax, [esp + 0x58]
mov ebx, dword [esp + 0x14]
push ebx
push eax
call fcn.005fdd2a
add esp, 8
test eax, eax
je 0x4bbcc4
push ebx
jmp 0x4bbcd1
mov eax, dword [esp + 0x60]
cmp eax, ebp
jne 0x4bbcd0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x80]
call fcn.004017d0
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 8]
jge 0x4bba10
mov ecx, dword [eax + 4]
lea edx, [esp + 0x6c]
push edx
add ecx, edi
call fcn.00440690
mov eax, dword [esp + 0x54]
cmp eax, ebp
jne 0x4bbd08
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.005fdd2a
add esp, 8
test eax, eax
je 0x4bbe1e
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0xf003f
push ebp
push 0x64f8bc
push ebp
push str.SoftwareDownloadManagerFoldersTree
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4bbdbd
lea ecx, [esp + 0x98]
call fcn.004b1950
mov byte [esp + 0x2b4], 3
push 1
push str.Cannot_open__create__registry_key_during_CIDMMainDlgTree::OnEditItem__._r_n
lea ecx, [esp + 0xa0]
call fcn.004b1ac0
mov byte [esp + 0x2b4], 2
lea ecx, [esp + 0x98]
call fcn.004b1ab0
mov byte [esp + 0x2b4], 1
lea ecx, [esp + 0x6c]
call fcn.00405530
mov byte [esp + 0x2b4], 0
lea ecx, [esp + 0x60]
call fcn.004011f0
mov dword [esp + 0x2b4], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.004011f0
xor eax, eax
jmp 0x4bbe60
mov eax, dword [esp + 0x54]
cmp eax, ebp
jne 0x4bbdc9
lea eax, [esp + 0x58]
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push eax
push edx
call ebp
mov edx, dword [esp + 0x60]
mov eax, edx
test edx, edx
jne 0x4bbde5
lea eax, [esp + 0x64]
lea edi, [eax + 2]
jmp 0x4bbdf0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bbdf0
sub eax, edi
sar eax, 1
je 0x4bbe13
mov eax, edx
test edx, edx
jne 0x4bbe0b
lea eax, [esp + 0x64]
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 [esi + 0x74]
call fcn.004b4f90
mov byte [esp + 0x2b4], 1
lea ecx, [esp + 0x6c]
call fcn.00405530
mov byte [esp + 0x2b4], 0
lea ecx, [esp + 0x60]
call fcn.004011f0
mov dword [esp + 0x2b4], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.004011f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.005f85e7
add esp, 0x2a4
ret 0x1c