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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x100dd3e0]
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.100944fa
test eax, eax
jne 0x10095a33
lea eax, [ebp - 0x440]
push eax
call fcn.100a9c65
pop ecx
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x458], eax
and dword [ebp - 4], 0
push 0x100c0d44
push dword [ebp - 0x458]
lea eax, [ebp - 0x10]
push eax
call fcn.10010702
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x440]
call fcn.100104e6
push 0
lea ecx, [ebp - 0x10]
call fcn.1003338d
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c0d58
mov ecx, dword [ebp - 0x450]
add ecx, 0xd4
call fcn.10003bbe
push 0x100c0d7c
mov ecx, dword [ebp - 0x450]
add ecx, 0xd8
call fcn.10003bbe
push 0x100c0dac
mov ecx, dword [ebp - 0x450]
add ecx, 0xdc
call fcn.10003bbe
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd0
call fcn.10003ba5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100104e6
jmp 0x10095cfe
push 0x100c0dc4
push str.PackageDirCfg
lea eax, [ebp - 0x43c]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100afa6c
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10003b07
mov byte [ebp - 4], 4
and word [ebp - 0x434], 0
push 0x410
push 0
lea eax, [ebp - 0x432]
push eax
call fcn.10070cb0
add esp, 0xc
push 0
push 0x100c0dfc
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.1003338d
push eax
call fcn.10093467
add esp, 0x10
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10095b65
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 0x10095b16
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003bbe
jmp 0x10095b63
lea eax, [ebp - 0x444]
push eax
call fcn.100a9c65
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.10003ba5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x444]
call fcn.100104e6
push str.Download
lea ecx, [ebp - 0x18]
call fcn.10009ef1
jmp 0x10095b74
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003bbe
push 0x100c0e1c
lea ecx, [ebp - 0x18]
call fcn.10009ef1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd0
call fcn.10003ba5
push 0x100bb7ce
push str.QQPCMgrNameCfg
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100afa6c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.1002ff98
movzx eax, al
test eax, eax
je 0x10095c0c
push 0
push 0x100c0e30
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 0x10095bf4
mov dword [ebp - 0x464], 0x100c0e3c
jmp 0x10095bfe
mov dword [ebp - 0x464], str.QQPCMgr_Setup.dll
push dword [ebp - 0x464]
lea ecx, [ebp - 0x14]
call fcn.10003bbe
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd4
call fcn.10003ba5
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.100afa6c
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.10003ba5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x448]
call fcn.100104e6
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.100afa6c
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.10003ba5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44c]
call fcn.100104e6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.100104e6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.100104e6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006e011
leave
ret