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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459d1a
mov eax, dword fs:[0]
push eax
mov eax, 0x2260
call fcn.0043f1e0
mov eax, dword [0x47c094]
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 0x40ee05
push str.Delete
push edi
mov dword [ebp - 0x2240], 1
call dword [0x4672a0]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [0x4672a0]
test eax, eax
je 0x40e905
cmp esi, ebx
je 0x40e9dd
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee81
cmp dword [ebp + 0x10], ebx
je 0x40e9dd
push 0x5c
push edi
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.0040d9a9
pop ecx
pop ecx
test eax, eax
jne 0x40ee1d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040db34
test eax, eax
je 0x40e98e
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.0040dcc3
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp dword [ebp - 0x2220], ebx
je 0x40e9d2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee2f
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040db98
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.0040d68d
cmp esi, ebx
jl 0x40ee81
jmp 0x40edc8
lea ecx, [ebp - 0x223c]
call fcn.0040d68d
push str.NoRemove
push edi
call dword [0x4672a0]
test eax, eax
jne 0x40ea09
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2240], ebx
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee81
push 0x468c58
push edi
call dword [0x4672a0]
test eax, eax
jne 0x40eb38
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee81
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee81
cmp word [edi], 0x3d
jne 0x40ee28
cmp dword [ebp + 0x10], ebx
je 0x40eabe
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.0040e51a
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 0x40ee7c
mov byte [ebp - 4], bl
jmp 0x40edc3
cmp dword [ebp + 0x14], ebx
jne 0x40eb27
cmp dword [ebp - 0x2240], ebx
je 0x40eb27
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.0040d704
cmp eax, ebx
jne 0x40ee37
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2258]
call dword [0x467008]
cmp eax, ebx
je 0x40eb1c
cmp eax, 2
jne 0x40ee37
lea ecx, [ebp - 0x2258]
call fcn.0040d68d
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040db98
jmp 0x40ee0b
push 0x5c
push edi
call fcn.0040d9a9
pop ecx
pop ecx
test eax, eax
jne 0x40ee28
cmp dword [ebp + 0x10], ebx
je 0x40ebe6
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0040d704
test eax, eax
je 0x40ebab
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0040d704
test eax, eax
je 0x40ebab
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0040d6a8
mov esi, eax
cmp esi, ebx
jne 0x40ee46
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee81
cmp word [edi], 0x3d
jne 0x40edc8
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x2230]
push eax
call fcn.0040e51a
mov esi, eax
jmp 0x40e9c5
cmp dword [ebp + 0x14], ebx
jne 0x40ec0a
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.0040d704
mov dword [ebp - 0x2220], eax
jmp 0x40ec14
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x40ec23
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043f112
push eax
call fcn.0040b55a
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee81
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040db98
mov esi, eax
cmp esi, ebx
jl 0x40ee81
cmp word [edi], 0x7b
jne 0x40ecb9
push edi
call dword [0x4672ac]
cmp eax, 1
jne 0x40ecb9
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x2230]
push edi
call fcn.0040e863
mov esi, eax
cmp esi, ebx
jge 0x40eca3
cmp dword [ebp + 0x14], ebx
je 0x40ee81
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee81
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x225c]
mov dword [ebp + 0x14], eax
je 0x40ee11
cmp dword [ebp - 0x2220], ebx
je 0x40ecf2
cmp eax, ebx
jne 0x40ee11
push dword [ebp - 0x2220]
call fcn.0040d491
pop ecx
mov esi, eax
jmp 0x40ee81
cmp eax, ebx
je 0x40ed48
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.0040db63
test eax, eax
je 0x40ed48
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.0040db34
test eax, eax
je 0x40ee11
cmp dword [ebp - 0x2240], ebx
je 0x40ee11
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0040dcc3
jmp 0x40ee11
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.0040db63
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2260], eax
call fcn.0040d68d
mov dword [ebp - 0x2220], eax
cmp eax, ebx
jne 0x40ee5a
cmp dword [ebp - 0x2240], ebx
je 0x40ee11
cmp dword [ebp - 0x2260], ebx
jne 0x40ee11
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2224]
call dword [section..rdata]
mov dword [ebp - 0x226c], ebx
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
cmp eax, ebx
jne 0x40ee6d
lea ecx, [ebp - 0x226c]
call fcn.0040d68d
cmp dword [ebp + 0x10], ebx
je 0x40ee11
cmp word [edi], 0x7b
jne 0x40ee11
push edi
call dword [0x4672ac]
cmp eax, 1
jne 0x40ee11
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.0040e863
mov esi, eax
cmp esi, ebx
jl 0x40ee81
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0040da1e
mov esi, eax
cmp esi, ebx
jl 0x40ee81
cmp word [edi], 0x7d
jne 0x40e8cc
jmp 0x40ee81
lea ecx, [ebp - 0x223c]
call fcn.0040d68d
mov esi, 0x80020009
jmp 0x40ee81
lea ecx, [ebp - 0x223c]
jmp 0x40ee7c
push eax
call fcn.0040d491
pop ecx
lea ecx, [ebp - 0x2258]
jmp 0x40ee7a
lea ecx, [ebp - 0x2230]
call fcn.0040d68d
push esi
call fcn.0040d491
pop ecx
jmp 0x40ee8e
lea ecx, [ebp - 0x2230]
call fcn.0040d68d
push dword [ebp - 0x2220]
jmp 0x40ee52
push eax
call fcn.0040d491
pop ecx
lea ecx, [ebp - 0x226c]
mov esi, eax
call fcn.0040d68d
lea ecx, [ebp - 0x2230]
call fcn.0040d68d
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.0043e346
leave
ret 0x10