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

Disassembly:
push 0x42c
mov eax, 0x1002dfcd
call fcn.1001b74a
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [ebp - 0x42c], 0
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x438], eax
jmp 0x1000476a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x430], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x100042dc
test ebx, ebx
je 0x1000438f
mov ecx, dword [ebp - 0x424]
push edi
call fcn.10003261
mov esi, eax
test esi, esi
jl 0x100047e1
cmp dword [ebp + 0x10], 0
je 0x1000438f
and dword [ebp - 0x428], 0
push 0x5c
push edi
call fcn.100031ec
test eax, eax
pop ecx
pop ecx
jne 0x10004782
mov ecx, dword [ebp - 0x424]
push edi
call fcn.10003364
test eax, eax
je 0x10004344
mov eax, dword [ebp - 0x434]
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
call fcn.10003535
and dword [ebp - 0x428], 0
test ebx, ebx
je 0x10004384
mov ecx, dword [ebp - 0x424]
push edi
call fcn.10003261
mov esi, eax
test esi, esi
jl 0x10004794
mov ecx, dword [ebp - 0x424]
push edi
call fcn.100033c8
lea ecx, [ebp - 0x428]
mov esi, eax
call fcn.1000119d
test esi, esi
jl 0x100047e1
jmp 0x1000472f
lea ecx, [ebp - 0x428]
call fcn.1000119d
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100043bb
mov ecx, dword [ebp - 0x424]
and dword [ebp - 0x430], eax
push edi
call fcn.10003261
mov esi, eax
test esi, esi
jl 0x100047e1
push 0x10031614
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100044cc
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
call fcn.10003261
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x100047e1
mov ecx, dword [ebp - 0x424]
push edi
call fcn.10003261
mov esi, eax
cmp esi, ebx
jl 0x100047e1
cmp word [edi], 0x3d
jne 0x1000478d
cmp dword [ebp + 0x10], ebx
je 0x1000445a
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x430]
push eax
mov byte [ebp - 4], 1
call fcn.10003f2a
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x430], ebx
lea ecx, [ebp - 0x430]
jl 0x100047dc
mov byte [ebp - 4], bl
jmp 0x1000472a
cmp dword [ebp + 0x14], ebx
jne 0x100044b7
cmp dword [ebp - 0x430], ebx
je 0x100044b7
push 0x20006
push ebx
push dword [ebp - 0x434]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], ebx
call fcn.100011b4
cmp eax, ebx
jne 0x1000479c
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100044ac
cmp eax, 2
jne 0x1000479c
lea ecx, [ebp - 0x428]
call fcn.1000119d
mov ecx, dword [ebp - 0x424]
push edi
call fcn.100033c8
mov esi, eax
cmp esi, ebx
jmp 0x10004774
push 0x5c
push edi
call fcn.100031ec
test eax, eax
pop ecx
pop ecx
jne 0x1000478d
cmp dword [ebp + 0x10], eax
je 0x1000457d
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.100011b4
test eax, eax
je 0x10004541
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.100011b4
test eax, eax
je 0x10004541
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.10002f05
mov esi, eax
cmp esi, ebx
jne 0x100047ab
mov ecx, dword [ebp - 0x424]
push edi
call fcn.10003261
mov esi, eax
test esi, esi
jl 0x100047e1
cmp word [edi], 0x3d
jne 0x1000472f
mov ecx, dword [ebp - 0x424]
push edi
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.10003f2a
mov esi, eax
jmp 0x10004377
cmp dword [ebp + 0x14], 0
jne 0x1000459e
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.100011b4
mov ebx, eax
jmp 0x100045a1
push 2
pop ebx
test ebx, ebx
je 0x100045ac
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1001b06a
push eax
call fcn.10002db1
mov ecx, dword [ebp - 0x424]
add esp, 0x14
push edi
call fcn.10003261
mov esi, eax
test esi, esi
jl 0x100047e1
mov ecx, dword [ebp - 0x424]
push edi
call fcn.100033c8
mov esi, eax
test esi, esi
jl 0x100047e1
cmp word [edi], 0x7b
jne 0x10004644
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10004644
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp - 0x42c]
push edi
call fcn.1000426f
mov esi, eax
test esi, esi
jge 0x1000462e
cmp dword [ebp + 0x14], 0
je 0x100047e1
mov ecx, dword [ebp - 0x424]
push edi
call fcn.10003261
mov esi, eax
test esi, esi
jl 0x100047e1
cmp ebx, 2
mov eax, dword [ebp - 0x438]
mov dword [ebp + 0x14], eax
je 0x10004776
test ebx, ebx
je 0x10004670
test eax, eax
jne 0x10004776
push ebx
call fcn.10002e3c
pop ecx
mov esi, eax
jmp 0x100047e1
test eax, eax
je 0x100046c7
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.10003393
test eax, eax
je 0x100046c7
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call fcn.10003364
test eax, eax
je 0x10004776
cmp dword [ebp - 0x430], 0
je 0x10004776
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10003535
jmp 0x10004776
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.10003393
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x428], eax
call fcn.1000119d
mov ebx, eax
test ebx, ebx
jne 0x100047bf
cmp dword [ebp - 0x430], eax
je 0x10004776
cmp dword [ebp - 0x428], eax
jne 0x10004776
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x430], ebx
test eax, eax
jne 0x100047cd
lea ecx, [ebp - 0x430]
call fcn.1000119d
cmp dword [ebp + 0x10], 0
je 0x10004776
cmp word [edi], 0x7b
jne 0x10004776
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10004776
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push edi
call fcn.1000426f
mov esi, eax
test esi, esi
jl 0x100047e1
mov ecx, dword [ebp - 0x424]
push edi
call fcn.10003261
mov esi, eax
test esi, esi
jl 0x100047e1
cmp word [edi], 0x7d
jne 0x100042a9
jmp 0x100047e1
lea ecx, [ebp - 0x428]
call fcn.1000119d
mov esi, 0x80020009
jmp 0x100047e1
lea ecx, [ebp - 0x428]
jmp 0x100047dc
push eax
call fcn.10002e3c
pop ecx
lea ecx, [ebp - 0x428]
jmp 0x100047da
lea ecx, [ebp - 0x42c]
call fcn.1000119d
push esi
call fcn.10002e3c
pop ecx
jmp 0x100047ee
lea ecx, [ebp - 0x42c]
call fcn.1000119d
push ebx
jmp 0x100047b7
push eax
call fcn.10002e3c
pop ecx
lea ecx, [ebp - 0x430]
mov esi, eax
call fcn.1000119d
lea ecx, [ebp - 0x42c]
call fcn.1000119d
mov eax, esi
call fcn.1001b7cd
ret 0x10