Function at 0x48d770
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x5bc808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
mov eax, dword [esp + 0x24c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.0059b20a
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 0x48d7d6
mov ecx, dword [ecx + 4]
cmp ebx, dword [ecx]
je 0x48d7ce
inc edx
add ecx, 0x18
cmp edx, eax
jl 0x48d7b7
mov dword [esp + 0x10], edx
xor eax, eax
jmp 0x48db8a
test edx, edx
mov dword [esp + 0x10], edx
jge 0x48d7dd
xor eax, eax
jmp 0x48db8a
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 0x48d81a
push edi
mov ecx, esi
call fcn.0059b20a
cmp eax, ebx
je 0x48d85c
mov edx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push edx
call ebp
mov edi, eax
test edi, edi
jne 0x48d7fa
mov ebx, dword [esp + 0x260]
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 0x48d88f
push edi
mov ecx, esi
call fcn.0059b20a
cmp eax, dword [esp + 0x1c]
je 0x48d87a
mov ecx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
jne 0x48d838
jmp 0x48d88f
mov ebx, dword [esp + 0x260]
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.0059b238
jmp 0x48d821
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.0059b238
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 0x48d8df
push edi
mov ecx, esi
call fcn.0059b20a
cmp eax, dword [esp + 0x1c]
je 0x48d8ca
mov eax, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push eax
call ebp
mov edi, eax
test edi, edi
jne 0x48d8a6
jmp 0x48d8df
push 0
push 0
push 0
push 0
push 0
push ebx
push 1
push edi
mov ecx, esi
call fcn.0059b238
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx + 4]
lea ebp, [ebp + ebp*2]
shl ebp, 3
lea ecx, [esp + 0x14]
lea eax, [edx + ebp + 4]
push eax
call fcn.005a09d2
mov ecx, dword [esi + 0x5c]
xor edi, edi
mov dword [esp + 0x254], edi
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x18]
lea eax, [edx + ebp + 8]
push eax
call fcn.005a09d2
mov eax, dword [0x67da2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], 2
call fcn.005a0de6
mov ecx, dword [esp + 0x30]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call ebx
mov edx, dword [esp + 0x264]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x268]
push eax
lea ecx, [esp + 0x30]
call fcn.005a0de6
mov edi, dword [esp + 0x260]
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x26c]
mov edx, dword [esp + 0x1c]
push edi
push eax
mov byte [esp + 0x3c], cl
mov dword [esp + 0x28], edx
call fcn.00585ec4
add esp, 8
test eax, eax
je 0x48d9aa
push edi
lea ecx, [esp + 0x2c]
call fcn.005a0de6
jmp 0x48d9b8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.005a0d96
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x20]
mov edi, dword [eax + 4]
lea eax, [esp + 0x24]
add edi, ebp
push eax
lea ecx, [edi + 4]
mov dword [edi], edx
call fcn.005a0d96
lea ecx, [esp + 0x28]
push ecx
lea ecx, [edi + 8]
call fcn.005a0d96
lea edx, [esp + 0x2c]
lea ecx, [edi + 0xc]
push edx
call fcn.005a0d96
lea eax, [esp + 0x30]
lea ecx, [edi + 0x10]
push eax
call fcn.004290e0
mov cl, byte [esp + 0x34]
mov edx, dword [esp + 0x260]
mov byte [edi + 0x14], cl
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00585ec4
add esp, 8
test eax, eax
je 0x48db1f
lea ecx, [esp + 0x38]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x681f78
push 0
push str.SoftwareDownloadManagerFoldersTree
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48dae8
lea ecx, [esp + 0x3c]
call fcn.00483e70
push 1
push str.Cannot_open__create__registry_key_during_CIDMMainDlgTree::OnEditItem__._r_n
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], 3
call fcn.00483f90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x254], 2
call fcn.00483f80
mov eax, dword [esp + 0x30]
mov byte [esp + 0x254], 5
push eax
call ebx
lea ecx, [esp + 0x2c]
call fcn.005a0c5d
lea ecx, [esp + 0x28]
mov byte [esp + 0x254], 4
call fcn.005a0c5d
lea ecx, [esp + 0x24]
mov byte [esp + 0x254], 1
call fcn.005a0c5d
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 0
call fcn.005a0c5d
lea ecx, [esp + 0x14]
mov dword [esp + 0x254], 0xffffffff
call fcn.005a0c5d
xor eax, eax
jmp 0x48db8a
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 + 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x48db14
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.00487bb0
mov edx, dword [esp + 0x30]
mov byte [esp + 0x254], 7
push edx
call ebx
lea ecx, [esp + 0x2c]
call fcn.005a0c5d
lea ecx, [esp + 0x28]
mov byte [esp + 0x254], 6
call fcn.005a0c5d
lea ecx, [esp + 0x24]
mov byte [esp + 0x254], 1
call fcn.005a0c5d
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 0
call fcn.005a0c5d
lea ecx, [esp + 0x14]
mov dword [esp + 0x254], 0xffffffff
call fcn.005a0c5d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret 0x14