Function at 0x10018aa1
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020bcd
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.1001db70
mov eax, dword [0x10035280]
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 - 0x222c], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190d5
push 0x7d
pop eax
cmp word [edi], ax
je 0x100190c4
push 0x10026ab4
push edi
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x10026a88
mov esi, eax
push edi
mov dword [ebp - 0x2230], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10018b54
test esi, esi
jne 0x10018c19
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190c4
cmp dword [ebp + 0x10], 0
je 0x10018c19
and dword [ebp - 0x2244], 0
and dword [ebp - 0x223c], 0
push 0x5c
push edi
call fcn.1001943b
pop ecx
pop ecx
test eax, eax
jne 0x100190bf
mov esi, dword [ebp - 0x221c]
mov ecx, esi
push edi
call fcn.100159b0
test eax, eax
je 0x10018bd3
mov eax, dword [ebp - 0x222c]
lea ecx, [ebp - 0x2244]
and dword [ebp - 0x2240], 0
push edi
mov dword [ebp - 0x2244], eax
call fcn.1001858a
and dword [ebp - 0x2244], 0
and dword [ebp - 0x223c], 0
cmp dword [ebp - 0x2230], 0
jne 0x10018c10
push edi
mov ecx, esi
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190c4
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100193a6
mov esi, eax
test esi, esi
js 0x100190c4
and dword [ebp - 0x2240], 0
jmp 0x10018e49
and dword [ebp - 0x2240], 0
jmp 0x10018c1f
mov esi, dword [ebp - 0x221c]
push 0x10026aa0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10018c47
and dword [ebp - 0x2234], eax
mov ecx, esi
push edi
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190c4
push 0x10026a80
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10018d9e
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190c4
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190c4
push 0x3d
pop eax
cmp word [edi], ax
jne 0x100190bf
cmp dword [ebp + 0x10], 0
je 0x10018d03
mov eax, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
and dword [ebp - 0x2258], 0
and dword [ebp - 0x2254], 0
mov dword [ebp - 0x225c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x225c]
mov byte [ebp - 4], 1
push eax
call fcn.10015218
mov esi, eax
xor eax, eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
test esi, esi
js 0x100190c4
mov byte [ebp - 4], al
mov dword [ebp - 0x2258], eax
jmp 0x10018e49
cmp dword [ebp + 0x14], 0
jne 0x10018d7d
cmp dword [ebp - 0x2234], 0
je 0x10018d7d
xor esi, esi
lea ecx, [ebp - 0x2250]
push 0x20006
push esi
push dword [ebp - 0x222c]
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2248], esi
call fcn.10017fb5
test eax, eax
jne 0x1001909a
mov ebx, dword [ebp - 0x2250]
lea eax, [ebp - 0x2218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10018d66
cmp eax, 2
jne 0x10019084
test ebx, ebx
je 0x10018d77
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x224c], esi
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100193a6
mov ebx, dword [ebp - 0x2228]
mov esi, eax
test esi, esi
js 0x100190ca
jmp 0x10018f8a
push 0x5c
push edi
call fcn.1001943b
pop ecx
pop ecx
test eax, eax
jne 0x100190bf
cmp dword [ebp + 0x10], eax
je 0x10018e91
mov ebx, dword [ebp - 0x222c]
lea ecx, [ebp - 0x2228]
mov esi, 0x2001f
push esi
push edi
push ebx
call fcn.10017fb5
test eax, eax
je 0x10018e08
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2228]
call fcn.10017fb5
test eax, eax
je 0x10018e08
xor eax, eax
lea ecx, [ebp - 0x2228]
push eax
push eax
push esi
push eax
push eax
push edi
push ebx
call fcn.10015abe
test eax, eax
jne 0x100190b4
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190c4
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10018e43
push edi
push 0
lea eax, [ebp - 0x2228]
mov ecx, ebx
push eax
call fcn.10015218
mov esi, eax
test esi, esi
js 0x100190c4
mov ebx, dword [ebp - 0x2228]
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10018f84
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
cmp eax, 1
jne 0x10018f84
push 0
push dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.10018aa1
mov esi, eax
test esi, esi
js 0x100190c4
push edi
mov ecx, ebx
call fcn.10017e8a
jmp 0x10018d89
cmp dword [ebp + 0x14], 0
jne 0x10018eb6
push 0x20019
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2228]
call fcn.10017fb5
mov ebx, dword [ebp - 0x2228]
jmp 0x10018eb9
push 2
pop eax
xor ecx, ecx
mov dword [ebp - 0x2230], eax
push 0xffffffffffffffff
inc ecx
test eax, eax
push edi
cmove ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 0x2238], ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
push eax
call fcn.10002bc1
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190c4
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100193a6
mov esi, eax
test esi, esi
js 0x100190c4
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10018f6b
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
cmp eax, 1
jne 0x10018f6b
push dword [ebp - 0x2238]
mov ecx, dword [ebp - 0x221c]
push 0
push ebx
push edi
call fcn.10018aa1
mov esi, eax
test esi, esi
jns 0x10018f55
cmp dword [ebp - 0x2238], 0
je 0x100190c4
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10017e8a
mov esi, eax
test esi, esi
js 0x100190c4
mov eax, dword [ebp - 0x2230]
cmp eax, 2
je 0x10018f84
test eax, eax
je 0x10018fa1
cmp dword [ebp + 0x14], 0
je 0x100190b4
mov ebx, dword [ebp - 0x2228]
push 0x7d
pop eax
cmp word [edi], ax
je 0x100190ca
mov ebx, dword [ebp - 0x2228]
jmp 0x10018b1e
cmp dword [ebp + 0x14], 0
je 0x10018fea
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.10016744
test eax, eax
je 0x10018fea
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.100159b0
test eax, eax
je 0x10018f84
cmp dword [ebp - 0x2234], 0
je 0x10018f84
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.1001858a
jmp 0x10018f84
mov ecx, dword [ebp - 0x221c]
push ebx
call fcn.10016744
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2230], ecx
test ebx, ebx
je 0x1001901b
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2230]
xor ebx, ebx
mov dword [ebp - 0x2228], ebx
jmp 0x10019021
mov ebx, dword [ebp - 0x2228]
and dword [ebp - 0x2224], 0
test eax, eax
jne 0x10019079
cmp dword [ebp - 0x2234], eax
je 0x10018f8a
test ecx, ecx
jne 0x10018f8a
mov eax, dword [ebp - 0x222c]
and dword [ebp - 0x2264], ecx
and dword [ebp - 0x2260], ecx
lea ecx, [ebp - 0x2268]
mov dword [ebp - 0x2268], eax
lea eax, [ebp - 0x218]
push eax
call fcn.10015dce
and dword [ebp - 0x2268], 0
test eax, eax
je 0x10018f8a
push eax
call fcn.10015871
pop ecx
mov esi, eax
jmp 0x100190ca
push eax
call fcn.10015871
mov esi, eax
pop ecx
test ebx, ebx
je 0x100190c4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100190c4
push eax
call fcn.10015871
cmp dword [ebp - 0x2250], 0
mov esi, eax
pop ecx
je 0x100190c4
push dword [ebp - 0x2250]
jmp 0x10019092
push eax
call fcn.10015871
pop ecx
mov esi, eax
jmp 0x100190c4
mov esi, 0x80020009
mov ebx, dword [ebp - 0x2228]
test ebx, ebx
je 0x100190d5
push ebx
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.1001d1a5
leave
ret 0x10