Function at 0x440e96
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aaad6
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.004558f0
mov eax, dword [0x4ed8d0]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2220], eax
xor eax, eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2264], eax
push edi
mov ecx, ebx
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441484
push 0x7d
pop eax
cmp word [edi], ax
je 0x441484
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x223c], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push 0x4cbdac
inc esi
push edi
mov dword [ebp - 0x221c], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x440f4c
test esi, esi
je 0x441024
push edi
mov ecx, ebx
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441484
cmp dword [ebp + 0x10], 0
je 0x441024
xor eax, eax
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2230], eax
inc eax
mov byte [ebp - 4], al
push 0x5c
push edi
call fcn.0044171d
pop ecx
pop ecx
test eax, eax
jne 0x441470
push edi
mov ecx, ebx
call fcn.00440255
test eax, eax
je 0x440fd9
mov eax, dword [ebp - 0x2220]
and dword [ebp - 0x2234], 0
and dword [ebp - 0x2230], 0
push edi
lea ecx, [ebp - 0x2238]
mov dword [ebp - 0x2238], eax
call fcn.00440aca
and dword [ebp - 0x2238], 0
and dword [ebp - 0x2234], 0
and dword [ebp - 0x2230], 0
cmp dword [ebp - 0x221c], 0
je 0x441015
push edi
mov ecx, ebx
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441464
push edi
mov ecx, ebx
call fcn.00441672
mov esi, eax
test esi, esi
js 0x441464
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2238]
jmp 0x44141b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2238]
call fcn.004018c0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44104c
and dword [ebp - 0x223c], eax
push edi
mov ecx, ebx
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441484
push 0x4cbda4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x441190
lea eax, [ebp - 0x2218]
push eax
mov ecx, ebx
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441484
push edi
mov ecx, ebx
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441484
push 0x3d
pop eax
cmp word [edi], ax
jne 0x44147f
cmp dword [ebp + 0x10], 0
je 0x44110e
xor ecx, ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
mov dword [ebp - 0x224c], ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2254], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2254]
mov dword [ebp - 0x2250], ecx
mov dword [ebp - 0x224c], ecx
push eax
mov ecx, ebx
call fcn.0043fb8d
mov esi, eax
xor eax, eax
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
test esi, esi
js 0x4414b1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2254]
jmp 0x44141b
cmp dword [ebp + 0x14], 0
jne 0x441183
cmp dword [ebp - 0x223c], 0
je 0x441183
xor eax, eax
mov dword [ebp - 0x2260], eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov byte [ebp - 4], 3
push 0x20006
push eax
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2260]
call fcn.004018f0
test eax, eax
jne 0x4414bc
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2260]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x441174
cmp eax, 2
jne 0x4414bc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2260]
call fcn.004018c0
push edi
mov ecx, ebx
call fcn.00441672
jmp 0x440efe
push 0x5c
push edi
call fcn.0044171d
pop ecx
pop ecx
test eax, eax
jne 0x44147f
cmp dword [ebp + 0x10], eax
je 0x44123b
mov esi, dword [ebp - 0x2220]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.004018f0
test eax, eax
je 0x4411fd
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.004018f0
test eax, eax
je 0x4411fd
xor eax, eax
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
lea ecx, [ebp - 0x222c]
call fcn.0042e4cd
test eax, eax
jne 0x44131d
push edi
mov ecx, ebx
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441484
push 0x3d
pop eax
cmp word [edi], ax
jne 0x441420
push edi
push 0
lea eax, [ebp - 0x222c]
push eax
mov ecx, ebx
call fcn.0043fb8d
mov esi, eax
test esi, esi
js 0x441484
jmp 0x441420
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x44125b
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x222c]
call fcn.004018f0
jmp 0x44125e
push 2
pop eax
push 1
test eax, eax
mov dword [ebp - 0x221c], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.00454e2f
push eax
call fcn.0041994b
add esp, 0x14
mov ecx, ebx
push edi
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441484
push edi
mov ecx, ebx
call fcn.00441672
mov esi, eax
test esi, esi
js 0x441484
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4412f9
push edi
call fcn.00454574
pop ecx
cmp eax, 1
jne 0x4412f9
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x222c]
push edi
call fcn.00440e96
mov esi, eax
test esi, esi
jns 0x4412e7
cmp dword [ebp + 0x14], 0
je 0x441484
push edi
mov ecx, ebx
call fcn.0044070b
mov esi, eax
test esi, esi
js 0x441484
mov eax, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2264]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x440f08
test eax, eax
je 0x44132b
test ecx, ecx
jne 0x440f08
push eax
call fcn.00440220
pop ecx
mov esi, eax
jmp 0x441484
test ecx, ecx
je 0x44137a
push dword [ebp - 0x222c]
mov ecx, ebx
call fcn.004405bc
test eax, eax
je 0x44137a
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00440255
test eax, eax
je 0x440f08
cmp dword [ebp - 0x223c], 0
je 0x440f08
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x222c]
call fcn.00440aca
jmp 0x440f08
push dword [ebp - 0x222c]
mov ecx, ebx
call fcn.004405bc
lea ecx, [ebp - 0x222c]
mov dword [ebp - 0x221c], eax
call fcn.004018c0
test eax, eax
jne 0x44131d
cmp dword [ebp - 0x223c], eax
je 0x440f08
cmp dword [ebp - 0x221c], eax
jne 0x440f08
xor ecx, ecx
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x2244], ecx
mov dword [ebp - 0x2240], ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2220]
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2244], ecx
mov dword [ebp - 0x2240], ecx
push eax
lea ecx, [ebp - 0x2248]
call fcn.0044032c
xor ecx, ecx
mov dword [ebp - 0x2248], ecx
mov dword [ebp - 0x2244], ecx
mov dword [ebp - 0x2240], ecx
test eax, eax
jne 0x4414d6
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x2248]
call fcn.004018c0
cmp dword [ebp + 0x10], 0
je 0x440f08
push 0x7b
pop eax
cmp word [edi], ax
jne 0x440f08
push edi
call fcn.00454574
pop ecx
cmp eax, 1
jne 0x440f08
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x222c]
push edi
call fcn.00440e96
mov esi, eax
test esi, esi
js 0x441484
jmp 0x440ef6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2238]
jmp 0x4414cf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2238]
call fcn.004018c0
mov esi, 0x80020009
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x222c]
call fcn.004018c0
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.004535b3
leave
ret 0x10
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2254]
jmp 0x4414cf
push eax
call fcn.00440220
pop ecx
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2260]
call fcn.004018c0
jmp 0x441484
push eax
call fcn.00440220
pop ecx
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2248]
jmp 0x4414cf