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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf9ca
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x100ed3e0]
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.1009b201
test eax, eax
jne 0x1009c771
lea eax, [ebp - 0x440]
push eax
call fcn.100b6431
pop ecx
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x458], eax
and dword [ebp - 4], 0
push 0x100cf31c
push dword [ebp - 0x458]
lea eax, [ebp - 0x10]
push eax
call fcn.100109a3
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x440]
call fcn.10010769
push 0
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cf330
mov ecx, dword [ebp - 0x450]
add ecx, 0xd4
call fcn.10003bd7
push 0x100cf354
mov ecx, dword [ebp - 0x450]
add ecx, 0xd8
call fcn.10003bd7
push 0x100cf384
mov ecx, dword [ebp - 0x450]
add ecx, 0xdc
call fcn.10003bd7
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd0
call fcn.10003bbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010769
jmp 0x1009ca3c
push 0x100cf39c
push str.PackageDirCfg
lea eax, [ebp - 0x43c]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100bc380
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10003b20
mov byte [ebp - 4], 4
and word [ebp - 0x434], 0
push 0x410
push 0
lea eax, [ebp - 0x432]
push eax
call fcn.10071b30
add esp, 0xc
push 0
push 0x100cf3d4
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.1000ba55
push eax
call fcn.10098b5b
add esp, 0x10
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009c8a3
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 0x1009c854
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003bd7
jmp 0x1009c8a1
lea eax, [ebp - 0x444]
push eax
call fcn.100b6431
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.10003bbe
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x444]
call fcn.10010769
push str.Download
lea ecx, [ebp - 0x18]
call fcn.10009fbf
jmp 0x1009c8b2
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003bd7
push 0x100cf3f4
lea ecx, [ebp - 0x18]
call fcn.10009fbf
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd0
call fcn.10003bbe
push 0x100cb9c1
push str.QQPCMgrNameCfg
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100bc380
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.10030a5b
movzx eax, al
test eax, eax
je 0x1009c94a
push 0
push 0x100cf408
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 0x1009c932
mov dword [ebp - 0x464], 0x100cf414
jmp 0x1009c93c
mov dword [ebp - 0x464], str.QQPCMgr_Setup.dll
push dword [ebp - 0x464]
lea ecx, [ebp - 0x14]
call fcn.10003bd7
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd4
call fcn.10003bbe
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.100bc380
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.10003bbe
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x448]
call fcn.10010769
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.100bc380
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.10003bbe
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44c]
call fcn.10010769
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.10010769
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.10010769
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10071b1a
leave
ret