Function at 0x10062124
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d89e6
mov eax, dword fs:[0]
push eax
mov eax, 0x2248
call fcn.100a0380
mov eax, dword [0x1024a460]
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 - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2254], eax
push edi
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jge 0x100625c6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x222c]
call fcn.1005df97
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.100997fa
leave
ret 0x10
push str.Delete
push edi
mov dword [ebp - 0x2238], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
neg esi
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 0x100621fa
cmp esi, ebx
je 0x100622c1
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jl 0x10062192
cmp dword [ebp + 0x10], ebx
je 0x100622c1
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
mov byte [ebp - 4], 1
push 0x5c
push edi
call fcn.1005e31f
pop ecx
pop ecx
test eax, eax
jne 0x10062706
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e4b4
test eax, eax
je 0x10062271
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x2234]
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], ebx
call fcn.1005ea25
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
cmp dword [ebp - 0x2220], ebx
je 0x100622b3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jl 0x1006271e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e518
mov esi, eax
cmp esi, ebx
jl 0x1006271e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
jmp 0x100626b3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
call fcn.1005df97
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100622ed
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2238], ebx
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jl 0x10062192
push 0x101f678c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1006241d
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jl 0x10062192
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jl 0x10062192
cmp word [edi], 0x3d
jne 0x10062714
cmp dword [ebp + 0x10], ebx
je 0x100623a2
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2248], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2248]
push eax
mov dword [ebp - 0x2244], ebx
call fcn.10061d99
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
jl 0x10062729
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2248]
jmp 0x100626b3
cmp dword [ebp + 0x14], ebx
jne 0x1006240c
cmp dword [ebp - 0x2238], ebx
je 0x1006240c
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov byte [ebp - 4], 3
push 0x20006
push ebx
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2250]
call fcn.1005e00c
cmp eax, ebx
jne 0x1006273c
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2250]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x100623fe
cmp eax, 2
jne 0x1006273c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2250]
call fcn.1005df97
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e518
jmp 0x10062188
push 0x5c
push edi
call fcn.1005e31f
pop ecx
pop ecx
test eax, eax
jne 0x10062714
cmp dword [ebp + 0x10], ebx
je 0x100624d1
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.1005e00c
cmp eax, ebx
je 0x1006248e
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.1005e00c
cmp eax, ebx
je 0x1006248e
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.1005dfb2
cmp eax, ebx
jne 0x10062750
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jl 0x10062192
cmp word [edi], 0x3d
jne 0x100626b8
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x222c]
push eax
call fcn.10061d99
mov esi, eax
cmp esi, ebx
jl 0x10062192
jmp 0x100626b8
cmp dword [ebp + 0x14], ebx
jne 0x100624f5
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.1005e00c
mov dword [ebp - 0x2220], eax
jmp 0x100624ff
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x1006250e
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100a047f
push eax
call fcn.1003f561
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jl 0x10062192
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e518
mov esi, eax
cmp esi, ebx
jl 0x10062192
cmp word [edi], 0x7b
jne 0x100625a4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100625a4
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x222c]
push edi
call fcn.10062124
mov esi, eax
cmp esi, ebx
jge 0x1006258e
cmp dword [ebp + 0x14], ebx
je 0x10062192
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005e3a6
mov esi, eax
cmp esi, ebx
jl 0x10062192
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
je 0x100625c6
cmp dword [ebp - 0x2220], ebx
je 0x100625d5
cmp eax, ebx
je 0x1006275e
cmp word [edi], 0x7d
jne 0x100621bf
jmp 0x10062192
cmp eax, ebx
je 0x10062620
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.1005e4e3
test eax, eax
je 0x10062620
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.1005e4b4
test eax, eax
je 0x100625c6
cmp dword [ebp - 0x2238], ebx
je 0x100625c6
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.1005ea25
jmp 0x100625c6
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.1005e4e3
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x2220], eax
call fcn.1005df97
cmp eax, ebx
jne 0x10062750
cmp dword [ebp - 0x2238], ebx
je 0x100625c6
cmp dword [ebp - 0x2220], ebx
jne 0x100625c6
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2224]
mov dword [ebp - 0x2240], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x223c], ebx
call fcn.1005df28
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
cmp eax, ebx
jne 0x10062766
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
call fcn.1005df97
cmp dword [ebp + 0x10], ebx
je 0x100625c6
cmp word [edi], 0x7b
jne 0x100625c6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100625c6
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x222c]
push edi
call fcn.10062124
mov esi, eax
cmp esi, ebx
jl 0x10062192
mov ecx, dword [ebp - 0x221c]
jmp 0x10062182
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
call fcn.1005df97
mov esi, 0x80020009
jmp 0x10062192
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
jmp 0x10062732
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2248]
call fcn.1005df97
jmp 0x10062192
push eax
call fcn.1005de20
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2250]
jmp 0x10062732
push eax
call fcn.1005de20
pop ecx
mov esi, eax
jmp 0x10062192
push dword [ebp - 0x2220]
jmp 0x10062751
push eax
call fcn.1005de20
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
jmp 0x10062732