Function at 0x410620
Capabilities:
Check if file exists
Create thread
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459936
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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
push str.QQPCDetector.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [0x471b10], edi
test edi, edi
je 0x410973
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RunDetector
push edi
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4106a9
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x4106a7
lea ecx, [ebp - 0x220]
push ecx
push str.RunDetector
call eax
test eax, eax
je 0x4106a7
mov eax, dword [ebp - 0x220]
jmp 0x4106a9
xor eax, eax
mov edi, dword [0x471b10]
push str.GetDectectorResult
push edi
mov dword [0x471ae4], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4106ee
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x4106ec
lea ecx, [ebp - 0x220]
push ecx
push str.GetDectectorResult
call eax
test eax, eax
je 0x4106ec
mov eax, dword [ebp - 0x220]
jmp 0x4106ee
xor eax, eax
mov edi, dword [0x471b10]
push str.WaitDetectorComplete
push edi
mov dword [0x471ae8], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x410733
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x410731
lea ecx, [ebp - 0x220]
push ecx
push str.WaitDetectorComplete
call eax
test eax, eax
je 0x410731
mov eax, dword [ebp - 0x220]
jmp 0x410733
xor eax, eax
mov edi, dword [0x471b10]
push str.CancelDetector
push edi
mov dword [0x471aec], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x410778
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x410776
lea ecx, [ebp - 0x220]
push ecx
push str.CancelDetector
call eax
test eax, eax
je 0x410776
mov eax, dword [ebp - 0x220]
jmp 0x410778
xor eax, eax
mov edi, dword [0x471b10]
push str.InitDetector
push edi
mov dword [0x471af0], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4107bd
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x4107bb
lea ecx, [ebp - 0x220]
push ecx
push str.InitDetector
call eax
test eax, eax
je 0x4107bb
mov eax, dword [ebp - 0x220]
jmp 0x4107bd
xor eax, eax
mov edi, dword [0x471b10]
push str.UnInitDetector
push edi
mov dword [0x471af4], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x410802
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x410800
lea ecx, [ebp - 0x220]
push ecx
push str.UnInitDetector
call eax
test eax, eax
je 0x410800
mov eax, dword [ebp - 0x220]
jmp 0x410802
xor eax, eax
mov edi, dword [0x471b10]
push str.SetGroupId
push edi
mov dword [0x471af8], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x410847
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x410845
lea ecx, [ebp - 0x220]
push ecx
push str.SetGroupId
call eax
test eax, eax
je 0x410845
mov eax, dword [ebp - 0x220]
jmp 0x410847
xor eax, eax
mov edi, dword [0x471b10]
push str.RunDetectorEx
push edi
mov dword [0x471afc], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x41088c
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x41088a
lea ecx, [ebp - 0x220]
push ecx
push str.RunDetectorEx
call eax
test eax, eax
je 0x41088a
mov eax, dword [ebp - 0x220]
jmp 0x41088c
xor eax, eax
mov edi, dword [0x471b10]
push str.GetDectectorResultEx
push edi
mov dword [0x471b00], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x4108d1
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x4108cf
lea ecx, [ebp - 0x220]
push ecx
push str.GetDectectorResultEx
call eax
test eax, eax
je 0x4108cf
mov eax, dword [ebp - 0x220]
jmp 0x4108d1
xor eax, eax
mov edi, dword [0x471b10]
push str.WaitDetectorCompleteEx
push edi
mov dword [0x471b04], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x410916
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x410914
lea ecx, [ebp - 0x220]
push ecx
push str.WaitDetectorCompleteEx
call eax
test eax, eax
je 0x410914
mov eax, dword [ebp - 0x220]
jmp 0x410916
xor eax, eax
mov edi, dword [0x471b10]
push str.InitLoadLoadParam
push edi
mov dword [0x471b08], eax
call esi
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x410966
push str.DllGetClassObject
push edi
call esi
test eax, eax
je 0x410964
lea ecx, [ebp - 0x220]
push ecx
push str.InitLoadLoadParam
call eax
test eax, eax
je 0x410964
mov eax, dword [ebp - 0x220]
mov edi, dword [0x471b10]
mov dword [0x471b0c], eax
jmp 0x410978
xor eax, eax
mov edi, dword [0x471b10]
mov dword [0x471b0c], eax
jmp 0x410978
mov eax, dword [0x471b0c]
test edi, edi
je 0x410a8c
cmp dword [0x471ae4], 0
je 0x410a8c
cmp dword [0x471ae8], 0
je 0x410a8c
cmp dword [0x471aec], 0
je 0x410a8c
cmp dword [0x471af0], 0
je 0x410a8c
cmp dword [0x471af4], 0
je 0x410a8c
cmp dword [0x471afc], 0
je 0x410a8c
test eax, eax
je 0x410a8c
lea ecx, [ebp - 0x220]
call fcn.004093b0
mov edx, 1
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.00410120
mov esi, dword [ebp - 0x220]
test eax, eax
je 0x410a63
push ecx
mov dword [ebp - 0x224], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x410a29
cmp ecx, dword [esi - 0x10]
jne 0x410a29
lea ebx, [esi - 0x10]
lock inc dword [eax]
jmp 0x410a53
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x410c98
mov eax, dword [esi - 0xc]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.00409570
add esp, 8
mov ecx, dword [ebp - 0x224]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
call fcn.00409fb0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410a82
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
jmp 0x410c7a
mov ecx, 0x471ae0
call fcn.00410cb0
call fcn.00407b80
mov ecx, eax
test ecx, ecx
je 0x410c9d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
xor edx, edx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00410120
mov esi, dword [ebp - 0x220]
test eax, eax
je 0x410b32
push ecx
mov dword [ebp - 0x224], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x410af8
cmp ecx, dword [esi - 0x10]
jne 0x410af8
lea ebx, [esi - 0x10]
lock inc dword [eax]
jmp 0x410b22
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x410ca7
mov eax, dword [esi - 0xc]
lea ecx, [ebx + 0x10]
mov dword [ebx + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.00409570
add esp, 8
mov ecx, dword [ebp - 0x224]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
call fcn.00409fb0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410b51
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x230], 0
push 0
push eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
call fcn.0043fa60
add esp, 0xc
lea ecx, [ebp - 0x230]
xor esi, esi
push 0x20019
push str.SOFTWARETencentQQPCMgr
push connect
call fcn.00407980
test eax, eax
jne 0x410c44
mov edi, dword [ebp - 0x230]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 0x208
push eax
lea eax, [ebp - 0x224]
push eax
push esi
push str.InstallDir
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410c3d
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x410bef
cmp eax, 2
jne 0x410c3d
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x410c0b
test al, 1
jne 0x410c3d
shr eax, 1
cmp word [ebp + eax*2 - 0x21e], si
je 0x410c14
jmp 0x410c3d
xor eax, eax
mov word [ebp - 0x21c], ax
push str.QQPCMgr.exe
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
cmovne esi, ecx
test edi, edi
je 0x410c55
push edi
jmp 0x410c4f
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x410c55
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x471b24], esi
test esi, esi
jne 0x410c78
push esi
push esi
push 0x471ae0
push 0x410d40
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x471b20], eax
xor eax, eax
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 4
call fcn.004096f0
push 0x80004005
call fcn.00407690
call fcn.004096f0
int3