Function at 0x100276fe
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push 0x434
mov eax, 0x10079c18
call fcn.1005acb8
mov esi, ebx
call fcn.1002a19b
test eax, eax
jne 0x100277b0
lea esi, [ebp - 0x430]
call fcn.10009044
lea ecx, [ebp - 0x42c]
push str.Download_
push ecx
xor esi, esi
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.1000d177
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.10003475
push esi
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x10086830
lea eax, [ebx + 0xc0]
push eax
call fcn.100030a8
push 0x10086854
lea eax, [ebx + 0xc4]
push eax
call fcn.100030a8
push 0x100867f4
lea eax, [ebx + 0xc8]
push eax
call fcn.100030a8
lea edi, [ebx + 0xbc]
lea eax, [ebp - 0x42c]
call fcn.10002e8f
mov eax, dword [ebp - 0x42c]
jmp 0x1002797d
mov ecx, dword [ebx + 0x10]
push str.PackageDirCfg
lea eax, [ebp - 0x438]
push eax
mov edx, str._appdata__tencentQQPCMgrDownload
call fcn.100246c7
mov dword [ebp - 4], 3
mov eax, dword [0x1009d194]
mov ecx, 0x1009d194
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
xor esi, esi
push 0x410
lea eax, [ebp - 0x426]
push esi
mov byte [ebp - 4], 4
push eax
mov word [ebp - 0x428], si
call fcn.100541d0
add esp, 0xc
push 0x208
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x428]
push eax
call edi
test eax, eax
lea eax, [ebp - 0x428]
jne 0x10027859
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x428]
push eax
call edi
test eax, eax
je 0x1002798b
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.100030a8
push 0x1007df90
lea eax, [ebp - 0x42c]
push eax
call fcn.10009207
lea edi, [ebx + 0xbc]
lea eax, [ebp - 0x42c]
call fcn.10002e8f
mov ecx, dword [ebx + 0x10]
push str.QQPCMgrNameCfg
lea eax, [ebp - 0x434]
push eax
mov edx, 0x1007e340
call fcn.100246c7
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x434]
cmp dword [eax - 0xc], esi
jne 0x100278da
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push esi
push str.ModuleType
push eax
call dword [ecx + 0x18]
test eax, eax
mov eax, 0x10086830
je 0x100278cd
mov eax, str.QQPCMgr_Setup.dll
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.100030a8
lea edi, [ebx + 0xc0]
lea eax, [ebp - 0x434]
call fcn.10002e8f
mov ecx, dword [ebx + 0x10]
push str.KvNameCfg
lea eax, [ebp - 0x430]
push eax
mov edx, str.Kingsoft_Antivirus.exe
call fcn.100246c7
lea edi, [ebx + 0xc4]
mov byte [ebp - 4], 7
call fcn.10002e8f
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.10003475
mov ecx, dword [ebx + 0x10]
push str.FixNameCfg
lea eax, [ebp - 0x43c]
push eax
mov edx, str.QQPCFix.exe
call fcn.100246c7
lea edi, [ebx + 0xc8]
mov byte [ebp - 4], 8
call fcn.10002e8f
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
call fcn.10003475
mov eax, dword [ebp - 0x434]
add eax, 0xfffffff0
call fcn.10003475
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
call fcn.10003475
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
call fcn.10003475
call fcn.1005ad3b
ret
lea esi, [ebp - 0x430]
call fcn.10009044
lea edi, [ebp - 0x42c]
mov byte [ebp - 4], 5
call fcn.10002e8f
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.10003475
push str.Download
mov eax, edi
push eax
call fcn.10009207
xor esi, esi
jmp 0x10027866