Function at 0x48c470
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x517b26
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x225c
call fcn.004eed60
mov eax, dword [0x573be0]
xor eax, esp
mov dword [esp + 0x2258], eax
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, esp
push eax
lea eax, [esp + 0x2270]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
push edi
mov ecx, eax
mov dword [esp + 0x227c], 0
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48cb08
cmp word [edi], 0x7d
je 0x48caf7
jmp 0x48c510
push str.Delete
push edi
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x54ae40
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x48c541
test ebx, ebx
je 0x48c63a
mov ecx, dword [esp + 0x10]
push edi
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48caf7
cmp dword [ebp + 0x10], 0
je 0x48c63a
movzx eax, word [edi]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov ecx, edi
test ax, ax
je 0x48c5a2
cmp ax, 0x5c
je 0x48c59a
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x48c581
jmp 0x48c5a2
test ecx, ecx
jne 0x48caa0
mov esi, 0x54b150
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x48c5f9
add esi, 4
cmp esi, 0x54b180
jl 0x48c5a7
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.00450860
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x48c632
mov ebx, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48cab0
push edi
mov ecx, ebx
call fcn.0048bfa0
mov esi, eax
test esi, esi
js 0x48cab0
mov dword [esp + 0x2c], 0
jmp 0x48c8a3
mov dword [esp + 0x2c], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x48c664
push edi
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48caf7
push 0x54ae38
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x48c7b2
lea eax, [esp + 0x264]
push eax
mov ecx, ebx
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48caf7
push edi
mov ecx, ebx
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48caf7
cmp word [edi], 0x3d
jne 0x48caa9
cmp dword [ebp + 0x10], 0
je 0x48c71f
mov eax, dword [esp + 0x18]
mov byte [esp + 0x2278], 1
mov dword [esp + 0x4c], eax
push edi
lea eax, [esp + 0x268]
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.0048bb50
mov esi, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test esi, esi
js 0x48cabb
mov byte [esp + 0x2278], 0
mov dword [esp + 0x50], 0
jmp 0x48c8a3
cmp dword [ebp + 0x14], 0
jne 0x48c79b
cmp dword [esp + 0x14], 0
je 0x48c79b
push 0x20006
push 0
push dword [esp + 0x20]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.0042aff0
test eax, eax
jne 0x48cac6
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x264]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x48c780
cmp eax, 2
jne 0x48cac6
test esi, esi
je 0x48c793
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
push edi
mov ecx, ebx
call fcn.0048bfa0
mov esi, eax
test esi, esi
js 0x48caf7
jmp 0x48ca94
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x48c7e1
lea esp, [esp]
cmp ax, 0x5c
je 0x48c7d9
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x48c7c0
jmp 0x48c7e1
test ecx, ecx
jne 0x48caa9
cmp dword [ebp + 0x10], 0
je 0x48c8fc
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
push 0x2001f
test ecx, ecx
je 0x48c813
push ecx
push edi
push esi
call fcn.0042af60
jmp 0x48c81d
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48c844
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x48c830
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x48c86e
push 0x20019
push edi
push esi
lea ecx, [esp + 0x28]
call fcn.0042aff0
test eax, eax
je 0x48c86e
sub esp, 0x14
lea ecx, [esp + 0x30]
push edi
push esi
call fcn.00450790
test eax, eax
jne 0x48caee
mov ebx, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48caf7
cmp word [edi], 0x3d
jne 0x48c8a3
push edi
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0048bb50
mov esi, eax
test esi, esi
js 0x48caf7
cmp word [edi], 0x7b
jne 0x48ca94
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c8b2
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x48ca94
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x24]
push edi
call fcn.0048c470
mov esi, eax
test esi, esi
js 0x48caf7
push edi
mov ecx, ebx
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48caf7
jmp 0x48ca94
cmp dword [ebp + 0x14], 0
jne 0x48c91d
push 0x20019
push edi
push dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0042aff0
mov ebx, eax
test ebx, ebx
jne 0x48c922
jmp 0x48c929
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.004ee296
push eax
call fcn.0041fbc0
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48caf7
mov ecx, dword [esp + 0x10]
push edi
call fcn.0048bfa0
mov esi, eax
test esi, esi
js 0x48caf7
cmp word [edi], 0x7b
jne 0x48c9c2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c977
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x48c9c2
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x24]
push edi
call fcn.0048c470
mov esi, eax
test esi, esi
jns 0x48c9ae
cmp dword [ebp + 0x14], 0
je 0x48caf7
mov ecx, dword [esp + 0x10]
push edi
call fcn.0048b9c0
mov esi, eax
test esi, esi
js 0x48caf7
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x48ca94
test ebx, ebx
je 0x48c9e5
test eax, eax
jne 0x48ca94
mov ecx, ebx
jmp 0x48caf0
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x48ca24
push ebx
call fcn.0048bf50
test eax, eax
je 0x48ca24
lea eax, [esp + 0x5c]
push eax
call fcn.0048bf10
test eax, eax
je 0x48ca94
cmp dword [esp + 0x14], 0
je 0x48ca94
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
call fcn.00450860
jmp 0x48ca94
push ebx
call fcn.0048bf50
mov ecx, dword [esp + 0x1c]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x48ca43
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0
test eax, eax
jne 0x48caee
cmp dword [esp + 0x14], eax
je 0x48ca94
test ebx, ebx
jne 0x48ca94
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.00450760
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
test eax, eax
jne 0x48cada
lea ecx, [esp + 0x40]
call fcn.0042afd0
cmp word [edi], 0x7d
jne 0x48c510
jmp 0x48caf7
lea ecx, [esp + 0x28]
call fcn.0042afd0
mov esi, 0x80020009
jmp 0x48caf7
lea ecx, [esp + 0x28]
call fcn.0042afd0
jmp 0x48caf7
lea ecx, [esp + 0x4c]
call fcn.0042afd0
jmp 0x48caf7
mov ecx, eax
call fcn.0048adc0
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.0042afd0
jmp 0x48caf7
mov ecx, eax
call fcn.0048adc0
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.0042afd0
jmp 0x48caf7
mov ecx, eax
call fcn.0048adc0
mov esi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48cb06
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x2270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2258]
xor ecx, esp
call fcn.004e8f3a
mov esp, ebp
pop ebp
ret 0x10