Function at 0x4aabc0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x600a24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
mov eax, dword [esp + 0x250]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.005ddeca
mov ecx, dword [esi + 0x5c]
mov ebx, eax
xor edx, edx
mov dword [esp + 0x1c], ebx
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], edx
test eax, eax
jle 0x4aac26
mov ecx, dword [ecx + 4]
cmp ebx, dword [ecx]
je 0x4aac1e
inc edx
add ecx, 0x1c
cmp edx, eax
jl 0x4aac07
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x4ab036
test edx, edx
mov dword [esp + 0x10], edx
jge 0x4aac2d
xor eax, eax
jmp 0x4ab036
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 4
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
je 0x4aac6a
push edi
mov ecx, esi
call fcn.005ddeca
cmp eax, ebx
je 0x4aacac
mov edx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
jne 0x4aac4a
mov ebx, dword [esp + 0x264]
mov eax, dword [esi + 0x40]
push eax
mov eax, dword [esi + 0x1c]
push 4
push 0x110a
push eax
call ebp
mov edi, eax
test edi, edi
je 0x4aacdf
push edi
mov ecx, esi
call fcn.005ddeca
cmp eax, dword [esp + 0x1c]
je 0x4aacca
mov ecx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
jne 0x4aac88
jmp 0x4aacdf
mov ebx, dword [esp + 0x264]
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.005ddef8
jmp 0x4aac71
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.005ddef8
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x1c]
push eax
push 4
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
je 0x4aad2f
push edi
mov ecx, esi
call fcn.005ddeca
cmp eax, dword [esp + 0x1c]
je 0x4aad1a
mov eax, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x4aacf6
jmp 0x4aad2f
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.005ddef8
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx + 4]
lea ebp, [eax*8]
sub ebp, eax
lea ecx, [esp + 0x14]
shl ebp, 2
lea eax, [edx + ebp + 4]
push eax
call fcn.005e362e
mov ecx, dword [esi + 0x5c]
xor edi, edi
mov dword [esp + 0x258], edi
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x18]
lea eax, [edx + ebp + 8]
push eax
call fcn.005e362e
mov eax, dword [0x6cc564]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x25c], 2
call fcn.005e3a42
mov ecx, dword [esp + 0x30]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call ebx
mov edx, dword [esp + 0x268]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x26c]
push eax
lea ecx, [esp + 0x30]
call fcn.005e3a42
mov ecx, dword [esp + 0x270]
push ecx
lea ecx, [esp + 0x3c]
call fcn.005e3a42
mov dl, byte [esp + 0x274]
mov edi, dword [esp + 0x264]
mov al, byte [esp + 0x278]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x34], dl
mov edx, dword [esp + 0x14]
push edi
push edx
mov byte [esp + 0x3d], al
mov dword [esp + 0x28], ecx
call fcn.005c8a3c
add esp, 8
test eax, eax
je 0x4aae1f
push edi
lea ecx, [esp + 0x2c]
call fcn.005e3a42
jmp 0x4aae2d
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
call fcn.005e39f2
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov edi, dword [eax + 4]
mov dword [edi + ebp], ecx
add edi, ebp
push edx
lea ecx, [edi + 4]
call fcn.005e39f2
lea eax, [esp + 0x28]
lea ecx, [edi + 8]
push eax
call fcn.005e39f2
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0xc]
call fcn.005e39f2
lea edx, [esp + 0x30]
lea ecx, [edi + 0x10]
push edx
call fcn.00432ea0
mov al, byte [esp + 0x34]
lea edx, [esp + 0x38]
mov byte [edi + 0x14], al
mov cl, byte [esp + 0x35]
mov byte [edi + 0x15], cl
push edx
lea ecx, [edi + 0x18]
call fcn.005e39f2
mov eax, dword [esp + 0x264]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.005c8a3c
add esp, 8
test eax, eax
je 0x4aafba
lea edx, [esp + 0x3c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6d0ab8
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4aaf83
lea ecx, [esp + 0x40]
call fcn.0049fc40
push 1
push str.Cannot_open__create__registry_key_during_CIDMMainDlgTree::OnEditItem__._r_n
lea ecx, [esp + 0x48]
mov byte [esp + 0x260], 3
call fcn.0049fd60
lea ecx, [esp + 0x40]
mov byte [esp + 0x258], 2
call fcn.0049fd50
lea ecx, [esp + 0x38]
mov byte [esp + 0x258], 7
call fcn.005e38b9
mov ecx, dword [esp + 0x30]
push ecx
call ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x258], 5
call fcn.005e38b9
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], 4
call fcn.005e38b9
lea ecx, [esp + 0x24]
mov byte [esp + 0x258], 1
call fcn.005e38b9
lea ecx, [esp + 0x18]
mov byte [esp + 0x258], 0
call fcn.005e38b9
lea ecx, [esp + 0x14]
mov dword [esp + 0x258], 0xffffffff
call fcn.005e38b9
xor eax, eax
jmp 0x4ab036
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push edx
push eax
call ebp
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4aafaf
mov ecx, dword [esp + 0x10]
push edx
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi + 0x5c]
call fcn.004a4290
lea ecx, [esp + 0x38]
mov byte [esp + 0x258], 0xb
call fcn.005e38b9
mov eax, dword [esp + 0x30]
push eax
call ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x258], 9
call fcn.005e38b9
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], 8
call fcn.005e38b9
lea ecx, [esp + 0x24]
mov byte [esp + 0x258], 1
call fcn.005e38b9
lea ecx, [esp + 0x18]
mov byte [esp + 0x258], 0
call fcn.005e38b9
lea ecx, [esp + 0x14]
mov dword [esp + 0x258], 0xffffffff
call fcn.005e38b9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret 0x1c