Function at 0x4ca0d0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x645064
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
mov eax, dword [esp + 0x298]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.00620cd9
mov ecx, dword [esi + 0x5c]
mov edi, eax
xor ebx, ebx
xor edx, edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], edi
cmp eax, ebx
mov dword [esp + 0x10], edx
jle 0x4ca138
mov ecx, dword [ecx + 4]
cmp edi, dword [ecx]
je 0x4ca130
inc edx
add ecx, 0x2c
cmp edx, eax
jl 0x4ca119
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x4ca5a5
cmp edx, ebx
mov dword [esp + 0x10], edx
jge 0x4ca13f
xor eax, eax
jmp 0x4ca5a5
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
cmp edi, ebx
je 0x4ca1ac
push edi
mov ecx, esi
call fcn.00620cd9
cmp eax, dword [esp + 0x14]
je 0x4ca180
mov edx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push edx
call ebp
mov edi, eax
cmp edi, ebx
jne 0x4ca15c
jmp 0x4ca1ac
mov edx, dword [esi + 0x1c]
mov eax, dword [esp + 0x2ac]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], edi
push ecx
push ebx
push 0x113f
push edx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x7c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x40]
push eax
mov eax, dword [esi + 0x1c]
push 4
push 0x110a
push eax
call ebp
mov edi, eax
cmp edi, ebx
je 0x4ca213
push edi
mov ecx, esi
call fcn.00620cd9
cmp eax, dword [esp + 0x14]
je 0x4ca1e7
mov ecx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push ecx
call ebp
mov edi, eax
cmp edi, ebx
jne 0x4ca1c3
jmp 0x4ca213
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x2ac]
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], edi
push eax
push ebx
push 0x113f
push ecx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x7c], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x1c]
push eax
push 4
push 0x110a
push edx
call ebp
mov edi, eax
cmp edi, ebx
je 0x4ca250
push edi
mov ecx, esi
call fcn.00620cd9
cmp eax, dword [esp + 0x14]
je 0x4ca376
mov eax, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push eax
call ebp
mov edi, eax
cmp edi, ebx
jne 0x4ca22a
mov ebp, dword [esp + 0x2ac]
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx + 4]
lea eax, [edi + edi*4]
lea edi, [edi + eax*2]
shl edi, 2
mov ecx, dword [edx + edi + 4]
lea eax, [edx + edi + 4]
cmp ecx, ebx
jne 0x4ca279
lea ecx, [eax + 4]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], bx
call fcn.00401f20
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x2a0], ebx
mov ecx, dword [eax + 4]
lea eax, [ecx + edi + 0x10]
mov ecx, dword [ecx + edi + 0x10]
cmp ecx, ebx
jne 0x4ca2ac
lea ecx, [eax + 4]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], bx
call fcn.00401f20
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], bx
call fcn.004027c0
mov eax, dword [0x6f7b78]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], eax
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a4], 2
call fcn.00401f20
mov edx, dword [esp + 0x50]
push edx
call dword [0x6fc1e0]
mov eax, dword [esp + 0x2b0]
push eax
call dword [0x6fc1e4]
mov ecx, dword [esp + 0x2b4]
mov dword [esp + 0x50], eax
push ecx
lea ecx, [esp + 0x50]
call fcn.00622f13
mov edx, dword [esp + 0x2b8]
lea ecx, [esp + 0x58]
push edx
call fcn.00622f13
mov al, byte [esp + 0x2bc]
mov cl, byte [esp + 0x2c0]
mov edx, dword [esp + 0x14]
mov byte [esp + 0x54], al
mov eax, dword [esp + 0x24]
mov byte [esp + 0x55], cl
cmp eax, ebx
mov dword [esp + 0x30], edx
jne 0x4ca365
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x4ca3a7
push ebp
jmp 0x4ca3b4
mov edx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x2ac]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x60], edi
push ecx
push ebx
push 0x113f
push edx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x7c], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4ca257
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4ca3b3
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
call fcn.00401f20
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00447fd0
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4ca3db
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.0060c3d3
add esp, 8
test eax, eax
je 0x4ca526
lea edx, [esp + 0x84]
lea eax, [esp + 0x10]
push edx
push eax
push ebx
push 0xf003f
push ebx
push 0x6fc418
push ebx
push str.SoftwareDownloadManagerFoldersTree
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4ca4d4
lea ecx, [esp + 0x88]
call fcn.004be6a0
push 1
push str.Cannot_open__create__registry_key_during_CIDMMainDlgTree::OnEditItem__._r_n
lea ecx, [esp + 0x90]
mov byte [esp + 0x2a8], 3
call fcn.004be7c0
lea ecx, [esp + 0x88]
mov byte [esp + 0x2a0], 2
call fcn.004be7b0
lea ecx, [esp + 0x58]
mov byte [esp + 0x2a0], 7
call fcn.00622d8a
mov ecx, dword [esp + 0x50]
push ecx
call dword [0x6fc1e0]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2a0], 5
call fcn.00622d8a
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], 4
call fcn.00401070
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 1
call fcn.00401070
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a0], bl
call fcn.00401070
lea ecx, [esp + 0x24]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.00401070
xor eax, eax
jmp 0x4ca5a5
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x4ca4e0
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push eax
push edx
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4ca4fa
lea eax, [esp + 0x1c]
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4ca51b
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4ca513
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esi + 0x5c]
call fcn.004c31e0
lea ecx, [esp + 0x58]
mov byte [esp + 0x2a0], 0xb
call fcn.00622d8a
mov edx, dword [esp + 0x50]
push edx
call dword [0x6fc1e0]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2a0], 9
call fcn.00622d8a
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], 8
call fcn.00401070
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 1
call fcn.00401070
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a0], bl
call fcn.00401070
lea ecx, [esp + 0x24]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.00401070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x298]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x294
ret 0x1c