Function at 0x4072e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b315
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43800c]
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 0x4335d8
mov byte [ebp - 0x2d], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00409f20
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 0x40738d
sub edi, esi
nop word [eax + eax]
movzx eax, word [esi]
push eax
call fcn.00419c54
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, ebx
jne 0x407370
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 0x4073d1
mov ecx, str.kill
mov edx, ebx
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4073cb
add ecx, 2
sub edx, 1
jne 0x4073a7
push 4
push str.Kill
lea ecx, [ebp - 0x28]
call fcn.00409f20
xor bl, bl
jmp 0x407413
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
cmp ecx, 8
lea esi, [ebp + 8]
cmovae esi, edx
cmp ebx, 5
jne 0x407410
mov ecx, str.pause
mov edx, ebx
sub esi, ecx
nop dword [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x407410
add ecx, 2
sub edx, 1
jne 0x4073f0
push 5
push str.Pause
lea ecx, [ebp - 0x28]
call fcn.00409f20
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 0x407425
sub ecx, edi
sar ecx, 1
add ecx, ecx
cmp dword [ebp - 0x18], 0
jne 0x407480
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 0x407470
push str.Switch
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x407499
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x407499
push ecx
cmp edx, 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, esi
push eax
push str.Switch
call fcn.0040c060
add esp, 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4074cf
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4074c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407537
push edx
push ecx
call fcn.004165af
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 0x407519
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40750f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407537
push edx
push ecx
call fcn.004165af
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.004165a1
mov esp, ebp
pop ebp
ret
call fcn.00419a7c
int3