Function at 0x451020
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520e77
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.004ec8a0
mov eax, dword [0x587978]
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.0044fc70
mov esi, eax
cmp esi, ebx
jge 0x45109c
mov dword [ebp - 4], 0xffffffff
jmp 0x45171e
cmp word [edi], 0x7d
je 0x4516fe
jmp 0x4510b0
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 0x4510e9
cmp esi, ebx
je 0x451242
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
cmp dword [ebp + 0x10], ebx
je 0x451242
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 0x45114b
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp cx, 0x5c
je 0x451143
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x451130
jmp 0x45114b
cmp eax, ebx
jne 0x4516c9
mov esi, 0x536f48
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45119f
add esi, 4
cmp esi, 0x536f78
jl 0x451150
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.0044ff20
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp dword [ebp - 0x222c], ebx
je 0x451239
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516f0
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fe70
mov esi, eax
cmp esi, ebx
jl 0x4516f0
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
cmp word [edi], 0x7b
jne 0x45122a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x45122a
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.00451020
mov esi, eax
cmp esi, ebx
jl 0x4516fe
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
cmp word [edi], 0x7d
jne 0x4510b0
jmp 0x4516fe
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 0x45126e
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], ebx
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
push 0x536350
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4513c4
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2218]
push edx
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
cmp word [edi], 0x3d
jne 0x4516d7
cmp dword [ebp + 0x10], ebx
je 0x451335
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.00450c70
mov esi, eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp esi, ebx
jl 0x451742
mov byte [ebp - 4], bl
mov dword [ebp - 0x2248], ebx
jmp 0x4511e0
cmp dword [ebp + 0x14], ebx
jne 0x4513b3
cmp dword [ebp - 0x2240], ebx
je 0x4513b3
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.0041d8b0
cmp eax, ebx
jne 0x451766
mov esi, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x451399
cmp eax, 2
jne 0x451766
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x4513ad
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.0044fe70
jmp 0x451220
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x4513ef
mov edi, edi
cmp cx, 0x5c
je 0x4513e7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x4513d0
jmp 0x4513ef
cmp eax, ebx
jne 0x4516d7
cmp dword [ebp + 0x10], ebx
je 0x45148b
mov esi, dword [ebp - 0x2230]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0041d8b0
cmp eax, ebx
je 0x451448
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0041d8b0
cmp eax, ebx
je 0x451448
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0041ab50
cmp eax, ebx
jne 0x45177f
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
cmp word [edi], 0x3d
jne 0x4511e0
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea edx, [ebp - 0x2228]
push edx
call fcn.00450c70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
jmp 0x4511e0
cmp dword [ebp + 0x14], ebx
jne 0x4514e7
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x2228]
call fcn.0041d8b0
mov dword [ebp - 0x222c], eax
cmp eax, ebx
je 0x4514b9
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.004ec14c
add esp, 0x10
cmp eax, 0x50
ja case.0x4514e0.1
movzx edx, byte [eax + 0x4517d4]
jmp dword [edx*4 + 0x4517c4]
mov dword [ebp - 0x222c], 2
jmp 0x4514b2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fe70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
cmp word [edi], 0x7b
jne 0x45156e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x45156e
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.00451020
mov esi, eax
cmp esi, ebx
jge 0x451558
cmp dword [ebp + 0x14], ebx
je 0x4516fe
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc70
mov esi, eax
cmp esi, ebx
jl 0x4516fe
cmp dword [ebp - 0x222c], 2
mov edx, dword [ebp - 0x2250]
mov dword [ebp + 0x14], edx
je 0x45122a
cmp dword [ebp - 0x222c], ebx
je 0x4515aa
cmp edx, ebx
jne 0x45122a
mov eax, dword [ebp - 0x222c]
push eax
call fcn.0044f6e0
add esp, 4
mov esi, eax
jmp 0x4516fe
cmp edx, ebx
je 0x451601
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.0044fe20
test eax, eax
je 0x451601
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x221c]
call fcn.0044fde0
test eax, eax
je 0x45122a
cmp dword [ebp - 0x2240], ebx
je 0x45122a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2228]
call fcn.0044ff20
jmp 0x45122a
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.0044fe20
mov dword [ebp - 0x222c], eax
xor eax, eax
cmp dword [ebp - 0x2228], ebx
je 0x451636
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 0x45177f
cmp dword [ebp - 0x2240], ebx
je 0x45122a
cmp dword [ebp - 0x222c], ebx
jne 0x45122a
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.0044f860
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
cmp eax, ebx
jne 0x4517a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
call fcn.0041ace0
jmp 0x45122a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.0041ace0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.0041ace0
mov eax, 0x80020009
jmp 0x451724
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.0041ace0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2228]
cmp eax, ebx
je 0x45171c
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.004eaf3b
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224c]
call fcn.0041ace0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.0041ace0
mov eax, esi
jmp 0x451724
push eax
call fcn.0044f6e0
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2268]
jmp 0x4516f9
push eax
call fcn.0044f6e0
add esp, 4
mov esi, eax
jmp 0x451750
push 0x8007000e
call fcn.00406170
push 0x80070057
call fcn.00406170
push eax
call fcn.0044f6e0
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
jmp 0x4516f9
push 0x80004005
call fcn.00406170
nop
adc al, 0x45
add byte [edi + edx + 395706437], cl
inc ebp
add byte [ecx + 0x4517], bh
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