Function at 0x1000a876
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ff74
mov eax, dword fs:[0]
push eax
mov eax, 0x115c
call fcn.10025780
mov eax, dword [0x1006b490]
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 - 0x1118], ecx
mov dword [ebp - 0x1120], eax
mov dword [ebp - 0x112c], ebx
mov dword [ebp - 0x1128], ebx
mov dword [ebp - 0x1124], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1164], eax
jmp 0x1000ae2b
push str.Delete
push edi
mov dword [ebp - 0x1130], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x111c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000a918
cmp esi, ebx
je 0x1000a9f0
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
cmp dword [ebp + 0x10], ebx
je 0x1000a9f0
push 0x5c
push edi
mov dword [ebp - 0x113c], ebx
mov dword [ebp - 0x1138], ebx
mov dword [ebp - 0x1134], ebx
call fcn.100072d9
pop ecx
pop ecx
test eax, eax
jne 0x1000ae42
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007434
test eax, eax
je 0x1000a9a1
mov eax, dword [ebp - 0x1120]
push edi
lea ecx, [ebp - 0x113c]
mov dword [ebp - 0x113c], eax
mov dword [ebp - 0x1138], ebx
mov dword [ebp - 0x1134], ebx
call fcn.10005700
mov dword [ebp - 0x113c], ebx
mov dword [ebp - 0x1138], ebx
mov dword [ebp - 0x1134], ebx
cmp dword [ebp - 0x111c], ebx
je 0x1000a9e5
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000ae54
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007498
lea ecx, [ebp - 0x113c]
mov esi, eax
call fcn.100010ba
cmp esi, ebx
jl 0x1000aea6
jmp 0x1000adef
lea ecx, [ebp - 0x113c]
call fcn.100010ba
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000aa1c
mov ecx, dword [ebp - 0x1118]
push edi
mov dword [ebp - 0x1130], ebx
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
push 0x10056dc8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000ab4a
mov ecx, dword [ebp - 0x1118]
lea eax, [ebp - 0x1114]
push eax
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
cmp byte [edi], 0x3d
jne 0x1000ae4d
cmp dword [ebp + 0x10], ebx
je 0x1000aad0
mov eax, dword [ebp - 0x1120]
mov ecx, dword [ebp - 0x1118]
mov dword [ebp - 0x1154], eax
push edi
lea eax, [ebp - 0x1114]
push eax
lea eax, [ebp - 0x1154]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1150], ebx
mov dword [ebp - 0x114c], ebx
call fcn.1000a3b8
mov esi, eax
mov dword [ebp - 0x1154], ebx
mov dword [ebp - 0x1150], ebx
mov dword [ebp - 0x114c], ebx
lea ecx, [ebp - 0x1154]
cmp esi, ebx
jl 0x1000aea1
mov byte [ebp - 4], bl
jmp 0x1000adea
cmp dword [ebp + 0x14], ebx
jne 0x1000ab39
cmp dword [ebp - 0x1130], ebx
je 0x1000ab39
push 0x20006
push ebx
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x1160]
mov dword [ebp - 0x1160], ebx
mov dword [ebp - 0x115c], ebx
mov dword [ebp - 0x1158], ebx
call fcn.1000113d
cmp eax, ebx
jne 0x1000ae5c
lea eax, [ebp - 0x1114]
push eax
push dword [ebp - 0x1160]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x1000ab2e
cmp eax, 2
jne 0x1000ae5c
lea ecx, [ebp - 0x1160]
call fcn.100010ba
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007498
jmp 0x1000ae31
push 0x5c
push edi
call fcn.100072d9
pop ecx
pop ecx
test eax, eax
jne 0x1000ae4d
cmp dword [ebp + 0x10], ebx
je 0x1000abf7
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x112c]
call fcn.1000113d
test eax, eax
je 0x1000abbd
push 0x20019
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x112c]
call fcn.1000113d
test eax, eax
je 0x1000abbd
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x112c]
call fcn.100010d5
mov esi, eax
cmp esi, ebx
jne 0x1000ae6b
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
cmp byte [edi], 0x3d
jne 0x1000adef
mov ecx, dword [ebp - 0x1118]
push edi
push ebx
lea eax, [ebp - 0x112c]
push eax
call fcn.1000a3b8
mov esi, eax
jmp 0x1000a9d8
cmp dword [ebp + 0x14], ebx
jne 0x1000ac1b
push 0x20019
push edi
push dword [ebp - 0x1120]
lea ecx, [ebp - 0x112c]
call fcn.1000113d
mov dword [ebp - 0x111c], eax
jmp 0x1000ac25
mov dword [ebp - 0x111c], 2
cmp dword [ebp - 0x111c], ebx
je 0x1000ac34
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.10027a3b
push eax
call fcn.10006f6f
mov ecx, dword [ebp - 0x1118]
add esp, 0x14
push edi
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007498
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
cmp byte [edi], 0x7b
jne 0x1000acc9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x1000acc9
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x1118]
push ebx
push dword [ebp - 0x112c]
push edi
call fcn.1000a876
mov esi, eax
cmp esi, ebx
jge 0x1000acb3
cmp dword [ebp + 0x14], ebx
je 0x1000aea6
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
cmp dword [ebp - 0x111c], 2
mov eax, dword [ebp - 0x1164]
mov dword [ebp + 0x14], eax
je 0x1000ae37
cmp dword [ebp - 0x111c], ebx
je 0x1000ad02
cmp eax, ebx
jne 0x1000ae37
push dword [ebp - 0x111c]
call fcn.10007020
pop ecx
mov esi, eax
jmp 0x1000aea6
cmp eax, ebx
je 0x1000ad58
push dword [ebp - 0x112c]
mov ecx, dword [ebp - 0x1118]
call fcn.10007463
test eax, eax
je 0x1000ad58
mov ecx, dword [ebp - 0x1118]
lea eax, [ebp - 0x114]
push eax
call fcn.10007434
test eax, eax
je 0x1000ae37
cmp dword [ebp - 0x1130], ebx
je 0x1000ae37
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x112c]
call fcn.10005700
jmp 0x1000ae37
push dword [ebp - 0x112c]
mov ecx, dword [ebp - 0x1118]
call fcn.10007463
lea ecx, [ebp - 0x112c]
mov dword [ebp - 0x1168], eax
call fcn.100010ba
mov dword [ebp - 0x111c], eax
cmp eax, ebx
jne 0x1000ae7f
cmp dword [ebp - 0x1130], ebx
je 0x1000ae37
cmp dword [ebp - 0x1168], ebx
jne 0x1000ae37
mov eax, dword [ebp - 0x1120]
mov dword [ebp - 0x1148], eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1148]
mov dword [ebp - 0x1144], ebx
mov dword [ebp - 0x1140], ebx
call fcn.10005690
mov dword [ebp - 0x1148], ebx
mov dword [ebp - 0x1144], ebx
mov dword [ebp - 0x1140], ebx
cmp eax, ebx
jne 0x1000ae92
lea ecx, [ebp - 0x1148]
call fcn.100010ba
cmp dword [ebp + 0x10], ebx
je 0x1000ae37
cmp byte [edi], 0x7b
jne 0x1000ae37
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x1000ae37
mov ecx, dword [ebp - 0x1118]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x112c]
push edi
call fcn.1000a876
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.10007346
mov esi, eax
cmp esi, ebx
jl 0x1000aea6
cmp byte [edi], 0x7d
jne 0x1000a8df
jmp 0x1000aea6
lea ecx, [ebp - 0x113c]
call fcn.100010ba
mov esi, 0x80020009
jmp 0x1000aea6
lea ecx, [ebp - 0x113c]
jmp 0x1000aea1
push eax
call fcn.10007020
pop ecx
lea ecx, [ebp - 0x1160]
jmp 0x1000ae9f
lea ecx, [ebp - 0x112c]
call fcn.100010ba
push esi
call fcn.10007020
pop ecx
jmp 0x1000aeb3
lea ecx, [ebp - 0x112c]
call fcn.100010ba
push dword [ebp - 0x111c]
jmp 0x1000ae77
push eax
call fcn.10007020
pop ecx
lea ecx, [ebp - 0x1148]
mov esi, eax
call fcn.100010ba
lea ecx, [ebp - 0x112c]
call fcn.100010ba
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.1002523b
leave
ret 0x10