Function at 0x40a176
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446533
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.0042d760
mov eax, dword [0x45bce0]
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 - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x225c], eax
jmp 0x40a718
push 0x449dc8
push edi
mov dword [ebp - 0x2240], 1
call dword [0x449060]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [0x449060]
test eax, eax
je 0x40a218
cmp esi, ebx
je 0x40a2f0
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a794
cmp dword [ebp + 0x10], ebx
je 0x40a2f0
push 0x5c
push edi
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.0040914d
pop ecx
pop ecx
test eax, eax
jne 0x40a730
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004092d8
test eax, eax
je 0x40a2a1
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.0040944e
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp dword [ebp - 0x2220], ebx
je 0x40a2e5
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a742
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040933c
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.00408e31
cmp esi, ebx
jl 0x40a794
jmp 0x40a6db
lea ecx, [ebp - 0x223c]
call fcn.00408e31
push str.NoRemove
push edi
call dword [0x449060]
test eax, eax
jne 0x40a31c
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], ebx
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a794
push 0x449e04
push edi
call dword [0x449060]
test eax, eax
jne 0x40a44b
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a794
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a794
cmp word [edi], 0x3d
jne 0x40a73b
cmp dword [ebp + 0x10], ebx
je 0x40a3d1
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x224c], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x224c]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
call fcn.00409e2d
mov esi, eax
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
lea ecx, [ebp - 0x224c]
cmp esi, ebx
jl 0x40a78f
mov byte [ebp - 4], bl
jmp 0x40a6d6
cmp dword [ebp + 0x14], ebx
jne 0x40a43a
cmp dword [ebp - 0x2240], ebx
je 0x40a43a
push 0x20006
push ebx
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2258]
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
call fcn.00408ea8
cmp eax, ebx
jne 0x40a74a
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2258]
call dword [0x449014]
cmp eax, ebx
je 0x40a42f
cmp eax, 2
jne 0x40a74a
lea ecx, [ebp - 0x2258]
call fcn.00408e31
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040933c
jmp 0x40a71e
push 0x5c
push edi
call fcn.0040914d
pop ecx
pop ecx
test eax, eax
jne 0x40a73b
cmp dword [ebp + 0x10], ebx
je 0x40a4f9
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00408ea8
test eax, eax
je 0x40a4be
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00408ea8
test eax, eax
je 0x40a4be
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00408e4c
mov esi, eax
cmp esi, ebx
jne 0x40a759
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a794
cmp word [edi], 0x3d
jne 0x40a6db
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x2230]
push eax
call fcn.00409e2d
mov esi, eax
jmp 0x40a2d8
cmp dword [ebp + 0x14], ebx
jne 0x40a51d
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00408ea8
mov dword [ebp - 0x2220], eax
jmp 0x40a527
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x40a536
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0042d686
push eax
call fcn.004031c2
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a794
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040933c
mov esi, eax
cmp esi, ebx
jl 0x40a794
cmp word [edi], 0x7b
jne 0x40a5cc
push edi
call dword [0x44919c]
cmp eax, 1
jne 0x40a5cc
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x2230]
push edi
call fcn.0040a176
mov esi, eax
cmp esi, ebx
jge 0x40a5b6
cmp dword [ebp + 0x14], ebx
je 0x40a794
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a794
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x225c]
mov dword [ebp + 0x14], eax
je 0x40a724
cmp dword [ebp - 0x2220], ebx
je 0x40a605
cmp eax, ebx
jne 0x40a724
push dword [ebp - 0x2220]
call fcn.00408c1f
pop ecx
mov esi, eax
jmp 0x40a794
cmp eax, ebx
je 0x40a65b
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.00409307
test eax, eax
je 0x40a65b
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.004092d8
test eax, eax
je 0x40a724
cmp dword [ebp - 0x2240], ebx
je 0x40a724
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0040944e
jmp 0x40a724
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.00409307
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2260], eax
call fcn.00408e31
mov dword [ebp - 0x2220], eax
cmp eax, ebx
jne 0x40a76d
cmp dword [ebp - 0x2240], ebx
je 0x40a724
cmp dword [ebp - 0x2260], ebx
jne 0x40a724
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2224]
call dword [0x449018]
mov dword [ebp - 0x226c], ebx
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
cmp eax, ebx
jne 0x40a780
lea ecx, [ebp - 0x226c]
call fcn.00408e31
cmp dword [ebp + 0x10], ebx
je 0x40a724
cmp word [edi], 0x7b
jne 0x40a724
push edi
call dword [0x44919c]
cmp eax, 1
jne 0x40a724
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.0040a176
mov esi, eax
cmp esi, ebx
jl 0x40a794
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004091c2
mov esi, eax
cmp esi, ebx
jl 0x40a794
cmp word [edi], 0x7d
jne 0x40a1df
jmp 0x40a794
lea ecx, [ebp - 0x223c]
call fcn.00408e31
mov esi, 0x80020009
jmp 0x40a794
lea ecx, [ebp - 0x223c]
jmp 0x40a78f
push eax
call fcn.00408c1f
pop ecx
lea ecx, [ebp - 0x2258]
jmp 0x40a78d
lea ecx, [ebp - 0x2230]
call fcn.00408e31
push esi
call fcn.00408c1f
pop ecx
jmp 0x40a7a1
lea ecx, [ebp - 0x2230]
call fcn.00408e31
push dword [ebp - 0x2220]
jmp 0x40a765
push eax
call fcn.00408c1f
pop ecx
lea ecx, [ebp - 0x226c]
mov esi, eax
call fcn.00408e31
lea ecx, [ebp - 0x2230]
call fcn.00408e31
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.0042c3e5
leave
ret 0x10