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

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x7c6451a0]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
mov eax, dword [ebp + 0x3b8]
and dword [ebp - 0x74], 0
push ebx
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3c0]
push edi
mov edi, dword [ebp + 0x3b4]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x80], eax
jmp 0x7c633238
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x78], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x7c632e5c
test ebx, ebx
je 0x7c632eed
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c63235f
mov esi, eax
test esi, esi
jl 0x7c63329d
cmp dword [ebp + 0x3bc], 0
je 0x7c632eed
and dword [ebp - 0x70], 0
push 0x5c
push edi
call fcn.7c6322ef
test eax, eax
pop ecx
pop ecx
jne 0x7c633250
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c632462
test eax, eax
je 0x7c632eae
mov eax, dword [ebp - 0x7c]
push edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], eax
call fcn.7c6325fe
and dword [ebp - 0x70], 0
test ebx, ebx
je 0x7c632ee5
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c63235f
mov esi, eax
test esi, esi
jl 0x7c63325f
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c6324c3
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.7c631fdc
test esi, esi
jl 0x7c63329d
jmp 0x7c633200
lea ecx, [ebp - 0x70]
call fcn.7c631fdc
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7c632f13
mov ecx, dword [ebp - 0x6c]
and dword [ebp - 0x78], eax
push edi
call fcn.7c63235f
mov esi, eax
test esi, esi
jl 0x7c63329d
push 0x7c640294
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x7c632fec
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push eax
call fcn.7c63235f
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x7c63329d
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c63235f
mov esi, eax
cmp esi, ebx
jl 0x7c63329d
cmp word [edi], 0x3d
jne 0x7c633258
cmp dword [ebp + 0x3bc], ebx
je 0x7c632f8f
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
push edi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.7c632b53
lea ecx, [ebp - 0x78]
mov esi, eax
mov dword [ebp - 0x78], ebx
call fcn.7c631fdc
cmp esi, ebx
jmp 0x7c632eda
cmp dword [ebp + 0x3c0], ebx
jne 0x7c632fda
cmp dword [ebp - 0x78], ebx
je 0x7c632fda
push 0x20006
push ebx
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], ebx
call fcn.7c632041
cmp eax, ebx
jne 0x7c633264
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x7c632fd2
cmp eax, 2
jne 0x7c633264
lea ecx, [ebp - 0x70]
call fcn.7c631fdc
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c6324c3
mov esi, eax
cmp esi, ebx
jmp 0x7c633242
push 0x5c
push edi
call fcn.7c6322ef
test eax, eax
pop ecx
pop ecx
jne 0x7c633258
cmp dword [ebp + 0x3bc], eax
je 0x7c633081
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x74]
call fcn.7c632041
test eax, eax
je 0x7c63304e
push 0x20019
push edi
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x74]
call fcn.7c632041
test eax, eax
je 0x7c63304e
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x74]
call fcn.7c631ff3
mov esi, eax
cmp esi, ebx
jne 0x7c633270
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c63235f
mov esi, eax
test esi, esi
jl 0x7c63329d
cmp word [edi], 0x3d
jne 0x7c633200
mov ecx, dword [ebp - 0x6c]
push edi
push 0
lea eax, [ebp - 0x74]
push eax
call fcn.7c632b53
mov esi, eax
jmp 0x7c632ed8
cmp dword [ebp + 0x3c0], 0
jne 0x7c63309f
push 0x20019
push edi
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x74]
call fcn.7c632041
mov ebx, eax
jmp 0x7c6330a2
push 2
pop ebx
test ebx, ebx
je 0x7c6330b0
mov dword [ebp + 0x3c0], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x1a0]
push 0x104
push eax
call fcn.7c63c465
push eax
call fcn.7c631051
mov ecx, dword [ebp - 0x6c]
add esp, 0x14
push edi
call fcn.7c63235f
mov esi, eax
test esi, esi
jl 0x7c63329d
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c6324c3
mov esi, eax
test esi, esi
jl 0x7c63329d
cmp word [edi], 0x7b
jne 0x7c63313f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x7c63313f
push dword [ebp + 0x3c0]
mov ecx, dword [ebp - 0x6c]
push 0
push dword [ebp - 0x74]
push edi
call fcn.7c632dea
mov esi, eax
test esi, esi
jge 0x7c63312c
cmp dword [ebp + 0x3c0], 0
je 0x7c63329d
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c63235f
mov esi, eax
test esi, esi
jl 0x7c63329d
cmp ebx, 2
mov eax, dword [ebp - 0x80]
mov dword [ebp + 0x3c0], eax
je 0x7c633244
test ebx, ebx
je 0x7c63316b
test eax, eax
jne 0x7c633244
push ebx
call fcn.7c63184c
pop ecx
mov esi, eax
jmp 0x7c63329d
test eax, eax
je 0x7c6331b3
push dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
call fcn.7c63248e
test eax, eax
je 0x7c6331b3
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp + 0x1a0]
push eax
call fcn.7c632462
test eax, eax
je 0x7c633244
cmp dword [ebp - 0x78], 0
je 0x7c633244
lea eax, [ebp + 0x1a0]
push eax
lea ecx, [ebp - 0x74]
call fcn.7c6325fe
jmp 0x7c633244
push dword [ebp - 0x74]
mov ecx, dword [ebp - 0x6c]
call fcn.7c63248e
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], eax
call fcn.7c631fdc
mov ebx, eax
test ebx, ebx
jne 0x7c633281
cmp dword [ebp - 0x78], eax
je 0x7c633244
cmp dword [ebp - 0x70], eax
jne 0x7c633244
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x78], ebx
test eax, eax
jne 0x7c63328c
lea ecx, [ebp - 0x78]
call fcn.7c631fdc
cmp dword [ebp + 0x3bc], 0
je 0x7c633244
cmp word [edi], 0x7b
jne 0x7c633244
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x7c633244
mov ecx, dword [ebp - 0x6c]
push 0
push dword [ebp + 0x3bc]
push dword [ebp - 0x74]
push edi
call fcn.7c632dea
mov esi, eax
test esi, esi
jl 0x7c63329d
mov ecx, dword [ebp - 0x6c]
push edi
call fcn.7c63235f
mov esi, eax
test esi, esi
jl 0x7c63329d
cmp word [edi], 0x7d
jne 0x7c632e2c
jmp 0x7c63329d
lea ecx, [ebp - 0x70]
call fcn.7c631fdc
mov esi, 0x80020009
jmp 0x7c63329d
lea ecx, [ebp - 0x70]
jmp 0x7c633298
push eax
call fcn.7c63184c
pop ecx
lea ecx, [ebp - 0x70]
jmp 0x7c633296
lea ecx, [ebp - 0x74]
call fcn.7c631fdc
push esi
call fcn.7c63184c
pop ecx
jmp 0x7c6332a7
lea ecx, [ebp - 0x74]
call fcn.7c631fdc
push ebx
jmp 0x7c633279
push eax
call fcn.7c63184c
pop ecx
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.7c631fdc
lea ecx, [ebp - 0x74]
call fcn.7c631fdc
mov eax, esi
mov ecx, dword [ebp + 0x3a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7c63c62c
add ebp, 0x3ac
leave
ret 0x10