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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0070
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.10003c5a
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 0x1009f819
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x1009f819
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x320], 0
jne 0x1009f819
mov dword [ebp - 0x48c], 1
jmp 0x1009f820
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 0x1009fb80
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x488]
call fcn.1009adce
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], 0
je 0x1009f949
cmp dword [ebp - 0x14], 0
je 0x1009f91e
lea ecx, [ebp - 0x3c]
call fcn.10010b64
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.handle_dupdate1supply_dforceinstall1qqpcmgr0_s
lea eax, [ebp - 0x28]
push eax
call fcn.10016000
add esp, 0x14
jmp 0x1009f947
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.10010b64
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.10016000
add esp, 0x20
jmp 0x1009f994
cmp dword [ebp - 0x14], 0
je 0x1009f96e
lea ecx, [ebp - 0x3c]
call fcn.10010b64
push eax
push dword [ebp + 8]
push str.handle_dupdate1forceinstall1qqpcmgr0_s
lea eax, [ebp - 0x28]
push eax
call fcn.10016000
add esp, 0x10
jmp 0x1009f994
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.10010b64
push eax
push dword [ebp + 8]
push str._S_silence1handle_dupdate1forceinstall1qqpcmgr0_srefSupplyid1_drefSupplyid2_dsessiontime_d
lea eax, [ebp - 0x28]
push eax
call fcn.10016000
add esp, 0x1c
mov ecx, dword [ebp - 0x488]
add ecx, 0x94
call fcn.10003c44
movzx eax, al
test eax, eax
jne 0x1009f9ce
mov eax, dword [ebp - 0x488]
push dword [eax + 0x94]
push 0x100ce8a4
lea eax, [ebp - 0x28]
push eax
call fcn.1004311a
add esp, 0xc
jmp 0x1009fa7e
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.100bc395
mov byte [ebp - 4], 2
and word [ebp - 0x254], 0
push 0x20a
push 0
lea eax, [ebp - 0x252]
push eax
call fcn.10071b20
add esp, 0xc
lea ecx, [ebp - 0x258]
call fcn.10003c44
movzx eax, al
test eax, eax
jne 0x1009fa46
push 0x105
lea eax, [ebp - 0x254]
push eax
push 0x2714
lea ecx, [ebp - 0x258]
call fcn.10010b64
push eax
call fcn.100b2611
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
call fcn.10071feb
pop ecx
test eax, eax
jbe 0x1009fa6f
lea eax, [ebp - 0x254]
push eax
push str.installpath__s_
lea eax, [ebp - 0x28]
push eax
call fcn.1004311a
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x258]
call fcn.100106f6
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 0x1009fb5e
and word [ebp - 0x46c], 0
push 0x208
push 0
lea eax, [ebp - 0x46a]
push eax
call fcn.10071b20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x46c]
push eax
push dword [0x10109268]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x470]
call fcn.10003c8d
mov byte [ebp - 4], 3
push str..bak
lea ecx, [ebp - 0x470]
call fcn.10009f82
push 0
lea ecx, [ebp - 0x470]
call fcn.10010b64
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.10010b64
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x470]
call fcn.10010b64
push eax
push str.dlpath__s_
lea eax, [ebp - 0x28]
push eax
call fcn.1004311a
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x470]
call fcn.100106f6
cmp dword [ebp - 0x38], 0
je 0x1009fb74
push str.gf_super_rename1
lea eax, [ebp - 0x28]
push eax
call fcn.1004311a
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.100106f6
lea ecx, [ebp - 0x30]
call fcn.10003c5a
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 0x1009fc1a
mov eax, dword [ebp + 0x10]
cmp dword [eax + 4], 1
jne 0x1009fbdf
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 0x1009fbdf
push 0x100cec04
lea ecx, [ebp - 0x30]
call fcn.10003d11
jmp 0x1009fc1a
mov eax, dword [ebp + 0x10]
add eax, 0x328
push eax
call fcn.10071feb
pop ecx
test eax, eax
jne 0x1009fbfe
mov dword [ebp - 0x490], 0x100cec08
jmp 0x1009fc0c
mov eax, dword [ebp + 0x10]
add eax, 0x328
mov dword [ebp - 0x490], eax
push dword [ebp - 0x490]
lea ecx, [ebp - 0x30]
call fcn.10003d11
mov ecx, dword [ebp - 0x488]
call fcn.1009b211
test eax, eax
je 0x1009fc63
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 0x1009fc63
lea ecx, [ebp - 0x28]
call fcn.10010b64
push eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x488]
call fcn.1009a196
mov ecx, dword [ebp - 0x488]
call fcn.1009b211
test eax, eax
je 0x1009fca0
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 0x1009fca0
mov ecx, dword [ebp - 0x488]
call fcn.1009b008
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.10010b64
push eax
mov eax, dword [ebp + 0x10]
add eax, 0x90
push eax
call fcn.10011a8a
mov ecx, eax
call fcn.100aaafd
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x20]
call fcn.10003c5a
mov byte [ebp - 4], 5
push dword [ebp - 0x34]
push 0x100cec34
lea eax, [ebp - 0x20]
push eax
call fcn.100160e3
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10010b64
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x474], esp
push eax
call fcn.1000142c
push 0
push 0x3e8
push 0
push 7
mov ecx, 0x10109348
call fcn.100b389f
call fcn.100b1636
test eax, eax
je 0x1009fd68
lea ecx, [ebp - 0x20]
call fcn.10010b64
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x478], esp
push eax
call fcn.1000142c
mov eax, dword [ebp + 0x10]
push dword [eax + 0x320]
push 0x3e8
push 0
push 0xfa07
mov ecx, 0x10109348
call fcn.100b389f
cmp dword [ebp - 0x2c], 0
je 0x1009fe00
lea ecx, [ebp - 0x28]
call fcn.10010b64
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
call dword [eax]
test eax, eax
je 0x1009fdc1
and dword [ebp - 0x47c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.100106f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.100106f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100106f6
mov eax, dword [ebp - 0x47c]
jmp 0x1009fe5a
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.100106f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.100106f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100106f6
mov eax, dword [ebp - 0x480]
jmp 0x1009fe5a
mov dword [ebp - 0x484], 9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.100106f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.100106f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100106f6
mov eax, dword [ebp - 0x484]
jmp 0x1009fe5a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.10071b0a
leave
ret 0xc