Function at 0x10003174
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010fe5
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.10006a70
mov eax, dword [0x100174a0]
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 - 0x2224], eax
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x225c], eax
jmp 0x10003716
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10003216
cmp esi, ebx
je 0x100032ee
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003792
cmp dword [ebp + 0x10], ebx
je 0x100032ee
push 0x5c
push edi
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.1000168a
pop ecx
pop ecx
test eax, eax
jne 0x1000372e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10001815
test eax, eax
je 0x1000329f
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.10001b17
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp dword [ebp - 0x2220], ebx
je 0x100032e3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003740
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10001879
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.1000136e
cmp esi, ebx
jl 0x10003792
jmp 0x100036d9
lea ecx, [ebp - 0x223c]
call fcn.1000136e
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000331a
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], ebx
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003792
push 0x10012300
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10003449
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003792
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003792
cmp word [edi], 0x3d
jne 0x10003739
cmp dword [ebp + 0x10], ebx
je 0x100033cf
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x224c], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x224c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
call fcn.10002e2b
mov esi, eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
lea ecx, [ebp - 0x224c]
cmp esi, ebx
jl 0x1000378d
mov byte [ebp - 4], bl
jmp 0x100036d4
cmp dword [ebp + 0x14], ebx
jne 0x10003438
cmp dword [ebp - 0x2240], ebx
je 0x10003438
push 0x20006
push ebx
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2258]
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
call fcn.100013e5
cmp eax, ebx
jne 0x10003748
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2258]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1000342d
cmp eax, 2
jne 0x10003748
lea ecx, [ebp - 0x2258]
call fcn.1000136e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10001879
jmp 0x1000371c
push 0x5c
push edi
call fcn.1000168a
pop ecx
pop ecx
test eax, eax
jne 0x10003739
cmp dword [ebp + 0x10], ebx
je 0x100034f7
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.100013e5
test eax, eax
je 0x100034bc
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.100013e5
test eax, eax
je 0x100034bc
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.10001389
mov esi, eax
cmp esi, ebx
jne 0x10003757
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003792
cmp word [edi], 0x3d
jne 0x100036d9
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x2230]
push eax
call fcn.10002e2b
mov esi, eax
jmp 0x100032d6
cmp dword [ebp + 0x14], ebx
jne 0x1000351b
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.100013e5
mov dword [ebp - 0x2220], eax
jmp 0x10003525
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x10003534
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10006896
push eax
call fcn.10001110
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003792
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10001879
mov esi, eax
cmp esi, ebx
jl 0x10003792
cmp word [edi], 0x7b
jne 0x100035ca
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100035ca
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x2230]
push edi
call fcn.10003174
mov esi, eax
cmp esi, ebx
jge 0x100035b4
cmp dword [ebp + 0x14], ebx
je 0x10003792
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003792
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x225c]
mov dword [ebp + 0x14], eax
je 0x10003722
cmp dword [ebp - 0x2220], ebx
je 0x10003603
cmp eax, ebx
jne 0x10003722
push dword [ebp - 0x2220]
call fcn.100011c1
pop ecx
mov esi, eax
jmp 0x10003792
cmp eax, ebx
je 0x10003659
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.10001844
test eax, eax
je 0x10003659
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.10001815
test eax, eax
je 0x10003722
cmp dword [ebp - 0x2240], ebx
je 0x10003722
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.10001b17
jmp 0x10003722
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.10001844
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2260], eax
call fcn.1000136e
mov dword [ebp - 0x2220], eax
cmp eax, ebx
jne 0x1000376b
cmp dword [ebp - 0x2240], ebx
je 0x10003722
cmp dword [ebp - 0x2260], ebx
jne 0x10003722
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2224]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x226c], ebx
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
cmp eax, ebx
jne 0x1000377e
lea ecx, [ebp - 0x226c]
call fcn.1000136e
cmp dword [ebp + 0x10], ebx
je 0x10003722
cmp word [edi], 0x7b
jne 0x10003722
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10003722
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.10003174
mov esi, eax
cmp esi, ebx
jl 0x10003792
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100016ff
mov esi, eax
cmp esi, ebx
jl 0x10003792
cmp word [edi], 0x7d
jne 0x100031dd
jmp 0x10003792
lea ecx, [ebp - 0x223c]
call fcn.1000136e
mov esi, 0x80020009
jmp 0x10003792
lea ecx, [ebp - 0x223c]
jmp 0x1000378d
push eax
call fcn.100011c1
pop ecx
lea ecx, [ebp - 0x2258]
jmp 0x1000378b
lea ecx, [ebp - 0x2230]
call fcn.1000136e
push esi
call fcn.100011c1
pop ecx
jmp 0x1000379f
lea ecx, [ebp - 0x2230]
call fcn.1000136e
push dword [ebp - 0x2220]
jmp 0x10003763
push eax
call fcn.100011c1
pop ecx
lea ecx, [ebp - 0x226c]
mov esi, eax
call fcn.1000136e
lea ecx, [ebp - 0x2230]
call fcn.1000136e
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.10006a5a
leave
ret 0x10