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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c927c
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x100f83e0]
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.100a0f4f
test eax, eax
jne 0x100a23a5
lea eax, [ebp - 0x440]
push eax
call fcn.100beb88
pop ecx
mov dword [ebp - 0x454], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x458], eax
and dword [ebp - 4], 0
push 0x100d970c
push dword [ebp - 0x458]
lea eax, [ebp - 0x10]
push eax
call fcn.10014de9
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x440]
call fcn.10014b46
push 0
lea ecx, [ebp - 0x10]
call fcn.10037237
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100d9720
mov ecx, dword [ebp - 0x450]
add ecx, 0xd4
call fcn.10003cbb
push 0x100d9744
mov ecx, dword [ebp - 0x450]
add ecx, 0xd8
call fcn.10003cbb
push 0x100d9774
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.10014b46
jmp 0x100a2670
push 0x100d978c
push str.PackageDirCfg
lea eax, [ebp - 0x43c]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100c5af5
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10014aa8
mov byte [ebp - 4], 4
and word [ebp - 0x434], 0
push 0x410
push 0
lea eax, [ebp - 0x432]
push eax
call fcn.100770c0
add esp, 0xc
push 0
push 0x100d97c4
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.10037237
push eax
call fcn.1009ef98
add esp, 0x10
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a24d7
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 0x100a2488
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003cbb
jmp 0x100a24d5
lea eax, [ebp - 0x444]
push eax
call fcn.100beb88
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.10014b46
push str.Download
lea ecx, [ebp - 0x18]
call fcn.1000e50b
jmp 0x100a24e6
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x18]
call fcn.10003cbb
push 0x100d97e4
lea ecx, [ebp - 0x18]
call fcn.1000e50b
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x450]
add ecx, 0xd0
call fcn.10003ca2
push 0x100d5e36
push str.QQPCMgrNameCfg
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x10]
call fcn.100c5af5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.100359ee
movzx eax, al
test eax, eax
je 0x100a257e
push 0
push 0x100d97f8
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 0x100a2566
mov dword [ebp - 0x464], 0x100d9804
jmp 0x100a2570
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.100c5af5
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.10014b46
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.100c5af5
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.10014b46
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.10014b46
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10014b46
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.10014b46
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100770aa
leave
ret