Function at 0x6cdfb8b0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce1aaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x6ce5c008]
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 eax, ecx
mov dword [ebp - 0x6c4], eax
test eax, eax
jne 0x6cdfb8f3
mov dword [ebx], ecx
jmp 0x6cdfbbd4
call fcn.6cdbff80
mov ecx, eax
test ecx, ecx
jne 0x6cdfb908
push 0x80004005
call fcn.6cdc0090
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6ac], eax
push 0x208
lea eax, [ebp - 0x6a8]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x6a8]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x6cdfb9e2
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x6a8]
push eax
push str._sTencentQQLive_
lea eax, [ebp - 0x298]
push 0x104
push eax
call fcn.6cdfbd90
lea ecx, [ebp - 0x298]
add esp, 0x1c
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdfb990
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6ac]
call fcn.6cdbf900
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x6cdfb9c8
test al, 0x10
jne 0x6cdfb9e2
lea ecx, [ebp - 0x298]
call fcn.6cde5f50
test eax, eax
jne 0x6cdfb9e2
lea ecx, [ebp - 0x6ac]
call fcn.6cdbfa40
push 8
push str.user.ini
lea ecx, [ebp - 0x6ac]
call fcn.6cdddb50
push 0x208
lea eax, [ebp - 0x4a0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp - 0x6ac]
lea eax, [ebp - 0x4a0]
add esp, 0xc
mov dword [ebp - 0x6bc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x6b0], 0
movq qword [ebp - 0x6b8], xmm0
push esi
push 0x104
push eax
push 0x6ce4378c
push str.GUID
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
mov dword [ebp - 0x6c0], edi
test edi, edi
je 0x6cdfbad8
cmp edi, dword [ebx]
jae 0x6cdfbad8
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x6cdfbad8
lea ecx, [ebp - 0x4a0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdfba82
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jle 0x6cdfba9e
xor eax, eax
jmp 0x6cdfbabe
lea edi, [ecx + ecx]
mov eax, edi
call fcn.6ce16040
mov ecx, esp
lea edx, [ebp - 0x4a0]
push 3
push edi
call fcn.6cdfbd50
mov edi, dword [ebp - 0x6c0]
push edi
push eax
push dword [ebx]
push dword [ebp - 0x6c4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
add esp, 0x10
mov dword [ebx], edi
jmp 0x6cdfbbb5
lea ecx, [ebp - 0x6bc]
call fcn.6cddeeb0
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x40
push eax
lea eax, [ebp - 0x6bc]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov edi, eax
mov dword [ebp - 0x6c0], edi
test edi, edi
jle 0x6cdfbbaf
cmp dword [ebx], edi
jl 0x6cdfbbaf
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdfbb30
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jle 0x6cdfbb4c
xor eax, eax
jmp 0x6cdfbb6c
lea edi, [ecx + ecx]
mov eax, edi
call fcn.6ce16040
mov ecx, esp
lea edx, [ebp - 0x90]
push 3
push edi
call fcn.6cdfbd50
mov edi, dword [ebp - 0x6c0]
push edi
push eax
push dword [ebx]
push dword [ebp - 0x6c4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
add esp, 0x10
mov dword [ebx], edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x90]
push esi
push eax
push str.GUID
push str.Common
call edi
push esi
push 0x6ce458f8
push str.GUID_Ver
push str.Common
call edi
jmp 0x6cdfbbb5
mov dword [ebx], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x6cdfbbd4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0x6d4]
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.6ce11901
mov esp, ebp
pop ebp
ret