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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0058
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x488], ecx
lea ecx, [ebp - 0x28]
call fcn.10003b20
and dword [ebp - 4], 0
push 0
push str.PCMgrNoCmdline
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x1009f809
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x1009f809
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x1009f809
mov dword [ebp - 0x48c], 1
jmp 0x1009f810
and dword [ebp - 0x48c], 0
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x18], eax
push 0
push 0x100ce854
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x14], eax
push 0
push 0x100ce870
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [ebp - 0x38], eax
push 0
push 0x100ce87c
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x24], eax
push 0
push 0x100ce888
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x34], eax
push 0
push str.sessiontime
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0
jne 0x1009fb70
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x488]
call fcn.1009adbe
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
je 0x1009f939
cmp dword [ebp - 0x14], 0
je 0x1009f90e
lea ecx, [ebp - 0x3c]
call fcn.1000ba55
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.handle_dupdate1supply_dforceinstall1qqpcmgr0_s
lea eax, [ebp - 0x28]
push eax
call fcn.10016180
add esp, 0x14
jmp 0x1009f937
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.1000ba55
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._S_silence1handle_dupdate1supply_dforceinstall1qqpcmgr0_srefSupplyid1_drefSupplyid2_dsessiontime_d
lea eax, [ebp - 0x28]
push eax
call fcn.10016180
add esp, 0x20
jmp 0x1009f984
cmp dword [ebp - 0x14], 0
je 0x1009f95e
lea ecx, [ebp - 0x3c]
call fcn.1000ba55
push eax
push dword [ebp + 8]
push str.handle_dupdate1forceinstall1qqpcmgr0_s
lea eax, [ebp - 0x28]
push eax
call fcn.10016180
add esp, 0x10
jmp 0x1009f984
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.1000ba55
push eax
push dword [ebp + 8]
push str._S_silence1handle_dupdate1forceinstall1qqpcmgr0_srefSupplyid1_drefSupplyid2_dsessiontime_d
lea eax, [ebp - 0x28]
push eax
call fcn.10016180
add esp, 0x1c
mov ecx, dword [ebp - 0x488]
add ecx, 0x94
call fcn.10030a5b
movzx eax, al
test eax, eax
jne 0x1009f9be
mov eax, dword [ebp - 0x488]
push dword [eax + 0x94]
push 0x100ce8a4
lea eax, [ebp - 0x28]
push eax
call fcn.10043122
add esp, 0xc
jmp 0x1009fa6e
push 0x100c8fc7
push str.Def_inst_path
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x488]
mov ecx, dword [eax + 0x10]
call fcn.100bc380
mov byte [ebp - 4], 2
and word [ebp - 0x254], 0
push 0x20a
push 0
lea eax, [ebp - 0x252]
push eax
call fcn.10071b30
add esp, 0xc
lea ecx, [ebp - 0x258]
call fcn.10030a5b
movzx eax, al
test eax, eax
jne 0x1009fa36
push 0x105
lea eax, [ebp - 0x254]
push eax
push 0x2714
lea ecx, [ebp - 0x258]
call fcn.1000ba55
push eax
call fcn.100b262d
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
call fcn.10071ffb
pop ecx
test eax, eax
jbe 0x1009fa5f
lea eax, [ebp - 0x254]
push eax
push str.installpath__s_
lea eax, [ebp - 0x28]
push eax
call fcn.10043122
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.10010769
push 0
push str.RecallFlag
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x1009fb4e
and word [ebp - 0x46c], 0
push 0x208
push 0
lea eax, [ebp - 0x46a]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x46c]
push eax
push dword [0x10109260]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x470]
call fcn.10003b53
mov byte [ebp - 4], 3
push str..bak
lea ecx, [ebp - 0x470]
call fcn.10009fbf
push 0
lea ecx, [ebp - 0x470]
call fcn.1000ba55
push eax
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 4
push 0
lea ecx, [ebp - 0x470]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x470]
call fcn.1000ba55
push eax
push str.dlpath__s_
lea eax, [ebp - 0x28]
push eax
call fcn.10043122
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x470]
call fcn.10010769
cmp dword [ebp - 0x38], 0
je 0x1009fb64
push str.gf_super_rename1
lea eax, [ebp - 0x28]
push eax
call fcn.10043122
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10010769
lea ecx, [ebp - 0x30]
call fcn.10003b20
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 0x1009fc0a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x1009fbcf
push 0
push str.CallDllByOrdinal
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x1009fbcf
push 0x100cec04
lea ecx, [ebp - 0x30]
call fcn.10003bd7
jmp 0x1009fc0a
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.10071ffb
pop ecx
test eax, eax
jne 0x1009fbee
mov dword [ebp - 0x490], 0x100cec08
jmp 0x1009fbfc
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x490], eax
push dword [ebp - 0x490]
lea ecx, [ebp - 0x30]
call fcn.10003bd7
mov ecx, dword [ebp - 0x488]
call fcn.1009b201
test eax, eax
je 0x1009fc53
push 0
push str.EnableZlibHook
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x1009fc53
lea ecx, [ebp - 0x28]
call fcn.1000ba55
push eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x488]
call fcn.1009a186
mov ecx, dword [ebp - 0x488]
call fcn.1009b201
test eax, eax
je 0x1009fc90
push 0
push str.BootFix
mov eax, dword [ebp - 0x488]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x488]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
test eax, eax
je 0x1009fc90
mov ecx, dword [ebp - 0x488]
call fcn.1009aff8
mov eax, dword [ebp - 0x488]
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 - 0x30]
call fcn.1000ba55
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011b2f
mov ecx, eax
call fcn.100aab19
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x20]
call fcn.10003b20
mov byte [ebp - 4], 5
push dword [ebp - 0x34]
push 0x100cec34
lea eax, [ebp - 0x20]
push eax
call fcn.10016299
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.1000ba55
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.10001405
push 0
push 0x3e8
push 0
push 7
mov ecx, 0x10109340
call fcn.100b38bb
call fcn.100b1652
test eax, eax
je 0x1009fd58
lea ecx, [ebp - 0x20]
call fcn.1000ba55
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x478], esp
push eax
call fcn.10001405
mov eax, dword [ebp + 0x10]
push dword [eax + 0x320]
push 0x3e8
push 0
push 0xfa07
mov ecx, 0x10109340
call fcn.100b38bb
cmp dword [ebp - 0x2c], 0
je 0x1009fdf0
lea ecx, [ebp - 0x28]
call fcn.1000ba55
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
call dword [eax]
test eax, eax
je 0x1009fdb1
and dword [ebp - 0x47c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.10010769
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10010769
mov eax, dword [ebp - 0x47c]
jmp 0x1009fe4a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
call dword [eax + 0x10]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.10010769
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10010769
mov eax, dword [ebp - 0x480]
jmp 0x1009fe4a
mov dword [ebp - 0x484], 9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.10010769
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10010769
mov eax, dword [ebp - 0x484]
jmp 0x1009fe4a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.10071b1a
leave
ret 0xc