Function at 0x10005d72
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008015f
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.10067670
mov eax, dword [0x100b02c0]
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 ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2254], eax
mov eax, ebx
mov dword [ebp - 4], esi
call fcn.1000546a
mov edi, eax
cmp edi, esi
jmp 0x100062d7
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [ebp - 0x2234], 1
call edi
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x10005e13
test esi, esi
je 0x10005ed5
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.1000546a
mov edi, eax
test edi, edi
jl 0x10006345
cmp dword [ebp + 0x10], 0
je 0x10005ed5
xor edi, edi
push 0x5c
mov eax, ebx
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], edi
call fcn.1000541b
pop ecx
test eax, eax
jne 0x100062e5
push ebx
call fcn.10005923
test eax, eax
je 0x10005e88
mov eax, dword [ebp - 0x2220]
push ebx
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], edi
call fcn.10004d48
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], edi
cmp esi, edi
je 0x10005eca
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.1000546a
mov edi, eax
test edi, edi
jl 0x100062f7
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.10005987
lea esi, [ebp - 0x2230]
mov edi, eax
call fcn.100045cc
test edi, edi
jl 0x10006345
jmp 0x10006291
lea esi, [ebp - 0x2230]
call fcn.100045cc
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10005f02
and dword [ebp - 0x2234], eax
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.1000546a
mov edi, eax
test edi, edi
jl 0x10006345
push 0x1009a3b8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10006024
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
call fcn.1000546a
mov edi, eax
xor esi, esi
cmp edi, esi
jl 0x10006345
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.1000546a
mov edi, eax
cmp edi, esi
jl 0x10006345
cmp word [ebx], 0x3d
jne 0x100062f0
cmp dword [ebp + 0x10], esi
je 0x10005fad
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x221c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x223c], eax
push ebx
lea eax, [ebp - 0x2218]
push eax
lea edx, [ebp - 0x223c]
mov dword [ebp - 0x2238], esi
call fcn.10005580
mov edi, eax
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
cmp edi, esi
lea esi, [ebp - 0x223c]
jl 0x10006340
mov byte [ebp - 4], 0
jmp 0x1000628c
cmp dword [ebp + 0x14], esi
jne 0x10006012
cmp dword [ebp - 0x2234], esi
je 0x10006012
push esi
push dword [ebp - 0x2220]
mov eax, 0x20006
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2248], esi
call fcn.1000458e
cmp eax, esi
jne 0x100062ff
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x224c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x10006005
cmp eax, 2
jne 0x100062ff
lea esi, [ebp - 0x224c]
call fcn.100045cc
xor esi, esi
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.10005987
jmp 0x10005dd7
push 0x5c
mov eax, ebx
call fcn.1000541b
pop ecx
test eax, eax
jne 0x100062f0
cmp dword [ebp + 0x10], eax
je 0x100060cd
push ebx
push dword [ebp - 0x2220]
mov eax, 0x2001f
lea ecx, [ebp - 0x2228]
call fcn.1000458e
test eax, eax
je 0x10006091
push ebx
push dword [ebp - 0x2220]
mov eax, 0x20019
lea ecx, [ebp - 0x2228]
call fcn.1000458e
test eax, eax
je 0x10006091
push ebx
push dword [ebp - 0x2220]
lea eax, [ebp - 0x2228]
call fcn.10004c8d
mov edi, eax
test edi, edi
jne 0x1000630c
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.1000546a
mov edi, eax
test edi, edi
jl 0x10006345
cmp word [ebx], 0x3d
jne 0x10006291
mov ecx, dword [ebp - 0x221c]
push ebx
push 0
lea edx, [ebp - 0x2228]
call fcn.10005580
mov edi, eax
jmp 0x10005ebd
cmp dword [ebp + 0x14], 0
jne 0x100060ee
push ebx
push dword [ebp - 0x2220]
mov eax, 0x20019
lea ecx, [ebp - 0x2228]
call fcn.1000458e
mov esi, eax
jmp 0x100060f1
push 2
pop esi
test esi, esi
je 0x100060fc
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.1006049d
push eax
call fcn.10002776
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
mov eax, ebx
call fcn.1000546a
mov edi, eax
test edi, edi
jl 0x10006345
mov ecx, dword [ebp - 0x221c]
mov edi, ebx
call fcn.10005987
mov edi, eax
test edi, edi
jl 0x10006345
cmp word [ebx], 0x7b
jne 0x10006197
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x10006197
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp - 0x2228]
push ebx
call fcn.10005d72
mov edi, eax
test edi, edi
jge 0x10006180
cmp dword [ebp + 0x14], 0
je 0x10006345
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.1000546a
mov edi, eax
test edi, edi
jl 0x10006345
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
cmp esi, 2
je 0x100062d9
test esi, esi
je 0x100061c3
test eax, eax
jne 0x100062d9
mov eax, esi
call fcn.10004b22
mov edi, eax
jmp 0x10006345
test eax, eax
je 0x1000620e
push dword [ebp - 0x2228]
call fcn.10005952
test eax, eax
je 0x1000620e
lea eax, [ebp - 0x218]
push eax
call fcn.10005923
test eax, eax
je 0x100062d9
cmp dword [ebp - 0x2234], 0
je 0x100062d9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2228]
call fcn.10004d48
jmp 0x100062d9
push dword [ebp - 0x2228]
call fcn.10005952
lea esi, [ebp - 0x2228]
mov dword [ebp - 0x2258], eax
call fcn.100045cc
xor ecx, ecx
mov dword [ebp - 0x2250], eax
cmp eax, ecx
jne 0x10006320
cmp dword [ebp - 0x2234], ecx
je 0x100062d9
cmp dword [ebp - 0x2258], ecx
jne 0x100062d9
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2244], eax
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x2244]
mov dword [ebp - 0x2240], ecx
call fcn.10004c34
and dword [ebp - 0x2244], 0
and dword [ebp - 0x2240], 0
test eax, eax
jne 0x10006333
call fcn.100045cc
cmp dword [ebp + 0x10], 0
je 0x100062d9
cmp word [ebx], 0x7b
jne 0x100062d9
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x100062d9
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x2228]
push ebx
call fcn.10005d72
mov edi, eax
test edi, edi
jl 0x10006345
mov ecx, dword [ebp - 0x221c]
mov eax, ebx
call fcn.1000546a
mov edi, eax
test edi, edi
jl 0x10006345
cmp word [ebx], 0x7d
jne 0x10005de0
jmp 0x10006345
lea esi, [ebp - 0x2230]
call fcn.100045cc
mov edi, 0x80020009
jmp 0x10006345
lea esi, [ebp - 0x2230]
jmp 0x10006340
call fcn.10004b22
lea esi, [ebp - 0x224c]
jmp 0x1000633e
lea esi, [ebp - 0x2228]
call fcn.100045cc
mov eax, edi
call fcn.10004b22
jmp 0x10006352
lea esi, [ebp - 0x2228]
call fcn.100045cc
mov eax, dword [ebp - 0x2250]
jmp 0x10006319
call fcn.10004b22
lea esi, [ebp - 0x2244]
mov edi, eax
call fcn.100045cc
lea esi, [ebp - 0x2228]
call fcn.100045cc
mov eax, edi
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.1005fc2b
leave
ret 0x10