Function at 0x10020923
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068bbc
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.10049a7e
mov eax, dword [0x1001c40c]
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 - 0x222c], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], ecx
xor ecx, ecx
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x226c], ecx
mov ecx, eax
jmp 0x10020e9e
push 0x1000339c
push edi
mov dword [ebp - 0x2240], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x10003318
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100209c3
test ebx, ebx
je 0x10020a97
mov ecx, dword [ebp - 0x222c]
push edi
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020ed0
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x10020a99
push 0x5c
push edi
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
call fcn.10020fed
test eax, eax
jne 0x10020ec0
mov ecx, dword [ebp - 0x222c]
push edi
call fcn.100208bf
test eax, eax
je 0x10020a4c
mov eax, dword [ebp - 0x221c]
push edi
lea ecx, [ebp - 0x2238]
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
call fcn.1001fce6
mov dword [ebp - 0x2238], esi
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
test ebx, ebx
je 0x10020a8a
mov ebx, dword [ebp - 0x222c]
push edi
mov ecx, ebx
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020eb8
push edi
mov ecx, ebx
call fcn.10020f68
lea ecx, [ebp - 0x2238]
mov esi, eax
call fcn.1001fc53
test esi, esi
js 0x10020ed0
jmp 0x10020e69
lea ecx, [ebp - 0x2238]
call fcn.1001fc53
jmp 0x10020a99
xor esi, esi
push 0x10003388
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x222c]
test eax, eax
jne 0x10020ac7
push edi
mov ecx, ebx
mov dword [ebp - 0x2240], esi
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020ed0
push 0x10003310
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10020bf1
lea eax, [ebp - 0x2218]
push eax
mov ecx, ebx
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020ed0
push edi
mov ecx, ebx
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020ed0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10020ecb
cmp dword [ebp + 0x10], 0
je 0x10020b77
mov eax, dword [ebp - 0x221c]
and dword [ebp - 0x2248], 0
and dword [ebp - 0x2244], 0
mov dword [ebp - 0x224c], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x224c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.1002052f
mov esi, eax
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
lea ecx, [ebp - 0x224c]
test esi, esi
js 0x10020f07
mov byte [ebp - 4], al
jmp 0x10020e64
cmp dword [ebp + 0x14], 0
jne 0x10020be4
cmp dword [ebp - 0x2240], 0
je 0x10020be4
xor eax, eax
push 0x20006
push eax
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2264]
mov dword [ebp - 0x2264], eax
mov dword [ebp - 0x2260], eax
mov dword [ebp - 0x225c], eax
call fcn.1001fbfe
test eax, eax
jne 0x10020ef9
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2264]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x10020bd9
cmp eax, 2
jne 0x10020ef9
lea ecx, [ebp - 0x2264]
call fcn.1001fc53
push edi
mov ecx, ebx
call fcn.10020f68
jmp 0x10020ea4
push 0x5c
push edi
call fcn.10020fed
test eax, eax
jne 0x10020ecb
cmp dword [ebp + 0x10], eax
je 0x10020c94
mov esi, dword [ebp - 0x221c]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.1001fbfe
test eax, eax
je 0x10020c5e
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.1001fbfe
test eax, eax
je 0x10020c5e
xor eax, eax
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
lea ecx, [ebp - 0x2228]
call fcn.1001fb8f
mov esi, eax
test esi, esi
jne 0x10020f0e
push edi
mov ecx, ebx
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020ed0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x10020e69
push edi
push 0
lea eax, [ebp - 0x2228]
push eax
mov ecx, ebx
call fcn.1002052f
mov esi, eax
jmp 0x10020a7d
cmp dword [ebp + 0x14], 0
jne 0x10020cb3
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2228]
call fcn.1001fbfe
jmp 0x10020cb6
push 2
pop eax
mov dword [ebp - 0x223c], eax
test eax, eax
je 0x10020cc7
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
push eax
call fcn.1001f419
push edi
mov ecx, ebx
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020ed0
push edi
mov ecx, ebx
call fcn.10020f68
mov esi, eax
test esi, esi
js 0x10020ed0
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10020d52
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10020d52
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x2228]
push edi
call fcn.10020923
mov esi, eax
test esi, esi
jns 0x10020d40
cmp dword [ebp + 0x14], 0
je 0x10020ed0
push edi
mov ecx, ebx
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020ed0
mov eax, dword [ebp - 0x223c]
mov ecx, dword [ebp - 0x226c]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x10020eaa
test eax, eax
je 0x10020d83
test ecx, ecx
jne 0x10020eaa
push eax
call fcn.1001f493
mov esi, eax
jmp 0x10020ed0
test ecx, ecx
je 0x10020dd2
push dword [ebp - 0x2228]
mov ecx, ebx
call fcn.100208ee
test eax, eax
je 0x10020dd2
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.100208bf
test eax, eax
je 0x10020eaa
cmp dword [ebp - 0x2240], 0
je 0x10020eaa
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.1001fce6
jmp 0x10020eaa
push dword [ebp - 0x2228]
mov ecx, ebx
call fcn.100208ee
lea ecx, [ebp - 0x2228]
mov dword [ebp - 0x223c], eax
call fcn.1001fc53
mov dword [ebp - 0x2268], eax
test eax, eax
jne 0x10020f2f
cmp dword [ebp - 0x2240], eax
je 0x10020eaa
cmp dword [ebp - 0x223c], eax
jne 0x10020eaa
mov eax, dword [ebp - 0x221c]
and dword [ebp - 0x2254], 0
and dword [ebp - 0x2250], 0
mov dword [ebp - 0x2258], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2258]
call fcn.1001fc6d
xor ecx, ecx
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
test eax, eax
jne 0x10020f21
lea ecx, [ebp - 0x2258]
call fcn.1001fc53
cmp dword [ebp + 0x10], 0
je 0x10020eaa
push 0x7b
pop eax
cmp word [edi], ax
jne 0x10020eaa
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10020eaa
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2228]
push edi
call fcn.10020923
mov esi, eax
test esi, esi
js 0x10020ed0
mov ecx, ebx
push edi
call fcn.100203f6
mov esi, eax
test esi, esi
js 0x10020ed0
push 0x7d
pop eax
cmp word [edi], ax
jne 0x10020990
jmp 0x10020ed0
lea ecx, [ebp - 0x2238]
jmp 0x10020f07
lea ecx, [ebp - 0x2238]
call fcn.1001fc53
mov esi, 0x80020009
lea ecx, [ebp - 0x2228]
call fcn.1001fc53
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.10048c09
leave
ret 0x10
push eax
call fcn.1001f493
lea ecx, [ebp - 0x2264]
mov esi, eax
call fcn.1001fc53
jmp 0x10020ed0
lea ecx, [ebp - 0x2228]
call fcn.1001fc53
push esi
call fcn.1001f493
jmp 0x10020edd
push eax
call fcn.1001f493
lea ecx, [ebp - 0x2258]
jmp 0x10020f05
lea ecx, [ebp - 0x2228]
call fcn.1001fc53
push dword [ebp - 0x2268]
jmp 0x10020f1a