Function at 0x1009958f
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5e5c
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x470], ecx
lea ecx, [ebp - 0x1c]
call fcn.10003b68
and dword [ebp - 4], 0
push 0
push str.PCMgrNoCmdline
mov eax, dword [ebp - 0x470]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x470]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x10099610
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x10099610
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x10099610
mov dword [ebp - 0x474], 1
jmp 0x10099617
and dword [ebp - 0x474], 0
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x18], eax
push 0
push 0x100c39e8
mov eax, dword [ebp - 0x470]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x470]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x14], eax
push 0
push 0x100c3a04
mov eax, dword [ebp - 0x470]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x470]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x18], 0
jne 0x100998ff
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x470]
call fcn.10095c6b
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
je 0x100996d1
cmp dword [ebp - 0x14], 0
je 0x100996af
lea ecx, [ebp - 0x2c]
call fcn.1003c888
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.handle_dupdate1supply_dforceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015e00
add esp, 0x14
jmp 0x100996cf
lea ecx, [ebp - 0x2c]
call fcn.1003c888
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._S_silence1handle_dupdate1supply_dforceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015e00
add esp, 0x14
jmp 0x10099713
cmp dword [ebp - 0x14], 0
je 0x100996f6
lea ecx, [ebp - 0x2c]
call fcn.1003c888
push eax
push dword [ebp + 8]
push str.handle_dupdate1forceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015e00
add esp, 0x10
jmp 0x10099713
lea ecx, [ebp - 0x2c]
call fcn.1003c888
push eax
push dword [ebp + 8]
push str._S_silence1handle_dupdate1forceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015e00
add esp, 0x10
mov ecx, dword [ebp - 0x470]
add ecx, 0x94
call fcn.10003b52
movzx eax, al
test eax, eax
jne 0x1009974d
mov eax, dword [ebp - 0x470]
push dword [eax + 0x94]
push 0x100c3a84
lea eax, [ebp - 0x1c]
push eax
call fcn.100417b0
add esp, 0xc
jmp 0x100997fd
push 0x100bde6f
push str.Def_inst_path
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 0x10]
call fcn.100b26ea
mov byte [ebp - 4], 2
and word [ebp - 0x244], 0
push 0x20a
push 0
lea eax, [ebp - 0x242]
push eax
call fcn.10071bc0
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.10003b52
movzx eax, al
test eax, eax
jne 0x100997c5
push 0x105
lea eax, [ebp - 0x244]
push eax
push 0x2714
lea ecx, [ebp - 0x248]
call fcn.1003c888
push eax
call fcn.100a8b29
add esp, 0x10
lea eax, [ebp - 0x244]
push eax
call fcn.1006ef0b
pop ecx
test eax, eax
jbe 0x100997ee
lea eax, [ebp - 0x244]
push eax
push str.installpath__s_
lea eax, [ebp - 0x1c]
push eax
call fcn.100417b0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10003c06
push 0
push str.RecallFlag
mov eax, dword [ebp - 0x470]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x470]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x100998dd
and word [ebp - 0x45c], 0
push 0x208
push 0
lea eax, [ebp - 0x45a]
push eax
call fcn.10071bc0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x45c]
push eax
push dword [0x100fd2ec]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x460]
call fcn.10003b9b
mov byte [ebp - 4], 3
push str..bak
lea ecx, [ebp - 0x460]
call fcn.10009de9
push 0
lea ecx, [ebp - 0x460]
call fcn.1003c888
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 4
push 0
lea ecx, [ebp - 0x460]
call fcn.1003c888
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x460]
call fcn.1003c888
push eax
push str.dlpath__s_
lea eax, [ebp - 0x1c]
push eax
call fcn.100417b0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x460]
call fcn.10003c06
cmp dword [ebp - 0x28], 0
je 0x100998f3
push str.gf_super_rename1
lea eax, [ebp - 0x1c]
push eax
call fcn.100417b0
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10003c06
lea ecx, [ebp - 0x24]
call fcn.10003b68
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x428]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 1
jne 0x10099999
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x1009995e
push 0
push str.CallDllByOrdinal
mov eax, dword [ebp - 0x470]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x470]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x1009995e
push 0x100c3cb8
lea ecx, [ebp - 0x24]
call fcn.10003c30
jmp 0x10099999
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.1006ef0b
pop ecx
test eax, eax
jne 0x1009997d
mov dword [ebp - 0x478], 0x100c3cbc
jmp 0x1009998b
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x478], eax
push dword [ebp - 0x478]
lea ecx, [ebp - 0x24]
call fcn.10003c30
mov eax, dword [ebp - 0x470]
push dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
mov eax, dword [ebp + 0x10]
push dword [eax + 0x428]
lea ecx, [ebp - 0x24]
call fcn.1003c888
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.1001175e
mov ecx, eax
call fcn.100a2c37
mov dword [ebp - 0x20], eax
call fcn.1005afcd
movzx eax, al
test eax, eax
je 0x10099a07
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0x428]
push str.InstallQQPCMgr__Launcher_Execute__type_d__filename_s
push 0xd2
push 0x100c3d40
call fcn.1005ae5c
add esp, 0x14
cmp dword [ebp - 0x20], 0
je 0x10099a80
lea ecx, [ebp - 0x1c]
call fcn.1003c888
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [eax]
test eax, eax
je 0x10099a4d
and dword [ebp - 0x464], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10003c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003c06
mov eax, dword [ebp - 0x464]
jmp 0x10099ac2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [eax + 0x10]
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10003c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003c06
mov eax, dword [ebp - 0x468]
jmp 0x10099ac2
mov dword [ebp - 0x46c], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10003c06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003c06
mov eax, dword [ebp - 0x46c]
jmp 0x10099ac2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.1006ef21
leave
ret 0xc