Function at 0x4512d3
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521017
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.004ecad0
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.0044fa00
mov esi, eax
cmp esi, ebx
jge 0x450e7c
mov dword [ebp - 4], 0xffffffff
jmp 0x4514fe
cmp word [edi], 0x7d
je 0x4514de
jmp 0x450e90
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 0x450ec9
cmp esi, ebx
je 0x451022
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514de
cmp dword [ebp + 0x10], ebx
je 0x451022
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 0x450f2b
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov edi, edi
cmp cx, 0x5c
je 0x450f23
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x450f10
jmp 0x450f2b
cmp eax, ebx
jne 0x4514a9
mov esi, 0x536f18
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x450f7f
add esi, 4
cmp esi, 0x536f48
jl 0x450f30
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.0044fcb0
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp dword [ebp - 0x222c], ebx
je 0x451019
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514d0
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc00
mov esi, eax
cmp esi, ebx
jl 0x4514d0
mov byte [ebp - 4], bl
mov dword [ebp - 0x2238], ebx
cmp word [edi], 0x7b
jne 0x45100a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x45100a
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.00450e00
mov esi, eax
cmp esi, ebx
jl 0x4514de
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514de
cmp word [edi], 0x7d
jne 0x450e90
jmp 0x4514de
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 0x45104e
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], ebx
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514de
push 0x536320
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4511a4
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2218]
push edx
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514de
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514de
cmp word [edi], 0x3d
jne 0x4514b7
cmp dword [ebp + 0x10], ebx
je 0x451115
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.00450a50
mov esi, eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp esi, ebx
jl 0x451522
mov byte [ebp - 4], bl
mov dword [ebp - 0x2248], ebx
jmp 0x450fc0
cmp dword [ebp + 0x14], ebx
jne 0x451193
cmp dword [ebp - 0x2240], ebx
je 0x451193
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.0041dc50
cmp eax, ebx
jne 0x451546
mov esi, dword [ebp - 0x2268]
lea ecx, [ebp - 0x2218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x451179
cmp eax, 2
jne 0x451546
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x45118d
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.0044fc00
jmp 0x451000
movzx ecx, word [edi]
mov eax, edi
cmp cx, bx
je 0x4511cf
mov edi, edi
cmp cx, 0x5c
je 0x4511c7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x4511b0
jmp 0x4511cf
cmp eax, ebx
jne 0x4514b7
cmp dword [ebp + 0x10], ebx
je 0x45126b
mov esi, dword [ebp - 0x2230]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0041dc50
cmp eax, ebx
je 0x451228
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0041dc50
cmp eax, ebx
je 0x451228
push ebx
push ebx
push 0x2001f
push ebx
push ebx
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.0041aef0
cmp eax, ebx
jne 0x45155f
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514de
cmp word [edi], 0x3d
jne 0x450fc0
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea edx, [ebp - 0x2228]
push edx
call fcn.00450a50
mov esi, eax
cmp esi, ebx
jl 0x4514de
jmp 0x450fc0
cmp dword [ebp + 0x14], ebx
jne 0x4512c7
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x2228]
call fcn.0041dc50
mov dword [ebp - 0x222c], eax
cmp eax, ebx
je 0x451299
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.004ec37c
add esp, 0x10
cmp eax, 0x50
ja case.0x4512c0.1
movzx edx, byte [eax + 0x4515b4]
jmp dword [edx*4 + 0x4515a4]
mov dword [ebp - 0x222c], 2
jmp 0x451292
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514de
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fc00
mov esi, eax
cmp esi, ebx
jl 0x4514de
cmp word [edi], 0x7b
jne 0x45134e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x45134e
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.00450e00
mov esi, eax
cmp esi, ebx
jge 0x451338
cmp dword [ebp + 0x14], ebx
je 0x4514de
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044fa00
mov esi, eax
cmp esi, ebx
jl 0x4514de
cmp dword [ebp - 0x222c], 2
mov edx, dword [ebp - 0x2250]
mov dword [ebp + 0x14], edx
je 0x45100a
cmp dword [ebp - 0x222c], ebx
je 0x45138a
cmp edx, ebx
jne 0x45100a
mov eax, dword [ebp - 0x222c]
push eax
call fcn.0044f470
add esp, 4
mov esi, eax
jmp 0x4514de
cmp edx, ebx
je 0x4513e1
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.0044fbb0
test eax, eax
je 0x4513e1
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x221c]
call fcn.0044fb70
test eax, eax
je 0x45100a
cmp dword [ebp - 0x2240], ebx
je 0x45100a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x2228]
call fcn.0044fcb0
jmp 0x45100a
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push eax
call fcn.0044fbb0
mov dword [ebp - 0x222c], eax
xor eax, eax
cmp dword [ebp - 0x2228], ebx
je 0x451416
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 0x45155f
cmp dword [ebp - 0x2240], ebx
je 0x45100a
cmp dword [ebp - 0x222c], ebx
jne 0x45100a
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.0044f5f0
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
cmp eax, ebx
jne 0x451580
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
call fcn.0041b080
jmp 0x45100a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.0041b080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.0041b080
mov eax, 0x80020009
jmp 0x451504
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x223c]
call fcn.0041b080
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2228]
cmp eax, ebx
je 0x4514fc
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.004eb16b
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224c]
call fcn.0041b080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2228]
call fcn.0041b080
mov eax, esi
jmp 0x451504
push eax
call fcn.0044f470
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2268]
jmp 0x4514d9
push eax
call fcn.0044f470
add esp, 4
mov esi, eax
jmp 0x451530
push 0x8007000e
call fcn.00406170
push 0x80070057
call fcn.00406170
push eax
call fcn.0044f470
add esp, 4
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x225c]
jmp 0x4514d9
push 0x80004005
call fcn.00406170
nop
rcl dword [edx], cl
inc ebp
add byte [ebp + edx + 0x45], ch
add byte [esi + 0x15], dh
inc ebp
add byte [ecx + 0x4515], bl
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