Function at 0x411feb
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d023
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.00531f80
mov eax, dword [0x5ee10c]
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 dword [ebp - 0x2258], ecx
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x2254]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x225c], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x2264], eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 4], eax
mov edi, ecx
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x226c], eax
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
push 0x7d
pop eax
cmp word [ebx], ax
je 0x412624
xor eax, eax
inc eax
push str.Delete
push ebx
mov dword [ebp - 0x2260], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push str.ForceRemove
sbb esi, esi
inc esi
push ebx
mov dword [ebp - 0x2268], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4120b6
test esi, esi
je 0x412197
push ebx
mov ecx, edi
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x412199
xor eax, eax
lea edi, [ebp - 0x2224]
stosd dword es:[edi], eax
mov ecx, ebx
push 0x5c
pop edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2224], esi
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x221c], esi
call fcn.004114c7
test eax, eax
jne 0x412614
push ebx
call fcn.00411c5e
test eax, eax
je 0x412142
mov eax, dword [ebp - 0x225c]
lea ecx, [ebp - 0x2224]
push ebx
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x221c], esi
call fcn.00411c8d
mov dword [ebp - 0x2224], esi
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x221c], esi
cmp dword [ebp - 0x2268], esi
je 0x412184
mov edi, dword [ebp - 0x2258]
mov ecx, edi
push ebx
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x41260c
push ebx
mov ecx, edi
call fcn.00411bf7
lea ecx, [ebp - 0x2224]
mov esi, eax
call fcn.004031fc
test esi, esi
js 0x412624
jmp 0x4125a1
lea ecx, [ebp - 0x2224]
call fcn.004031fc
mov edi, dword [ebp - 0x2258]
jmp 0x412199
xor esi, esi
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4121c1
push ebx
mov ecx, edi
mov dword [ebp - 0x2260], esi
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
push 0x5c54fc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x412314
lea eax, [ebp - 0x2218]
mov ecx, edi
push eax
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
push ebx
mov ecx, edi
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
push 0x3d
pop eax
cmp word [ebx], ax
jne 0x41261f
cmp dword [ebp + 0x10], 0
je 0x412289
xor eax, eax
lea edi, [ebp - 0x2230]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x2258]
xor eax, eax
inc eax
mov ecx, edi
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x225c]
mov dword [ebp - 0x2230], eax
xor eax, eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x2230]
push eax
call fcn.004117a2
mov esi, eax
lea ecx, [ebp - 0x2230]
xor eax, eax
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
test esi, esi
js 0x41265e
mov byte [ebp - 4], al
call fcn.004031fc
jmp 0x4125a1
cmp dword [ebp + 0x14], 0
jne 0x412307
cmp dword [ebp - 0x2260], 0
je 0x412307
xor eax, eax
lea edi, [ebp - 0x2248]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x2248]
push 0x20006
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
push dword [ebp - 0x225c]
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], eax
call fcn.00403182
test eax, eax
jne 0x41264f
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2248]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4122f6
cmp eax, 2
jne 0x41264f
lea ecx, [ebp - 0x2248]
call fcn.004031fc
mov edi, dword [ebp - 0x2258]
push ebx
mov ecx, edi
call fcn.00411bf7
jmp 0x4125f0
push 0x5c
pop edx
mov ecx, ebx
call fcn.004114c7
test eax, eax
jne 0x41261f
cmp dword [ebp + 0x10], eax
je 0x4123b8
mov esi, dword [ebp - 0x225c]
lea ecx, [ebp - 0x2254]
push 0x2001f
push ebx
push esi
call fcn.00403182
test eax, eax
je 0x412381
push 0x20019
push ebx
push esi
lea ecx, [ebp - 0x2254]
call fcn.00403182
test eax, eax
je 0x412381
xor eax, eax
lea ecx, [ebp - 0x2254]
push eax
push eax
push 0x2001f
push eax
push eax
push ebx
push esi
call fcn.00411556
test eax, eax
jne 0x412674
push ebx
mov ecx, edi
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
push 0x3d
pop eax
cmp word [ebx], ax
jne 0x4125a1
push ebx
xor eax, eax
mov ecx, edi
push eax
lea eax, [ebp - 0x2254]
push eax
call fcn.004117a2
mov esi, eax
jmp 0x412177
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x4123da
push 0x20019
push ebx
push dword [ebp - 0x225c]
lea ecx, [ebp - 0x2254]
call fcn.00403182
mov edi, eax
jmp 0x4123dd
push 2
pop edi
push 1
pop eax
push 0xffffffffffffffff
test edi, edi
push ebx
cmovne esi, eax
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.00555458
push eax
call fcn.00403082
mov ecx, dword [ebp - 0x2258]
add esp, 0x14
push ebx
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
mov ecx, dword [ebp - 0x2258]
push ebx
call fcn.00411bf7
mov esi, eax
test esi, esi
js 0x412624
push 0x7b
pop eax
cmp word [ebx], ax
jne 0x412496
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2264]
jne 0x41243e
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x412496
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2258]
xor eax, eax
push eax
push dword [ebp - 0x2254]
push ebx
call fcn.00411feb
mov esi, eax
test esi, esi
jns 0x412480
cmp dword [ebp + 0x14], 0
je 0x412624
mov ecx, dword [ebp - 0x2258]
push ebx
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
mov eax, dword [ebp - 0x226c]
mov dword [ebp + 0x14], eax
cmp edi, 2
je 0x4125f6
test edi, edi
je 0x4124c2
test eax, eax
jne 0x4125f6
mov ecx, edi
call fcn.00411e87
mov esi, eax
jmp 0x412624
test eax, eax
je 0x41250d
push dword [ebp - 0x2254]
call fcn.00411d6f
test eax, eax
je 0x41250d
lea eax, [ebp - 0x218]
push eax
call fcn.00411c5e
test eax, eax
je 0x4125f6
cmp dword [ebp - 0x2260], 0
je 0x4125f6
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2254]
call fcn.00411c8d
jmp 0x4125f6
push dword [ebp - 0x2254]
call fcn.00411d6f
lea ecx, [ebp - 0x2254]
mov edi, eax
call fcn.004031fc
test eax, eax
jne 0x412674
cmp dword [ebp - 0x2260], eax
je 0x4125f6
test edi, edi
jne 0x4125f6
lea edi, [ebp - 0x223c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x223c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x225c]
xor edi, edi
mov dword [ebp - 0x223c], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x2238], edi
mov dword [ebp - 0x2234], edi
call fcn.00411e0e
mov dword [ebp - 0x223c], edi
mov dword [ebp - 0x2238], edi
mov dword [ebp - 0x2234], edi
test eax, eax
jne 0x412665
lea ecx, [ebp - 0x223c]
call fcn.004031fc
mov edi, dword [ebp - 0x2258]
cmp dword [ebp + 0x10], 0
je 0x4125f6
push 0x7b
pop eax
cmp word [ebx], ax
jne 0x4125f6
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2264]
jne 0x4125b4
sub ecx, edx
xor eax, eax
sar ecx, 1
inc eax
cmp ecx, eax
jne 0x4125f9
xor eax, eax
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2254]
push ebx
call fcn.00411feb
mov esi, eax
test esi, esi
js 0x412624
push ebx
mov ecx, edi
call fcn.00411e95
mov esi, eax
test esi, esi
js 0x412624
xor eax, eax
inc eax
push 0x7d
pop ecx
cmp word [ebx], cx
je 0x412624
mov edi, dword [ebp - 0x2258]
jmp 0x412081
lea ecx, [ebp - 0x2224]
jmp 0x41265e
lea ecx, [ebp - 0x2224]
call fcn.004031fc
mov esi, 0x80020009
lea ecx, [ebp - 0x2254]
call fcn.004031fc
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.00531192
mov esp, ebp
pop ebp
ret 0x10
mov ecx, eax
call fcn.00411e87
lea ecx, [ebp - 0x2248]
mov esi, eax
call fcn.004031fc
jmp 0x412624
mov ecx, eax
call fcn.00411e87
lea ecx, [ebp - 0x223c]
jmp 0x41265c
mov ecx, eax
jmp 0x4124b6