Function at 0x1005ce1
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x225c
call fcn.0100e7e0
mov eax, dword [0x1011248]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2214], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x2210], ecx
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 0x221c], ebx
mov dword [ebp - 0x2218], ebx
mov dword [ebp - 0x2258], eax
call fcn.01004116
mov esi, eax
cmp esi, ebx
jmp 0x100623b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x10014c8
push edi
mov dword [ebp - 0x2224], 1
call esi
mov ebx, eax
neg ebx
push 0x10014ec
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x1005d6e
test ebx, ebx
je 0x1005e2b
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01004116
mov esi, eax
test esi, esi
jl 0x10062a5
cmp dword [ebp + 0x10], 0
je 0x1005e2b
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.0100408a
test eax, eax
jne 0x1006249
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0100422b
test eax, eax
je 0x1005de0
mov eax, dword [ebp - 0x2214]
push edi
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2230], eax
call fcn.010048cd
mov dword [ebp - 0x2230], esi
cmp ebx, esi
je 0x1005e20
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01004116
mov esi, eax
test esi, esi
jl 0x100625b
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0100429d
lea ecx, [ebp - 0x2230]
mov esi, eax
call fcn.01003cbc
test esi, esi
jl 0x10062a5
jmp 0x10061f6
lea ecx, [ebp - 0x2230]
call fcn.01003cbc
push 0x10014d8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1005e57
mov ecx, dword [ebp - 0x2210]
and dword [ebp - 0x2224], eax
push edi
call fcn.01004116
mov esi, eax
test esi, esi
jl 0x10062a5
push 0x1001504
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1005f74
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x220c]
push eax
call fcn.01004116
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x10062a5
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01004116
mov esi, eax
cmp esi, ebx
jl 0x10062a5
cmp word [edi], 0x3d
jne 0x1006254
cmp dword [ebp + 0x10], ebx
je 0x1005efa
mov eax, dword [ebp - 0x2214]
mov ecx, dword [ebp - 0x2210]
mov dword [ebp - 0x2248], eax
push edi
lea eax, [ebp - 0x220c]
push eax
lea eax, [ebp - 0x2248]
push eax
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
call fcn.010059ee
lea ecx, [ebp - 0x2248]
mov esi, eax
mov dword [ebp - 0x2248], ebx
call fcn.01003cbc
cmp esi, ebx
jmp 0x1005e15
cmp dword [ebp + 0x14], ebx
jne 0x1005f63
cmp dword [ebp - 0x2224], ebx
je 0x1005f63
push 0x20006
push ebx
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.01003d2f
cmp eax, ebx
jne 0x1006263
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x223c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x1005f58
cmp eax, 2
jne 0x1006263
lea ecx, [ebp - 0x223c]
call fcn.01003cbc
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0100429d
jmp 0x1005d32
push 0x5c
push edi
call fcn.0100408a
test eax, eax
jne 0x1006254
cmp dword [ebp + 0x10], eax
je 0x1006023
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.01003d2f
test eax, eax
je 0x1005fe7
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.01003d2f
test eax, eax
je 0x1005fe7
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.01003cda
mov esi, eax
cmp esi, ebx
jne 0x1006271
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01004116
mov esi, eax
test esi, esi
jl 0x10062a5
cmp word [edi], 0x3d
jne 0x10061f6
mov ecx, dword [ebp - 0x2210]
push edi
push 0
lea eax, [ebp - 0x2220]
push eax
call fcn.010059ee
mov esi, eax
jmp 0x1005e13
cmp dword [ebp + 0x14], 0
jne 0x1006044
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.01003d2f
mov ebx, eax
jmp 0x1006047
push 2
pop ebx
test ebx, ebx
je 0x1006052
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call sub.msvcrt.dll_wcsncpy_s
add esp, 0x10
push eax
call fcn.010036f4
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01004116
mov esi, eax
test esi, esi
jl 0x10062a5
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0100429d
mov esi, eax
test esi, esi
jl 0x10062a5
cmp word [edi], 0x7b
jne 0x10060ea
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10060ea
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x2220]
push edi
call fcn.01005ce1
mov esi, eax
test esi, esi
jge 0x10060d4
cmp dword [ebp + 0x14], 0
je 0x10062a5
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01004116
mov esi, eax
test esi, esi
jl 0x10062a5
mov eax, dword [ebp - 0x2258]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x100623d
test ebx, ebx
je 0x1006115
test eax, eax
jne 0x100623d
push ebx
call fcn.010038d7
mov esi, eax
jmp 0x10062a5
test eax, eax
je 0x100616c
push dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
call fcn.01004261
test eax, eax
je 0x100616c
mov ecx, dword [ebp - 0x2210]
lea eax, [ebp - 0x20c]
push eax
call fcn.0100422b
test eax, eax
je 0x100623d
cmp dword [ebp - 0x2224], 0
je 0x100623d
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.010048cd
jmp 0x100623d
push dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2210]
call fcn.01004261
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x225c], eax
call fcn.01003cbc
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x1006284
cmp dword [ebp - 0x2224], eax
je 0x100623d
cmp dword [ebp - 0x225c], eax
jne 0x100623d
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov eax, dword [ebp - 0x2214]
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2254]
call fcn.01003c36
and dword [ebp - 0x2254], 0
test eax, eax
jne 0x1006292
lea ecx, [ebp - 0x2254]
call fcn.01003cbc
cmp dword [ebp + 0x10], 0
je 0x100623d
cmp word [edi], 0x7b
jne 0x100623d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100623d
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2220]
push edi
call fcn.01005ce1
mov esi, eax
test esi, esi
jl 0x10062a5
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.01004116
mov esi, eax
test esi, esi
jl 0x10062a5
cmp word [edi], 0x7d
jne 0x1005d3b
jmp 0x10062a5
lea ecx, [ebp - 0x2230]
call fcn.01003cbc
mov esi, 0x80020009
jmp 0x10062a5
lea ecx, [ebp - 0x2230]
jmp 0x10062a0
push eax
call fcn.010038d7
lea ecx, [ebp - 0x223c]
jmp 0x100629e
lea ecx, [ebp - 0x2220]
call fcn.01003cbc
push esi
call fcn.010038d7
jmp 0x10062b2
lea ecx, [ebp - 0x2220]
call fcn.01003cbc
push ebx
jmp 0x100627d
push eax
call fcn.010038d7
lea ecx, [ebp - 0x2254]
mov esi, eax
call fcn.01003cbc
lea ecx, [ebp - 0x2220]
call fcn.01003cbc
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100e7c7
leave
ret 0x10