Function at 0x452a80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x15c], 0
call fcn.00450720
mov edx, dword [ebp - 0x84]
mov eax, edx
mov ecx, dword [ebp - 0x88]
sub eax, ecx
cmp eax, 8
jb 0x452af4
cmp edx, 8
lea esi, [ebp - 0x98]
push 0x10
cmovae esi, dword [ebp - 0x98]
lea edi, [ecx + 8]
push str._bkinfo_
mov dword [ebp - 0x88], edi
lea eax, [esi + ecx*2]
push eax
call fcn.004c0040
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x452b15
push 8
push str._bkinfo_
mov byte [ebp - 0x160], 0
lea ecx, [ebp - 0x98]
push dword [ebp - 0x160]
push 8
call fcn.00404fc0
push 0xe
xor eax, eax
mov dword [ebp - 0xa0], 0
push str._settingconfig
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
call fcn.00403e30
lea eax, [ebp - 0xb0]
push eax
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x34]
call fcn.004195e0
add esp, 4
mov dword [ebp - 0x40], vtable.CxAutoArray_unsigned_char_.0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x3c], 0
cmovae eax, dword [ebp - 0x34]
push eax
push 0x233
push str.UnInstallFrame::UnEnableAutoPlay
push 0x50e650
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x160], 0
call fcn.0041f720
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x3c]
push eax
call fcn.00440d00
mov ecx, dword [ebp - 0x3c]
add esp, 0x14
test eax, eax
je 0x452fd6
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x452fd6
push eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00404000
xor eax, eax
mov dword [ebp - 0x148], 0
push eax
push 0x5010a0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x144], 7
mov word [ebp - 0x158], ax
call fcn.00403e30
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
mov ebx, dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push ebx
push eax
push 0
push 0
call edi
mov esi, eax
lea ecx, [ebp - 0x158]
push 0
push esi
call fcn.00419300
cmp dword [ebp - 0x144], 8
lea ecx, [ebp - 0x158]
push esi
cmovae ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
push ecx
cmovae eax, dword [ebp - 0x1c]
push ebx
push eax
push 0
push 0
call edi
cmp dword [ebp - 0x144], 8
lea eax, [ebp - 0x158]
cmovae eax, dword [ebp - 0x158]
push eax
push 0x239
push str.UnInstallFrame::UnEnableAutoPlay
push 0x50e650
call fcn.0041f720
mov edx, dword [ebp - 0x144]
add esp, 0x10
cmp edx, 8
jb 0x452ce0
mov ecx, dword [ebp - 0x158]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452cd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530ba
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0x70
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea ecx, [ebp - 0x140]
call fcn.00405c70
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x118]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push eax
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x44], 0
call fcn.00404000
cmp dword [ebp - 0x104], 0x10
lea eax, [ebp - 0x50]
push 1
push eax
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x118]
cmovae ecx, dword [ebp - 0x118]
add eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x140]
call fcn.00405d30
test al, al
je 0x452f7a
mov al, byte [ebp - 0x48]
test al, al
je 0x452f7a
cmp al, 7
sete al
test al, al
je 0x452f7a
mov eax, dword [ebp - 0x148]
and eax, 0xffffff01
mov dword [ebp - 0x144], 0
or eax, 1
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x150]
push eax
push ecx
push str.auto_play_switch
lea ecx, [ebp - 0x50]
call fcn.004096a0
mov ecx, eax
call fcn.00409040
lea ecx, [ebp - 0x150]
call fcn.00408f30
push 4
lea eax, [ebp - 0x15c]
push eax
push 4
push str.360huabao_loopenable
push str.Software360360huabao
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.F0BCC447_49A9_4FDA_AC7A_1068FEDF24B1
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x452eb2
push 5
push str.close
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00404000
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x68]
cmovae eax, dword [ebp - 0x68]
push 0x24d
push str.UnInstallFrame::UnEnableAutoPlay
push str.__s__d__PostMessage_WM_COPYDATA_WallPaperDropDownWnd
mov dword [ebp - 0x14c], 0x3f0
mov dword [ebp - 0x144], eax
call fcn.0041f720
add esp, 0xc
lea eax, [ebp - 0x14c]
push 0
push 0x3e8
push 2
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x452ec9
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452ea6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530bf
push edx
push ecx
call fcn.004bdd39
add esp, 8
jmp 0x452ec9
push 0x252
push str.UnInstallFrame::UnEnableAutoPlay
push str.__s__d__PostMessage_WM_COPYDATA_hWnd_not_exist_WallPaperDropDownWnd
call fcn.0041f720
add esp, 0xc
lea eax, [ebp - 0x50]
mov dword [ebp - 0xd0], vtable.Json::FastWriter.0
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0xbc], 0
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov byte [ebp - 0xb4], 0
call fcn.0040bc60
cmp dword [ebp - 0x6c], 0x10
lea edx, [ebp - 0x80]
push dword [ebp - 0x70]
cmovae edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae ecx, dword [ebp - 0x34]
call fcn.00440df0
mov edx, dword [ebp - 0x6c]
add esp, 4
cmp edx, 0x10
jb 0x452f5d
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452f53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530c4
push edx
push ecx
call fcn.004bdd39
add esp, 8
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
call fcn.0040b0b0
lea ecx, [ebp - 0x50]
call fcn.00408f30
lea ecx, [ebp - 0x140]
call fcn.00407ea0
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x452fc1
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452fb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530c4
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
test ecx, ecx
je 0x452fe3
push ecx
call fcn.004bdb09
add esp, 4
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x45301d
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453013
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530c4
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x9c]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x45306d
mov ecx, dword [ebp - 0xb0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453063
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530c4
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x4530a9
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45309f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4530c4
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
int3