Function at 0x129e3ab
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1320df9
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.012b0e40
mov eax, dword [0x1351ecc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], eax
xor eax, eax
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], eax
push edi
mov dword [ebp - 4], eax
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
push 0x7d
pop eax
cmp word [edi], ax
je 0x129e98a
xor eax, eax
inc eax
push str.Delete
push edi
mov dword [ebp - 0x2224], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push str.ForceRemove
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x129e45c
test esi, esi
je 0x129e528
push edi
mov ecx, ebx
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x129e52a
push 0x5c
push edi
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.0129f086
pop ecx
pop ecx
test eax, eax
jne 0x129e97a
push edi
mov ecx, ebx
call fcn.0129cfa8
test eax, eax
je 0x129e4df
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
push edi
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.0129dfe3
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
cmp dword [ebp - 0x2220], esi
je 0x129e51b
push edi
mov ecx, ebx
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e972
push edi
mov ecx, ebx
call fcn.0129effd
lea ecx, [ebp - 0x2230]
mov esi, eax
call fcn.0128cd2e
test esi, esi
js 0x129e98a
jmp 0x129e90c
lea ecx, [ebp - 0x2230]
call fcn.0128cd2e
jmp 0x129e52a
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x129e552
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
push 0x13268a8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x129e67e
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
push edi
mov ecx, ebx
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
push 0x3d
pop eax
cmp word [edi], ax
jne 0x129e985
cmp dword [ebp + 0x10], 0
je 0x129e604
xor eax, eax
mov ecx, ebx
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2250], eax
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2250]
push eax
call fcn.0129c94a
mov esi, eax
lea ecx, [ebp - 0x2250]
xor eax, eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
test esi, esi
js 0x129e9c4
mov byte [ebp - 4], al
jmp 0x129e907
cmp dword [ebp + 0x14], 0
jne 0x129e671
cmp dword [ebp - 0x2224], 0
je 0x129e671
xor eax, eax
lea ecx, [ebp - 0x2268]
push 0x20006
push eax
push dword [ebp - 0x221c]
mov dword [ebp - 0x2268], eax
mov dword [ebp - 0x2264], eax
mov dword [ebp - 0x2260], eax
call fcn.0128f36f
test eax, eax
jne 0x129e9b5
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2268]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x129e666
cmp eax, 2
jne 0x129e9b5
lea ecx, [ebp - 0x2268]
call fcn.0128cd2e
push edi
mov ecx, ebx
call fcn.0129effd
jmp 0x129e95b
push 0x5c
push edi
call fcn.0129f086
pop ecx
pop ecx
test eax, eax
jne 0x129e985
cmp dword [ebp + 0x10], eax
je 0x129e722
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
push 0x2001f
push edi
push esi
call fcn.0128f36f
test eax, eax
je 0x129e6eb
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x223c]
call fcn.0128f36f
test eax, eax
je 0x129e6eb
xor eax, eax
lea ecx, [ebp - 0x223c]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.0128cfa0
test eax, eax
jne 0x129e81c
push edi
mov ecx, ebx
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
push 0x3d
pop eax
cmp word [edi], ax
jne 0x129e90c
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x223c]
push eax
call fcn.0129c94a
mov esi, eax
jmp 0x129e50e
cmp dword [ebp + 0x14], 0
jne 0x129e741
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
call fcn.0128f36f
jmp 0x129e744
push 2
pop eax
mov ecx, dword [ebp + 0x14]
test eax, eax
push 1
mov dword [ebp - 0x2220], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x2240], ecx
call fcn.012fc139
push eax
call fcn.01288939
add esp, 0x14
mov ecx, ebx
push edi
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
push edi
mov ecx, ebx
call fcn.0129effd
mov esi, eax
test esi, esi
js 0x129e98a
push 0x7b
pop eax
cmp word [edi], ax
jne 0x129e7ff
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2244]
jne 0x129e7a9
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x129e7ff
push dword [ebp - 0x2240]
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp - 0x223c]
push edi
call fcn.0129e3ab
mov esi, eax
test esi, esi
jns 0x129e7ed
cmp dword [ebp - 0x2240], 0
je 0x129e98a
push edi
mov ecx, ebx
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
mov eax, dword [ebp - 0x2220]
cmp eax, 2
je 0x129e961
test eax, eax
je 0x129e82a
cmp dword [ebp + 0x14], 0
jne 0x129e961
push eax
call fcn.0129cf73
pop ecx
mov esi, eax
jmp 0x129e98a
cmp dword [ebp + 0x14], 0
je 0x129e87b
push dword [ebp - 0x223c]
mov ecx, ebx
call fcn.0129d41f
test eax, eax
je 0x129e87b
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.0129cfa8
test eax, eax
je 0x129e961
cmp dword [ebp - 0x2224], 0
je 0x129e961
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x223c]
call fcn.0129dfe3
jmp 0x129e961
push dword [ebp - 0x223c]
mov ecx, ebx
call fcn.0129d41f
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2220], eax
call fcn.0128cd2e
test eax, eax
jne 0x129e81c
cmp dword [ebp - 0x2224], eax
je 0x129e961
cmp dword [ebp - 0x2220], eax
jne 0x129e961
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x225c], eax
xor eax, eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0129d260
xor ecx, ecx
mov dword [ebp - 0x225c], ecx
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], ecx
test eax, eax
jne 0x129e9cb
lea ecx, [ebp - 0x225c]
call fcn.0128cd2e
cmp dword [ebp + 0x10], 0
je 0x129e961
push 0x7b
pop eax
cmp word [edi], ax
jne 0x129e961
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2244]
jne 0x129e91f
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x129e964
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x223c]
push edi
call fcn.0129e3ab
mov esi, eax
test esi, esi
js 0x129e98a
push edi
mov ecx, ebx
call fcn.0129db20
mov esi, eax
test esi, esi
js 0x129e98a
xor eax, eax
inc eax
push 0x7d
pop ecx
cmp word [edi], cx
jne 0x129e427
jmp 0x129e98a
lea ecx, [ebp - 0x2230]
jmp 0x129e9c4
lea ecx, [ebp - 0x2230]
call fcn.0128cd2e
mov esi, 0x80020009
lea ecx, [ebp - 0x223c]
call fcn.0128cd2e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.012b0511
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.0129cf73
pop ecx
lea ecx, [ebp - 0x2268]
mov esi, eax
call fcn.0128cd2e
jmp 0x129e98a
push eax
call fcn.0129cf73
pop ecx
lea ecx, [ebp - 0x225c]
jmp 0x129e9c2