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

Disassembly:
mov eax, 0x101e51f4
call fcn.10042430
sub esp, 0x224
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], eax
push edi
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
cmp word [edi], 0x7d
je 0x100263b2
push dword [0x101fb0f0]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push dword [0x101fb0e8]
mov esi, eax
neg esi
sbb esi, esi
push edi
inc esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10025f4c
cmp esi, ebx
je 0x10026018
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
cmp dword [ebp + 0x10], ebx
je 0x10026018
mov dword [ebp + 8], ebx
mov cx, word [edi]
mov byte [ebp - 4], 1
mov eax, edi
cmp cx, bx
je 0x10025f93
cmp cx, 0x5c
je 0x10025f8b
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov cx, word [eax]
jmp 0x10025f74
cmp eax, ebx
jne 0x10026379
mov esi, 0x1023b744
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10025fc2
add esi, 4
cmp esi, str.TYPELIB
jl 0x10025f98
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.100263e8
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x24], ebx
je 0x10026007
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263a1
mov ecx, dword [ebp - 0x14]
push edi
call fcn.100267e2
mov esi, eax
mov byte [ebp - 4], bl
cmp esi, ebx
jl 0x100263a4
cmp dword [ebp + 8], ebx
je 0x10026337
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10026337
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], bl
je 0x10026018
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x101fb0ec]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1002603f
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x1c], ebx
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
push dword [0x101fb0e4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100260f0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x230]
push eax
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
cmp word [edi], 0x3d
jne 0x1002638d
cmp dword [ebp + 0x10], ebx
je 0x100260c5
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [ebp + 8], eax
lea eax, [ebp - 0x230]
push edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.100264ec
mov esi, eax
mov dword [ebp + 8], ebx
cmp esi, ebx
jl 0x100263b2
mov byte [ebp - 4], bl
jmp 0x10026337
cmp dword [ebp + 0x14], ebx
jne 0x10026285
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], bl
jmp 0x10026285
mov cx, word [edi]
mov eax, edi
cmp cx, bx
je 0x10026114
cmp cx, 0x5c
je 0x1002610c
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov cx, word [eax]
jmp 0x100260f5
cmp eax, ebx
jne 0x1002638d
cmp dword [ebp + 0x10], ebx
je 0x100261b8
mov esi, 0xf003f
lea ecx, [ebp - 0x10]
push esi
push edi
push dword [ebp + 0xc]
call fcn.1002562a
cmp eax, ebx
je 0x10026188
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.1002562a
cmp eax, ebx
je 0x10026188
lea eax, [ebp - 0x28]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x1002638d
xor eax, eax
cmp dword [ebp - 0x10], ebx
je 0x1002617a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x1002638d
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
cmp word [edi], 0x3d
jne 0x10026337
mov ecx, dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.100264ec
jmp 0x10026331
cmp dword [ebp + 0x14], ebx
jne 0x100261d9
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.1002562a
test eax, eax
je 0x100261d9
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x18], ebx
jne 0x100261eb
mov eax, 0x208
call fcn.10042a40
mov dword [ebp - 0x18], esp
push 0x104
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x14], ebx
jne 0x10026221
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.10026735
test eax, eax
jne 0x10026221
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.1002676a
test eax, eax
je 0x100262de
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
mov ecx, dword [ebp - 0x14]
push edi
call fcn.100267e2
mov esi, eax
cmp esi, ebx
jl 0x100263b2
cmp word [edi], 0x7b
jne 0x10026293
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
push edi
call fcn.10025ed1
mov esi, eax
cmp esi, ebx
jl 0x100263b2
cmp dword [ebp + 0x14], ebx
je 0x1002629c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ebp + 0x14], eax
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
mov ecx, dword [ebp - 0x14]
push edi
call fcn.100267e2
jmp 0x10025f08
cmp dword [ebp + 0x14], ebx
jne 0x10025f12
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.10026735
test eax, eax
je 0x100262de
mov esi, 0x1023b744
push dword [esi]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10026370
add esi, 4
cmp esi, str.TYPELIB
jl 0x100262b0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.100263e8
jmp 0x10026370
cmp dword [ebp - 0x10], ebx
je 0x100262f7
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov dword [ebp - 0x10], ebx
jne 0x100263dd
cmp dword [ebp - 0x1c], ebx
je 0x10026315
mov dword [ebp + 8], ebx
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10025bfa
mov esi, eax
cmp esi, ebx
jl 0x100263b2
mov ecx, dword [ebp - 0x14]
push edi
call fcn.100267e2
mov esi, eax
cmp esi, ebx
jl 0x100263b2
cmp dword [ebp + 0x10], ebx
je 0x10025f12
cmp word [edi], 0x7b
jne 0x10025f12
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10025f12
push ebx
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call fcn.10025ed1
mov esi, eax
cmp esi, ebx
jl 0x100263b2
mov ecx, dword [ebp - 0x14]
push edi
jmp 0x10025f03
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], bl
je 0x1002638d
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], ebx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x100263e1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100263e1
mov byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x100263b2
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x100263c4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x23c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
or dword [ebp - 4], 0xffffffff
mov eax, 0x80020009
jmp 0x100263c6