Function at 0x41cff0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a0a6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.0047bb30
mov eax, dword [0x4ad658]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x4ad658]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov edx, dword [ebp + 0x14]
mov eax, esi
mov dword [esp + 0x2280], ebx
mov dword [esp + 0x60], edx
call fcn.0041ce80
mov edi, eax
cmp edi, ebx
jl 0x41d6ef
cmp word [esi], 0x7d
je 0x41d6ed
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push esi
mov dword [esp + 0x40], 1
call edi
neg eax
push str.ForceRemove
sbb ebx, ebx
push esi
inc ebx
call edi
test eax, eax
je 0x41d0ad
test ebx, ebx
je 0x41d1df
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041ce80
mov edi, eax
test edi, edi
js 0x41d6dc
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x41d1df
movzx ecx, word [esi]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov eax, esi
cmp cx, dx
je 0x41d102
cmp cx, 0x5c
je 0x41d0fa
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x41d0e3
jmp 0x41d102
test eax, eax
jne 0x41d6ba
mov edi, 0x49962c
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41d14a
add edi, 4
cmp edi, 0x49965c
jl 0x41d107
mov ecx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x28], ecx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call fcn.0041cb60
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
jmp 0x41d14c
xor edi, edi
cmp ebx, edi
je 0x41d1db
mov ebx, dword [esp + 0x14]
mov eax, esi
mov ecx, ebx
call fcn.0041ce80
mov edi, eax
test edi, edi
js 0x41d6d3
mov edi, esi
mov ecx, ebx
call fcn.0041c9e0
mov edi, eax
test edi, edi
js 0x41d6d3
mov dword [esp + 0x2c], 0
cmp word [esi], 0x7b
jne 0x41d1cc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41d1cc
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 0
push ecx
push edx
push esi
mov ecx, ebx
call fcn.0041cff0
mov edi, eax
test edi, edi
js 0x41d6dc
mov eax, esi
mov ecx, ebx
call fcn.0041ce80
mov edi, eax
test edi, edi
js 0x41d6dc
cmp word [esi], 0x7d
jne 0x41d07e
jmp 0x41d6dc
mov dword [esp + 0x2c], edi
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41d208
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, esi
call fcn.0041ce80
mov edi, eax
test edi, edi
js 0x41d6dc
push 0x498e6c
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41d333
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x26c]
call fcn.0041ce80
mov edi, eax
cmp edi, ebx
jl 0x41d6dc
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041ce80
mov edi, eax
test edi, edi
js 0x41d6dc
cmp word [esi], 0x3d
jne 0x41d6c3
cmp dword [ebp + 0x10], ebx
je 0x41d2b2
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x26c]
mov byte [esp + 0x2280], 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.0041c4d0
mov edi, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp edi, ebx
jl 0x41d715
mov byte [esp + 0x2280], bl
mov dword [esp + 0x40], ebx
jmp 0x41d186
cmp dword [ebp + 0x14], ebx
jne 0x41d319
cmp dword [esp + 0x38], ebx
je 0x41d319
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x54]
push edx
mov edx, 0x20006
xor eax, eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.0041caf0
cmp eax, ebx
jne 0x41d729
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x26c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x41d306
cmp eax, 2
jne 0x41d729
cmp edi, ebx
je 0x41d315
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x14]
mov edi, esi
call fcn.0041c9e0
mov edi, eax
cmp edi, ebx
jl 0x41d6de
jmp 0x41d1cc
movzx ecx, word [esi]
mov eax, esi
cmp cx, bx
je 0x41d35f
lea ecx, [ecx]
cmp cx, 0x5c
je 0x41d357
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x41d340
jmp 0x41d35f
cmp eax, ebx
jne 0x41d6c3
cmp dword [ebp + 0x10], ebx
je 0x41d491
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x41d392
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push ecx
lea edi, [esp + 0x18]
mov ebx, 0x2001f
call fcn.0041ca80
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x41d3a9
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0x2001f
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41d3d2
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x41d3be
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x41d452
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x41d3fc
mov edx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push edx
lea edi, [esp + 0x18]
mov ebx, 0x20019
call fcn.0041ca80
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x41d413
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41d438
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x41d428
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x41d452
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
mov eax, esi
call fcn.0041c300
mov edi, eax
cmp edi, ebx
jne 0x41d73b
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041ce80
mov edi, eax
cmp edi, ebx
jl 0x41d6de
cmp word [esi], 0x3d
jne 0x41d186
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0041c4d0
mov edi, eax
cmp edi, ebx
jl 0x41d6de
jmp 0x41d186
cmp dword [ebp + 0x14], ebx
jne 0x41d537
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x20], ebx
je 0x41d4c4
mov edx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push edx
lea edi, [esp + 0x18]
mov ebx, 0x20019
call fcn.0041ca80
mov esi, dword [esp + 0x34]
xor ebx, ebx
jmp 0x41d4db
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41d4fc
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, ebx
je 0x41d4f0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x41d50b
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.004663a1
add esp, 0x10
cmp eax, 0x50
ja case.0x41d530.107
movzx ecx, byte [eax + 0x41d7a0]
jmp dword [ecx*4 + 0x41d790]
mov dword [esp + 0x10], 2
jmp 0x41d504
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041ce80
mov edi, eax
cmp edi, ebx
jl 0x41d6dc
mov ebx, dword [esp + 0x14]
mov edi, esi
mov ecx, ebx
call fcn.0041c9e0
mov edi, eax
test edi, edi
js 0x41d6dc
cmp word [esi], 0x7b
jne 0x41d5b5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41d5b5
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push 0
push eax
push esi
mov ecx, ebx
call fcn.0041cff0
mov edi, eax
test edi, edi
jns 0x41d5a2
cmp dword [ebp + 0x14], 0
je 0x41d6dc
mov eax, esi
mov ecx, ebx
call fcn.0041ce80
mov edi, eax
test edi, edi
js 0x41d6dc
cmp dword [esp + 0x10], 2
mov eax, dword [esp + 0x60]
mov dword [ebp + 0x14], eax
je 0x41d1cc
xor ebx, ebx
cmp dword [esp + 0x10], ebx
je 0x41d5e7
cmp eax, ebx
jne 0x41d1cc
mov eax, dword [esp + 0x10]
call fcn.0041ce40
mov edi, eax
jmp 0x41d6de
cmp eax, ebx
je 0x41d625
mov ecx, dword [esp + 0x18]
call fcn.0041cd20
test eax, eax
je 0x41d625
lea ebx, [esp + 0x64]
call fcn.0041ca40
test eax, eax
je 0x41d1cc
cmp dword [esp + 0x38], 0
je 0x41d1cc
mov ecx, ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041cb60
jmp 0x41d1cc
mov ecx, dword [esp + 0x18]
call fcn.0041cd20
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebx
je 0x41d64f
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x41d761
cmp dword [esp + 0x38], ebx
je 0x41d1cc
cmp dword [esp + 0x10], ebx
jne 0x41d1cc
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea ebx, [esp + 0x64]
lea eax, [esp + 0x48]
call fcn.0041cd90
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
cmp eax, ecx
jne 0x41d776
lea esi, [esp + 0x48]
call fcn.0041cd70
mov esi, dword [esp + 0x34]
jmp 0x41d1cc
lea esi, [esp + 0x28]
call fcn.0041cd70
lea esi, [esp + 0x18]
call fcn.0041cd70
mov eax, 0x80020009
jmp 0x41d6ef
lea esi, [esp + 0x28]
call fcn.0041cd70
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41d6ed
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.00464d49
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x3c]
call fcn.0041cd70
lea esi, [esp + 0x18]
call fcn.0041cd70
jmp 0x41d6ed
call fcn.0041ce40
lea esi, [esp + 0x54]
mov edi, eax
call fcn.0041cd70
jmp 0x41d6de
lea esi, [esp + 0x18]
call fcn.0041cd70
mov eax, edi
call fcn.0041ce40
jmp 0x41d6ef
push 0x8007000e
call fcn.00412300
push 0x80070057
call fcn.00412300
lea esi, [esp + 0x18]
call fcn.0041cd70
mov eax, ebx
call fcn.0041ce40
jmp 0x41d6ef
call fcn.0041ce40
mov edi, eax
lea esi, [esp + 0x48]
jmp 0x41d6d7
push 0x80004005
call fcn.00412300
inc ecx
aad 65
add byte [ebp - 0x29], cl
inc ecx
add byte [edi - 0x29], dl
inc ecx
add byte [esi + 0x41d7], 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