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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b30af
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
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 - 0x250], ecx
lea ecx, [ebp - 0x1c]
call fcn.10003b07
and dword [ebp - 4], 0
push 0
push str.PCMgrNoCmdline
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x10097b0d
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x10097b0d
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x10097b0d
mov dword [ebp - 0x254], 1
jmp 0x10097b14
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x18], eax
push 0
push 0x100c09a0
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x250]
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 0x10097d0f
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x250]
call fcn.10094358
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
je 0x10097bac
cmp dword [ebp - 0x14], 0
je 0x10097b8a
lea ecx, [ebp - 0x28]
call fcn.1003338d
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.handle_dupdate1supply_dforceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015dd2
add esp, 0x14
jmp 0x10097baa
lea ecx, [ebp - 0x28]
call fcn.1003338d
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.10015dd2
add esp, 0x14
jmp 0x10097bee
cmp dword [ebp - 0x14], 0
je 0x10097bd1
lea ecx, [ebp - 0x28]
call fcn.1003338d
push eax
push dword [ebp + 8]
push str.handle_dupdate1forceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015dd2
add esp, 0x10
jmp 0x10097bee
lea ecx, [ebp - 0x28]
call fcn.1003338d
push eax
push dword [ebp + 8]
push str._S_silence1handle_dupdate1forceinstall1qqpcmgr0_s
lea eax, [ebp - 0x1c]
push eax
call fcn.10015dd2
add esp, 0x10
mov ecx, dword [ebp - 0x250]
add ecx, 0x94
call fcn.1002ff98
movzx eax, al
test eax, eax
jne 0x10097c23
mov eax, dword [ebp - 0x250]
push dword [eax + 0x94]
push str.installpath__s_
lea eax, [ebp - 0x1c]
push eax
call fcn.1003ff94
add esp, 0xc
push 0
push str.RecallFlag
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x10097d03
and word [ebp - 0x23c], 0
push 0x208
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.10070cb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x23c]
push eax
push dword [0x100f9204]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x240]
call fcn.10003b3a
mov byte [ebp - 4], 2
push str..bak
lea ecx, [ebp - 0x240]
call fcn.10009ef1
push 0
lea ecx, [ebp - 0x240]
call fcn.1003338d
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 4
push 0
lea ecx, [ebp - 0x240]
call fcn.1003338d
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x240]
call fcn.1003338d
push eax
push str.dlpath__s_
lea eax, [ebp - 0x1c]
push eax
call fcn.1003ff94
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.100104e6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100104e6
lea ecx, [ebp - 0x24]
call fcn.10003b07
mov byte [ebp - 4], 3
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 0x10097da9
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x10097d6e
push 0
push str.CallDllByOrdinal
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x10097d6e
push 0x100c0c0c
lea ecx, [ebp - 0x24]
call fcn.10003bbe
jmp 0x10097da9
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.1006dffb
pop ecx
test eax, eax
jne 0x10097d8d
mov dword [ebp - 0x258], 0x100c0c10
jmp 0x10097d9b
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x258], eax
push dword [ebp - 0x258]
lea ecx, [ebp - 0x24]
call fcn.10003bbe
mov eax, dword [ebp - 0x250]
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.1003338d
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011868
mov ecx, eax
call fcn.100a077c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10097e5b
lea ecx, [ebp - 0x1c]
call fcn.1003338d
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [eax]
test eax, eax
je 0x10097e28
and dword [ebp - 0x244], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100104e6
mov eax, dword [ebp - 0x244]
jmp 0x10097e9d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
call dword [eax + 0x10]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100104e6
mov eax, dword [ebp - 0x248]
jmp 0x10097e9d
mov dword [ebp - 0x24c], 9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100104e6
mov eax, dword [ebp - 0x24c]
jmp 0x10097e9d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.1006e011
leave
ret 0xc