Function at 0x452410
Capabilities:
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6fa6
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xf8], esi
lea ecx, [esi + 0xc]
call fcn.004404e0
test eax, eax
jne 0x4524c2
mov edx, dword [esi + 4]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x45246b
xor ecx, ecx
jmp 0x45247f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452470
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00439160
push str.QMSSO
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0048eea0
lea eax, [ebp - 0x28]
push eax
call fcn.00452c20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4524c2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
lea eax, [ebp - 0xb0]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xb0], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x4524ee
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 1
movzx eax, word [ebp - 0xa4]
push eax
movzx eax, word [ebp - 0xa6]
push eax
movzx eax, word [ebp - 0xa8]
push eax
movzx eax, word [ebp - 0xaa]
push eax
movzx eax, word [ebp - 0xae]
push eax
movzx eax, word [ebp - 0xb0]
push eax
lea eax, [ebp - 0xf4]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00421db0
add esp, 0x20
push 0
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 2
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xec], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp - 0xf4]
test eax, eax
jne 0x4525f3
mov eax, dword [ebp - 0xec]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4525d0
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0xe4], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4525a2
sub edx, dword [ebp - 0xe4]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push str.InstallTime
push eax
call edi
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe4], 0
test eax, eax
je 0x4525f3
push 4
lea ecx, [ebp - 0xe4]
push ecx
push 4
push 0
push str.UninstallCount
push eax
call edi
lea ecx, [ebp - 0xe4]
call fcn.0048b4b0
mov byte [ebp - 4], 3
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [edx], ax
jne 0x452621
xor ecx, ecx
jmp 0x452635
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452626
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00439160
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0xe4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x452661
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
push str.QMConfig.hiv
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00439160
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push eax
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0xa0]
call fcn.00438720
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4526be
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xc
push str.QMConfig.dat
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
call fcn.00439160
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push eax
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.00438720
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x452726
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x10
push str.QMConfig.bak.dat
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.00439160
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
push eax
cmovae edx, dword [ebp - 0x58]
lea ecx, [ebp - 0xe0]
call fcn.00438720
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45278d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor edi, edi
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push edi
cmovae eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 0xe4], edi
call fcn.004af917
add esp, 8
cmp eax, 0xffffffff
je 0x4527de
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push edi
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.004af917
add esp, 8
mov ecx, 1
cmp eax, 0xffffffff
cmove edi, ecx
mov dword [ebp - 0xe4], edi
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xf
push eax
push 0x20019
push 0
push str.QMConfig
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0xf0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45285f
mov ecx, str.SeBackupPrivilege
call fcn.00497f50
mov ecx, str.SeRestorePrivilege
call fcn.00497f50
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push eax
push str.QMConfig
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
push eax
push str.CInstallHive::OnUpdateSelfProtectBefore
push str.__s__:_lResult_0x_x_.
push 0x515488
call fcn.0048d710
add esp, 0x10
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x10
call fcn.0048b4b0
mov byte [ebp - 4], 0x11
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp word [edx], ax
jne 0x45289e
xor ecx, ecx
jmp 0x4528b2
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4528a3
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00439160
mov byte [ebp - 4], 0x13
or eax, 0xffffffff
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4528e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xe
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.SpeedupCfg.hiv
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00439160
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x74], 8
lea edx, [ebp - 0x88]
push eax
cmovae edx, dword [ebp - 0x88]
lea ecx, [ebp - 0xc8]
call fcn.00438720
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x452944
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
test eax, eax
je 0x45296b
push eax
call edi
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
push eax
push 0x20019
push 0
push str.SpeedupCfg
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4529e8
mov ecx, str.SeBackupPrivilege
call fcn.00497f50
mov ecx, str.SeRestorePrivilege
call fcn.00497f50
cmp dword [ebp - 0xb4], 8
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push eax
push str.SpeedupCfg
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
push eax
push str.CInstallHive::OnUpdateSelfProtectBefore
push str.__s__:_lResult_0x_x_.
push 0x515488
call fcn.0048d710
add esp, 0x10
cmp dword [ebp - 0xe4], 0
je 0x452a41
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0xf8]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00453a00
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0x18], 0
je 0x452a41
cmp dword [eax + 0x14], 0
je 0x452a41
cmp dword [ebp - 0xcc], 8
lea ecx, [ebp - 0xe0]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0xe0]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
call fcn.0047f030
call fcn.0047ed40
lea ecx, [eax - 0x879703]
cmp ecx, 0x13
jbe 0x452a5d
cmp eax, 0x1fc7f
jne 0x452a62
call fcn.00456460
mov eax, dword [ebp - 0xb4]
cmp eax, 8
jb 0x452a80
inc eax
lea ecx, [ebp - 0xc8]
push eax
push dword [ebp - 0xc8]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb8], 0
cmp eax, 8
jb 0x452ab8
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x78], 0
test eax, eax
je 0x452adc
push eax
call edi
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xe8], 0
test eax, eax
je 0x452af3
push eax
call edi
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xf0], 0
cmp eax, 8
jb 0x452b1b
inc eax
lea ecx, [ebp - 0xe0]
push eax
push dword [ebp - 0xe0]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xd0], 0
cmp eax, 8
jb 0x452b4d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x452b7f
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x452bb1
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x48], 0
test eax, eax
je 0x452bd2
push eax
call edi
mov dword [ebp - 0xec], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x452bfb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret