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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b31ca
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x468], ecx
lea ecx, [ebp - 0x1c]
call fcn.10003a59
and dword [ebp - 4], 0
push 0
push str.PCMgrNoCmdline
mov eax, dword [ebp - 0x468]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x468]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x10097b03
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x10097b03
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x10097b03
mov dword [ebp - 0x46c], 1
jmp 0x10097b0a
and dword [ebp - 0x46c], 0
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x18], eax
push 0
push 0x100c09a0
mov eax, dword [ebp - 0x468]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x468]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0
jne 0x10097dba
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x468]
call fcn.1009434b
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
je 0x10097ba2
cmp dword [ebp - 0x14], 0
je 0x10097b80
lea ecx, [ebp - 0x28]
call fcn.100333d3
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.handle_dupdate1supply_dforceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015cac
add esp, 0x14
jmp 0x10097ba0
lea ecx, [ebp - 0x28]
call fcn.100333d3
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.10015cac
add esp, 0x14
jmp 0x10097be4
cmp dword [ebp - 0x14], 0
je 0x10097bc7
lea ecx, [ebp - 0x28]
call fcn.100333d3
push eax
push dword [ebp + 8]
push str.handle_dupdate1forceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015cac
add esp, 0x10
jmp 0x10097be4
lea ecx, [ebp - 0x28]
call fcn.100333d3
push eax
push dword [ebp + 8]
push str._S_silence1handle_dupdate1forceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015cac
add esp, 0x10
mov ecx, dword [ebp - 0x468]
add ecx, 0x94
call fcn.10003a43
movzx eax, al
test eax, eax
jne 0x10097c1e
mov eax, dword [ebp - 0x468]
push dword [eax + 0x94]
push 0x100c0a34
lea eax, [ebp - 0x1c]
push eax
call fcn.1003fe3c
add esp, 0xc
jmp 0x10097cce
push 0x100bae66
push str.Def_inst_path
lea eax, [ebp - 0x240]
push eax
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax + 0x10]
call fcn.100afb7a
mov byte [ebp - 4], 2
and word [ebp - 0x23c], 0
push 0x20a
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.10070ca0
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.10003a43
movzx eax, al
test eax, eax
jne 0x10097c96
push 0x105
lea eax, [ebp - 0x23c]
push eax
push 0x2714
lea ecx, [ebp - 0x240]
call fcn.100333d3
push eax
call fcn.100a6381
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
call fcn.1006dfeb
pop ecx
test eax, eax
jbe 0x10097cbf
lea eax, [ebp - 0x23c]
push eax
push str.installpath__s_
lea eax, [ebp - 0x1c]
push eax
call fcn.1003fe3c
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.10003af7
push 0
push str.RecallFlag
mov eax, dword [ebp - 0x468]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x468]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x10097dae
and word [ebp - 0x454], 0
push 0x208
push 0
lea eax, [ebp - 0x452]
push eax
call fcn.10070ca0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x454]
push eax
push dword [0x100f9204]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x458]
call fcn.10003a8c
mov byte [ebp - 4], 3
push str..bak
lea ecx, [ebp - 0x458]
call fcn.10009cd3
push 0
lea ecx, [ebp - 0x458]
call fcn.100333d3
push eax
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 4
push 0
lea ecx, [ebp - 0x458]
call fcn.100333d3
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x458]
call fcn.100333d3
push eax
push str.dlpath__s_
lea eax, [ebp - 0x1c]
push eax
call fcn.1003fe3c
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.10003af7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10003af7
lea ecx, [ebp - 0x24]
call fcn.10003a59
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 0x10097e54
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x10097e19
push 0
push str.CallDllByOrdinal
mov eax, dword [ebp - 0x468]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x468]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x10097e19
push 0x100c0c40
lea ecx, [ebp - 0x24]
call fcn.10003b21
jmp 0x10097e54
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.1006dfeb
pop ecx
test eax, eax
jne 0x10097e38
mov dword [ebp - 0x470], 0x100c0c44
jmp 0x10097e46
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x470], eax
push dword [ebp - 0x470]
lea ecx, [ebp - 0x24]
call fcn.10003b21
mov eax, dword [ebp - 0x468]
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.100333d3
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011712
mov ecx, eax
call fcn.100a085e
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10097f06
lea ecx, [ebp - 0x1c]
call fcn.100333d3
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [eax]
test eax, eax
je 0x10097ed3
and dword [ebp - 0x45c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10003af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003af7
mov eax, dword [ebp - 0x45c]
jmp 0x10097f48
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [eax + 0x10]
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10003af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003af7
mov eax, dword [ebp - 0x460]
jmp 0x10097f48
mov dword [ebp - 0x464], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10003af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003af7
mov eax, dword [ebp - 0x464]
jmp 0x10097f48
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.1006e001
leave
ret 0xc