Function at 0x417e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b992
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x490
mov dword [ebp - 0x49c], ecx
push 0x425f7c
lea ecx, [ebp - 0x458]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x458]
push eax
mov ecx, dword [ebp - 0x49c]
call fcn.00417d60
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x458]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [ebp - 0x14], 0x425fa4
mov dword [ebp - 0x14], vtable.QMRegisterUtils::CQMRegistryHandle.0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x480], 0
lea ecx, [ebp - 0x480]
push ecx
push 1
push 0
push str.SOFTWARETencentQQPCMgr
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0
jne 0x417f11
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [edx + 0x54]
call eax
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x480]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x484], 0
jne 0x418014
mov word [ebp - 0x43c], 0
push 0x410
push 0
lea edx, [ebp - 0x43a]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0x208
mov eax, dword [ebp - 0x20]
shl eax, 1
mov dword [ebp - 0x48c], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x48c]
push ecx
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x488]
push eax
push 0
push str.Version
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x490], eax
mov edx, dword [ebp - 0x48c]
shr edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x490], 0
je 0x417fa4
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x494], eax
jmp 0x417fcc
cmp dword [ebp - 0x488], 1
je 0x417fc2
cmp dword [ebp - 0x488], 2
je 0x417fc2
mov dword [ebp - 0x494], 0xd
jmp 0x417fcc
mov dword [ebp - 0x494], 0
cmp dword [ebp - 0x494], 0
jne 0x418014
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x474]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x474]
push edx
mov ecx, dword [ebp - 0x49c]
call fcn.00417d60
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x474]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x478], ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], vtable.QMRegisterUtils::CQMRegistryHandle.0
mov dword [ebp - 0x498], 0
cmp dword [ebp - 0x10], 0
je 0x41805b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x47c]
mov edx, dword [ebp - 0x478]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret