Function at 0x100066f0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x218
mov eax, dword [esp + 0x228]
push ebx
push esi
push edi
mov edi, dword [esp + 0x228]
push edi
mov ebx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
call fcn.10004930
mov esi, eax
test esi, esi
jge 0x1000672d
pop edi
pop esi
pop ebx
add esp, 0x218
ret 0x10
cmp byte [edi], 0x7d
push ebp
je 0x10006c2a
jmp 0x10006740
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push edi
mov dword [esp + 0x1c], 1
call esi
mov ebp, eax
neg ebp
push str.ForceRemove
sbb ebp, ebp
push edi
inc ebp
call esi
test eax, eax
je 0x10006771
test ebp, ebp
je 0x10006855
push edi
mov ecx, ebx
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c1b
mov eax, dword [esp + 0x234]
xor esi, esi
cmp eax, esi
je 0x10006855
mov cl, byte [edi]
test cl, cl
mov dword [esp + 0x18], esi
mov eax, edi
je 0x100067b6
cmp cl, 0x5c
je 0x10006c39
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x100067a0
push edi
mov ecx, ebx
call fcn.10004a60
test eax, eax
je 0x100067db
mov ecx, dword [esp + 0x230]
mov dword [esp + 0x18], ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.100050c0
mov dword [esp + 0x18], esi
cmp ebp, esi
je 0x10006855
push edi
mov ecx, ebx
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c5d
push edi
mov ecx, ebx
call fcn.10004b00
mov esi, eax
test esi, esi
jl 0x10006c5d
cmp byte [edi], 0x7b
jne 0x10006847
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x10006847
mov ecx, dword [esp + 0x234]
mov edx, dword [esp + 0x10]
push 0
push ecx
push edx
push edi
mov ecx, ebx
call fcn.100066f0
mov esi, eax
test esi, esi
jl 0x10006c1b
push edi
mov ecx, ebx
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c1b
cmp byte [edi], 0x7d
jne 0x10006740
jmp 0x10006c1b
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000687b
push edi
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c1b
push 0x1002f41c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100069a8
lea edx, [esp + 0x124]
push edx
mov ecx, ebx
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c1b
push edi
mov ecx, ebx
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c1b
cmp byte [edi], 0x3d
jne 0x10006c42
mov eax, dword [esp + 0x234]
xor ebp, ebp
cmp eax, ebp
je 0x1000691f
mov eax, dword [esp + 0x230]
push edi
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.10006220
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x14], ebp
jge 0x10006803
lea ecx, [esp + 0x14]
call fcn.10004fd0
lea ecx, [esp + 0x10]
call fcn.10004fd0
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x218
ret 0x10
cmp dword [esp + 0x238], ebp
jne 0x10006997
cmp dword [esp + 0x14], ebp
je 0x10006997
mov eax, dword [esp + 0x230]
push 0x20006
push ebp
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
call fcn.100043c0
cmp eax, ebp
jne 0x10006c07
mov esi, dword [esp + 0x14]
cmp esi, ebp
jne 0x10006970
push 0x12c9
push str.D:mvstudio.netVC7_atlmfcinclude_atlbase.h
push str.m_hKey___0
call fcn.10003b80
add esp, 0xc
lea ecx, [esp + 0x124]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebp
je 0x1000698c
cmp eax, 2
jne 0x10006c07
cmp esi, ebp
je 0x10006997
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
mov ecx, ebx
call fcn.10004b00
mov esi, eax
cmp esi, ebp
jmp 0x10006841
mov cl, byte [edi]
test cl, cl
mov eax, edi
je 0x100069c8
mov esi, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x10006c42
push eax
call esi
mov cl, byte [eax]
test cl, cl
jne 0x100069b6
mov eax, dword [esp + 0x234]
test eax, eax
je 0x10006a6f
mov edx, dword [esp + 0x230]
push 0x2001f
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.100043c0
test eax, eax
je 0x10006a36
mov eax, dword [esp + 0x230]
push 0x20019
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.100043c0
test eax, eax
je 0x10006a36
mov ecx, dword [esp + 0x230]
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push ecx
lea ecx, [esp + 0x2c]
call fcn.10004330
mov esi, eax
test esi, esi
jne 0x10006c63
push edi
mov ecx, ebx
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c1b
cmp byte [edi], 0x3d
jne 0x10006803
push edi
push 0
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
call fcn.10006220
mov esi, eax
test esi, esi
jl 0x10006c1b
jmp 0x10006803
mov eax, dword [esp + 0x238]
test eax, eax
jne 0x10006b4f
mov eax, dword [esp + 0x230]
push 0x20019
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.100043c0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x10006aaa
mov dword [esp + 0x238], 1
push 0x104
push edi
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
mov ecx, ebx
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c1b
push edi
mov ecx, ebx
call fcn.10004b00
mov esi, eax
test esi, esi
jl 0x10006c1b
cmp byte [edi], 0x7b
jne 0x10006b1f
mov ebp, dword [esp + 0x238]
mov edx, dword [esp + 0x10]
push ebp
push 0
push edx
push edi
mov ecx, ebx
call fcn.100066f0
mov esi, eax
test esi, esi
jge 0x10006b09
test ebp, ebp
je 0x10006c1b
push edi
mov ecx, ebx
call fcn.10004930
mov esi, eax
test esi, esi
jl 0x10006c1b
mov ebp, dword [esp + 0x18]
cmp ebp, 2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x238], eax
je 0x10006847
test ebp, ebp
je 0x10006b60
test eax, eax
jne 0x10006847
push ebp
call fcn.100041d0
add esp, 4
mov esi, eax
jmp 0x10006c1b
mov dword [esp + 0x18], 2
mov ebp, dword [esp + 0x18]
jmp 0x10006a9f
test eax, eax
je 0x10006ba7
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.10004aa0
test eax, eax
je 0x10006ba7
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.10004a60
test eax, eax
je 0x10006847
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10006847
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.100050c0
jmp 0x10006847
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10006bca
mov ecx, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], 0
jne 0x10006c82
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10006847
mov edx, dword [esp + 0x230]
xor ebp, ebp
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.10004290
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.100042d0
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x10006847
push eax
call fcn.100041d0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.10004fd0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10006c2a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x218
ret 0x10
lea ecx, [esp + 0x18]
call fcn.10004fd0
lea ecx, [esp + 0x10]
call fcn.10004fd0
pop ebp
pop edi
pop esi
mov eax, 0x80020009
pop ebx
add esp, 0x218
ret 0x10
lea ecx, [esp + 0x18]
jmp 0x10006c16
lea ecx, [esp + 0x10]
call fcn.10004fd0
push esi
call fcn.100041d0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x218
ret 0x10
lea ecx, [esp + 0x10]
call fcn.10004fd0
push ebp
call fcn.100041d0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x218
ret 0x10