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

Disassembly:
push 0xffffffffffffffff
push 0x4821c7
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x454]
mov dword fs:[0], eax
mov eax, dword [esp + 0x468]
mov edi, dword [esp + 0x464]
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x45c], ebx
mov edx, dword [esp + 0x470]
push edi
mov dword [esp + 0x3c], edx
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jge 0x42f825
mov dword [esp + 0x45c], 0xffffffff
jmp 0x42fea6
cmp word [edi], 0x7d
je 0x42fe86
nop
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [esp + 0x3c], 1
call esi
mov ebp, eax
neg ebp
push str.ForceRemove
sbb ebp, ebp
push edi
add ebp, 1
call esi
test eax, eax
je 0x42f863
cmp ebp, ebx
je 0x42f978
mov ecx, dword [esp + 0x18]
push edi
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
cmp dword [esp + 0x46c], ebx
je 0x42f978
mov dword [esp + 0x24], ebx
mov byte [esp + 0x45c], 1
movzx ecx, word [edi]
cmp cx, bx
mov eax, edi
je 0x42f8bf
movzx ecx, cx
lea ecx, [ecx]
cmp cx, 0x5c
je 0x42f8b7
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, bx
jne 0x42f8a0
jmp 0x42f8bf
cmp eax, ebx
jne 0x42fe0b
mov ecx, dword [esp + 0x18]
push edi
call fcn.0042e550
test eax, eax
je 0x42f8e3
mov eax, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
call fcn.0040de10
mov dword [esp + 0x24], ebx
cmp ebp, ebx
je 0x42f971
mov ebp, dword [esp + 0x18]
push edi
mov ecx, ebp
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe36
push edi
mov ecx, ebp
call fcn.0042e5e0
mov esi, eax
cmp esi, ebx
jl 0x42fe36
mov byte [esp + 0x45c], bl
cmp word [edi], 0x7b
jne 0x42f962
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42f962
mov eax, dword [esp + 0x46c]
mov ecx, dword [esp + 0x14]
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x24]
push edi
call fcn.0042f7a0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
mov ecx, dword [esp + 0x18]
push edi
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
cmp word [edi], 0x7d
jne 0x42f830
jmp 0x42fe86
mov byte [esp + 0x45c], bl
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42f9a0
mov ecx, dword [esp + 0x18]
push edi
mov dword [esp + 0x38], ebx
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
push 0x4889e8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42fad4
lea ecx, [esp + 0x248]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
mov ecx, dword [esp + 0x18]
push edi
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
cmp word [edi], 0x3d
jne 0x42fe1b
cmp dword [esp + 0x46c], ebx
je 0x42fa58
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x45c], 2
mov edx, dword [esp + 0x20]
push edi
lea eax, [esp + 0x24c]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
call fcn.0042f430
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x2c], ebx
jge 0x42f913
mov byte [esp + 0x45c], bl
lea ecx, [esp + 0x2c]
call fcn.0040ddf0
mov dword [esp + 0x45c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0040ddf0
jmp 0x42fea4
cmp dword [esp + 0x470], ebx
jne 0x42fac5
cmp dword [esp + 0x34], ebx
je 0x42fac5
mov dword [esp + 0x28], ebx
mov byte [esp + 0x45c], 3
mov edx, dword [esp + 0x20]
push 0x20006
push ebx
push edx
lea ecx, [esp + 0x34]
call fcn.0040db10
cmp eax, ebx
jne 0x42fe43
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x248]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x42faaf
cmp eax, 2
jne 0x42fe43
mov byte [esp + 0x45c], bl
cmp esi, ebx
je 0x42fac5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x18]
push edi
call fcn.0042e5e0
jmp 0x42f958
movzx ecx, word [edi]
cmp cx, bx
mov eax, edi
je 0x42fb02
mov esi, dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, cx
cmp cx, 0x5c
je 0x42fafa
push eax
call esi
movzx ecx, word [eax]
cmp cx, bx
jne 0x42fae7
jmp 0x42fb02
cmp eax, ebx
jne 0x42fe1b
cmp dword [esp + 0x46c], ebx
je 0x42fc1a
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebx
push edi
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42fb55
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x42fb43
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
je 0x42fbdd
jmp 0x42fb59
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push edi
push ebp
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42fb95
xor eax, eax
cmp esi, ebx
je 0x42fb89
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
je 0x42fbdd
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push edi
push ebp
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x42fe5b
xor eax, eax
cmp esi, ebx
je 0x42fbcd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
jne 0x42fe5b
mov ecx, dword [esp + 0x18]
push edi
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
cmp word [edi], 0x3d
jne 0x42f91a
mov ecx, dword [esp + 0x18]
push edi
push ebx
lea edx, [esp + 0x1c]
push edx
call fcn.0042f430
mov esi, eax
cmp esi, ebx
jl 0x42fe86
jmp 0x42f91a
cmp dword [esp + 0x470], ebx
jne 0x42fd3b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push edi
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42fc63
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x42fc5b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
cmp eax, ebx
mov ebp, eax
mov dword [esp + 0x1c], ebp
je 0x42fc78
mov dword [esp + 0x470], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x48]
push 0x104
push eax
call fcn.00463a96
push eax
call fcn.00401030
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push edi
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
mov ecx, dword [esp + 0x18]
push edi
call fcn.0042e5e0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
cmp word [edi], 0x7b
jne 0x42fd0b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42fd0b
mov ebp, dword [esp + 0x470]
mov ecx, dword [esp + 0x14]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x24]
push edi
call fcn.0042f7a0
mov esi, eax
cmp esi, ebx
jge 0x42fcf3
cmp ebp, ebx
je 0x42fe86
mov ecx, dword [esp + 0x18]
push edi
call fcn.0042e3f0
mov esi, eax
cmp esi, ebx
jl 0x42fe86
mov ebp, dword [esp + 0x1c]
cmp ebp, 2
mov edx, dword [esp + 0x38]
mov dword [esp + 0x470], edx
je 0x42f962
cmp ebp, ebx
je 0x42fd4c
cmp edx, ebx
jne 0x42f962
push ebp
call fcn.0042df20
add esp, 4
mov esi, eax
jmp 0x42fe86
mov dword [esp + 0x1c], 2
mov ebp, dword [esp + 0x1c]
jmp 0x42fc6d
cmp edx, ebx
mov ebp, dword [esp + 0x14]
je 0x42fd95
mov ecx, dword [esp + 0x18]
push ebp
call fcn.0042e590
test eax, eax
je 0x42fd95
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
call fcn.0042e550
test eax, eax
je 0x42f962
cmp dword [esp + 0x34], ebx
je 0x42f962
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040de10
jmp 0x42f962
mov ecx, dword [esp + 0x18]
push ebp
call fcn.0042e590
cmp ebp, ebx
mov dword [esp + 0x1c], eax
je 0x42fdba
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov dword [esp + 0x14], ebx
jne 0x42fe5b
cmp dword [esp + 0x34], ebx
je 0x42f962
cmp dword [esp + 0x1c], ebx
jne 0x42f962
mov dword [esp + 0x30], ebx
mov byte [esp + 0x45c], 4
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
mov dword [esp + 0x30], ebx
jne 0x42fe6b
mov byte [esp + 0x45c], bl
lea ecx, [esp + 0x30]
call fcn.0040ddf0
jmp 0x42f962
mov byte [esp + 0x45c], bl
lea ecx, [esp + 0x24]
call fcn.0040ddf0
mov dword [esp + 0x45c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.0040ddf0
mov eax, 0x80020009
jmp 0x42fea6
mov byte [esp + 0x45c], bl
lea ecx, [esp + 0x24]
jmp 0x42fe81
push eax
call fcn.0042df20
add esp, 4
mov esi, eax
mov byte [esp + 0x45c], bl
lea ecx, [esp + 0x28]
jmp 0x42fe81
push eax
call fcn.0042df20
add esp, 4
mov esi, eax
jmp 0x42fa3f
push eax
call fcn.0042df20
add esp, 4
mov esi, eax
mov byte [esp + 0x45c], bl
lea ecx, [esp + 0x30]
call fcn.0040ddf0
mov dword [esp + 0x45c], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x42fea4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov eax, esi
mov ecx, dword [esp + 0x454]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.00460e4b
add esp, 0x44c
ret 0x10