Function at 0x408aa0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d5e5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43a00c]
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
xor eax, eax
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x4354f8
mov byte [ebp - 0x2d], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040c560
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x1c]
lea edi, [ebp + 8]
mov edx, dword [ebp + 8]
cmp ecx, 8
mov esi, dword [ebp + 0x18]
cmovae eax, edx
cmovae edi, edx
lea ebx, [eax + esi*2]
lea esi, [ebp + 8]
cmovae esi, edx
cmp esi, ebx
je 0x408b4d
sub edi, esi
nop word [eax + eax]
movzx eax, word [esi]
push eax
call fcn.0041b160
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, ebx
jne 0x408b30
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
lea esi, [ebp + 8]
cmp ecx, 8
cmovae esi, edx
cmp ebx, 4
jne 0x408b91
mov ecx, str.kill
mov edx, ebx
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x408b8b
add ecx, 2
sub edx, 1
jne 0x408b67
push 4
push str.Kill
lea ecx, [ebp - 0x28]
call fcn.0040c560
xor bl, bl
jmp 0x408bd3
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
cmp ecx, 8
lea esi, [ebp + 8]
cmovae esi, edx
cmp ebx, 5
jne 0x408bd0
mov ecx, str.pause
mov edx, ebx
sub esi, ecx
nop dword [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x408bd0
add ecx, 2
sub edx, 1
jne 0x408bb0
push 5
push str.Pause
lea ecx, [ebp - 0x28]
call fcn.0040c560
mov bl, byte [ebp - 0x2d]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edx, 8
cmovae ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408be5
sub ecx, edi
sar ecx, 1
add ecx, ecx
cmp dword [ebp - 0x18], 0
jne 0x408c40
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftBingWallpaperApp
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408c30
push str.Switch
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x408c59
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x408c59
push ecx
cmp edx, 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, esi
push eax
push str.Switch
call fcn.0040d540
add esp, 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x408c8f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408cf7
push edx
push ecx
call fcn.00417807
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x408cd9
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408ccf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408cf7
push edx
push ecx
call fcn.00417807
add esp, 8
mov al, bl
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.004177f9
mov esp, ebp
pop ebp
ret
call fcn.0041af8c
int3