Function at 0x44fff0
Capabilities:
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5406
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.0043f7c0
test eax, eax
jne 0x4500a2
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 0x45004b
xor ecx, ecx
jmp 0x45005f
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450050
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004393e0
push str.QMSSO
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0048d880
lea eax, [ebp - 0x28]
push eax
call fcn.00450800
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4500a2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433850
lea eax, [ebp - 0xb0]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xb0], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x4500ce
push 0x80004005
call fcn.0041ce60
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.00422000
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 0x4501d3
mov eax, dword [ebp - 0xec]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4501b0
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0xe4], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x450182
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 0x4501d3
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.004899c0
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 0x450201
xor ecx, ecx
jmp 0x450215
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450206
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004393e0
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 0x450241
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.004393e0
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.004389a0
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45029e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433850
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.004393e0
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.004389a0
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x450306
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433850
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.004393e0
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.004389a0
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45036d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433850
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.004ae3cc
add esp, 8
cmp eax, 0xffffffff
je 0x4503be
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push edi
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.004ae3cc
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 0x45043f
mov ecx, str.SeBackupPrivilege
call fcn.00496a00
mov ecx, str.SeRestorePrivilege
call fcn.00496a00
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 0x515408
call fcn.0048c0f0
add esp, 0x10
mov dword [ebp - 0xe8], 0
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x10
call fcn.004899c0
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 0x45047e
xor ecx, ecx
jmp 0x450492
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450483
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.004393e0
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 0x4504c1
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.004393e0
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.004389a0
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x450524
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433850
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 0x45054b
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 0x4505c8
mov ecx, str.SeBackupPrivilege
call fcn.00496a00
mov ecx, str.SeRestorePrivilege
call fcn.00496a00
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 0x515408
call fcn.0048c0f0
add esp, 0x10
cmp dword [ebp - 0xe4], 0
je 0x450621
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0xf8]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004515e0
mov eax, dword [ebp - 0xf8]
cmp dword [eax + 0x18], 0
je 0x450621
cmp dword [eax + 0x14], 0
je 0x450621
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.0047d4e0
call fcn.0047d1a0
lea ecx, [eax - 0x879703]
cmp ecx, 0x13
jbe 0x45063d
cmp eax, 0x1fc7f
jne 0x450642
call fcn.004540c0
mov eax, dword [ebp - 0xb4]
cmp eax, 8
jb 0x450660
inc eax
lea ecx, [ebp - 0xc8]
push eax
push dword [ebp - 0xc8]
call fcn.00433850
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 0x450698
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00433850
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 0x4506bc
push eax
call edi
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xe8], 0
test eax, eax
je 0x4506d3
push eax
call edi
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xf0], 0
cmp eax, 8
jb 0x4506fb
inc eax
lea ecx, [ebp - 0xe0]
push eax
push dword [ebp - 0xe0]
call fcn.00433850
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 0x45072d
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00433850
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 0x45075f
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00433850
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 0x450791
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433850
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 0x4507b2
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 0x4507db
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.004a474b
mov esp, ebp
pop ebp
ret