Function at 0x40ab86
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1108]
mov eax, 0x1108
call fcn.00411ee0
push 0xffffffffffffffff
push 0x4201f5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x427470]
xor eax, ebp
mov dword [ebp + 0x1104], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1114]
mov edi, dword [ebp + 0x1110]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x111c]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], eax
call fcn.00407947
mov esi, eax
cmp esi, ebx
jmp 0x40b02f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push edi
mov dword [ebp - 0x28], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x40ac28
test ebx, ebx
je 0x40acc2
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407947
mov esi, eax
test esi, esi
jl 0x40b089
cmp dword [ebp + 0x1118], 0
je 0x40acc2
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.004078df
pop ecx
pop ecx
test eax, eax
jne 0x40b03c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407a31
test eax, eax
je 0x40ac83
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.00409341
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x40acba
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407947
mov esi, eax
test esi, esi
jl 0x40b04b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407a92
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0040759b
test esi, esi
jl 0x40b089
jmp 0x40afee
lea ecx, [ebp - 0x24]
call fcn.0040759b
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40ace8
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.00407947
mov esi, eax
test esi, esi
jl 0x40b089
push 0x422048
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40adcd
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.00407947
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x40b089
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407947
mov esi, eax
cmp esi, ebx
jl 0x40b089
cmp byte [edi], 0x3d
jne 0x40b044
cmp dword [ebp + 0x1118], ebx
je 0x40ad71
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
call fcn.0040a819
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x40]
jl 0x40b084
mov byte [ebp - 4], bl
jmp 0x40afe9
cmp dword [ebp + 0x111c], ebx
jne 0x40adbf
cmp dword [ebp - 0x28], ebx
je 0x40adbf
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00407610
cmp eax, ebx
jne 0x40b050
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x40adb7
cmp eax, 2
jne 0x40b050
lea ecx, [ebp - 0x30]
call fcn.0040759b
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407a92
jmp 0x40abef
push 0x5c
push edi
call fcn.004078df
pop ecx
pop ecx
test eax, eax
jne 0x40b044
cmp dword [ebp + 0x1118], eax
je 0x40ae61
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00407610
test eax, eax
je 0x40ae2f
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00407610
test eax, eax
je 0x40ae2f
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.004075b6
mov esi, eax
cmp esi, ebx
jne 0x40b05c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407947
mov esi, eax
test esi, esi
jl 0x40b089
cmp byte [edi], 0x3d
jne 0x40afee
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a819
mov esi, eax
jmp 0x40acad
cmp dword [ebp + 0x111c], 0
jne 0x40ae7f
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.00407610
mov ebx, eax
jmp 0x40ae82
push 2
pop ebx
test ebx, ebx
je 0x40ae90
mov dword [ebp + 0x111c], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x1000]
push 0x104
push eax
call fcn.00411bc8
push eax
call fcn.0040734e
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.00407947
mov esi, eax
test esi, esi
jl 0x40b089
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407a92
mov esi, eax
test esi, esi
jl 0x40b089
cmp byte [edi], 0x7b
jne 0x40af1e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x40af1e
push dword [ebp + 0x111c]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.0040ab86
mov esi, eax
test esi, esi
jge 0x40af0b
cmp dword [ebp + 0x111c], 0
je 0x40b089
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407947
mov esi, eax
test esi, esi
jl 0x40b089
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x111c], eax
cmp ebx, 2
je 0x40b031
test ebx, ebx
je 0x40af4a
test eax, eax
jne 0x40b031
push ebx
call fcn.0040746f
pop ecx
mov esi, eax
jmp 0x40b089
test eax, eax
je 0x40af92
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00407a5d
test eax, eax
je 0x40af92
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x1000]
push eax
call fcn.00407a31
test eax, eax
je 0x40b031
cmp dword [ebp - 0x28], 0
je 0x40b031
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409341
jmp 0x40b031
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00407a5d
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.0040759b
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x40b06d
cmp dword [ebp - 0x28], eax
je 0x40b031
cmp dword [ebp - 0x48], eax
jne 0x40b031
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x1000]
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00407540
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
test eax, eax
jne 0x40b078
lea ecx, [ebp - 0x38]
call fcn.0040759b
cmp dword [ebp + 0x1118], 0
je 0x40b031
cmp byte [edi], 0x7b
jne 0x40b031
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x40b031
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x1118]
push dword [ebp - 0x1c]
push edi
call fcn.0040ab86
mov esi, eax
test esi, esi
jl 0x40b089
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00407947
mov esi, eax
test esi, esi
jl 0x40b089
cmp byte [edi], 0x7d
jne 0x40abf8
jmp 0x40b089
lea ecx, [ebp - 0x24]
call fcn.0040759b
mov esi, 0x80020009
jmp 0x40b089
lea ecx, [ebp - 0x24]
jmp 0x40b084
push eax
call fcn.0040746f
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x40b082
lea ecx, [ebp - 0x1c]
call fcn.0040759b
push esi
call fcn.0040746f
pop ecx
jmp 0x40b093
lea ecx, [ebp - 0x1c]
call fcn.0040759b
push ebx
jmp 0x40b065
push eax
call fcn.0040746f
pop ecx
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.0040759b
lea ecx, [ebp - 0x1c]
call fcn.0040759b
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 + 0x1104]
xor ecx, ebp
call fcn.00410d1a
add ebp, 0x1108
leave
ret 0x10