Function at 0x1017c2d
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ce42
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.0101bc80
mov eax, dword [0x1030118]
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, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2224], ebx
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2264], eax
call fcn.0101600f
mov esi, eax
cmp esi, ebx
jmp 0x10181aa
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001818
push edi
mov dword [ebp - 0x2230], 1
call esi
mov ebx, eax
neg ebx
push 0x100183c
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1017cd5
test ebx, ebx
je 0x1017d92
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0101600f
mov esi, eax
test esi, esi
jl 0x1018214
cmp dword [ebp + 0x10], 0
je 0x1017d92
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
call fcn.01015f83
test eax, eax
jne 0x10181b8
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.01016124
test eax, eax
je 0x1017d47
mov eax, dword [ebp - 0x2220]
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], eax
call fcn.010164f8
mov dword [ebp - 0x223c], esi
cmp ebx, esi
je 0x1017d87
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0101600f
mov esi, eax
test esi, esi
jl 0x10181ca
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.01016196
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.01015be7
test esi, esi
jl 0x1018214
jmp 0x1018165
lea ecx, [ebp - 0x223c]
call fcn.01015be7
push 0x1001828
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1017dbe
mov ecx, dword [ebp - 0x221c]
and dword [ebp - 0x2230], eax
push edi
call fcn.0101600f
mov esi, eax
test esi, esi
jl 0x1018214
push 0x1001854
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1017ee3
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.0101600f
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1018214
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0101600f
mov esi, eax
cmp esi, ebx
jl 0x1018214
cmp word [edi], 0x3d
jne 0x10181c3
cmp dword [ebp + 0x10], ebx
je 0x1017e69
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2254], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2254]
push eax
mov byte [ebp - 4], 1
call fcn.010178da
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2254], ebx
lea ecx, [ebp - 0x2254]
jl 0x101820f
mov byte [ebp - 4], bl
jmp 0x1018160
cmp dword [ebp + 0x14], ebx
jne 0x1017ed2
cmp dword [ebp - 0x2230], ebx
je 0x1017ed2
push 0x20006
push ebx
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2248]
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
call fcn.01015c5a
cmp eax, ebx
jne 0x10181d2
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2248]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1017ec7
cmp eax, 2
jne 0x10181d2
lea ecx, [ebp - 0x2248]
call fcn.01015be7
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.01016196
jmp 0x1017c99
push 0x5c
push edi
call fcn.01015f83
test eax, eax
jne 0x10181c3
cmp dword [ebp + 0x10], eax
je 0x1017f92
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.01015c5a
test eax, eax
je 0x1017f56
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.01015c5a
test eax, eax
je 0x1017f56
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.01015c05
mov esi, eax
cmp esi, ebx
jne 0x10181e0
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0101600f
mov esi, eax
test esi, esi
jl 0x1018214
cmp word [edi], 0x3d
jne 0x1018165
mov ecx, dword [ebp - 0x221c]
push edi
push 0
lea eax, [ebp - 0x222c]
push eax
call fcn.010178da
mov esi, eax
jmp 0x1017d7a
cmp dword [ebp + 0x14], 0
jne 0x1017fb3
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.01015c5a
mov ebx, eax
jmp 0x1017fb6
push 2
pop ebx
test ebx, ebx
je 0x1017fc1
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
push eax
call fcn.0101536b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0101600f
mov esi, eax
test esi, esi
jl 0x1018214
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.01016196
mov esi, eax
test esi, esi
jl 0x1018214
cmp word [edi], 0x7b
jne 0x1018059
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1018059
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x222c]
push edi
call fcn.01017c2d
mov esi, eax
test esi, esi
jge 0x1018043
cmp dword [ebp + 0x14], 0
je 0x1018214
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0101600f
mov esi, eax
test esi, esi
jl 0x1018214
mov eax, dword [ebp - 0x2264]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x10181ac
test ebx, ebx
je 0x1018084
test eax, eax
jne 0x10181ac
push ebx
call fcn.010156d9
mov esi, eax
jmp 0x1018214
test eax, eax
je 0x10180db
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.0101615a
test eax, eax
je 0x10180db
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.01016124
test eax, eax
je 0x10181ac
cmp dword [ebp - 0x2230], 0
je 0x10181ac
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.010164f8
jmp 0x10181ac
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.0101615a
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x2268], eax
call fcn.01015be7
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x10181f3
cmp dword [ebp - 0x2230], eax
je 0x10181ac
cmp dword [ebp - 0x2268], eax
jne 0x10181ac
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2260], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2260]
call fcn.01015b61
and dword [ebp - 0x2260], 0
test eax, eax
jne 0x1018201
lea ecx, [ebp - 0x2260]
call fcn.01015be7
cmp dword [ebp + 0x10], 0
je 0x10181ac
cmp word [edi], 0x7b
jne 0x10181ac
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10181ac
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x222c]
push edi
call fcn.01017c2d
mov esi, eax
test esi, esi
jl 0x1018214
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0101600f
mov esi, eax
test esi, esi
jl 0x1018214
cmp word [edi], 0x7d
jne 0x1017ca2
jmp 0x1018214
lea ecx, [ebp - 0x223c]
call fcn.01015be7
mov esi, 0x80020009
jmp 0x1018214
lea ecx, [ebp - 0x223c]
jmp 0x101820f
push eax
call fcn.010156d9
lea ecx, [ebp - 0x2248]
jmp 0x101820d
lea ecx, [ebp - 0x222c]
call fcn.01015be7
push esi
call fcn.010156d9
jmp 0x1018221
lea ecx, [ebp - 0x222c]
call fcn.01015be7
push ebx
jmp 0x10181ec
push eax
call fcn.010156d9
lea ecx, [ebp - 0x2260]
mov esi, eax
call fcn.01015be7
lea ecx, [ebp - 0x222c]
call fcn.01015be7
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.0101bc5d
leave
ret 0x10