Function at 0x10006fd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001c6a6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x115c
call fcn.100131f0
mov eax, dword [0x10027008]
xor eax, esp
mov dword [esp + 0x1158], eax
push ebx
push esi
push edi
mov eax, dword [0x10027008]
xor eax, esp
push eax
lea eax, [esp + 0x1170]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x58], ecx
mov ecx, eax
push edi
mov dword [esp + 0x117c], 0
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x1000760c
cmp byte [edi], 0x7d
je 0x100075fb
lea ebx, [ebx]
push str.Delete
push edi
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100070a1
test ebx, ebx
je 0x10007195
mov ecx, dword [esp + 0x10]
push edi
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075fb
cmp dword [ebp + 0x10], 0
je 0x10007195
mov al, byte [edi]
mov ecx, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test al, al
je 0x100070fd
nop
cmp al, 0x5c
je 0x100070f5
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x100070e0
jmp 0x100070fd
test ecx, ecx
jne 0x100075a4
mov esi, 0x10022f20
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x10007154
add esi, 4
cmp esi, 0x10022f50
jl 0x10007102
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.100053a0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x1000718d
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push edi
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075b4
push edi
mov ecx, ebx
call fcn.10006b00
mov esi, eax
test esi, esi
js 0x100075b4
mov dword [esp + 0x28], 0
jmp 0x100073ad
mov dword [esp + 0x28], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x100071bf
push edi
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075fb
push 0x10022b0c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000730c
lea eax, [esp + 0x164]
mov ecx, ebx
push eax
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075fb
push edi
mov ecx, ebx
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075fb
cmp byte [edi], 0x3d
jne 0x100075ad
cmp dword [ebp + 0x10], 0
je 0x10007279
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov byte [esp + 0x1178], 1
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x164]
push edi
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0
push eax
mov dword [esp + 0x60], 0
call fcn.10006610
mov esi, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
test esi, esi
js 0x100075bf
mov byte [esp + 0x1178], 0
mov dword [esp + 0x50], 0
jmp 0x100073ad
cmp dword [ebp + 0x14], 0
jne 0x100072f5
cmp dword [esp + 0x30], 0
je 0x100072f5
push 0x20006
push 0
push dword [esp + 0x1c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.10005240
test eax, eax
jne 0x100075ca
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x164]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x100072da
cmp eax, 2
jne 0x100075ca
test esi, esi
je 0x100072ed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
push edi
mov ecx, ebx
call fcn.10006b00
mov esi, eax
test esi, esi
js 0x100075fb
jmp 0x10007599
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x10007331
cmp al, 0x5c
je 0x10007329
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x10007314
jmp 0x10007331
test ecx, ecx
jne 0x100075ad
cmp dword [ebp + 0x10], 0
je 0x10007404
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0x2001f
push edi
push esi
call fcn.10005240
test eax, eax
je 0x1000737d
push 0x20019
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.10005240
test eax, eax
je 0x1000737d
sub esp, 0x14
lea ecx, [esp + 0x2c]
push edi
push esi
call fcn.100051c0
test eax, eax
jne 0x100075f2
push edi
mov ecx, ebx
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075fb
cmp byte [edi], 0x3d
jne 0x100073ad
push edi
push 0
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.10006610
mov esi, eax
test esi, esi
js 0x100075fb
cmp byte [edi], 0x7b
jne 0x10007599
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x100073c0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100073c0
sub ecx, edx
cmp ecx, 1
jne 0x10007599
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [esp + 0x20]
push edi
call fcn.10006fd0
mov esi, eax
test esi, esi
js 0x100075fb
push edi
mov ecx, ebx
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075fb
jmp 0x10007599
cmp dword [ebp + 0x14], 0
jne 0x10007425
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.10005240
mov ebx, eax
test ebx, ebx
jne 0x1000742a
jmp 0x10007431
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.1000e252
push eax
call fcn.10004c50
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edi
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075fb
mov ecx, dword [esp + 0x10]
push edi
call fcn.10006b00
mov esi, eax
test esi, esi
js 0x100075fb
cmp byte [edi], 0x7b
jne 0x100074c5
mov ecx, edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007480
sub ecx, edx
cmp ecx, 1
jne 0x100074c5
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x20]
push edi
call fcn.10006fd0
mov esi, eax
test esi, esi
jns 0x100074b1
cmp dword [ebp + 0x14], 0
je 0x100075fb
mov ecx, dword [esp + 0x10]
push edi
call fcn.100064b0
mov esi, eax
test esi, esi
js 0x100075fb
mov eax, dword [esp + 0x58]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x10007599
test ebx, ebx
je 0x100074e8
test eax, eax
jne 0x10007599
mov ecx, ebx
jmp 0x100075f4
test eax, eax
je 0x10007526
push dword [esp + 0x18]
call fcn.10006ab0
test eax, eax
je 0x10007526
lea eax, [esp + 0x5c]
push eax
call fcn.10006a70
test eax, eax
je 0x10007599
cmp dword [esp + 0x30], 0
je 0x10007599
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.100053a0
jmp 0x10007599
push dword [esp + 0x18]
call fcn.10006ab0
mov ecx, dword [esp + 0x18]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x10007548
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x100075f2
cmp dword [esp + 0x30], eax
je 0x10007599
test ebx, ebx
jne 0x10007599
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.100050e0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
test eax, eax
jne 0x100075de
lea ecx, [esp + 0x40]
call fcn.100050c0
cmp byte [edi], 0x7d
jne 0x10007070
jmp 0x100075fb
lea ecx, [esp + 0x24]
call fcn.100050c0
mov esi, 0x80020009
jmp 0x100075fb
lea ecx, [esp + 0x24]
call fcn.100050c0
jmp 0x100075fb
lea ecx, [esp + 0x4c]
call fcn.100050c0
jmp 0x100075fb
mov ecx, eax
call fcn.10004d10
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.100050c0
jmp 0x100075fb
mov ecx, eax
call fcn.10004d10
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.100050c0
jmp 0x100075fb
mov ecx, eax
call fcn.10004d10
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000760a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x1170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1158]
xor ecx, esp
call fcn.1000d362
mov esp, ebp
pop ebp
ret 0x10