Function at 0x408c20
Capabilities:
Check if file exists
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45933b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
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
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x228]
imul ecx, eax, 0x64
movzx eax, word [ebp - 0x226]
push 0x2001f
push str.SoftwareTencentTodayDo
push connect
add ecx, eax
mov dword [ebp - 0x238], 0
movzx eax, word [ebp - 0x222]
imul ebx, ecx, 0x64
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
add ebx, eax
call fcn.00407980
mov esi, dword [ebp - 0x234]
test eax, eax
jne 0x408cf3
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 4
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x244]
push eax
push 0
push str.RunTaskQQ
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x238]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x23c], eax
test esi, esi
je 0x408d12
push esi
call edi
mov eax, dword [ebp - 0x23c]
cmp eax, ebx
jne 0x408d1d
xor eax, eax
jmp 0x408f24
sub esp, 0x14
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push str.SoftwareTencentTodayDo
push ecx
lea ecx, [ebp - 0x234]
call fcn.004078b0
test eax, eax
jne 0x408dab
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x228]
mov esi, dword [ebp - 0x234]
imul ecx, eax, 0x64
movzx eax, word [ebp - 0x226]
push 4
add ecx, eax
movzx eax, word [ebp - 0x222]
imul ecx, ecx, 0x64
add ecx, eax
lea eax, [ebp - 0x23c]
push eax
push 4
push 0
push str.RunTaskQQ
push esi
mov dword [ebp - 0x23c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x408db8
push esi
jmp 0x408db6
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x408db8
push eax
call edi
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push 0x20019
push str.SoftwareTencentQQBrowser
push connect
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.00407980
test eax, eax
jne 0x408f13
mov ax, word [0x4634cc]
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.0043fa60
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x238]
add esp, 0xc
mov dword [ebp - 0x238], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0
push 0x4639f8
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408f08
mov eax, dword [ebp - 0x23c]
cmp eax, 1
je 0x408e71
cmp eax, 2
jne 0x408f08
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x408eff
test al, 1
jne 0x408f08
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
jne 0x408f08
cmp word [ebp - 0x218], 0
je 0x408f08
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408f08
push 0
push 0
push str._host__tasks__fromqq
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x408ef3
mov ecx, 0x80054c6
call fcn.00408ae0
lea ecx, [ebp - 0x234]
call fcn.00407880
mov esi, dword [ebp - 0x234]
mov ebx, 1
jmp 0x408f1b
mov ecx, 0x80054c7
call fcn.00408ae0
jmp 0x408f08
xor eax, eax
mov word [ebp - 0x218], ax
test esi, esi
je 0x408f19
push esi
call edi
xor esi, esi
jmp 0x408f19
mov esi, dword [ebp - 0x234]
xor ebx, ebx
test esi, esi
je 0x408f22
push esi
call edi
mov eax, ebx
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