Function at 0x452410
Capabilities:
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d69a2
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
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 - 0xc4], esi
lea ecx, [esi + 0xc]
call fcn.004404e0
test eax, eax
jne 0x4524c2
mov edx, dword [esi + 4]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], 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 - 0x40]
call fcn.00439160
push str.QMSSO
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0048e980
lea eax, [ebp - 0x40]
push eax
call fcn.004529f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4524c2
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
lea eax, [ebp - 0x98]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x98], 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 - 0xc0], eax
mov dword [ebp - 4], 1
movzx eax, word [ebp - 0x8c]
push eax
movzx eax, word [ebp - 0x8e]
push eax
movzx eax, word [ebp - 0x90]
push eax
movzx eax, word [ebp - 0x92]
push eax
movzx eax, word [ebp - 0x96]
push eax
movzx eax, word [ebp - 0x98]
push eax
lea eax, [ebp - 0xc0]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00421db0
add esp, 0x20
push 0
lea eax, [ebp - 0xb4]
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 - 0xb4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp - 0xc0]
test eax, eax
jne 0x4525f3
mov eax, dword [ebp - 0xb4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4525d0
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0xb8], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4525a2
sub edx, dword [ebp - 0xb8]
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 - 0xb4]
mov dword [ebp - 0xb8], 0
test eax, eax
je 0x4525f3
push 4
lea ecx, [ebp - 0xb8]
push ecx
push 4
push 0
push str.UninstallCount
push eax
call edi
lea ecx, [ebp - 0xb8]
call fcn.0048af90
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 - 0xb8]
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 - 0x88]
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 - 0xb0]
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 eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor edi, edi
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push edi
cmovae eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 0x18], 0
call fcn.004af37c
add esp, 8
cmp eax, 0xffffffff
je 0x4527e3
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push edi
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.004af37c
add esp, 8
mov ecx, 1
cmp eax, 0xffffffff
cmove edi, ecx
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xf
push eax
push 0x20019
push 0
push str.QMConfig
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0xbc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x452849
mov ecx, str.SeBackupPrivilege
call fcn.00497a10
mov ecx, str.SeRestorePrivilege
call fcn.00497a10
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.QMConfig
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test edi, edi
je 0x452899
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov edi, dword [ebp - 0xc4]
mov ecx, edi
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004537d0
cmp dword [edi + 0x18], 0
je 0x452899
cmp dword [edi + 0x14], 0
je 0x452899
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0xb0]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0xb0]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
call fcn.0047eb10
call fcn.0047e820
lea ecx, [eax - 0x879703]
cmp ecx, 0x13
jbe 0x4528b5
cmp eax, 0x1fc7f
jne 0x4528ba
call fcn.00456220
mov eax, dword [ebp - 0xbc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4528cd
push eax
call edi
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], 0
cmp eax, 8
jb 0x4528f5
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa0], 0
cmp eax, 8
jb 0x452927
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 - 0x74]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x452956
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 - 0x44]
mov dword [ebp - 0x78], 0
cmp eax, 8
jb 0x452982
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 - 0xb4]
mov dword [ebp - 0x48], 0
test eax, eax
je 0x4529a3
push eax
call edi
mov dword [ebp - 0xb4], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4529cc
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.004a578d
mov esp, ebp
pop ebp
ret