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

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.300173b0
push 0xffffffffffffffff
push 0x3002cfc8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x3003a6b0]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x2220]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x50], eax
jmp 0x30010730
push str.Delete
push edi
mov dword [ebp - 0x34], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x30010324
cmp esi, ebx
je 0x300103c9
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010797
cmp dword [ebp + 0x221c], ebx
je 0x300103c9
push 0x5c
push edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.3000f491
pop ecx
pop ecx
test eax, eax
jne 0x30010748
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f617
test eax, eax
je 0x30010389
mov eax, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.3000f7c5
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
je 0x300103c1
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010757
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f678
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.3000f16c
cmp esi, ebx
jl 0x30010797
jmp 0x300106fa
lea ecx, [ebp - 0x30]
call fcn.3000f16c
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x300103ef
mov ecx, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x34], ebx
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010797
push 0x30033ed0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x300104dc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010797
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010797
cmp word [edi], 0x3d
jne 0x30010750
cmp dword [ebp + 0x221c], ebx
je 0x3001047d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.3000ff7a
mov esi, eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x40]
cmp esi, ebx
jl 0x30010792
mov byte [ebp - 4], bl
jmp 0x300106f5
cmp dword [ebp + 0x2220], ebx
jne 0x300104ce
cmp dword [ebp - 0x34], ebx
je 0x300104ce
push 0x20006
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.3000f1e3
cmp eax, ebx
jne 0x3001075c
lea eax, [ebp]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x300104c6
cmp eax, 2
jne 0x3001075c
lea ecx, [ebp - 0x4c]
call fcn.3000f16c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f678
jmp 0x30010736
push 0x5c
push edi
call fcn.3000f491
pop ecx
pop ecx
test eax, eax
jne 0x30010750
cmp dword [ebp + 0x221c], ebx
je 0x3001056e
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.3000f1e3
test eax, eax
je 0x3001053c
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.3000f1e3
test eax, eax
je 0x3001053c
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.3000f187
mov esi, eax
cmp esi, ebx
jne 0x30010768
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010797
cmp word [edi], 0x3d
jne 0x300106fa
mov ecx, dword [ebp - 0x10]
push edi
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.3000ff7a
mov esi, eax
jmp 0x300103b4
cmp dword [ebp + 0x2220], ebx
jne 0x3001058c
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.3000f1e3
mov dword [ebp - 0x14], eax
jmp 0x30010593
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], ebx
je 0x300105a2
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.30017cb8
push eax
call fcn.30006540
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010797
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f678
mov esi, eax
cmp esi, ebx
jl 0x30010797
cmp word [edi], 0x7b
jne 0x3001062f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x3001062f
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x24]
push edi
call fcn.30010286
mov esi, eax
cmp esi, ebx
jge 0x3001061c
cmp dword [ebp + 0x2220], ebx
je 0x30010797
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010797
cmp dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x50]
mov dword [ebp + 0x2220], eax
je 0x3001073c
cmp dword [ebp - 0x14], ebx
je 0x3001065f
cmp eax, ebx
jne 0x3001073c
push dword [ebp - 0x14]
call fcn.3000ef7d
pop ecx
mov esi, eax
jmp 0x30010797
cmp eax, ebx
je 0x300106a6
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.3000f643
test eax, eax
je 0x300106a6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.3000f617
test eax, eax
je 0x3001073c
cmp dword [ebp - 0x34], ebx
je 0x3001073c
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.3000f7c5
jmp 0x3001073c
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.3000f643
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x54], eax
call fcn.3000f16c
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x30010779
cmp dword [ebp - 0x34], ebx
je 0x3001073c
cmp dword [ebp - 0x54], ebx
jne 0x3001073c
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
cmp eax, ebx
jne 0x30010786
lea ecx, [ebp - 0x60]
call fcn.3000f16c
cmp dword [ebp + 0x221c], ebx
je 0x3001073c
cmp word [edi], 0x7b
jne 0x3001073c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x3001073c
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp + 0x221c]
push dword [ebp - 0x24]
push edi
call fcn.30010286
mov esi, eax
cmp esi, ebx
jl 0x30010797
mov ecx, dword [ebp - 0x10]
push edi
call fcn.3000f501
mov esi, eax
cmp esi, ebx
jl 0x30010797
cmp word [edi], 0x7d
jne 0x300102f1
jmp 0x30010797
lea ecx, [ebp - 0x30]
call fcn.3000f16c
mov esi, 0x80020009
jmp 0x30010797
lea ecx, [ebp - 0x30]
jmp 0x30010792
push eax
call fcn.3000ef7d
pop ecx
lea ecx, [ebp - 0x4c]
jmp 0x30010790
lea ecx, [ebp - 0x24]
call fcn.3000f16c
push esi
call fcn.3000ef7d
pop ecx
jmp 0x300107a1
lea ecx, [ebp - 0x24]
call fcn.3000f16c
push dword [ebp - 0x14]
jmp 0x30010771
push eax
call fcn.3000ef7d
pop ecx
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.3000f16c
lea ecx, [ebp - 0x24]
call fcn.3000f16c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.30014dbb
add ebp, 0x220c
leave
ret 0x10