Function at 0x1005bac9
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ca9ef
mov eax, dword fs:[0]
push eax
mov eax, 0x2248
call fcn.10099d40
mov eax, dword [0x10239420]
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.10057d69
mov esi, eax
cmp esi, ebx
jge 0x1005bf6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x222c]
call fcn.1005795a
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.1009314a
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 0x1005bb9f
cmp esi, ebx
je 0x1005bc66
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057d69
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
cmp dword [ebp + 0x10], ebx
je 0x1005bc66
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
mov byte [ebp - 4], 1
push 0x5c
push edi
call fcn.10057ce2
pop ecx
pop ecx
test eax, eax
jne 0x1005c0ab
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057e77
test eax, eax
je 0x1005bc16
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x2234]
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], ebx
call fcn.100583e8
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
cmp dword [ebp - 0x2220], ebx
je 0x1005bc58
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057d69
mov esi, eax
cmp esi, ebx
jl 0x1005c0c3
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057edb
mov esi, eax
cmp esi, ebx
jl 0x1005c0c3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
jmp 0x1005c058
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
call fcn.1005795a
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1005bc92
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2238], ebx
call fcn.10057d69
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
push 0x101e735c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1005bdc2
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.10057d69
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057d69
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
cmp word [edi], 0x3d
jne 0x1005c0b9
cmp dword [ebp + 0x10], ebx
je 0x1005bd47
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.1005b73e
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
jl 0x1005c0ce
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2248]
jmp 0x1005c058
cmp dword [ebp + 0x14], ebx
jne 0x1005bdb1
cmp dword [ebp - 0x2238], ebx
je 0x1005bdb1
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.100579cf
cmp eax, ebx
jne 0x1005c0e1
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2250]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1005bda3
cmp eax, 2
jne 0x1005c0e1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2250]
call fcn.1005795a
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057edb
jmp 0x1005bb2d
push 0x5c
push edi
call fcn.10057ce2
pop ecx
pop ecx
test eax, eax
jne 0x1005c0b9
cmp dword [ebp + 0x10], ebx
je 0x1005be76
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.100579cf
cmp eax, ebx
je 0x1005be33
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.100579cf
cmp eax, ebx
je 0x1005be33
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.10057975
cmp eax, ebx
jne 0x1005c0f5
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057d69
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
cmp word [edi], 0x3d
jne 0x1005c05d
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x222c]
push eax
call fcn.1005b73e
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
jmp 0x1005c05d
cmp dword [ebp + 0x14], ebx
jne 0x1005be9a
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.100579cf
mov dword [ebp - 0x2220], eax
jmp 0x1005bea4
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x1005beb3
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10099dda
push eax
call fcn.1003ba97
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.10057d69
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057edb
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
cmp word [edi], 0x7b
jne 0x1005bf49
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1005bf49
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x222c]
push edi
call fcn.1005bac9
mov esi, eax
cmp esi, ebx
jge 0x1005bf33
cmp dword [ebp + 0x14], ebx
je 0x1005bb37
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.10057d69
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
je 0x1005bf6b
cmp dword [ebp - 0x2220], ebx
je 0x1005bf7a
cmp eax, ebx
je 0x1005c103
cmp word [edi], 0x7d
jne 0x1005bb64
jmp 0x1005bb37
cmp eax, ebx
je 0x1005bfc5
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.10057ea6
test eax, eax
je 0x1005bfc5
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.10057e77
test eax, eax
je 0x1005bf6b
cmp dword [ebp - 0x2238], ebx
je 0x1005bf6b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.100583e8
jmp 0x1005bf6b
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.10057ea6
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x2220], eax
call fcn.1005795a
cmp eax, ebx
jne 0x1005c0f5
cmp dword [ebp - 0x2238], ebx
je 0x1005bf6b
cmp dword [ebp - 0x2220], ebx
jne 0x1005bf6b
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.100578eb
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
cmp eax, ebx
jne 0x1005c10b
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
call fcn.1005795a
cmp dword [ebp + 0x10], ebx
je 0x1005bf6b
cmp word [edi], 0x7b
jne 0x1005bf6b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1005bf6b
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x222c]
push edi
call fcn.1005bac9
mov esi, eax
cmp esi, ebx
jl 0x1005bb37
mov ecx, dword [ebp - 0x221c]
jmp 0x1005bb27
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
call fcn.1005795a
mov esi, 0x80020009
jmp 0x1005bb37
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
jmp 0x1005c0d7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2248]
call fcn.1005795a
jmp 0x1005bb37
push eax
call fcn.100577e3
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2250]
jmp 0x1005c0d7
push eax
call fcn.100577e3
pop ecx
mov esi, eax
jmp 0x1005bb37
push dword [ebp - 0x2220]
jmp 0x1005c0f6
push eax
call fcn.100577e3
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
jmp 0x1005c0d7