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

Disassembly:
mov eax, 0x1003ec7b
call fcn.10031208
sub esp, 0x21c
mov eax, dword [0x1004caec]
and dword [ebp - 0x220], 0
push ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x228], eax
jmp 0x10011939
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push edi
mov dword [ebp - 0x224], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x10011530
test ebx, ebx
je 0x100115c2
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f434
mov esi, eax
test esi, esi
jl 0x10011992
cmp dword [ebp + 0x10], 0
je 0x100115c2
and dword [ebp + 8], 0
push 0x5c
push edi
call fcn.1000f3cc
test eax, eax
pop ecx
pop ecx
jne 0x10011950
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f51d
test eax, eax
je 0x10011585
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.10002e64
and dword [ebp + 8], 0
test ebx, ebx
je 0x100115ba
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f434
mov esi, eax
test esi, esi
jl 0x1001198a
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f57e
lea ecx, [ebp + 8]
mov esi, eax
call fcn.10002496
jmp 0x10011782
lea ecx, [ebp + 8]
call fcn.10002496
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100115ee
mov ecx, dword [ebp - 0x21c]
and dword [ebp - 0x224], eax
push edi
call fcn.1000f434
mov esi, eax
test esi, esi
jl 0x10011992
push 0x10041884
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100116e0
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
call fcn.1000f434
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x10011992
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f434
mov esi, eax
cmp esi, ebx
jl 0x10011992
cmp byte [edi], 0x3d
jne 0x10011958
cmp dword [ebp + 0x10], ebx
je 0x1001167d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp + 8], eax
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.1001113f
mov esi, eax
cmp esi, ebx
mov dword [ebp + 8], ebx
lea ecx, [ebp + 8]
jl 0x1001198d
mov byte [ebp - 4], bl
jmp 0x100118fa
cmp dword [ebp + 0x14], ebx
jne 0x100116cb
cmp dword [ebp - 0x224], ebx
je 0x100116cb
push 0x20006
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
call fcn.100024fb
cmp eax, ebx
jne 0x10011981
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x100116c3
cmp eax, 2
jne 0x10011981
lea ecx, [ebp + 8]
call fcn.10002496
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f57e
mov esi, eax
cmp esi, ebx
jmp 0x10011943
push 0x5c
push edi
call fcn.1000f3cc
test eax, eax
pop ecx
pop ecx
jne 0x10011958
cmp dword [ebp + 0x10], eax
je 0x1001178f
mov esi, 0x2001f
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x220]
call fcn.100024fb
test eax, eax
je 0x1001174c
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x220]
call fcn.100024fb
test eax, eax
je 0x1001174c
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x220]
call fcn.100024ad
mov esi, eax
cmp esi, ebx
jne 0x1001195f
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f434
mov esi, eax
test esi, esi
jl 0x10011992
cmp byte [edi], 0x3d
jne 0x100118ff
mov ecx, dword [ebp - 0x21c]
push edi
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.1001113f
mov esi, eax
test esi, esi
jl 0x10011992
jmp 0x100118ff
cmp dword [ebp + 0x14], 0
jne 0x100117ad
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x220]
call fcn.100024fb
mov ebx, eax
jmp 0x100117b0
push 2
pop ebx
test ebx, ebx
je 0x100117bb
mov dword [ebp + 0x14], 1
push 0x104
push edi
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f434
mov esi, eax
test esi, esi
jl 0x10011992
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f57e
mov esi, eax
test esi, esi
jl 0x10011992
cmp byte [edi], 0x7b
jne 0x1001183c
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x21c]
push 0
push dword [ebp - 0x220]
push edi
call fcn.100114c0
mov esi, eax
test esi, esi
jge 0x10011826
cmp dword [ebp + 0x14], 0
je 0x10011992
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f434
mov esi, eax
test esi, esi
jl 0x10011992
cmp ebx, 2
mov eax, dword [ebp - 0x228]
mov dword [ebp + 0x14], eax
je 0x10011945
test ebx, ebx
je 0x10011868
test eax, eax
jne 0x10011945
push ebx
call fcn.1000f03b
pop ecx
mov esi, eax
jmp 0x10011992
test eax, eax
je 0x100118bf
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x21c]
call fcn.1000f549
test eax, eax
je 0x100118bf
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x114]
push eax
call fcn.1000f51d
test eax, eax
je 0x10011945
cmp dword [ebp - 0x224], 0
je 0x10011945
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x220]
call fcn.10002e64
jmp 0x10011945
lea ecx, [ebp - 0x220]
call fcn.10002496
mov ebx, eax
test ebx, ebx
jne 0x1001196d
cmp dword [ebp - 0x224], eax
je 0x10011945
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp + 8], ebx
test eax, eax
jne 0x10011981
lea ecx, [ebp + 8]
call fcn.10002496
cmp dword [ebp + 0x10], 0
je 0x10011945
cmp byte [edi], 0x7b
jne 0x10011945
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x10011945
mov ecx, dword [ebp - 0x21c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x220]
push edi
call fcn.100114c0
mov esi, eax
test esi, esi
jl 0x10011992
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.1000f434
mov esi, eax
test esi, esi
jl 0x10011992
cmp byte [edi], 0x7d
jne 0x100114fd
jmp 0x10011992
lea ecx, [ebp + 8]
call fcn.10002496
mov esi, 0x80020009
jmp 0x10011992
lea ecx, [ebp - 0x220]
call fcn.10002496
push esi
jmp 0x10011979
lea ecx, [ebp - 0x220]
call fcn.10002496
push ebx
call fcn.1000f03b
pop ecx
jmp 0x1001199f
push eax
call fcn.1000f03b
pop ecx
mov esi, eax
lea ecx, [ebp + 8]
call fcn.10002496
lea ecx, [ebp - 0x220]
call fcn.10002496
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.10030334
leave
ret 0x10