Function at 0x1014609
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2224
call fcn.0101cfc0
mov eax, dword [0x1026080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x2218], 0
push ebx
push esi
mov dword [ebp - 0x2220], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2210], ecx
mov dword [ebp - 0x2224], eax
jmp 0x1014b00
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x100acc4
push edi
mov dword [ebp - 0x221c], 1
call esi
mov ebx, eax
neg ebx
push 0x100acec
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x101467f
test ebx, ebx
je 0x1014730
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001479
mov esi, eax
test esi, esi
jl 0x1014b74
cmp dword [ebp + 0x10], 0
je 0x1014730
and dword [ebp - 0x2214], 0
push 0x5c
push edi
call fcn.010015eb
test eax, eax
jne 0x1014b18
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.010016cc
test eax, eax
je 0x10146e5
mov eax, dword [ebp - 0x2220]
push edi
lea ecx, [ebp - 0x2214]
mov dword [ebp - 0x2214], eax
call fcn.010015b4
and dword [ebp - 0x2214], 0
test ebx, ebx
je 0x1014725
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001479
mov esi, eax
test esi, esi
jl 0x1014b2a
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001055
lea ecx, [ebp - 0x2214]
mov esi, eax
call fcn.01001703
test esi, esi
jl 0x1014b74
jmp 0x1014ac5
lea ecx, [ebp - 0x2214]
call fcn.01001703
push 0x100acd4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x101475c
mov ecx, dword [ebp - 0x2210]
and dword [ebp - 0x221c], eax
push edi
call fcn.01001479
mov esi, eax
test esi, esi
jl 0x1014b74
push 0x100ad08
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1014865
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x220c]
push eax
call fcn.01001479
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1014b74
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001479
mov esi, eax
cmp esi, ebx
jl 0x1014b74
cmp word [edi], 0x3d
jne 0x1014b23
cmp dword [ebp + 0x10], ebx
je 0x10147f3
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
mov dword [ebp - 0x221c], eax
push edi
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x221c]
push eax
call fcn.0100124e
lea ecx, [ebp - 0x221c]
mov esi, eax
mov dword [ebp - 0x221c], ebx
call fcn.01001703
cmp esi, ebx
jmp 0x101471a
cmp dword [ebp + 0x14], ebx
jne 0x1014850
cmp dword [ebp - 0x221c], ebx
je 0x1014850
push 0x20006
push ebx
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2214]
mov dword [ebp - 0x2214], ebx
call fcn.010013bb
cmp eax, ebx
jne 0x1014b32
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x2214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1014845
cmp eax, 2
jne 0x1014b32
lea ecx, [ebp - 0x2214]
call fcn.01001703
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001055
mov esi, eax
cmp esi, ebx
jmp 0x1014b0a
push 0x5c
push edi
call fcn.010015eb
test eax, eax
jne 0x1014b23
cmp dword [ebp + 0x10], eax
je 0x1014914
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2218]
call fcn.010013bb
test eax, eax
je 0x10148d8
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2218]
call fcn.010013bb
test eax, eax
je 0x10148d8
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2218]
call fcn.01001497
mov esi, eax
cmp esi, ebx
jne 0x1014b40
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001479
mov esi, eax
test esi, esi
jl 0x1014b74
cmp word [edi], 0x3d
jne 0x1014ac5
mov ecx, dword [ebp - 0x2210]
push edi
push 0
lea eax, [ebp - 0x2218]
push eax
call fcn.0100124e
mov esi, eax
jmp 0x1014718
cmp dword [ebp + 0x14], 0
jne 0x1014935
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2218]
call fcn.010013bb
mov ebx, eax
jmp 0x1014938
push 2
pop ebx
test ebx, ebx
je 0x1014943
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
push eax
call fcn.01001889
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001479
mov esi, eax
test esi, esi
jl 0x1014b74
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001055
mov esi, eax
test esi, esi
jl 0x1014b74
cmp word [edi], 0x7b
jne 0x10149db
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10149db
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x2218]
push edi
call fcn.01001456
mov esi, eax
test esi, esi
jge 0x10149c5
cmp dword [ebp + 0x14], 0
je 0x1014b74
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001479
mov esi, eax
test esi, esi
jl 0x1014b74
cmp ebx, 2
mov eax, dword [ebp - 0x2224]
mov dword [ebp + 0x14], eax
je 0x1014b0c
test ebx, ebx
je 0x1014a06
test eax, eax
jne 0x1014b0c
push ebx
call fcn.010017bc
mov esi, eax
jmp 0x1014b74
test eax, eax
je 0x1014a5d
push dword [ebp - 0x2218]
mov ecx, dword [ebp - 0x2210]
call fcn.01001389
test eax, eax
je 0x1014a5d
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x20c]
push eax
call fcn.010016cc
test eax, eax
je 0x1014b0c
cmp dword [ebp - 0x221c], 0
je 0x1014b0c
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2218]
call fcn.010015b4
jmp 0x1014b0c
push dword [ebp - 0x2218]
mov ecx, dword [ebp - 0x2210]
call fcn.01001389
lea ecx, [ebp - 0x2218]
mov dword [ebp - 0x2214], eax
call fcn.01001703
mov ebx, eax
test ebx, ebx
jne 0x1014b53
cmp dword [ebp - 0x221c], eax
je 0x1014b0c
cmp dword [ebp - 0x2214], eax
jne 0x1014b0c
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
and dword [ebp - 0x221c], ebx
test eax, eax
jne 0x1014b61
lea ecx, [ebp - 0x221c]
call fcn.01001703
cmp dword [ebp + 0x10], 0
je 0x1014b0c
cmp word [edi], 0x7b
jne 0x1014b0c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1014b0c
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2218]
push edi
call fcn.01001456
mov esi, eax
test esi, esi
jl 0x1014b74
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01001479
mov esi, eax
test esi, esi
jl 0x1014b74
cmp word [edi], 0x7d
jne 0x101464c
jmp 0x1014b74
lea ecx, [ebp - 0x2214]
call fcn.01001703
mov esi, 0x80020009
jmp 0x1014b74
lea ecx, [ebp - 0x2214]
jmp 0x1014b6f
push eax
call fcn.010017bc
lea ecx, [ebp - 0x2214]
jmp 0x1014b6d
lea ecx, [ebp - 0x2218]
call fcn.01001703
push esi
call fcn.010017bc
jmp 0x1014b81
lea ecx, [ebp - 0x2218]
call fcn.01001703
push ebx
jmp 0x1014b4c
push eax
call fcn.010017bc
lea ecx, [ebp - 0x221c]
mov esi, eax
call fcn.01001703
lea ecx, [ebp - 0x2218]
call fcn.01001703
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101cfa4
leave
ret 0x10