Function at 0x1005d03c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cd808
mov eax, dword fs:[0]
push eax
mov eax, 0x2248
call fcn.1009b2b0
mov eax, dword [0x1023d420]
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.100592cd
mov esi, eax
cmp esi, ebx
jge 0x1005d4de
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x222c]
call fcn.10058ebb
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.100946c1
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 0x1005d112
cmp esi, ebx
je 0x1005d1d9
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100592cd
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
cmp dword [ebp + 0x10], ebx
je 0x1005d1d9
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
mov byte [ebp - 4], 1
push 0x5c
push edi
call fcn.10059246
pop ecx
pop ecx
test eax, eax
jne 0x1005d61e
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100593db
test eax, eax
je 0x1005d189
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x2234]
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], ebx
call fcn.1005994c
mov dword [ebp - 0x2234], ebx
mov dword [ebp - 0x2230], ebx
cmp dword [ebp - 0x2220], ebx
je 0x1005d1cb
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100592cd
mov esi, eax
cmp esi, ebx
jl 0x1005d636
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005943f
mov esi, eax
cmp esi, ebx
jl 0x1005d636
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
jmp 0x1005d5cb
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
call fcn.10058ebb
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1005d205
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2238], ebx
call fcn.100592cd
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
push 0x101ea35c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1005d335
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.100592cd
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100592cd
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
cmp word [edi], 0x3d
jne 0x1005d62c
cmp dword [ebp + 0x10], ebx
je 0x1005d2ba
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.1005ccb1
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
jl 0x1005d641
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2248]
jmp 0x1005d5cb
cmp dword [ebp + 0x14], ebx
jne 0x1005d324
cmp dword [ebp - 0x2238], ebx
je 0x1005d324
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.10058f30
cmp eax, ebx
jne 0x1005d654
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2250]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1005d316
cmp eax, 2
jne 0x1005d654
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2250]
call fcn.10058ebb
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005943f
jmp 0x1005d0a0
push 0x5c
push edi
call fcn.10059246
pop ecx
pop ecx
test eax, eax
jne 0x1005d62c
cmp dword [ebp + 0x10], ebx
je 0x1005d3e9
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.10058f30
cmp eax, ebx
je 0x1005d3a6
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.10058f30
cmp eax, ebx
je 0x1005d3a6
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.10058ed6
cmp eax, ebx
jne 0x1005d668
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100592cd
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
cmp word [edi], 0x3d
jne 0x1005d5d0
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x222c]
push eax
call fcn.1005ccb1
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
jmp 0x1005d5d0
cmp dword [ebp + 0x14], ebx
jne 0x1005d40d
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x222c]
call fcn.10058f30
mov dword [ebp - 0x2220], eax
jmp 0x1005d417
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x1005d426
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1009b34a
push eax
call fcn.1003baeb
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.100592cd
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.1005943f
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
cmp word [edi], 0x7b
jne 0x1005d4bc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1005d4bc
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x222c]
push edi
call fcn.1005d03c
mov esi, eax
cmp esi, ebx
jge 0x1005d4a6
cmp dword [ebp + 0x14], ebx
je 0x1005d0aa
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.100592cd
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
je 0x1005d4de
cmp dword [ebp - 0x2220], ebx
je 0x1005d4ed
cmp eax, ebx
je 0x1005d676
cmp word [edi], 0x7d
jne 0x1005d0d7
jmp 0x1005d0aa
cmp eax, ebx
je 0x1005d538
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.1005940a
test eax, eax
je 0x1005d538
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.100593db
test eax, eax
je 0x1005d4de
cmp dword [ebp - 0x2238], ebx
je 0x1005d4de
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.1005994c
jmp 0x1005d4de
push dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x221c]
call fcn.1005940a
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x2220], eax
call fcn.10058ebb
cmp eax, ebx
jne 0x1005d668
cmp dword [ebp - 0x2238], ebx
je 0x1005d4de
cmp dword [ebp - 0x2220], ebx
jne 0x1005d4de
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.10058e4c
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
cmp eax, ebx
jne 0x1005d67e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
call fcn.10058ebb
cmp dword [ebp + 0x10], ebx
je 0x1005d4de
cmp word [edi], 0x7b
jne 0x1005d4de
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x1005d4de
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x222c]
push edi
call fcn.1005d03c
mov esi, eax
cmp esi, ebx
jl 0x1005d0aa
mov ecx, dword [ebp - 0x221c]
jmp 0x1005d09a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
call fcn.10058ebb
mov esi, 0x80020009
jmp 0x1005d0aa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2234]
jmp 0x1005d64a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2248]
call fcn.10058ebb
jmp 0x1005d0aa
push eax
call fcn.10058d44
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2250]
jmp 0x1005d64a
push eax
call fcn.10058d44
pop ecx
mov esi, eax
jmp 0x1005d0aa
push dword [ebp - 0x2220]
jmp 0x1005d669
push eax
call fcn.10058d44
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
jmp 0x1005d64a