Function at 0x451830
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d73c7
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.004ac400
mov eax, dword [0x52de08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2250], edx
call fcn.00450470
mov esi, eax
cmp esi, ebx
jge 0x4518ac
mov dword [ebp - 4], 0xffffffff
jmp 0x451f2e
cmp word [edi], 0x7d
je 0x451f0e
jmp 0x4518c0
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x222c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4518f9
cmp esi, ebx
je 0x451a52
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f0e
cmp dword [ebp + 0x10], ebx
je 0x451a52
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
mov byte [ebp - 4], 1
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x45195b
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp cx, 0x5c
je 0x451953
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x451940
jmp 0x45195b
cmp eax, ebx
jne 0x451ed9
mov esi, 0x4ed098
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4519af
add esi, 4
cmp esi, 0x4ed0c8
jl 0x451960
mov ecx, dword [ebp - 0x2230]
mov dword [ebp - 0x223c], ecx
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.004506f0
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp dword [ebp - 0x222c], ebx
je 0x451a49
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f00
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450670
mov esi, eax
cmp esi, ebx
jl 0x451f00
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
cmp word [edi], 0x7b
jne 0x451a3a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x451a3a
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x2228]
push ebx
push ecx
mov ecx, dword [ebp - 0x221c]
push edx
push edi
call fcn.00451830
mov esi, eax
cmp esi, ebx
jl 0x451f0e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f0e
cmp word [edi], 0x7d
jne 0x4518c0
jmp 0x451f0e
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x451a7e
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], ebx
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f0e
push 0x4ec4a0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x451bd4
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2218]
push edx
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f0e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f0e
cmp word [edi], 0x3d
jne 0x451ee7
cmp dword [ebp + 0x10], ebx
je 0x451b45
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2230]
push edi
lea ecx, [ebp - 0x2218]
push ecx
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x224c]
push edx
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
call fcn.00451480
mov esi, eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp esi, ebx
jl 0x451f52
mov byte [ebp - 4], bl
mov dword [ebp - 0x2248], ebx
jmp 0x4519f0
cmp dword [ebp + 0x14], ebx
jne 0x451bc3
cmp dword [ebp - 0x2240], ebx
je 0x451bc3
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2230]
push 0x20006
push ebx
push eax
lea ecx, [ebp - 0x2268]
call fcn.0040b7a0
cmp eax, ebx
jne 0x451f76
mov esi, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x451ba9
cmp eax, 2
jne 0x451f76
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x451bbd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450670
jmp 0x451a30
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x451bff
mov edi, edi
cmp cx, 0x5c
je 0x451bf7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x451be0
jmp 0x451bff
cmp eax, ebx
jne 0x451ee7
cmp dword [ebp + 0x10], ebx
je 0x451c9b
mov esi, dword [ebp - 0x2230]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0040b7a0
cmp eax, ebx
je 0x451c58
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0040b7a0
cmp eax, ebx
je 0x451c58
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0041f280
cmp eax, ebx
jne 0x451f8f
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f0e
cmp word [edi], 0x3d
jne 0x4519f0
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea edx, [ebp - 0x2228]
push edx
call fcn.00451480
mov esi, eax
cmp esi, ebx
jl 0x451f0e
jmp 0x4519f0
cmp dword [ebp + 0x14], ebx
jne 0x451cf7
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x2228]
call fcn.0040b7a0
mov dword [ebp - 0x222c], eax
cmp eax, ebx
je 0x451cc9
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.004abcac
add esp, 0x10
cmp eax, 0x50
ja case.0x451cf0.1
movzx edx, byte [eax + 0x451fe4]
jmp dword [edx*4 + 0x451fd4]
mov dword [ebp - 0x222c], 2
jmp 0x451cc2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f0e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450670
mov esi, eax
cmp esi, ebx
jl 0x451f0e
cmp word [edi], 0x7b
jne 0x451d7e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x451d7e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2228]
push eax
push ebx
push ecx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00451830
mov esi, eax
cmp esi, ebx
jge 0x451d68
cmp dword [ebp + 0x14], ebx
je 0x451f0e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00450470
mov esi, eax
cmp esi, ebx
jl 0x451f0e
cmp dword [ebp - 0x222c], 2
mov edx, dword [ebp - 0x2250]
mov dword [ebp + 0x14], edx
je 0x451a3a
cmp dword [ebp - 0x222c], ebx
je 0x451dba
cmp edx, ebx
jne 0x451a3a
mov eax, dword [ebp - 0x222c]
push eax
call fcn.0044fee0
add esp, 4
mov esi, eax
jmp 0x451f0e
cmp edx, ebx
je 0x451e11
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.00450620
test eax, eax
je 0x451e11
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x221c]
call fcn.004505e0
test eax, eax
je 0x451a3a
cmp dword [ebp - 0x2240], ebx
je 0x451a3a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2228]
call fcn.004506f0
jmp 0x451a3a
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.00450620
mov dword [ebp - 0x222c], eax
xor eax, eax
cmp dword [ebp - 0x2228], ebx
je 0x451e46
mov ecx, dword [ebp - 0x2228]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
cmp eax, ebx
jne 0x451f8f
cmp dword [ebp - 0x2240], ebx
je 0x451a3a
cmp dword [ebp - 0x222c], ebx
jne 0x451a3a
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2230]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], edx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
call fcn.00450060
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
cmp eax, ebx
jne 0x451fb0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
call fcn.0040cd10
jmp 0x451a3a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.0040cd10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.0040cd10
mov eax, 0x80020009
jmp 0x451f34
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.0040cd10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2228]
cmp eax, ebx
je 0x451f2c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2228], ebx
mov eax, esi
mov dword [ebp - 0x2224], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aaa9b
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224c]
call fcn.0040cd10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.0040cd10
mov eax, esi
jmp 0x451f34
push eax
call fcn.0044fee0
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2268]
jmp 0x451f09
push eax
call fcn.0044fee0
add esp, 4
mov esi, eax
jmp 0x451f60
push 0x8007000e
call fcn.00406170
push 0x80070057
call fcn.00406170
push eax
call fcn.0044fee0
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
jmp 0x451f09
push 0x80004005
call fcn.00406170
nop
add ebx, dword [0x1f9c0045]
inc ebp
add byte [esi - 0x36ffbae1], ah
pop ds
inc ebp
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3