Function at 0x1000cae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d636
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x1007b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
xor esi, esi
lea eax, [ebp - 0x4f0]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x500], 0x104
lea eax, [ebp - 0x53c]
mov dword [ebp - 0x53c], esi
mov dword [ebp - 0x4fc], 1
push eax
push 1
push esi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000cbd2
lea eax, [ebp - 0x500]
push eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x4fc]
push eax
push esi
push str.Version
push dword [ebp - 0x53c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000cbbe
cmp dword [ebp - 0x4fc], 1
jne 0x1000cbbe
lea ecx, [ebp - 0x4f0]
call fcn.10043c70
test eax, eax
je 0x1000cbbe
push 0xffffffffffffffff
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0xd8]
push 0x64
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
mov esi, 1
push dword [ebp - 0x53c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1000ccbd
xor eax, eax
mov dword [ebp - 0x50c], 7
mov dword [ebp - 0x510], 0
mov word [ebp - 0x520], ax
lea ecx, [ebp - 0x520]
mov dword [ebp - 4], eax
call fcn.10043a00
test eax, eax
je 0x1000cca7
xor eax, eax
mov dword [ebp - 0x524], 7
mov dword [ebp - 0x528], 0
mov word [ebp - 0x538], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x520]
cmp dword [ebp - 0x50c], 8
lea edx, [ebp - 0x538]
cmovae ecx, dword [ebp - 0x520]
call fcn.10043e90
test eax, eax
je 0x1000cc50
mov esi, 1
jmp 0x1000cc75
cmp dword [ebp - 0x50c], 8
lea ecx, [ebp - 0x520]
lea edx, [ebp - 0x538]
cmovae ecx, dword [ebp - 0x520]
call fcn.10043f40
mov esi, eax
test esi, esi
je 0x1000cc9c
cmp dword [ebp - 0x524], 8
lea ecx, [ebp - 0x538]
lea eax, [ebp - 0xd8]
cmovae ecx, dword [ebp - 0x538]
push ecx
push 0x64
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [ebp - 0x538]
call fcn.10002cc0
lea ecx, [ebp - 0x520]
mov dword [ebp - 4], 0xffffffff
call fcn.10002cc0
test esi, esi
je 0x1000ccd7
lea ecx, [ebp - 0xd8]
call fcn.10043c70
test eax, eax
jne 0x1000cd57
mov word [ebp - 0xd8], ax
push 0x104
lea eax, [ebp - 0x2e0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1000cd3b
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.QQPCMgr.exe
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x508]
push eax
lea edx, [ebp - 0x4f8]
lea ecx, [ebp - 0x4f4]
call fcn.10042620
add esp, 0xc
test al, al
jne 0x1000cd96
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005b6db
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1000ccd7
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x4f8]
push eax
lea eax, [ebp - 0x4f4]
push eax
push str._u._u._u._u
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.1000e490
add esp, 0x1c
cmp eax, 4
jne 0x1000cd3b
cmp dword [ebp - 0x4f4], 6
jne 0x1000cd3b
cmp dword [ebp - 0x4f8], 1
jne 0x1000cd3b
mov eax, 1
jmp 0x1000cd3d