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

Disassembly:
mov eax, 0x4460e4
call fcn.00440d70
sub esp, 0x120
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.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
cmp byte [edi], 0x7d
je 0x42746d
push dword [0x44ac88]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push dword [0x44ac80]
mov esi, eax
neg esi
sbb esi, esi
push edi
inc esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x427013
cmp esi, ebx
je 0x4270db
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
cmp dword [ebp + 0x10], ebx
je 0x4270db
mov dword [ebp + 8], ebx
mov cl, byte [edi]
mov byte [ebp - 4], 1
mov eax, edi
cmp cl, bl
je 0x427056
cmp cl, 0x5c
je 0x42704e
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
jmp 0x42703a
cmp eax, ebx
jne 0x427434
mov esi, 0x45d9a8
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x427085
add esi, 4
cmp esi, str.TYPELIB
jl 0x42705b
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.004274a3
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x24], ebx
je 0x4270ca
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42745c
mov ecx, dword [ebp - 0x14]
push edi
call fcn.004278ca
mov esi, eax
mov byte [ebp - 4], bl
cmp esi, ebx
jl 0x42745f
cmp dword [ebp + 8], ebx
je 0x4273f3
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4273f3
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], bl
je 0x4270db
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [0x44ac84]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x427102
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x1c], ebx
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
push dword [0x44ac7c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4271b2
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x12c]
push eax
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
cmp byte [edi], 0x3d
jne 0x427448
cmp dword [ebp + 0x10], ebx
je 0x427187
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 - 0x12c]
push edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.004275a7
mov esi, eax
mov dword [ebp + 8], ebx
cmp esi, ebx
jl 0x42746d
mov byte [ebp - 4], bl
jmp 0x4273f3
cmp dword [ebp + 0x14], ebx
jne 0x427341
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], bl
jmp 0x427341
mov cl, byte [edi]
mov eax, edi
cmp cl, bl
je 0x4271d2
cmp cl, 0x5c
je 0x4271ca
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
jmp 0x4271b6
cmp eax, ebx
jne 0x427448
cmp dword [ebp + 0x10], ebx
je 0x427275
mov esi, 0xf003f
lea ecx, [ebp - 0x10]
push esi
push edi
push dword [ebp + 0xc]
call fcn.00426310
cmp eax, ebx
je 0x427246
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00426310
cmp eax, ebx
je 0x427246
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_RegCreateKeyExA]
cmp eax, ebx
jne 0x427448
xor eax, eax
cmp dword [ebp - 0x10], ebx
je 0x427238
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 0x427448
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
cmp byte [edi], 0x3d
jne 0x4273f3
mov ecx, dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.004275a7
jmp 0x4273ed
cmp dword [ebp + 0x14], ebx
jne 0x427296
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00426310
test eax, eax
je 0x427296
mov dword [ebp + 0x14], 1
cmp dword [ebp - 0x18], ebx
jne 0x4272a8
mov eax, 0x104
call fcn.00440dc0
mov dword [ebp - 0x18], esp
push 0x104
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x14], ebx
jne 0x4272de
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.0042781e
test eax, eax
jne 0x4272de
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00427853
test eax, eax
je 0x42739a
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
mov ecx, dword [ebp - 0x14]
push edi
call fcn.004278ca
mov esi, eax
cmp esi, ebx
jl 0x42746d
cmp byte [edi], 0x7b
jne 0x42734f
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
push edi
call fcn.00426f99
mov esi, eax
cmp esi, ebx
jl 0x42746d
cmp dword [ebp + 0x14], ebx
je 0x427358
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ebp + 0x14], eax
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
mov ecx, dword [ebp - 0x14]
push edi
call fcn.004278ca
jmp 0x426fd0
cmp dword [ebp + 0x14], ebx
jne 0x426fda
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.0042781e
test eax, eax
je 0x42739a
mov esi, 0x45d9a8
push dword [esi]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42742b
add esi, 4
cmp esi, str.TYPELIB
jl 0x42736c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.004274a3
jmp 0x42742b
cmp dword [ebp - 0x10], ebx
je 0x4273b3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov dword [ebp - 0x10], ebx
jne 0x427498
cmp dword [ebp - 0x1c], ebx
je 0x4273d1
mov dword [ebp + 8], ebx
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00426c43
mov esi, eax
cmp esi, ebx
jl 0x42746d
mov ecx, dword [ebp - 0x14]
push edi
call fcn.004278ca
mov esi, eax
cmp esi, ebx
jl 0x42746d
cmp dword [ebp + 0x10], ebx
je 0x426fda
cmp byte [edi], 0x7b
jne 0x426fda
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x426fda
push ebx
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call fcn.00426f99
mov esi, eax
cmp esi, ebx
jl 0x42746d
mov ecx, dword [ebp - 0x14]
push edi
jmp 0x426fcb
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], bl
je 0x427448
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 0x42749c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42749c
mov byte [ebp - 4], bl
cmp dword [ebp + 8], ebx
je 0x42746d
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], ebx
je 0x42747f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x138]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
or dword [ebp - 4], 0xffffffff
mov eax, 0x80020009
jmp 0x427481