Function at 0x41a200
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459ff6
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x471080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x868], esi
xor eax, eax
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], 7
mov word [ebp - 0x850], ax
push 0x412
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x838]
push eax
call fcn.0043fa60
add esp, 0xc
mov ecx, esi
push 0
push 0x4634cc
call fcn.004017c0
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x858], 0
push 0x412
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0043fa60
add esp, 0xc
lea ecx, [ebp - 0x860]
push 0x20019
push str.SOFTWARETencentQQ2009
push connect
call fcn.00407980
test eax, eax
je 0x41a2e8
mov eax, dword [ebp - 0x860]
test eax, eax
je 0x41a360
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41a360
mov esi, dword [ebp - 0x860]
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x854], 0x410
push eax
lea eax, [ebp - 0x864]
push eax
push 0
push str.Install
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a34a
mov eax, dword [ebp - 0x864]
cmp eax, 1
je 0x41a32f
cmp eax, 2
jne 0x41a34a
mov eax, dword [ebp - 0x854]
test eax, eax
je 0x41a3a5
test al, 1
jne 0x41a34a
shr eax, 1
cmp word [ebp + eax*2 - 0x426], 0
je 0x41a3ae
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41a360
push esi
call edi
xor esi, esi
test esi, esi
je 0x41a360
push esi
call edi
xor esi, esi
mov edx, dword [ebp - 0x83c]
cmp edx, 8
jb 0x41a4b6
mov ecx, dword [ebp - 0x850]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a4ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a4d4
jmp 0x41a4ac
xor eax, eax
mov word [ebp - 0x424], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41a3c3
push esi
call edi
xor esi, esi
mov dword [ebp - 0x860], esi
lea eax, [ebp - 0x424]
mov dword [ebp - 0x85c], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a359
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a3f0
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x850]
call fcn.004017c0
mov byte [ebp - 4], 0
test esi, esi
je 0x41a41d
push esi
call edi
cmp dword [ebp - 0x83c], 8
lea eax, [ebp - 0x850]
cmovae eax, dword [ebp - 0x850]
push eax
lea eax, [ebp - 0x838]
push 0x209
push eax
call fcn.004464ed
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x838]
add esp, 0xc
push 0x464d1c
push eax
call esi
push str.QQCloud.DLL
lea eax, [ebp - 0x838]
push eax
call esi
test ebx, ebx
je 0x41a477
lea ecx, [ebp - 0x838]
call fcn.0040f980
lea edx, [ebp - 0x838]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41a480
mov ecx, dword [ebp - 0x868]
lea eax, [ebp - 0x838]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.004017c0
mov esi, 1
jmp 0x41a362
push edx
push ecx
call fcn.0043dbf3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043dbb2
mov esp, ebp
pop ebp
ret
call fcn.004420bc
int3