Function at 0x10015b76
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c256
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.10065a60
mov eax, dword [0x10077014]
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 eax, ecx
mov dword [ebp - 0x221c], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2220], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x100161ac
jmp 0x10016158
push 0x10007890
push edi
mov dword [ebp - 0x2230], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x100078a0
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10015c25
test ebx, ebx
je 0x10015ced
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10015cef
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x2240], esi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
call fcn.10014fff
test eax, eax
jne 0x10016196
push edi
call fcn.1001572a
test eax, eax
je 0x10015caa
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2240]
push edi
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
call fcn.1001581a
mov dword [ebp - 0x2240], esi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
test ebx, ebx
je 0x10015ce5
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
push edi
mov ecx, ebx
call fcn.100156c3
mov esi, eax
test esi, esi
js 0x1001619b
xor eax, eax
mov dword [ebp - 0x223c], eax
jmp 0x10016105
mov dword [ebp - 0x223c], esi
jmp 0x10015cef
xor esi, esi
push 0x100078b8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x221c]
test eax, eax
jne 0x10015d1d
push edi
mov ecx, ebx
mov dword [ebp - 0x2230], esi
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
push 0x100078cc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10015e5a
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
push edi
mov ecx, ebx
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10016196
cmp dword [ebp + 0x10], 0
je 0x10015dcd
mov eax, dword [ebp - 0x2220]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2260], eax
xor eax, eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2260]
push eax
call fcn.1001520e
xor ecx, ecx
mov esi, eax
mov dword [ebp - 0x2260], ecx
mov dword [ebp - 0x225c], ecx
mov dword [ebp - 0x2258], ecx
test esi, esi
js 0x1001619b
mov byte [ebp - 4], cl
mov dword [ebp - 0x225c], ecx
jmp 0x10016105
cmp dword [ebp + 0x14], 0
jne 0x10015e4d
cmp dword [ebp - 0x2230], 0
je 0x10015e4d
xor esi, esi
lea ecx, [ebp - 0x2254]
push 0x20006
push esi
push dword [ebp - 0x2220]
mov dword [ebp - 0x2254], esi
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x224c], esi
call fcn.100157bc
test eax, eax
jne 0x10016176
mov ebx, dword [ebp - 0x2254]
lea eax, [ebp - 0x2218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10015e30
cmp eax, 2
jne 0x10016166
test ebx, ebx
je 0x10015e41
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2254], esi
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2250], esi
push edi
mov ecx, ebx
call fcn.100156c3
jmp 0x10016152
push 0x5c
pop edx
mov ecx, edi
call fcn.10014fff
test eax, eax
jne 0x10016196
cmp dword [ebp + 0x10], eax
je 0x10015efe
mov esi, dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
push 0x2001f
push edi
push esi
call fcn.100157bc
test eax, eax
je 0x10015ebf
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.100157bc
test eax, eax
je 0x10015ebf
sub esp, 0x14
lea ecx, [ebp - 0x222c]
push edi
push esi
call fcn.1001509e
test eax, eax
jne 0x10016010
push edi
mov ecx, ebx
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10016105
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [ebp - 0x222c]
push eax
call fcn.1001520e
mov esi, eax
test esi, esi
js 0x1001619b
jmp 0x10016105
cmp dword [ebp + 0x14], 0
jne 0x10015f1d
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.100157bc
jmp 0x10015f20
push 2
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2244], ebx
test eax, eax
je 0x10015f3c
xor ebx, ebx
inc ebx
mov dword [ebp - 0x2244], ebx
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10058804
add esp, 0x10
mov ecx, eax
call fcn.1001568d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100156c3
mov esi, eax
test esi, esi
js 0x1001619b
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10015fed
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2248]
jne 0x10015f93
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10015fed
mov ecx, dword [ebp - 0x221c]
xor eax, eax
push ebx
mov ebx, dword [ebp - 0x222c]
push eax
push ebx
push edi
call fcn.10015b76
mov esi, eax
test esi, esi
jns 0x10015fd5
cmp dword [ebp - 0x2244], 0
je 0x1001619b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
jmp 0x10015ff3
mov ebx, dword [ebp - 0x222c]
mov eax, dword [ebp - 0x2234]
cmp eax, 2
je 0x10016158
test eax, eax
je 0x1001601e
cmp dword [ebp + 0x14], 0
jne 0x10016158
mov ecx, eax
call fcn.10015a10
mov esi, eax
jmp 0x1001619b
cmp dword [ebp + 0x14], 0
je 0x10016066
push ebx
call fcn.100158ef
test eax, eax
je 0x10016066
lea eax, [ebp - 0x218]
push eax
call fcn.1001572a
test eax, eax
je 0x10016158
cmp dword [ebp - 0x2230], 0
je 0x10016158
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.1001581a
jmp 0x10016158
push ebx
call fcn.100158ef
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x2234], ecx
mov eax, edx
test ebx, ebx
je 0x10016091
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2234]
xor edx, edx
mov dword [ebp - 0x222c], edx
mov dword [ebp - 0x2228], edx
test eax, eax
jne 0x10016010
cmp dword [ebp - 0x2230], eax
je 0x10016158
test ecx, ecx
jne 0x10016158
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x226c]
mov dword [ebp - 0x226c], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x2268], edx
mov dword [ebp - 0x2264], edx
call fcn.10015997
xor ecx, ecx
mov dword [ebp - 0x226c], ecx
mov dword [ebp - 0x2268], ecx
mov dword [ebp - 0x2264], ecx
test eax, eax
jne 0x10016010
mov ebx, dword [ebp - 0x221c]
mov dword [ebp - 0x2268], ecx
cmp dword [ebp + 0x10], 0
je 0x10016158
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10016158
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x2248]
jne 0x10016118
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x10016158
xor eax, eax
mov ecx, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x222c]
push edi
call fcn.10015b76
mov esi, eax
test esi, esi
js 0x1001619b
push edi
mov ecx, ebx
call fcn.10015a20
mov esi, eax
test esi, esi
js 0x1001619b
push 0x7d
pop eax
cmp word [edi], ax
jne 0x10015bf2
jmp 0x1001619b
mov ecx, eax
call fcn.10015a10
mov esi, eax
test ebx, ebx
je 0x1001619b
push ebx
jmp 0x1001618e
mov ecx, eax
call fcn.10015a10
cmp dword [ebp - 0x2254], 0
mov esi, eax
je 0x1001619b
push dword [ebp - 0x2254]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001619b
mov esi, 0x80020009
mov eax, dword [ebp - 0x222c]
test eax, eax
je 0x100161ac
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.10055284
mov esp, ebp
pop ebp
ret 0x10