Function at 0x42e959
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcd64
mov eax, dword fs:[0]
push eax
mov eax, 0x2258
call fcn.00432ca0
mov eax, dword [0x4ed290]
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 - 0x221c], eax
xor eax, eax
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], eax
mov dword [ebp - 4], eax
push edi
mov ecx, ebx
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eefd
push 0x7d
pop eax
cmp word [edi], ax
je 0x42eefd
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x2224], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4c138c
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42ea06
test esi, esi
je 0x42ead2
push edi
mov ecx, ebx
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eefd
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x42ead4
push 0x5c
push edi
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.0042f168
pop ecx
pop ecx
test eax, eax
jne 0x42eeed
push edi
mov ecx, ebx
call fcn.0042dbf7
test eax, eax
je 0x42ea89
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2230]
push edi
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.0042e4d7
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
cmp dword [ebp - 0x2220], esi
je 0x42eac5
push edi
mov ecx, ebx
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eee5
push edi
mov ecx, ebx
call fcn.0042f0df
lea ecx, [ebp - 0x2230]
mov esi, eax
call fcn.0042dc99
test esi, esi
js 0x42eefd
jmp 0x42eea1
lea ecx, [ebp - 0x2230]
call fcn.0042dc99
jmp 0x42ead4
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42eafc
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eefd
push 0x4c1384
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42ec28
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eefd
push edi
mov ecx, ebx
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eefd
push 0x3d
pop eax
cmp word [edi], ax
jne 0x42eef8
cmp dword [ebp + 0x10], 0
je 0x42ebae
and dword [ebp - 0x2248], 0
xor eax, eax
and dword [ebp - 0x2244], 0
inc eax
mov byte [ebp - 4], al
mov ecx, ebx
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x224c]
push eax
call fcn.0042d5df
mov esi, eax
lea ecx, [ebp - 0x224c]
xor eax, eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
test esi, esi
js 0x42ef37
mov byte [ebp - 4], al
jmp 0x42ee9c
cmp dword [ebp + 0x14], 0
jne 0x42ec1b
cmp dword [ebp - 0x2224], 0
je 0x42ec1b
xor eax, eax
lea ecx, [ebp - 0x2264]
push 0x20006
push eax
push dword [ebp - 0x221c]
mov dword [ebp - 0x2264], eax
mov dword [ebp - 0x2260], eax
mov dword [ebp - 0x225c], eax
call fcn.0042e228
test eax, eax
jne 0x42ef28
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2264]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x42ec10
cmp eax, 2
jne 0x42ef28
lea ecx, [ebp - 0x2264]
call fcn.0042dc99
push edi
mov ecx, ebx
call fcn.0042f0df
jmp 0x42e9b8
push 0x5c
push edi
call fcn.0042f168
pop ecx
pop ecx
test eax, eax
jne 0x42eef8
cmp dword [ebp + 0x10], eax
je 0x42eccb
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
push 0x2001f
push edi
push esi
call fcn.0042e228
test eax, eax
je 0x42ec95
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x223c]
call fcn.0042e228
test eax, eax
je 0x42ec95
xor eax, eax
lea ecx, [ebp - 0x223c]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.0042dcb3
test eax, eax
jne 0x42edb1
push edi
mov ecx, ebx
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eefd
push 0x3d
pop eax
cmp word [edi], ax
jne 0x42eea1
push edi
push 0
lea eax, [ebp - 0x223c]
mov ecx, ebx
push eax
call fcn.0042d5df
mov esi, eax
jmp 0x42eab8
cmp dword [ebp + 0x14], 0
jne 0x42ecea
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x223c]
call fcn.0042e228
jmp 0x42eced
push 2
pop eax
mov ecx, dword [ebp + 0x14]
test eax, eax
push 1
mov dword [ebp - 0x2220], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x2240], ecx
call fcn.0047efa1
push eax
call fcn.0042db5a
add esp, 0x14
mov ecx, ebx
push edi
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eefd
push edi
mov ecx, ebx
call fcn.0042f0df
mov esi, eax
test esi, esi
js 0x42eefd
push 0x7b
pop eax
cmp word [edi], ax
jne 0x42ed94
push edi
call fcn.0047a993
pop ecx
cmp eax, 1
jne 0x42ed94
push dword [ebp - 0x2240]
mov ecx, ebx
push 0
push dword [ebp - 0x223c]
push edi
call fcn.0042e959
mov esi, eax
test esi, esi
jns 0x42ed82
cmp dword [ebp - 0x2240], 0
je 0x42eefd
push edi
mov ecx, ebx
call fcn.0042e0e9
mov esi, eax
test esi, esi
js 0x42eefd
mov eax, dword [ebp - 0x2220]
cmp eax, 2
je 0x42e9c2
test eax, eax
je 0x42edbf
cmp dword [ebp + 0x14], 0
jne 0x42e9c2
push eax
call fcn.0042dbca
pop ecx
mov esi, eax
jmp 0x42eefd
cmp dword [ebp + 0x14], 0
je 0x42ee10
push dword [ebp - 0x223c]
mov ecx, ebx
call fcn.0042df90
test eax, eax
je 0x42ee10
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.0042dbf7
test eax, eax
je 0x42e9c2
cmp dword [ebp - 0x2224], 0
je 0x42e9c2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x223c]
call fcn.0042e4d7
jmp 0x42e9c2
push dword [ebp - 0x223c]
mov ecx, ebx
call fcn.0042df90
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2220], eax
call fcn.0042dc99
test eax, eax
jne 0x42edb1
cmp dword [ebp - 0x2224], eax
je 0x42e9c2
cmp dword [ebp - 0x2220], eax
jne 0x42e9c2
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2258]
and dword [ebp - 0x2254], 0
and dword [ebp - 0x2250], 0
mov dword [ebp - 0x2258], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042dd24
xor ecx, ecx
mov dword [ebp - 0x2258], ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
test eax, eax
jne 0x42ef3e
lea ecx, [ebp - 0x2258]
call fcn.0042dc99
cmp dword [ebp + 0x10], 0
je 0x42e9c2
push 0x7b
pop eax
cmp word [edi], ax
jne 0x42e9c2
push edi
call fcn.0047a993
pop ecx
cmp eax, 1
jne 0x42e9c2
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x223c]
push edi
call fcn.0042e959
mov esi, eax
test esi, esi
js 0x42eefd
jmp 0x42e9b0
lea ecx, [ebp - 0x2230]
jmp 0x42ef37
lea ecx, [ebp - 0x2230]
call fcn.0042dc99
mov esi, 0x80020009
lea ecx, [ebp - 0x223c]
call fcn.0042dc99
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.00431cf3
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.0042dbca
pop ecx
lea ecx, [ebp - 0x2264]
mov esi, eax
call fcn.0042dc99
jmp 0x42eefd
push eax
call fcn.0042dbca
pop ecx
lea ecx, [ebp - 0x2258]
jmp 0x42ef35