Function at 0x481dc0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x5a34ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [esp + 0x14c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.00582c3f
mov ecx, dword [esi + 0x5c]
mov edi, eax
xor edx, edx
mov dword [esp + 0x18], edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], edx
test eax, eax
jle 0x481e26
mov ecx, dword [ecx + 4]
cmp edi, dword [ecx]
je 0x481e1e
inc edx
add ecx, 0x20
cmp edx, eax
jl 0x481e07
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x4821d3
test edx, edx
mov dword [esp + 0x10], edx
jge 0x481e2d
xor eax, eax
jmp 0x4821d3
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 ebx, dword [esp + 0x160]
mov edi, eax
test edi, edi
je 0x481e8a
push edi
mov ecx, esi
call fcn.00582c3f
cmp eax, dword [esp + 0x18]
je 0x481e75
mov edx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
jne 0x481e51
jmp 0x481e8a
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.00582c6d
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 0x481eda
push edi
mov ecx, esi
call fcn.00582c3f
cmp eax, dword [esp + 0x18]
je 0x481ec5
mov ecx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
jne 0x481ea1
jmp 0x481eda
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.00582c6d
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 0x481f2a
push edi
mov ecx, esi
call fcn.00582c3f
cmp eax, dword [esp + 0x18]
je 0x481f15
mov eax, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x481ef1
jmp 0x481f2a
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.00582c6d
mov ecx, dword [esi + 0x5c]
mov ebp, dword [esp + 0x10]
shl ebp, 5
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x14]
lea eax, [edx + ebp + 4]
push eax
call fcn.00588435
mov ecx, dword [esi + 0x5c]
xor edi, edi
mov dword [esp + 0x154], edi
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x1c]
lea eax, [edx + ebp + 8]
push eax
call fcn.00588435
mov eax, dword [0x65ec1c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
mov word [esp + 0x34], di
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], 2
call fcn.00588849
mov ecx, dword [esp + 0x164]
push ecx
lea ecx, [esp + 0x34]
call fcn.00402e10
mov edx, dword [esp + 0x168]
lea ecx, [esp + 0x2c]
push edx
call fcn.00588849
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x16c]
mov ecx, dword [esp + 0x18]
push ebx
push edx
mov byte [esp + 0x44], al
mov dword [esp + 0x28], ecx
call fcn.0056dad2
add esp, 8
test eax, eax
je 0x481fe5
push ebx
lea ecx, [esp + 0x2c]
call fcn.00588849
jmp 0x481ff3
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.005887f9
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.005887f9
lea eax, [esp + 0x28]
lea ecx, [edi + 8]
push eax
call fcn.005887f9
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [edi + 0xc]
call fcn.005887f9
mov edx, dword [esp + 0x30]
lea ecx, [edi + 0x10]
push edx
call fcn.00402e10
mov al, byte [esp + 0x3c]
push ebx
mov byte [edi + 0x1c], al
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0056dad2
add esp, 8
test eax, eax
je 0x48215e
lea edx, [esp + 0x40]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x663188
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x482127
lea ecx, [esp + 0x44]
call fcn.00478b50
push 1
push str.Cannot_open__create__registry_key_during_CIDMMainDlgTree::OnEditItem__._r_n
lea ecx, [esp + 0x4c]
mov byte [esp + 0x15c], 3
call fcn.00478c60
lea ecx, [esp + 0x44]
mov byte [esp + 0x154], 2
call fcn.00478c50
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 6
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 5
call fcn.005886c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 4
call fcn.005886c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 1
call fcn.005886c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 0
call fcn.005886c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x154], 0xffffffff
call fcn.005886c0
xor eax, eax
jmp 0x4821d3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x482153
mov eax, dword [esp + 0x10]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi + 0x5c]
call fcn.0047c4f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 9
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x154], 8
call fcn.005886c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 7
call fcn.005886c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x154], 1
call fcn.005886c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 0
call fcn.005886c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x154], 0xffffffff
call fcn.005886c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret 0x14