Function at 0x100314b4
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.1003afc0
push 0xffffffffffffffff
push 0x1005032e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1006c144]
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 - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x2220]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], eax
call fcn.1002fd9c
mov esi, eax
cmp esi, ebx
jmp 0x10031961
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x28], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x10031556
test ebx, ebx
je 0x100315f0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002fd9c
mov esi, eax
test esi, esi
jl 0x100319bc
cmp dword [ebp + 0x221c], 0
je 0x100315f0
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.1002fd2c
pop ecx
pop ecx
test eax, eax
jne 0x1003196f
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002feaa
test eax, eax
je 0x100315b1
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.100302fc
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x100315e8
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002fd9c
mov esi, eax
test esi, esi
jl 0x1003197e
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002ff0b
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.1002f9f5
test esi, esi
jl 0x100319bc
jmp 0x1003191f
lea ecx, [ebp - 0x24]
call fcn.1002f9f5
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10031616
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.1002fd9c
mov esi, eax
test esi, esi
jl 0x100319bc
push 0x100575c8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100316fc
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.1002fd9c
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x100319bc
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002fd9c
mov esi, eax
cmp esi, ebx
jl 0x100319bc
cmp word [edi], 0x3d
jne 0x10031977
cmp dword [ebp + 0x221c], ebx
je 0x100316a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
call fcn.100311d0
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x40]
jl 0x100319b7
mov byte [ebp - 4], bl
jmp 0x1003191a
cmp dword [ebp + 0x2220], ebx
jne 0x100316ee
cmp dword [ebp - 0x28], ebx
je 0x100316ee
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.1002fa6a
cmp eax, ebx
jne 0x10031983
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100316e6
cmp eax, 2
jne 0x10031983
lea ecx, [ebp - 0x30]
call fcn.1002f9f5
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002ff0b
jmp 0x1003151d
push 0x5c
push edi
call fcn.1002fd2c
pop ecx
pop ecx
test eax, eax
jne 0x10031977
cmp dword [ebp + 0x221c], eax
je 0x10031791
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.1002fa6a
test eax, eax
je 0x1003175e
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.1002fa6a
test eax, eax
je 0x1003175e
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.1002fa10
mov esi, eax
cmp esi, ebx
jne 0x1003198f
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002fd9c
mov esi, eax
test esi, esi
jl 0x100319bc
cmp word [edi], 0x3d
jne 0x1003191f
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.100311d0
mov esi, eax
jmp 0x100315db
cmp dword [ebp + 0x2220], 0
jne 0x100317af
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.1002fa6a
mov ebx, eax
jmp 0x100317b2
push 2
pop ebx
test ebx, ebx
je 0x100317c0
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.1003c9b1
push eax
call fcn.1002f852
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.1002fd9c
mov esi, eax
test esi, esi
jl 0x100319bc
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002ff0b
mov esi, eax
test esi, esi
jl 0x100319bc
cmp word [edi], 0x7b
jne 0x1003184f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1003184f
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.100314b4
mov esi, eax
test esi, esi
jge 0x1003183c
cmp dword [ebp + 0x2220], 0
je 0x100319bc
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002fd9c
mov esi, eax
test esi, esi
jl 0x100319bc
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x2220], eax
cmp ebx, 2
je 0x10031963
test ebx, ebx
je 0x1003187b
test eax, eax
jne 0x10031963
push ebx
call fcn.1002f91a
pop ecx
mov esi, eax
jmp 0x100319bc
test eax, eax
je 0x100318c3
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.1002fed6
test eax, eax
je 0x100318c3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.1002feaa
test eax, eax
je 0x10031963
cmp dword [ebp - 0x28], 0
je 0x10031963
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100302fc
jmp 0x10031963
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.1002fed6
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.1002f9f5
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x100319a0
cmp dword [ebp - 0x28], eax
je 0x10031963
cmp dword [ebp - 0x48], eax
jne 0x10031963
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.1002f99a
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
test eax, eax
jne 0x100319ab
lea ecx, [ebp - 0x38]
call fcn.1002f9f5
cmp dword [ebp + 0x221c], 0
je 0x10031963
cmp word [edi], 0x7b
jne 0x10031963
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10031963
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x221c]
push dword [ebp - 0x1c]
push edi
call fcn.100314b4
mov esi, eax
test esi, esi
jl 0x100319bc
mov ecx, dword [ebp - 0x10]
push edi
call fcn.1002fd9c
mov esi, eax
test esi, esi
jl 0x100319bc
cmp word [edi], 0x7d
jne 0x10031526
jmp 0x100319bc
lea ecx, [ebp - 0x24]
call fcn.1002f9f5
mov esi, 0x80020009
jmp 0x100319bc
lea ecx, [ebp - 0x24]
jmp 0x100319b7
push eax
call fcn.1002f91a
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x100319b5
lea ecx, [ebp - 0x1c]
call fcn.1002f9f5
push esi
call fcn.1002f91a
pop ecx
jmp 0x100319c6
lea ecx, [ebp - 0x1c]
call fcn.1002f9f5
push ebx
jmp 0x10031998
push eax
call fcn.1002f91a
pop ecx
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.1002f9f5
lea ecx, [ebp - 0x1c]
call fcn.1002f9f5
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.1003a584
add ebp, 0x220c
leave
ret 0x10