Function at 0x4620f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e0226
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x225c
call fcn.004bcbc0
mov eax, dword [0x532d60]
xor eax, esp
mov dword [esp + 0x2258], eax
push ebx
push esi
push edi
mov eax, dword [0x532d60]
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 + 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
push edi
mov ecx, eax
mov dword [esp + 0x227c], 0
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462748
cmp word [edi], 0x7d
je 0x462737
jmp 0x462190
push str.Delete
push edi
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4621c1
test ebx, ebx
je 0x4622ba
mov ecx, dword [esp + 0x10]
push edi
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462737
cmp dword [ebp + 0x10], 0
je 0x4622ba
movzx eax, word [edi]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov ecx, edi
test ax, ax
je 0x462222
cmp ax, 0x5c
je 0x46221a
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x462201
jmp 0x462222
test ecx, ecx
jne 0x4626e0
mov esi, 0x5215e4
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x462279
add esi, 4
cmp esi, 0x521614
jl 0x462227
mov eax, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.00428570
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x4622b2
mov ebx, dword [esp + 0x10]
push edi
mov ecx, ebx
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x4626f0
push edi
mov ecx, ebx
call fcn.00461e30
mov esi, eax
test esi, esi
js 0x4626f0
mov dword [esp + 0x28], 0
jmp 0x4624de
mov dword [esp + 0x28], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x4622e4
push edi
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462737
push 0x521504
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x462432
lea eax, [esp + 0x264]
push eax
mov ecx, ebx
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462737
push edi
mov ecx, ebx
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462737
cmp word [edi], 0x3d
jne 0x4626e9
cmp dword [ebp + 0x10], 0
je 0x46239f
mov eax, dword [esp + 0x14]
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.00461a70
mov esi, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test esi, esi
js 0x4626fb
mov byte [esp + 0x2278], 0
mov dword [esp + 0x50], 0
jmp 0x4624de
cmp dword [ebp + 0x14], 0
jne 0x46241b
cmp dword [esp + 0x30], 0
je 0x46241b
push 0x20006
push 0
push dword [esp + 0x1c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.00428690
test eax, eax
jne 0x462706
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x264]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x462400
cmp eax, 2
jne 0x462706
test esi, esi
je 0x462413
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.00461e30
mov esi, eax
test esi, esi
js 0x462737
jmp 0x4626d4
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x462461
lea esp, [esp]
cmp ax, 0x5c
je 0x462459
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x462440
jmp 0x462461
test ecx, ecx
jne 0x4626e9
cmp dword [ebp + 0x10], 0
je 0x46253a
mov esi, dword [esp + 0x14]
push 0x2001f
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00428690
test eax, eax
je 0x4624ad
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00428690
test eax, eax
je 0x4624ad
sub esp, 0x14
lea ecx, [esp + 0x2c]
push edi
push esi
call fcn.0045af70
test eax, eax
jne 0x46272e
push edi
mov ecx, ebx
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462737
cmp word [edi], 0x3d
jne 0x4624de
push edi
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00461a70
mov esi, eax
test esi, esi
js 0x462737
cmp word [edi], 0x7b
jne 0x4626d4
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4624f0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4626d4
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x20]
push edi
call fcn.004620f0
mov esi, eax
test esi, esi
js 0x462737
push edi
mov ecx, ebx
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462737
jmp 0x4626d4
cmp dword [ebp + 0x14], 0
jne 0x46255b
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.00428690
mov ebx, eax
test ebx, ebx
jne 0x462560
jmp 0x462567
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.004bc278
push eax
call fcn.0040c9b0
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462737
mov ecx, dword [esp + 0x10]
push edi
call fcn.00461e30
mov esi, eax
test esi, esi
js 0x462737
cmp word [edi], 0x7b
jne 0x462600
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4625b5
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x462600
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x20]
push edi
call fcn.004620f0
mov esi, eax
test esi, esi
jns 0x4625ec
cmp dword [ebp + 0x14], 0
je 0x462737
mov ecx, dword [esp + 0x10]
push edi
call fcn.00461f60
mov esi, eax
test esi, esi
js 0x462737
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x4626d4
test ebx, ebx
je 0x462623
test eax, eax
jne 0x4626d4
mov ecx, ebx
jmp 0x462730
test eax, eax
je 0x462661
push dword [esp + 0x18]
call fcn.00461ee0
test eax, eax
je 0x462661
lea eax, [esp + 0x5c]
push eax
call fcn.00461ea0
test eax, eax
je 0x4626d4
cmp dword [esp + 0x30], 0
je 0x4626d4
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00428570
jmp 0x4626d4
push dword [esp + 0x18]
call fcn.00461ee0
mov ecx, dword [esp + 0x18]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x462683
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x46272e
cmp dword [esp + 0x30], eax
je 0x4626d4
test ebx, ebx
jne 0x4626d4
mov eax, dword [esp + 0x14]
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.004284f0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
test eax, eax
jne 0x46271a
lea ecx, [esp + 0x40]
call fcn.00428760
cmp word [edi], 0x7d
jne 0x462190
jmp 0x462737
lea ecx, [esp + 0x24]
call fcn.00428760
mov esi, 0x80020009
jmp 0x462737
lea ecx, [esp + 0x24]
call fcn.00428760
jmp 0x462737
lea ecx, [esp + 0x4c]
call fcn.00428760
jmp 0x462737
mov ecx, eax
call fcn.00461f50
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00428760
jmp 0x462737
mov ecx, eax
call fcn.00461f50
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.00428760
jmp 0x462737
mov ecx, eax
call fcn.00461f50
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x462746
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.004b8181
mov esp, ebp
pop ebp
ret 0x10