Function at 0x100276c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2258
call fcn.1006f8b0
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2220], 0
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x2214], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2258], ecx
mov ecx, eax
push edi
mov dword [ebp - 0x2210], eax
mov dword [ebp - 0x221c], 0
mov dword [ebp - 0x2218], 0
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027da6
cmp word [edi], 0x7d
push ebx
je 0x10027d92
jmp 0x10027740
push str.Delete
push edi
mov dword [ebp - 0x2230], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x1009bad4
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10027773
test ebx, ebx
je 0x1002788f
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d92
cmp dword [ebp + 0x10], 0
je 0x1002788f
movzx eax, word [edi]
mov ecx, edi
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
test ax, ax
je 0x100277e1
jmp 0x100277c0
cmp ax, 0x5c
je 0x100277d9
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x100277c0
jmp 0x100277e1
test ecx, ecx
jne 0x10027d2b
mov esi, 0x1009bb10
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10027848
add esi, 4
cmp esi, str.kernel32.dll
jl 0x100277e6
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x222c]
push edi
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
call fcn.10027100
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
test ebx, ebx
je 0x10027885
mov ebx, dword [ebp - 0x2210]
mov ecx, ebx
push edi
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d3d
push edi
mov ecx, ebx
call fcn.10028bb0
mov esi, eax
test esi, esi
js 0x10027d3d
mov dword [ebp - 0x2228], 0
jmp 0x10027ae2
mov dword [ebp - 0x2228], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2210]
test eax, eax
jne 0x100278bd
push edi
mov ecx, ebx
mov dword [ebp - 0x2230], eax
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d92
push 0x1009bacc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10027a20
lea eax, [ebp - 0x220c]
mov ecx, ebx
push eax
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d92
push edi
mov ecx, ebx
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d92
cmp word [edi], 0x3d
jne 0x10027d36
cmp dword [ebp + 0x10], 0
je 0x10027978
mov eax, dword [ebp - 0x2214]
mov ecx, ebx
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x220c]
push edi
push eax
lea eax, [ebp - 0x2254]
mov dword [ebp - 0x2250], 0
push eax
mov dword [ebp - 0x224c], 0
call fcn.10023730
mov esi, eax
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
test esi, esi
js 0x10027d4a
mov dword [ebp - 0x2250], 0
jmp 0x10027ae2
cmp dword [ebp + 0x14], 0
jne 0x10027a09
cmp dword [ebp - 0x2230], 0
je 0x10027a09
push 0x20006
push 0
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2248]
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
mov dword [ebp - 0x2240], 0
call fcn.100265a0
test eax, eax
jne 0x10027d57
mov esi, dword [ebp - 0x2248]
lea eax, [ebp - 0x220c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x100279ea
cmp eax, 2
jne 0x10027d57
test esi, esi
je 0x100279ff
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
push edi
mov ecx, ebx
call fcn.10028bb0
mov esi, eax
test esi, esi
js 0x10027d92
jmp 0x10027d1f
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x10027a51
lea ebx, [ebx]
cmp ax, 0x5c
je 0x10027a49
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x10027a30
jmp 0x10027a51
test ecx, ecx
jne 0x10027d36
cmp dword [ebp + 0x10], 0
je 0x10027b3d
mov esi, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
push 0x2001f
push edi
push esi
call fcn.100265a0
test eax, eax
je 0x10027aaf
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2220]
call fcn.100265a0
test eax, eax
je 0x10027aaf
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x2220]
call fcn.10024b20
test eax, eax
jne 0x10027d87
push edi
mov ecx, ebx
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d92
cmp word [edi], 0x3d
jne 0x10027ae2
push edi
push 0
lea eax, [ebp - 0x2220]
mov ecx, ebx
push eax
call fcn.10023730
mov esi, eax
test esi, esi
js 0x10027d92
cmp word [edi], 0x7b
jne 0x10027d1f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027af1
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10027d1f
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2220]
push edi
call fcn.100276c0
mov esi, eax
test esi, esi
js 0x10027d92
push edi
mov ecx, ebx
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d92
jmp 0x10027d1f
cmp dword [ebp + 0x14], 0
jne 0x10027b62
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.100265a0
mov ebx, eax
test ebx, ebx
jne 0x10027b67
jmp 0x10027b6e
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e73d
push eax
call fcn.10023d00
mov ecx, dword [ebp - 0x2210]
add esp, 0x14
push edi
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d92
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.10028bb0
mov esi, eax
test esi, esi
js 0x10027d92
cmp word [edi], 0x7b
jne 0x10027c13
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027bc2
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10027c13
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x2220]
push edi
call fcn.100276c0
mov esi, eax
test esi, esi
jns 0x10027bfd
cmp dword [ebp + 0x14], 0
je 0x10027d92
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.10025b70
mov esi, eax
test esi, esi
js 0x10027d92
mov eax, dword [ebp - 0x2258]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x10027d1f
test ebx, ebx
je 0x10027c37
test eax, eax
jne 0x10027d1f
push ebx
jmp 0x10027d88
mov ebx, dword [ebp - 0x2210]
test eax, eax
je 0x10027c8c
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.100257e0
test eax, eax
je 0x10027c8c
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.100241a0
test eax, eax
je 0x10027d1f
cmp dword [ebp - 0x2230], 0
je 0x10027d1f
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.10027100
jmp 0x10027d1f
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.100257e0
mov ecx, dword [ebp - 0x2220]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x10027cb6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 0x221c], 0
test eax, eax
jne 0x10027d87
cmp dword [ebp - 0x2230], eax
je 0x10027d1f
test ebx, ebx
jne 0x10027d1f
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.10024eb0
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
test eax, eax
jne 0x10027d6f
lea ecx, [ebp - 0x223c]
call fcn.100231f0
cmp word [edi], 0x7d
jne 0x10027740
jmp 0x10027d92
lea ecx, [ebp - 0x222c]
call fcn.100231f0
mov esi, 0x80020009
jmp 0x10027d92
lea ecx, [ebp - 0x222c]
call fcn.100231f0
jmp 0x10027d92
lea ecx, [ebp - 0x2254]
call fcn.100231f0
jmp 0x10027d92
push eax
call fcn.10023dc0
add esp, 4
lea ecx, [ebp - 0x2248]
mov esi, eax
call fcn.100231f0
jmp 0x10027d92
push eax
call fcn.10023dc0
add esp, 4
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.100231f0
jmp 0x10027d92
push eax
call fcn.10023dc0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2220]
pop ebx
test eax, eax
je 0x10027da4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x10