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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x30004d84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x218], 0
push ebx
push esi
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x224], eax
jmp 0x3000e35c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x30001348
push edi
mov dword [ebp - 0x21c], 1
call esi
mov ebx, eax
neg ebx
push 0x3000135c
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x3000ded9
test ebx, ebx
je 0x3000df8c
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c63b
mov esi, eax
test esi, esi
jl 0x3000e3d2
cmp dword [ebp + 0x10], 0
je 0x3000df8c
and dword [ebp - 0x214], 0
push 0x5c
push edi
call fcn.3000c5ce
test eax, eax
pop ecx
pop ecx
jne 0x3000e373
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c725
test eax, eax
je 0x3000df41
mov eax, dword [ebp - 0x220]
push edi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], eax
call fcn.3000ca35
and dword [ebp - 0x214], 0
test ebx, ebx
je 0x3000df81
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c63b
mov esi, eax
test esi, esi
jl 0x3000e385
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c789
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.3000c299
test esi, esi
jl 0x3000e3d2
jmp 0x3000e322
lea ecx, [ebp - 0x214]
call fcn.3000c299
push 0x30001350
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x3000dfb8
mov ecx, dword [ebp - 0x210]
and dword [ebp - 0x21c], eax
push edi
call fcn.3000c63b
mov esi, eax
test esi, esi
jl 0x3000e3d2
push 0x30001368
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x3000e0c0
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.3000c63b
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x3000e3d2
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c63b
mov esi, eax
cmp esi, ebx
jl 0x3000e3d2
cmp byte [edi], 0x3d
jne 0x3000e37e
cmp dword [ebp + 0x10], ebx
je 0x3000e04e
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x21c], eax
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.3000dad6
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.3000c299
cmp esi, ebx
jmp 0x3000df76
cmp dword [ebp + 0x14], ebx
jne 0x3000e0ab
cmp dword [ebp - 0x21c], ebx
je 0x3000e0ab
push 0x20006
push ebx
push dword [ebp - 0x220]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], ebx
call fcn.3000c2fe
cmp eax, ebx
jne 0x3000e38d
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x3000e0a0
cmp eax, 2
jne 0x3000e38d
lea ecx, [ebp - 0x214]
call fcn.3000c299
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c789
mov esi, eax
cmp esi, ebx
jmp 0x3000e366
push 0x5c
push edi
call fcn.3000c5ce
test eax, eax
pop ecx
pop ecx
jne 0x3000e37e
cmp dword [ebp + 0x10], eax
je 0x3000e170
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
call fcn.3000c2fe
test eax, eax
je 0x3000e135
push 0x20019
push edi
push dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
call fcn.3000c2fe
test eax, eax
je 0x3000e135
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
call fcn.3000c2b0
mov esi, eax
cmp esi, ebx
jne 0x3000e39c
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c63b
mov esi, eax
test esi, esi
jl 0x3000e3d2
cmp byte [edi], 0x3d
jne 0x3000e322
mov ecx, dword [ebp - 0x210]
push edi
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.3000dad6
mov esi, eax
jmp 0x3000df74
cmp dword [ebp + 0x14], 0
jne 0x3000e191
push 0x20019
push edi
push dword [ebp - 0x220]
lea ecx, [ebp - 0x218]
call fcn.3000c2fe
mov ebx, eax
jmp 0x3000e194
push 2
pop ebx
test ebx, ebx
je 0x3000e19f
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_strncpy_s]
push eax
call fcn.300059ba
mov ecx, dword [ebp - 0x210]
add esp, 0x14
push edi
call fcn.3000c63b
mov esi, eax
test esi, esi
jl 0x3000e3d2
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c789
mov esi, eax
test esi, esi
jl 0x3000e3d2
cmp byte [edi], 0x7b
jne 0x3000e237
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x3000e237
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x210]
push 0
push dword [ebp - 0x218]
push edi
call fcn.3000de69
mov esi, eax
test esi, esi
jge 0x3000e221
cmp dword [ebp + 0x14], 0
je 0x3000e3d2
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c63b
mov esi, eax
test esi, esi
jl 0x3000e3d2
cmp ebx, 2
mov eax, dword [ebp - 0x224]
mov dword [ebp + 0x14], eax
je 0x3000e368
test ebx, ebx
je 0x3000e263
test eax, eax
jne 0x3000e368
push ebx
call fcn.3000c091
pop ecx
mov esi, eax
jmp 0x3000e3d2
test eax, eax
je 0x3000e2ba
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
call fcn.3000c754
test eax, eax
je 0x3000e2ba
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x108]
push eax
call fcn.3000c725
test eax, eax
je 0x3000e368
cmp dword [ebp - 0x21c], 0
je 0x3000e368
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x218]
call fcn.3000ca35
jmp 0x3000e368
push dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
call fcn.3000c754
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x214], eax
call fcn.3000c299
mov ebx, eax
test ebx, ebx
jne 0x3000e3b0
cmp dword [ebp - 0x21c], eax
je 0x3000e368
cmp dword [ebp - 0x214], eax
jne 0x3000e368
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp - 0x21c], ebx
test eax, eax
jne 0x3000e3be
lea ecx, [ebp - 0x21c]
call fcn.3000c299
cmp dword [ebp + 0x10], 0
je 0x3000e368
cmp byte [edi], 0x7b
jne 0x3000e368
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x3000e368
mov ecx, dword [ebp - 0x210]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x218]
push edi
call fcn.3000de69
mov esi, eax
test esi, esi
jl 0x3000e3d2
mov ecx, dword [ebp - 0x210]
push edi
call fcn.3000c63b
mov esi, eax
test esi, esi
jl 0x3000e3d2
cmp byte [edi], 0x7d
jne 0x3000dea6
jmp 0x3000e3d2
lea ecx, [ebp - 0x214]
call fcn.3000c299
mov esi, 0x80020009
jmp 0x3000e3d2
lea ecx, [ebp - 0x214]
jmp 0x3000e3cd
push eax
call fcn.3000c091
pop ecx
lea ecx, [ebp - 0x214]
jmp 0x3000e3cb
lea ecx, [ebp - 0x218]
call fcn.3000c299
push esi
call fcn.3000c091
pop ecx
jmp 0x3000e3df
lea ecx, [ebp - 0x218]
call fcn.3000c299
push ebx
jmp 0x3000e3a8
push eax
call fcn.3000c091
pop ecx
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.3000c299
lea ecx, [ebp - 0x218]
call fcn.3000c299
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3000ffc4
leave
ret 0x10