Function at 0x41018d14
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411485c6
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.4112e9d0
mov eax, dword [0x411bade8]
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 edx, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2244], edx
call fcn.41015cb0
mov esi, eax
cmp esi, ebx
jl 0x41018f83
cmp word [edi], 0x7d
je 0x41018f81
mov edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call esi
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x41018911
test ebx, ebx
je 0x41018a5d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018f70
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x41018a5d
movzx ecx, word [edi]
mov dword [ebp - 0x223c], edx
mov dword [ebp - 0x2238], edx
mov dword [ebp - 0x2234], edx
mov eax, edi
cmp cx, dx
je 0x4101896f
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x41018967
push eax
call esi
movzx ecx, word [eax]
test cx, cx
jne 0x41018954
jmp 0x4101896f
test eax, eax
jne 0x41018ed6
mov esi, 0x411584ac
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x410189c5
add esi, 4
cmp esi, 0x411584dc
jl 0x41018974
mov ecx, dword [ebp - 0x2230]
xor esi, esi
mov dword [ebp - 0x223c], ecx
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.41016260
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
test ebx, ebx
je 0x41018a53
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018ef6
push edi
mov ecx, ebx
call fcn.41015eb0
mov esi, eax
test esi, esi
js 0x41018ef6
mov dword [ebp - 0x2238], 0
cmp word [edi], 0x7b
jne 0x41018a44
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41018a44
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2228]
push 0
push eax
push ecx
push edi
mov ecx, ebx
call fcn.41018860
mov esi, eax
test esi, esi
js 0x41018f70
push edi
mov ecx, ebx
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018f70
cmp word [edi], 0x7d
jne 0x410188e0
jmp 0x41018f70
mov dword [ebp - 0x2238], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41018a89
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], eax
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018f70
push 0x41158450
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41018bd8
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2218]
push edx
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018f70
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018f70
cmp word [edi], 0x3d
jne 0x41018ee1
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x41018b46
mov eax, dword [ebp - 0x2230]
push edi
lea ecx, [ebp - 0x2218]
push ecx
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x2250]
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
call fcn.410184d0
mov esi, eax
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
cmp esi, ebx
jl 0x41018efe
mov byte [ebp - 4], bl
mov dword [ebp - 0x224c], ebx
mov ebx, dword [ebp - 0x221c]
jmp 0x41018a01
cmp dword [ebp + 0x14], ebx
jne 0x41018bbd
cmp dword [ebp - 0x2240], ebx
je 0x41018bbd
mov eax, dword [ebp - 0x2230]
push 0x20006
push ebx
push eax
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
call fcn.41003910
cmp eax, ebx
jne 0x41018f16
mov esi, dword [ebp - 0x225c]
lea ecx, [ebp - 0x2218]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x41018ba6
cmp eax, 2
jne 0x41018f16
cmp esi, ebx
je 0x41018bb7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.41015eb0
mov esi, eax
cmp esi, ebx
jl 0x41018f70
jmp 0x41018a44
movzx ecx, word [edi]
mov eax, edi
test cx, cx
je 0x41018c01
cmp cx, 0x5c
je 0x41018bf9
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x41018be2
jmp 0x41018c01
test eax, eax
jne 0x41018ee1
cmp dword [ebp + 0x10], 0
je 0x41018ca3
mov esi, dword [ebp - 0x2230]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.41003910
test eax, eax
je 0x41018c61
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.41003910
test eax, eax
je 0x41018c61
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.410158a0
mov esi, eax
test esi, esi
jne 0x41018f24
mov ebx, dword [ebp - 0x221c]
push edi
mov ecx, ebx
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018f70
cmp word [edi], 0x3d
jne 0x41018a01
push edi
push 0
lea edx, [ebp - 0x2228]
push edx
mov ecx, ebx
call fcn.410184d0
mov esi, eax
test esi, esi
js 0x41018f70
jmp 0x41018a01
cmp dword [ebp + 0x14], 0
jne 0x41018d02
mov eax, dword [ebp - 0x2230]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x2228]
call fcn.41003910
mov ebx, eax
mov dword [ebp - 0x222c], ebx
test ebx, ebx
je 0x41018cd4
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.4112e1b5
add esp, 0x10
cmp eax, 0x50
ja case.0x41018cfb.1
movzx edx, byte [eax + 0x41018fb4]
jmp dword [edx*4 + 0x41018fa4]
mov dword [ebp - 0x222c], 2
mov ebx, dword [ebp - 0x222c]
jmp 0x41018ccd
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018f70
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.41015eb0
mov esi, eax
test esi, esi
js 0x41018f70
cmp word [edi], 0x7b
jne 0x41018d95
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41018d95
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x2228]
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
push eax
push edi
call fcn.41018860
mov esi, eax
test esi, esi
jns 0x41018d79
test ebx, ebx
je 0x41018f70
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.41015cb0
mov esi, eax
test esi, esi
js 0x41018f70
mov ebx, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2244]
mov dword [ebp + 0x14], ecx
cmp ebx, 2
je 0x41018a44
test ebx, ebx
je 0x41018dc3
test ecx, ecx
jne 0x41018a44
push ebx
call fcn.41015140
add esp, 4
mov esi, eax
jmp 0x41018f70
mov ebx, dword [ebp - 0x2228]
test ecx, ecx
je 0x41018e1b
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.41015e60
test eax, eax
je 0x41018e1b
mov ecx, dword [ebp - 0x221c]
lea edx, [ebp - 0x218]
push edx
call fcn.41015e20
test eax, eax
je 0x41018a44
cmp dword [ebp - 0x2240], 0
je 0x41018a44
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.41016260
jmp 0x41018a44
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.41015e60
mov dword [ebp - 0x226c], eax
mov dword [ebp - 0x222c], 0
test ebx, ebx
je 0x41018e52
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], 0
mov ebx, dword [ebp - 0x222c]
mov dword [ebp - 0x2224], 0
test ebx, ebx
jne 0x41018f44
cmp dword [ebp - 0x2240], ebx
je 0x41018a44
cmp dword [ebp - 0x226c], ebx
jne 0x41018a44
mov ecx, dword [ebp - 0x2230]
lea edx, [ebp - 0x218]
mov dword [ebp - 0x2268], ecx
push edx
lea ecx, [ebp - 0x2268]
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
call fcn.41015870
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
cmp eax, ebx
jne 0x41018f5a
lea ecx, [ebp - 0x2268]
call fcn.41003b50
jmp 0x41018a44
lea ecx, [ebp - 0x223c]
call fcn.41003b50
lea ecx, [ebp - 0x2228]
call fcn.41003b50
mov eax, 0x80020009
jmp 0x41018f83
lea ecx, [ebp - 0x223c]
jmp 0x41018f6b
lea ecx, [ebp - 0x2250]
call fcn.41003b50
lea ecx, [ebp - 0x2228]
call fcn.41003b50
jmp 0x41018f81
push eax
call fcn.41015140
lea ecx, [ebp - 0x225c]
jmp 0x41018f66
lea ecx, [ebp - 0x2228]
call fcn.41003b50
push esi
call fcn.41015140
add esp, 4
jmp 0x41018f83
call fcn.4103ef9d
call fcn.4103efd5
lea ecx, [ebp - 0x2228]
call fcn.41003b50
push ebx
call fcn.41015140
add esp, 4
jmp 0x41018f83
push eax
call fcn.41015140
lea ecx, [ebp - 0x2268]
mov esi, eax
add esp, 4
call fcn.41003b50
mov eax, dword [ebp - 0x2228]
test eax, eax
je 0x41018f81
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.4112e1a6
mov esp, ebp
pop ebp
ret 0x10