Function at 0x1001aaf7
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.10039d10
push 0xffffffffffffffff
push 0x100572b8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10080f6c]
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 0x1001afac
push 0x1005f0c0
push edi
mov dword [ebp - 0x28], 1
call dword [sym.imp.kernel32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push 0x1005f08c
inc esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
je 0x1001ab95
cmp esi, ebx
je 0x1001ac3a
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
cmp dword [ebp + 0x221c], ebx
je 0x1001ac3a
push 0x5c
push edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.10016f20
pop ecx
pop ecx
test eax, eax
jne 0x1001afc4
mov ecx, dword [ebp - 0x10]
push edi
call fcn.100170a6
test eax, eax
je 0x1001abfa
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.1001a125
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x14], ebx
je 0x1001ac32
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001afd3
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.10016b3c
cmp esi, ebx
jl 0x1001b013
jmp 0x1001af76
lea ecx, [ebp - 0x34]
call fcn.10016b3c
push 0x1005f0a8
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x1001ac60
mov ecx, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x28], ebx
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
push 0x1005f080
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiW]
test eax, eax
jne 0x1001ad4d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
cmp word [edi], 0x3d
jne 0x1001afcc
cmp dword [ebp + 0x221c], ebx
je 0x1001acee
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.1001a7eb
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 0x1001b00e
mov byte [ebp - 4], bl
jmp 0x1001af71
cmp dword [ebp + 0x2220], ebx
jne 0x1001ad3f
cmp dword [ebp - 0x28], ebx
je 0x1001ad3f
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.1002b477
cmp eax, ebx
jne 0x1001afd8
lea eax, [ebp]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1001ad37
cmp eax, 2
jne 0x1001afd8
lea ecx, [ebp - 0x58]
call fcn.10016b3c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
jmp 0x1001afb2
push 0x5c
push edi
call fcn.10016f20
pop ecx
pop ecx
test eax, eax
jne 0x1001afcc
cmp dword [ebp + 0x221c], ebx
je 0x1001addf
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.1002b477
test eax, eax
je 0x1001adad
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.1002b477
test eax, eax
je 0x1001adad
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jne 0x1001afe4
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
cmp word [edi], 0x3d
jne 0x1001af76
mov ecx, dword [ebp - 0x10]
push edi
push ebx
lea eax, [ebp - 0x24]
push eax
call fcn.1001a7eb
mov esi, eax
jmp 0x1001ac25
cmp dword [ebp + 0x2220], ebx
jne 0x1001adfd
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.1002b477
mov dword [ebp - 0x14], eax
jmp 0x1001ae04
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], ebx
je 0x1001ae13
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.1002b477
push eax
call fcn.10007e6c
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
cmp word [edi], 0x7b
jne 0x1001aea0
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x1001aea0
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp - 0x24]
push edi
call fcn.1001aaf7
mov esi, eax
cmp esi, ebx
jge 0x1001ae8d
cmp dword [ebp + 0x2220], ebx
je 0x1001b013
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
cmp dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0x2220], eax
je 0x1001afb8
cmp dword [ebp - 0x14], ebx
je 0x1001aed0
cmp eax, ebx
jne 0x1001afb8
push dword [ebp - 0x14]
call fcn.10016932
pop ecx
mov esi, eax
jmp 0x1001b013
cmp eax, ebx
je 0x1001af17
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.1002b477
test eax, eax
je 0x1001af17
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.100170a6
test eax, eax
je 0x1001afb8
cmp dword [ebp - 0x28], ebx
je 0x1001afb8
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.1001a125
jmp 0x1001afb8
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
call fcn.1002b477
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x60], eax
call fcn.10016b3c
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x1001aff5
cmp dword [ebp - 0x28], ebx
je 0x1001afb8
cmp dword [ebp - 0x60], ebx
jne 0x1001afb8
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.10016acd
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp eax, ebx
jne 0x1001b002
lea ecx, [ebp - 0x40]
call fcn.10016b3c
cmp dword [ebp + 0x221c], ebx
je 0x1001afb8
cmp word [edi], 0x7b
jne 0x1001afb8
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 1
jne 0x1001afb8
mov ecx, dword [ebp - 0x10]
push ebx
push dword [ebp + 0x221c]
push dword [ebp - 0x24]
push edi
call fcn.1001aaf7
mov esi, eax
cmp esi, ebx
jl 0x1001b013
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002b477
mov esi, eax
cmp esi, ebx
jl 0x1001b013
cmp word [edi], 0x7d
jne 0x1001ab62
jmp 0x1001b013
lea ecx, [ebp - 0x34]
call fcn.10016b3c
mov esi, 0x80020009
jmp 0x1001b013
lea ecx, [ebp - 0x34]
jmp 0x1001b00e
push eax
call fcn.10016932
pop ecx
lea ecx, [ebp - 0x58]
jmp 0x1001b00c
lea ecx, [ebp - 0x24]
call fcn.10016b3c
push esi
call fcn.10016932
pop ecx
jmp 0x1001b01d
lea ecx, [ebp - 0x24]
call fcn.10016b3c
push dword [ebp - 0x14]
jmp 0x1001afed
push eax
call fcn.10016932
pop ecx
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.10016b3c
lea ecx, [ebp - 0x24]
call fcn.10016b3c
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.10039bc2
add ebp, 0x220c
leave
ret 0x10