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

Disassembly:
push 0x42c
mov eax, 0x300a6cdc
call fcn.300869cb
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 0x3007d5dd
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x30001538
push edi
mov dword [ebp - 0x430], 1
call esi
mov ebx, eax
neg ebx
push 0x3000155c
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x3007d153
test ebx, ebx
je 0x3007d204
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c28c
mov esi, eax
test esi, esi
jl 0x3007d651
cmp dword [ebp + 0x10], 0
je 0x3007d204
and dword [ebp - 0x428], 0
push 0x5c
push edi
call fcn.3007c215
test eax, eax
jne 0x3007d5f5
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c38f
test eax, eax
je 0x3007d1b9
mov eax, dword [ebp - 0x434]
push edi
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], eax
call fcn.3007c533
and dword [ebp - 0x428], 0
test ebx, ebx
je 0x3007d1f9
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c28c
mov esi, eax
test esi, esi
jl 0x3007d607
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c3f3
lea ecx, [ebp - 0x428]
mov esi, eax
call fcn.3007bee0
test esi, esi
jl 0x3007d651
jmp 0x3007d5a2
lea ecx, [ebp - 0x428]
call fcn.3007bee0
push 0x30001548
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x3007d230
mov ecx, dword [ebp - 0x424]
and dword [ebp - 0x430], eax
push edi
call fcn.3007c28c
mov esi, eax
test esi, esi
jl 0x3007d651
push 0x30001574
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x3007d341
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
call fcn.3007c28c
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x3007d651
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c28c
mov esi, eax
cmp esi, ebx
jl 0x3007d651
cmp word [edi], 0x3d
jne 0x3007d600
cmp dword [ebp + 0x10], ebx
je 0x3007d2cf
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.3007cd65
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x430], ebx
lea ecx, [ebp - 0x430]
jl 0x3007d64c
mov byte [ebp - 4], bl
jmp 0x3007d59d
cmp dword [ebp + 0x14], ebx
jne 0x3007d32c
cmp dword [ebp - 0x430], ebx
je 0x3007d32c
push 0x20006
push ebx
push dword [ebp - 0x434]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x428], ebx
call fcn.3007bf45
cmp eax, ebx
jne 0x3007d60f
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x3007d321
cmp eax, 2
jne 0x3007d60f
lea ecx, [ebp - 0x428]
call fcn.3007bee0
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c3f3
mov esi, eax
cmp esi, ebx
jmp 0x3007d5e7
push 0x5c
push edi
call fcn.3007c215
test eax, eax
jne 0x3007d600
cmp dword [ebp + 0x10], eax
je 0x3007d3f0
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.3007bf45
test eax, eax
je 0x3007d3b4
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.3007bf45
test eax, eax
je 0x3007d3b4
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.3007bef7
mov esi, eax
cmp esi, ebx
jne 0x3007d61d
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c28c
mov esi, eax
test esi, esi
jl 0x3007d651
cmp word [edi], 0x3d
jne 0x3007d5a2
mov ecx, dword [ebp - 0x424]
push edi
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.3007cd65
mov esi, eax
jmp 0x3007d1ec
cmp dword [ebp + 0x14], 0
jne 0x3007d411
push 0x20019
push edi
push dword [ebp - 0x434]
lea ecx, [ebp - 0x42c]
call fcn.3007bf45
mov ebx, eax
jmp 0x3007d414
push 2
pop ebx
test ebx, ebx
je 0x3007d41f
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.3001b8da
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c28c
mov esi, eax
test esi, esi
jl 0x3007d651
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c3f3
mov esi, eax
test esi, esi
jl 0x3007d651
cmp word [edi], 0x7b
jne 0x3007d4b8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x3007d4b8
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp - 0x42c]
push edi
call fcn.3007d0e6
mov esi, eax
test esi, esi
jge 0x3007d4a2
cmp dword [ebp + 0x14], 0
je 0x3007d651
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c28c
mov esi, eax
test esi, esi
jl 0x3007d651
cmp ebx, 2
mov eax, dword [ebp - 0x438]
mov dword [ebp + 0x14], eax
je 0x3007d5e9
test ebx, ebx
je 0x3007d4e3
test eax, eax
jne 0x3007d5e9
push ebx
call fcn.3007be2a
mov esi, eax
jmp 0x3007d651
test eax, eax
je 0x3007d53a
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.3007c3be
test eax, eax
je 0x3007d53a
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x218]
push eax
call fcn.3007c38f
test eax, eax
je 0x3007d5e9
cmp dword [ebp - 0x430], 0
je 0x3007d5e9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.3007c533
jmp 0x3007d5e9
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x424]
call fcn.3007c3be
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x428], eax
call fcn.3007bee0
mov ebx, eax
test ebx, ebx
jne 0x3007d630
cmp dword [ebp - 0x430], eax
je 0x3007d5e9
cmp dword [ebp - 0x428], eax
jne 0x3007d5e9
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 0x3007d63e
lea ecx, [ebp - 0x430]
call fcn.3007bee0
cmp dword [ebp + 0x10], 0
je 0x3007d5e9
cmp word [edi], 0x7b
jne 0x3007d5e9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x3007d5e9
mov ecx, dword [ebp - 0x424]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push edi
call fcn.3007d0e6
mov esi, eax
test esi, esi
jl 0x3007d651
mov ecx, dword [ebp - 0x424]
push edi
call fcn.3007c28c
mov esi, eax
test esi, esi
jl 0x3007d651
cmp word [edi], 0x7d
jne 0x3007d120
jmp 0x3007d651
lea ecx, [ebp - 0x428]
call fcn.3007bee0
mov esi, 0x80020009
jmp 0x3007d651
lea ecx, [ebp - 0x428]
jmp 0x3007d64c
push eax
call fcn.3007be2a
lea ecx, [ebp - 0x428]
jmp 0x3007d64a
lea ecx, [ebp - 0x42c]
call fcn.3007bee0
push esi
call fcn.3007be2a
jmp 0x3007d65e
lea ecx, [ebp - 0x42c]
call fcn.3007bee0
push ebx
jmp 0x3007d629
push eax
call fcn.3007be2a
lea ecx, [ebp - 0x430]
mov esi, eax
call fcn.3007bee0
lea ecx, [ebp - 0x42c]
call fcn.3007bee0
mov eax, esi
call fcn.30086a4e
ret 0x10