Function at 0x478210
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x584923
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov eax, dword [esp + 0x144]
push ebx
push esi
push edi
mov esi, ecx
push eax
call fcn.005646aa
mov ecx, dword [esi + 0x5c]
mov ebx, eax
xor edx, edx
mov eax, dword [ecx + 8]
mov dword [esp + 0xc], edx
test eax, eax
jle 0x478271
mov ecx, dword [ecx + 4]
cmp ebx, dword [ecx]
je 0x478269
inc edx
add ecx, 0x20
cmp edx, eax
jl 0x478252
mov dword [esp + 0xc], edx
xor eax, eax
jmp 0x4785aa
test edx, edx
mov dword [esp + 0xc], edx
jge 0x478278
xor eax, eax
jmp 0x4785aa
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x1c]
push ebp
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 0x4782d4
push edi
mov ecx, esi
call fcn.005646aa
cmp eax, ebx
je 0x4782b8
mov edx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
jne 0x478296
jmp 0x4782d4
mov eax, dword [esp + 0x158]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push edi
mov ecx, esi
call fcn.005646d8
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x1c]
push eax
push 4
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
je 0x478329
push edi
mov ecx, esi
call fcn.005646aa
cmp eax, ebx
je 0x47830d
mov edx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
jne 0x4782eb
jmp 0x478329
mov eax, dword [esp + 0x158]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push edi
mov ecx, esi
call fcn.005646d8
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x1c]
push eax
push 4
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
je 0x47837e
push edi
mov ecx, esi
call fcn.005646aa
cmp eax, ebx
je 0x478362
mov edx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
jne 0x478340
jmp 0x47837e
mov eax, dword [esp + 0x158]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push edi
mov ecx, esi
call fcn.005646d8
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.00569e75
mov eax, dword [0x639ad4]
xor ecx, ecx
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov word [esp + 0x2c], cx
mov ecx, dword [esp + 0x158]
mov byte [esp + 0x14c], 1
push ecx
lea ecx, [esp + 0x20]
call fcn.0056a289
mov edx, dword [esp + 0x15c]
lea ecx, [esp + 0x28]
push edx
call fcn.00402b60
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x24]
push eax
call fcn.0056a289
mov cl, byte [esp + 0x164]
mov eax, dword [esi + 0x5c]
mov byte [esp + 0x34], cl
mov dword [esp + 0x18], ebx
mov edi, dword [eax + 4]
lea edx, [esp + 0x1c]
add edi, ebp
push edx
lea ecx, [edi + 4]
mov dword [edi], ebx
call fcn.0056a239
lea eax, [esp + 0x20]
lea ecx, [edi + 8]
push eax
call fcn.0056a239
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edi + 0xc]
call fcn.0056a239
mov edx, dword [esp + 0x28]
lea ecx, [edi + 0x10]
push edx
call fcn.00402b60
mov al, byte [esp + 0x34]
mov ecx, dword [esp + 0x158]
mov byte [edi + 0x1c], al
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0054f4a2
add esp, 8
test eax, eax
pop ebp
je 0x478548
lea eax, [esp + 0x34]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x47852d
lea ecx, [esp + 0x38]
call fcn.0046f750
push 1
push str.Cannot_open__create__registry_key_during_CIDMMainDlgTree::OnEditItem__._r_n
lea ecx, [esp + 0x40]
mov byte [esp + 0x150], 2
call fcn.0046f830
lea ecx, [esp + 0x38]
mov byte [esp + 0x148], 1
call fcn.0046f820
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 5
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 4
call fcn.0056a100
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 3
call fcn.0056a100
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0
call fcn.0056a100
lea ecx, [esp + 0x10]
mov dword [esp + 0x148], 0xffffffff
call fcn.0056a100
xor eax, eax
jmp 0x4785aa
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi + 0x5c]
call fcn.00472d80
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 8
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 7
call fcn.0056a100
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 6
call fcn.0056a100
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0
call fcn.0056a100
lea ecx, [esp + 0x10]
mov dword [esp + 0x148], 0xffffffff
call fcn.0056a100
mov eax, ebx
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret 0x14