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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x488d36
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4ceb00]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov eax, dword [0x4ceb00]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
mov edx, dword [ebp + 0x14]
mov eax, edi
mov dword [esp + 0x450], ebx
mov dword [esp + 0x28], edx
call fcn.00429d10
mov esi, eax
cmp esi, ebx
jl 0x42a491
cmp word [edi], 0x7d
je 0x42a48f
lea ecx, [ecx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [esp + 0x20], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
add ebx, 1
call esi
test eax, eax
je 0x429f13
test ebx, ebx
je 0x42a024
mov ecx, dword [esp + 0x20]
mov eax, edi
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a480
cmp dword [ebp + 0x10], 0
je 0x42a024
movzx ecx, word [edi]
test cx, cx
mov dword [esp + 0x1c], 0
mov eax, edi
je 0x429f66
movzx ecx, cx
cmp cx, 0x5c
je 0x429f5e
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x429f47
jmp 0x429f66
test eax, eax
jne 0x42a419
mov esi, 0x4b55b0
jmp 0x429f70
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x429fa3
add esi, 4
cmp esi, 0x4b55e0
jl 0x429f70
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
push edi
lea ecx, [esp + 0x20]
call fcn.0042ab30
mov dword [esp + 0x1c], 0
test ebx, ebx
je 0x42a024
mov ebx, dword [esp + 0x20]
mov eax, edi
mov ecx, ebx
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a432
mov ecx, ebx
call fcn.0042aa80
mov esi, eax
test esi, esi
jl 0x42a432
cmp word [edi], 0x7b
jne 0x42a015
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42a015
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push 0
push ecx
push edx
push edi
mov ecx, ebx
call fcn.00429e60
mov esi, eax
test esi, esi
jl 0x42a480
mov eax, edi
mov ecx, ebx
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a480
cmp word [edi], 0x7d
jne 0x429ee0
jmp 0x42a480
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42a04d
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, edi
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a480
mov ebx, dword [esp + 0x20]
push 0x4ab54c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42a153
lea eax, [esp + 0x234]
mov ecx, ebx
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a480
mov eax, edi
mov ecx, ebx
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a480
cmp word [edi], 0x3d
jne 0x42a422
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x42a0e6
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x454], 1
mov dword [esp + 0x1c], edx
push ecx
mov ecx, edi
mov edx, ebx
call fcn.0042a510
mov esi, eax
test esi, esi
mov dword [esp + 0x18], 0
jl 0x42a438
mov byte [esp + 0x450], 0
jmp 0x429fcf
cmp dword [ebp + 0x14], esi
jne 0x42a147
cmp dword [esp + 0x18], esi
je 0x42a147
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
push 0x20006
push esi
push esi
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42a470
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x234]
push ecx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x42a13c
cmp eax, 2
jne 0x42a470
test esi, esi
je 0x42a147
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call fcn.0042aa80
jmp 0x42a00b
movzx ecx, word [edi]
test cx, cx
mov eax, edi
je 0x42a17f
movzx ecx, cx
cmp cx, 0x5c
je 0x42a177
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x42a160
jmp 0x42a17f
test eax, eax
jne 0x42a422
cmp dword [ebp + 0x10], 0
je 0x42a257
mov ebx, dword [esp + 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x18]
push edx
push 0x2001f
push 0
push edi
push ebx
mov dword [esp + 0x2c], 0
call esi
test eax, eax
jne 0x42a1ca
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42a1be
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
je 0x42a217
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
push edi
push ebx
mov dword [esp + 0x2c], 0
call esi
test eax, eax
jne 0x42a201
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42a1f5
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
je 0x42a217
push ebx
mov edx, edi
lea esi, [esp + 0x18]
call fcn.0042a4c0
mov esi, eax
test esi, esi
jne 0x42a44c
mov ebx, dword [esp + 0x20]
mov eax, edi
mov ecx, ebx
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a480
cmp word [edi], 0x3d
jne 0x429fcf
push 0
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov edx, ebx
call fcn.0042a510
mov esi, eax
test esi, esi
jl 0x42a480
jmp 0x429fcf
cmp dword [ebp + 0x14], 0
jne 0x42a360
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push edi
push ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a29c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42a294
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
test eax, eax
mov dword [esp + 0x1c], eax
je 0x42a2ab
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x34]
push 0x104
push eax
call fcn.00470ec4
push eax
call fcn.00401db0
add esp, 0x14
mov eax, edi
mov ecx, ebx
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a480
mov ecx, ebx
call fcn.0042aa80
mov esi, eax
test esi, esi
jl 0x42a480
cmp word [edi], 0x7b
jne 0x42a332
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x42a332
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
push ecx
push 0
push edx
push edi
mov ecx, ebx
call fcn.00429e60
mov esi, eax
test esi, esi
jge 0x42a31f
cmp dword [ebp + 0x14], 0
je 0x42a480
mov eax, edi
mov ecx, ebx
call fcn.00429d10
mov esi, eax
test esi, esi
jl 0x42a480
mov ecx, dword [esp + 0x1c]
cmp ecx, 2
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x14], eax
je 0x42a015
test ecx, ecx
je 0x42a36d
test eax, eax
jne 0x42a015
mov eax, ecx
call fcn.0042b530
mov esi, eax
jmp 0x42a480
mov dword [esp + 0x1c], 2
jmp 0x42a2a4
test eax, eax
mov ebx, dword [esp + 0x14]
je 0x42a3ad
mov ecx, ebx
call fcn.0042ac80
test eax, eax
je 0x42a3ad
lea ebx, [esp + 0x2c]
call fcn.0042aaf0
test eax, eax
je 0x42a015
cmp dword [esp + 0x18], 0
je 0x42a015
mov eax, ebx
push eax
lea ecx, [esp + 0x18]
call fcn.0042ab30
jmp 0x42a015
mov ecx, ebx
call fcn.0042ac80
test ebx, ebx
mov dword [esp + 0x1c], eax
je 0x42a3d9
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], 0
jne 0x42a45e
cmp dword [esp + 0x18], 0
je 0x42a015
cmp dword [esp + 0x1c], 0
jne 0x42a015
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov dword [esp + 0x18], 0
jne 0x42a470
lea ecx, [esp + 0x18]
call fcn.0042acc0
jmp 0x42a015
lea ecx, [esp + 0x1c]
call fcn.0042acc0
lea ecx, [esp + 0x14]
call fcn.0042acc0
mov eax, 0x80020009
jmp 0x42a491
lea ecx, [esp + 0x1c]
jmp 0x42a47b
lea ecx, [esp + 0x18]
call fcn.0042acc0
lea ecx, [esp + 0x14]
call fcn.0042acc0
jmp 0x42a48f
lea ecx, [esp + 0x14]
call fcn.0042acc0
mov eax, esi
call fcn.0042b530
jmp 0x42a491
lea ecx, [esp + 0x14]
call fcn.0042acc0
mov eax, ebx
call fcn.0042b530
jmp 0x42a491
call fcn.0042b530
mov esi, eax
lea ecx, [esp + 0x18]
call fcn.0042acc0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42a48f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.0046fe44
mov esp, ebp
pop ebp
ret 0x10