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

Disassembly:
mov eax, 0x5fceeecc
call fcn.5fcedd04
sub esp, 0x228
mov eax, dword [0x5fcf6374]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x234], eax
call fcn.5fce30aa
jmp 0x5fce501e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x5fcd1404
push edi
call esi
mov ebx, eax
neg ebx
push 0x5fcd1428
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x5fce4e3d
test ebx, ebx
je 0x5fce4efa
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce30aa
mov esi, eax
test esi, esi
jl 0x5fce52f1
cmp dword [ebp + 0x10], 0
je 0x5fce4efa
and dword [ebp - 0x21c], 0
push 0x5c
push edi
mov byte [ebp - 4], 1
call fcn.5fce3022
test eax, eax
jne 0x5fce52e1
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce334b
test eax, eax
je 0x5fce4ea7
mov eax, dword [ebp - 0x228]
push edi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], eax
call fcn.5fce4cae
and dword [ebp - 0x21c], 0
test ebx, ebx
je 0x5fce4eeb
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce30aa
mov esi, eax
test esi, esi
jl 0x5fce532d
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce345d
mov esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
jl 0x5fce5333
mov byte [ebp - 4], 0
call fcn.5fce2b9e
jmp 0x5fce528e
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call fcn.5fce2b9e
push 0x5fcd1414
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x5fce4f26
mov ecx, dword [ebp - 0x220]
and dword [ebp - 0x230], eax
push edi
call fcn.5fce30aa
mov esi, eax
test esi, esi
jl 0x5fce52f1
push 0x5fcd1440
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x5fce5027
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
call fcn.5fce30aa
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x5fce52f1
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce30aa
mov esi, eax
cmp esi, ebx
jl 0x5fce52f1
cmp word [edi], 0x3d
jne 0x5fce52ec
cmp dword [ebp + 0x10], ebx
je 0x5fce4fbd
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.5fce31a3
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x21c], ebx
call fcn.5fce2b9e
cmp esi, ebx
jmp 0x5fce528c
cmp dword [ebp + 0x14], ebx
jne 0x5fce5012
push 0x20006
push ebx
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], ebx
call fcn.5fce2c11
cmp eax, ebx
jne 0x5fce531f
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x5fce5007
cmp eax, 2
jne 0x5fce531d
lea ecx, [ebp - 0x21c]
call fcn.5fce2b9e
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce345d
mov esi, eax
cmp esi, ebx
jmp 0x5fce52d3
push 0x5c
push edi
call fcn.5fce3022
test eax, eax
jne 0x5fce52ec
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x5fce50d4
mov esi, 0xf003f
push esi
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.5fce2c11
test eax, eax
je 0x5fce509a
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.5fce2c11
test eax, eax
je 0x5fce509a
xor eax, eax
push eax
push eax
push esi
push eax
push eax
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.5fce2bbc
test eax, eax
jne 0x5fce52ec
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce30aa
mov esi, eax
test esi, esi
jl 0x5fce52f1
cmp word [edi], 0x3d
jne 0x5fce528e
mov ecx, dword [ebp - 0x220]
push edi
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.5fce31a3
jmp 0x5fce5288
cmp dword [ebp + 0x14], esi
jne 0x5fce50fb
push 0x20019
push edi
push dword [ebp - 0x228]
lea ecx, [ebp - 0x224]
call fcn.5fce2c11
test eax, eax
je 0x5fce50fb
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x22c], esi
jne 0x5fce5113
mov eax, 0x208
call fcn.5fcede10
mov dword [ebp - 0x22c], esp
push 0x104
push edi
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], esi
jne 0x5fce5158
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.5fce3381
test eax, eax
jne 0x5fce5158
push dword [ebp - 0x224]
mov ecx, dword [ebp - 0x220]
call fcn.5fce33bd
test eax, eax
je 0x5fce522b
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce30aa
mov esi, eax
test esi, esi
jl 0x5fce52f1
mov ebx, dword [ebp - 0x220]
push edi
mov ecx, ebx
call fcn.5fce345d
mov esi, eax
test esi, esi
jl 0x5fce52f1
cmp word [edi], 0x7b
jne 0x5fce51d7
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x224]
push edi
call fcn.5fce4db8
mov esi, eax
test esi, esi
jl 0x5fce52f1
cmp dword [ebp + 0x14], 0
je 0x5fce51e7
mov eax, dword [ebp - 0x234]
push edi
mov ecx, ebx
mov dword [ebp + 0x14], eax
call fcn.5fce30aa
mov esi, eax
test esi, esi
jl 0x5fce52f1
push edi
mov ecx, ebx
call fcn.5fce345d
jmp 0x5fce52cf
cmp dword [ebp + 0x14], 0
jne 0x5fce52d5
mov ebx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, ebx
call fcn.5fce3381
test eax, eax
je 0x5fce5221
push dword [ebp - 0x22c]
mov ecx, ebx
call fcn.5fce334b
test eax, eax
je 0x5fce521a
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
call fcn.5fce4cae
mov ecx, ebx
jmp 0x5fce52c9
cmp dword [ebp + 0x14], 0
jne 0x5fce52d5
lea ecx, [ebp - 0x224]
call fcn.5fce2b9e
test eax, eax
jne 0x5fce52ec
cmp dword [ebp - 0x230], eax
je 0x5fce526a
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x21c]
call fcn.5fce2b9e
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce30aa
mov esi, eax
test esi, esi
jl 0x5fce52f1
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce345d
mov esi, eax
test esi, esi
jl 0x5fce52f1
cmp dword [ebp + 0x10], 0
je 0x5fce52d5
cmp word [edi], 0x7b
jne 0x5fce52d5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x5fce52d5
mov ecx, dword [ebp - 0x220]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x224]
push edi
call fcn.5fce4db8
mov esi, eax
test esi, esi
jl 0x5fce52f1
mov ecx, dword [ebp - 0x220]
push edi
call fcn.5fce30aa
mov esi, eax
test esi, esi
jl 0x5fce52f1
cmp word [edi], 0x7d
jne 0x5fce4e14
jmp 0x5fce52f1
lea ecx, [ebp - 0x21c]
call fcn.5fce2b9e
mov esi, 0x80020009
lea ecx, [ebp - 0x224]
call fcn.5fce2b9e
mov eax, esi
lea esp, [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.5fcedaff
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp eax, ebx
jle 0x5fce532b
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
lea ecx, [ebp - 0x21c]
call fcn.5fce2b9e
jmp 0x5fce52f1