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

Disassembly:
push 0x224
mov eax, 0x33d6bf6e
call fcn.33d6b633
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x230], eax
jmp 0x33d66722
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiA]
push 0x33d01334
push edi
mov dword [ebp - 0x228], 1
call esi
mov ebx, eax
neg ebx
push 0x33d01348
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x33d6629c
test ebx, ebx
je 0x33d6634d
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
test esi, esi
jl 0x33d66795
cmp dword [ebp + 0x10], 0
je 0x33d6634d
and dword [ebp - 0x220], 0
push 0x5c
push edi
call fcn.33d68122
test eax, eax
jne 0x33d66739
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
test eax, eax
je 0x33d66302
mov eax, dword [ebp - 0x22c]
push edi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
call fcn.33d68122
and dword [ebp - 0x220], 0
test ebx, ebx
je 0x33d66342
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
test esi, esi
jl 0x33d6674b
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
lea ecx, [ebp - 0x220]
mov esi, eax
call fcn.33d635fe
test esi, esi
jl 0x33d66795
jmp 0x33d666e8
lea ecx, [ebp - 0x220]
call fcn.33d635fe
push 0x33d0133c
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x33d66379
mov ecx, dword [ebp - 0x21c]
and dword [ebp - 0x228], eax
push edi
call fcn.33d68122
mov esi, eax
test esi, esi
jl 0x33d66795
push 0x33d01354
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x33d66489
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
call fcn.33d68122
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x33d66795
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
cmp esi, ebx
jl 0x33d66795
cmp byte [edi], 0x3d
jne 0x33d66744
cmp dword [ebp + 0x10], ebx
je 0x33d66417
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x228], eax
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 1
call fcn.33d68122
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x228], ebx
lea ecx, [ebp - 0x228]
jl 0x33d66790
mov byte [ebp - 4], bl
jmp 0x33d666e3
cmp dword [ebp + 0x14], ebx
jne 0x33d66474
cmp dword [ebp - 0x228], ebx
je 0x33d66474
push 0x20006
push ebx
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], ebx
call fcn.33d68122
cmp eax, ebx
jne 0x33d66753
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x33d66469
cmp eax, 2
jne 0x33d66753
lea ecx, [ebp - 0x220]
call fcn.33d635fe
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
cmp esi, ebx
jmp 0x33d6672c
push 0x5c
push edi
call fcn.33d68122
test eax, eax
jne 0x33d66744
cmp dword [ebp + 0x10], eax
je 0x33d66537
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.33d68122
test eax, eax
je 0x33d664fc
push 0x20019
push edi
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.33d68122
test eax, eax
je 0x33d664fc
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.33d68122
mov esi, eax
cmp esi, ebx
jne 0x33d66761
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
test esi, esi
jl 0x33d66795
cmp byte [edi], 0x3d
jne 0x33d666e8
mov ecx, dword [ebp - 0x21c]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.33d68122
mov esi, eax
jmp 0x33d66335
cmp dword [ebp + 0x14], 0
jne 0x33d66558
push 0x20019
push edi
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.33d68122
mov ebx, eax
jmp 0x33d6655b
push 2
pop ebx
test ebx, ebx
je 0x33d66566
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_strncpy_s]
add esp, 0x10
push eax
call fcn.33d68122
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
test esi, esi
jl 0x33d66795
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
test esi, esi
jl 0x33d66795
cmp byte [edi], 0x7b
jne 0x33d665fe
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x33d665fe
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x21c]
push 0
push dword [ebp - 0x224]
push edi
call fcn.33d6622f
mov esi, eax
test esi, esi
jge 0x33d665e8
cmp dword [ebp + 0x14], 0
je 0x33d66795
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
test esi, esi
jl 0x33d66795
cmp ebx, 2
mov eax, dword [ebp - 0x230]
mov dword [ebp + 0x14], eax
je 0x33d6672e
test ebx, ebx
je 0x33d66629
test eax, eax
jne 0x33d6672e
push ebx
call fcn.33d68122
mov esi, eax
jmp 0x33d66795
test eax, eax
je 0x33d66680
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
call fcn.33d68122
test eax, eax
je 0x33d66680
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x114]
push eax
call fcn.33d68122
test eax, eax
je 0x33d6672e
cmp dword [ebp - 0x228], 0
je 0x33d6672e
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x224]
call fcn.33d68122
jmp 0x33d6672e
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
call fcn.33d68122
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x220], eax
call fcn.33d635fe
mov ebx, eax
test ebx, ebx
jne 0x33d66774
cmp dword [ebp - 0x228], eax
je 0x33d6672e
cmp dword [ebp - 0x220], eax
jne 0x33d6672e
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
and dword [ebp - 0x228], ebx
test eax, eax
jne 0x33d66782
lea ecx, [ebp - 0x228]
call fcn.33d635fe
cmp dword [ebp + 0x10], 0
je 0x33d6672e
cmp byte [edi], 0x7b
jne 0x33d6672e
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp eax, 1
jne 0x33d6672e
mov ecx, dword [ebp - 0x21c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.33d6622f
mov esi, eax
test esi, esi
jl 0x33d66795
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.33d68122
mov esi, eax
test esi, esi
jl 0x33d66795
cmp byte [edi], 0x7d
jne 0x33d66269
jmp 0x33d66795
lea ecx, [ebp - 0x220]
call fcn.33d635fe
mov esi, 0x80020009
jmp 0x33d66795
lea ecx, [ebp - 0x220]
jmp 0x33d66790
push eax
call fcn.33d68122
lea ecx, [ebp - 0x220]
jmp 0x33d6678e
lea ecx, [ebp - 0x224]
call fcn.33d635fe
push esi
call fcn.33d68122
jmp 0x33d667a2
lea ecx, [ebp - 0x224]
call fcn.33d635fe
push ebx
jmp 0x33d6676d
push eax
call fcn.33d68122
lea ecx, [ebp - 0x228]
mov esi, eax
call fcn.33d635fe
lea ecx, [ebp - 0x224]
call fcn.33d635fe
mov eax, esi
call fcn.33d6b6b6
ret 0x10