Function at 0x41e560
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x420b66
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x42d018]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42d018]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov eax, dword [esp + 0x454]
mov ebp, dword [esp + 0x450]
xor esi, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x45c]
mov eax, ebp
mov dword [esp + 0x448], esi
mov dword [esp + 0x28], edx
call fcn.0041e410
mov edi, eax
cmp edi, esi
jl 0x41ebba
cmp word [ebp], 0x7d
je 0x41ebb8
jmp 0x41e5f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebp
mov dword [esp + 0x20], 1
call edi
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push ebp
add esi, 1
call edi
test eax, eax
je 0x41e623
test esi, esi
je 0x41e74a
mov ecx, dword [esp + 0x1c]
mov eax, ebp
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eba9
cmp dword [esp + 0x458], 0
je 0x41e74a
movzx ecx, word [ebp]
test cx, cx
mov dword [esp + 0x20], 0
mov eax, ebp
je 0x41e67d
mov edi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, cx
cmp cx, 0x5c
je 0x41e675
push eax
call edi
movzx ecx, word [eax]
test cx, cx
jne 0x41e662
jmp 0x41e67d
test eax, eax
jne 0x41eb42
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, 0x426e14
mov eax, dword [edi]
push eax
push ebp
call ebx
test eax, eax
je 0x41e6b9
add edi, 4
cmp edi, 0x426e44
jl 0x41e688
mov ebx, dword [esp + 0x24]
push ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.00409020
mov dword [esp + 0x20], 0
jmp 0x41e6bd
mov ebx, dword [esp + 0x24]
test esi, esi
je 0x41e74e
mov esi, dword [esp + 0x1c]
mov eax, ebp
mov ecx, esi
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eb5b
mov edi, ebp
mov ecx, esi
call fcn.0041f030
mov edi, eax
test edi, edi
jl 0x41eb5b
cmp word [ebp], 0x7b
jne 0x41e73a
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41e73a
mov edx, dword [esp + 0x458]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push 0
push edx
push eax
push ebp
mov ecx, esi
call fcn.0041e560
mov edi, eax
test edi, edi
jl 0x41eba9
mov eax, ebp
mov ecx, esi
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eba9
cmp word [ebp], 0x7d
jne 0x41e5f0
jmp 0x41eba9
mov ebx, dword [esp + 0x24]
push str.NoRemove
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41e777
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, ebp
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eba9
push 0x426db4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41e880
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x234]
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eba9
mov ecx, dword [esp + 0x1c]
mov eax, ebp
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eba9
cmp word [ebp], 0x3d
jne 0x41eb4b
xor esi, esi
cmp dword [esp + 0x458], esi
je 0x41e80f
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
mov byte [esp + 0x450], 1
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.0041ebf0
mov edi, eax
cmp edi, esi
mov dword [esp + 0x18], esi
jl 0x41eb61
mov byte [esp + 0x448], 0
jmp 0x41e6ef
cmp dword [esp + 0x45c], esi
jne 0x41e870
cmp dword [esp + 0x18], esi
je 0x41e870
lea eax, [esp + 0x20]
push eax
push 0x20006
push esi
push esi
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x41eb99
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x234]
push ecx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x41e865
cmp eax, 2
jne 0x41eb99
test esi, esi
je 0x41e870
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
mov edi, ebp
call fcn.0041f030
jmp 0x41e730
movzx ecx, word [ebp]
test cx, cx
mov eax, ebp
je 0x41e8af
movzx ecx, cx
mov edi, edi
cmp cx, 0x5c
je 0x41e8a7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x41e890
jmp 0x41e8af
test eax, eax
jne 0x41eb4b
cmp dword [esp + 0x458], 0
je 0x41e988
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push 0
push ebp
push ebx
mov dword [esp + 0x2c], 0
call esi
test eax, eax
jne 0x41e8fa
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41e8ee
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
je 0x41e947
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
push ebp
push ebx
mov dword [esp + 0x2c], 0
call esi
test eax, eax
jne 0x41e931
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41e925
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
je 0x41e947
push ebx
mov edx, ebp
lea esi, [esp + 0x18]
call fcn.00408f10
mov edi, eax
test edi, edi
jne 0x41eb75
mov ecx, dword [esp + 0x1c]
mov eax, ebp
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eba9
cmp word [ebp], 0x3d
jne 0x41e6ef
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
mov ecx, ebp
call fcn.0041ebf0
mov edi, eax
test edi, edi
jl 0x41eba9
jmp 0x41e6ef
mov esi, dword [esp + 0x45c]
test esi, esi
jne 0x41ea90
lea eax, [esp + 0x20]
push eax
push 0x20019
push esi
push ebp
push ebx
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e9c9
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41e9c1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
test eax, eax
mov ebx, eax
je 0x41e9d4
mov esi, 1
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x34]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
push eax
call fcn.00408c10
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov eax, ebp
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eba9
mov ecx, dword [esp + 0x1c]
mov edi, ebp
call fcn.0041f030
mov edi, eax
test edi, edi
jl 0x41eba9
cmp word [ebp], 0x7b
jne 0x41ea62
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41ea62
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push esi
push 0
push eax
push ebp
call fcn.0041e560
mov edi, eax
test edi, edi
jge 0x41ea4d
test esi, esi
je 0x41eba9
mov ecx, dword [esp + 0x1c]
mov eax, ebp
call fcn.0041e410
mov edi, eax
test edi, edi
jl 0x41eba9
cmp ebx, 2
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x45c], ecx
je 0x41e73a
test ebx, ebx
je 0x41ea9a
test ecx, ecx
jne 0x41e73a
mov eax, ebx
call fcn.00408e60
mov edi, eax
jmp 0x41eba9
mov ebx, 2
jmp 0x41e9cf
test ecx, ecx
mov esi, dword [esp + 0x14]
je 0x41eada
mov ecx, esi
call fcn.0041f0e0
test eax, eax
je 0x41eada
lea ebx, [esp + 0x2c]
call fcn.0041f0a0
test eax, eax
je 0x41e73a
cmp dword [esp + 0x18], 0
je 0x41e73a
mov edx, ebx
push edx
lea ecx, [esp + 0x18]
call fcn.00409020
jmp 0x41e73a
mov ecx, esi
call fcn.0041f0e0
test esi, esi
mov dword [esp + 0x20], eax
je 0x41eb02
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], 0
jne 0x41eb87
cmp dword [esp + 0x18], 0
je 0x41e73a
cmp dword [esp + 0x20], 0
jne 0x41e73a
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov dword [esp + 0x18], 0
jne 0x41eb99
lea esi, [esp + 0x18]
call fcn.00408ed0
jmp 0x41e73a
lea esi, [esp + 0x20]
call fcn.00408ed0
lea esi, [esp + 0x14]
call fcn.00408ed0
mov eax, 0x80020009
jmp 0x41ebba
lea esi, [esp + 0x20]
jmp 0x41eba4
lea esi, [esp + 0x18]
call fcn.00408ed0
lea esi, [esp + 0x14]
call fcn.00408ed0
jmp 0x41ebb8
lea esi, [esp + 0x14]
call fcn.00408ed0
mov eax, edi
call fcn.00408e60
jmp 0x41ebba
lea esi, [esp + 0x14]
call fcn.00408ed0
mov eax, ebx
call fcn.00408e60
jmp 0x41ebba
call fcn.00408e60
mov edi, eax
lea esi, [esp + 0x18]
call fcn.00408ed0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41ebb8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0041f208
add esp, 0x438
ret 0x10