Function at 0x10016d86
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.1003c230
push 0xffffffffffffffff
push 0x1006ef58
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x2220]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x5c], eax
jmp 0x1001723b
push 0x10074ae0
push edi
mov dword [ebp - 0x28], 1
call dword [sym.imp.kernel32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push 0x10074aac
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x10016e24
cmp esi, ebx
je 0x10016ec9
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
cmp dword [ebp + 0x221c], ebx
je 0x10016ec9
push 0x5c
push edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.10015d5f
pop ecx
pop ecx
test eax, eax
jne 0x10017253
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10015ef4
test eax, eax
je 0x10016e89
mov eax, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.10016196
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x14], ebx
je 0x10016ec1
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x10017262
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.100159e6
cmp esi, ebx
jl 0x100172a2
jmp 0x10017205
lea ecx, [ebp - 0x34]
call fcn.100159e6
push 0x10074ac8
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x10016eef
mov ecx, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x28], ebx
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
push 0x10074aa0
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x10016fdc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
cmp word [edi], 0x3d
jne 0x1001725b
cmp dword [ebp + 0x221c], ebx
je 0x10016f7d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.10016a7a
mov esi, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x4c]
cmp esi, ebx
jl 0x1001729d
mov byte [ebp - 4], bl
jmp 0x10017200
cmp dword [ebp + 0x2220], ebx
jne 0x10016fce
cmp dword [ebp - 0x28], ebx
je 0x10016fce
push 0x20006
push ebx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.10042f0f
cmp eax, ebx
jne 0x10017267
lea eax, [ebp]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x10016fc6
cmp eax, 2
jne 0x10017267
lea ecx, [ebp - 0x58]
call fcn.100159e6
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
jmp 0x10017241
push 0x5c
push edi
call fcn.10015d5f
pop ecx
pop ecx
test eax, eax
jne 0x1001725b
cmp dword [ebp + 0x221c], ebx
je 0x1001706e
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.10042f0f
test eax, eax
je 0x1001703c
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.10042f0f
test eax, eax
je 0x1001703c
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jne 0x10017273
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
cmp word [edi], 0x3d
jne 0x10017205
mov ecx, dword [ebp - 0x10]
push edi
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.10016a7a
mov esi, eax
jmp 0x10016eb4
cmp dword [ebp + 0x2220], ebx
jne 0x1001708c
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.10042f0f
mov dword [ebp - 0x14], eax
jmp 0x10017093
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], ebx
je 0x100170a2
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.10042f0f
push eax
call fcn.10001870
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
cmp word [edi], 0x7b
jne 0x1001712f
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x1001712f
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x24]
push edi
call fcn.10016d86
mov esi, eax
cmp esi, ebx
jge 0x1001711c
cmp dword [ebp + 0x2220], ebx
je 0x100172a2
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
cmp dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0x2220], eax
je 0x10017247
cmp dword [ebp - 0x14], ebx
je 0x1001715f
cmp eax, ebx
jne 0x10017247
push dword [ebp - 0x14]
call fcn.1001574c
pop ecx
mov esi, eax
jmp 0x100172a2
cmp eax, ebx
je 0x100171a6
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.10042f0f
test eax, eax
je 0x100171a6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.10015ef4
test eax, eax
je 0x10017247
cmp dword [ebp - 0x28], ebx
je 0x10017247
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.10016196
jmp 0x10017247
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.10042f0f
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x60], eax
call fcn.100159e6
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x10017284
cmp dword [ebp - 0x28], ebx
je 0x10017247
cmp dword [ebp - 0x60], ebx
jne 0x10017247
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.10015968
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp eax, ebx
jne 0x10017291
lea ecx, [ebp - 0x40]
call fcn.100159e6
cmp dword [ebp + 0x221c], ebx
je 0x10017247
cmp word [edi], 0x7b
jne 0x10017247
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x10017247
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp + 0x221c]
push dword [ebp - 0x24]
push edi
call fcn.10016d86
mov esi, eax
cmp esi, ebx
jl 0x100172a2
mov ecx, dword [ebp - 0x10]
push edi
call fcn.10042f0f
mov esi, eax
cmp esi, ebx
jl 0x100172a2
cmp word [edi], 0x7d
jne 0x10016df1
jmp 0x100172a2
lea ecx, [ebp - 0x34]
call fcn.100159e6
mov esi, 0x80020009
jmp 0x100172a2
lea ecx, [ebp - 0x34]
jmp 0x1001729d
push eax
call fcn.1001574c
pop ecx
lea ecx, [ebp - 0x58]
jmp 0x1001729b
lea ecx, [ebp - 0x24]
call fcn.100159e6
push esi
call fcn.1001574c
pop ecx
jmp 0x100172ac
lea ecx, [ebp - 0x24]
call fcn.100159e6
push dword [ebp - 0x14]
jmp 0x1001727c
push eax
call fcn.1001574c
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.100159e6
lea ecx, [ebp - 0x24]
call fcn.100159e6
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 + 0x2208]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x220c
leave
ret 0x10