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

Disassembly:
mov eax, 0x101e5f54
call fcn.100431e8
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.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
cmp word [edi], 0x7d
je 0x10026d3f
push dword [0x101fc138]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push dword [0x101fc130]
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 0x100268d9
cmp esi, ebx
je 0x100269a5
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
cmp dword [ebp + 0x10], ebx
je 0x100269a5
mov dword [ebp + 8], ebx
mov cx, word [edi]
mov byte [ebp - 4], 1
mov eax, edi
cmp cx, bx
je 0x10026920
cmp cx, 0x5c
je 0x10026918
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov cx, word [eax]
jmp 0x10026901
cmp eax, ebx
jne 0x10026d06
mov esi, 0x1023d940
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1002694f
add esi, 4
cmp esi, str.TYPELIB
jl 0x10026925
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.10026d75
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x24], ebx
je 0x10026994
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d2e
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1002716f
mov esi, eax
mov byte [ebp - 4], bl
cmp esi, ebx
jl 0x10026d31
cmp dword [ebp + 8], ebx
je 0x10026cc4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10026cc4
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], bl
je 0x100269a5
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x101fc134]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100269cc
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x1c], ebx
call fcn.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
push dword [0x101fc12c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10026a7d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x230]
push eax
call fcn.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
cmp word [edi], 0x3d
jne 0x10026d1a
cmp dword [ebp + 0x10], ebx
je 0x10026a52
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.10026e79
mov esi, eax
mov dword [ebp + 8], ebx
cmp esi, ebx
jl 0x10026d3f
mov byte [ebp - 4], bl
jmp 0x10026cc4
cmp dword [ebp + 0x14], ebx
jne 0x10026c12
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 0x10026c12
mov cx, word [edi]
mov eax, edi
cmp cx, bx
je 0x10026aa1
cmp cx, 0x5c
je 0x10026a99
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov cx, word [eax]
jmp 0x10026a82
cmp eax, ebx
jne 0x10026d1a
cmp dword [ebp + 0x10], ebx
je 0x10026b45
mov esi, 0xf003f
lea ecx, [ebp - 0x10]
push esi
push edi
push dword [ebp + 0xc]
call fcn.10025fb7
cmp eax, ebx
je 0x10026b15
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10025fb7
cmp eax, ebx
je 0x10026b15
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 0x10026d1a
xor eax, eax
cmp dword [ebp - 0x10], ebx
je 0x10026b07
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 0x10026d1a
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
cmp word [edi], 0x3d
jne 0x10026cc4
mov ecx, dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10026e79
jmp 0x10026cbe
cmp dword [ebp + 0x14], ebx
jne 0x10026b66
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10025fb7
test eax, eax
je 0x10026b66
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x18], ebx
jne 0x10026b78
mov eax, 0x208
call fcn.10043800
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 0x10026bae
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.100270c2
test eax, eax
jne 0x10026bae
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.100270f7
test eax, eax
je 0x10026c6b
mov ecx, dword [ebp - 0x14]
push edi
call fcn.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1002716f
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
cmp word [edi], 0x7b
jne 0x10026c20
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
push edi
call fcn.1002685e
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
cmp dword [ebp + 0x14], ebx
je 0x10026c29
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ebp + 0x14], eax
call fcn.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1002716f
jmp 0x10026895
cmp dword [ebp + 0x14], ebx
jne 0x1002689f
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.100270c2
test eax, eax
je 0x10026c6b
mov esi, 0x1023d940
push dword [esi]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10026cfd
add esi, 4
cmp esi, str.TYPELIB
jl 0x10026c3d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.10026d75
jmp 0x10026cfd
cmp dword [ebp - 0x10], ebx
je 0x10026c84
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov dword [ebp - 0x10], ebx
jne 0x10026d6a
cmp dword [ebp - 0x1c], ebx
je 0x10026ca2
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.10026587
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
mov ecx, dword [ebp - 0x14]
push edi
call fcn.1002716f
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
cmp dword [ebp + 0x10], ebx
je 0x1002689f
cmp word [edi], 0x7b
jne 0x1002689f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1002689f
push ebx
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call fcn.1002685e
mov esi, eax
cmp esi, ebx
jl 0x10026d3f
mov ecx, dword [ebp - 0x14]
push edi
jmp 0x10026890
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], bl
je 0x10026d1a
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 0x10026d6e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10026d6e
mov byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x10026d3f
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x10026d51
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 0x10026d53