Function at 0x1009ae98
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcc44
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x450], ecx
mov ecx, dword [ebp - 0x450]
call fcn.10099a7a
test eax, eax
jne 0x1009afa0
lea eax, [ebp - 0x440]
push eax
call fcn.100b366f
pop ecx
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x458], eax
and dword [ebp - 4], 0
push 0x100cc028
push dword [ebp - 0x458]
lea eax, [ebp - 0x10]
push eax
call fcn.100107cd
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x440]
call fcn.100105a7
push 0
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cc03c
mov ecx, dword [ebp - 0x450]
add ecx, 0xd4
call fcn.10003cbb
push 0x100cc060
mov ecx, dword [ebp - 0x450]
add ecx, 0xd8
call fcn.10003cbb
push 0x100cc090
mov ecx, dword [ebp - 0x450]
add ecx, 0xdc
call fcn.10003cbb
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd0
call fcn.10003ca2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100105a7
jmp 0x1009b26b
push 0x100cc0a8
push str.PackageDirCfg
lea eax, [ebp - 0x43c]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100b95ef
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10003c04
mov byte [ebp - 4], 4
and word [ebp - 0x434], 0
push 0x410
push 0
lea eax, [ebp - 0x432]
push eax
call fcn.100738a0
add esp, 0xc
push 0
push 0x100cc0e0
mov eax, dword [ebp - 0x450]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x450]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x438], eax
push dword [ebp - 0x438]
push 0x208
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x43c]
call fcn.100350cd
push eax
call fcn.100975dd
add esp, 0x10
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009b0d2
push 0
lea eax, [ebp - 0x434]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009b083
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003cbb
jmp 0x1009b0d0
lea eax, [ebp - 0x444]
push eax
call fcn.100b366f
pop ecx
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x460]
lea ecx, [ebp - 0x18]
call fcn.10003ca2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x444]
call fcn.100105a7
push str.Download
lea ecx, [ebp - 0x18]
call fcn.10009fe3
jmp 0x1009b0e1
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003cbb
push 0x100cc100
lea ecx, [ebp - 0x18]
call fcn.10009fe3
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd0
call fcn.10003ca2
push 0x100c89a9
push str.QQPCMgrNameCfg
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100b95ef
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.10003bee
movzx eax, al
test eax, eax
je 0x1009b179
push 0
push 0x100cc114
mov eax, dword [ebp - 0x450]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x450]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
test eax, eax
jne 0x1009b161
mov dword [ebp - 0x464], 0x100cc120
jmp 0x1009b16b
mov dword [ebp - 0x464], str.QQPCMgr_Setup.dll
push dword [ebp - 0x464]
lea ecx, [ebp - 0x14]
call fcn.10003cbb
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd4
call fcn.10003ca2
push str.Kingsoft_Antivirus.exe
push str.KvNameCfg
lea eax, [ebp - 0x448]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100b95ef
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x46c]
mov ecx, dword [ebp - 0x450]
add ecx, 0xd8
call fcn.10003ca2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x448]
call fcn.100105a7
push str.QQPCFix.exe
push str.FixNameCfg
lea eax, [ebp - 0x44c]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100b95ef
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 8
push dword [ebp - 0x474]
mov ecx, dword [ebp - 0x450]
add ecx, 0xdc
call fcn.10003ca2
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44c]
call fcn.100105a7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.100105a7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.100105a7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10070c21
leave
ret