Function at 0x46e6fa
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0x14c
mov eax, 0x5e0a55
call fcn.00592017
lea eax, [ebp - 0x130]
xor ebx, ebx
push eax
push 0x641b68
mov edx, str.Software360360huabaohuabao
mov dword [ebp - 0x130], ebx
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425cda
cmp dword [ebp - 0x130], 1
pop ecx
pop ecx
je 0x46ed04
lea ecx, [ebp - 0xa4]
call fcn.004251b0
push str.360SafeDesktopResteye_bk_image_
lea edx, [ebp - 0xa4]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x11c]
call fcn.0041154b
mov byte [ebp - 4], 1
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x104]
mov dword [esp], str.360SafeDesktopResteyelocal_bk_image_
call fcn.0041154b
mov byte [ebp - 4], 2
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x74]
mov dword [esp], str.360browser_bkinfo_
call fcn.0041154b
mov byte [ebp - 4], 3
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0x5c]
mov dword [esp], str.360browser_bkinfolocalbk_
call fcn.0041154b
pop ecx
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x74]
push eax
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x46e7db
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
push ebx
call esi
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call edi
test eax, eax
jne 0x46e7fc
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
push ebx
call esi
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
lea edx, [ebp - 0x150]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x11c]
call fcn.00427cc8
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x104]
call fcn.00427cc8
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd8], ecx
mov word [ebp - 0xec], ax
mov byte [ebp - 4], cl
mov edi, ebx
mov eax, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x150]
sub eax, esi
push 0x18
pop ebx
cdq
idiv ebx
mov ebx, eax
test ebx, ebx
je 0x46e9ae
and dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x44], ax
and dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x2c], ax
push esi
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.004296fd
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0xd4]
call fcn.0040b67b
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0xbc]
cmovae edx, dword [ebp - 0x2c]
call fcn.0042348d
push 0
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8c]
call fcn.00426802
pop ecx
push eax
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd4]
call fcn.004296ce
pop ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b0ac
lea ecx, [ebp - 0xd4]
call fcn.0040b67b
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xa
call fcn.0040b67b
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push 0
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x46e97e
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov ecx, esi
cmovae eax, dword [ebp - 0x44]
cmp dword [esi + 0x14], 8
jb 0x46e965
mov ecx, dword [esi]
push eax
push ecx
push 0x848
push str.HealthMgr::Copy360SafeFiles
push str.__s__d___CopyFile_failed_vecFiles___s_strDstFile___s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0xbc]
call fcn.00404812
lea ecx, [ebp - 0x2c]
call fcn.0040b67b
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0040b67b
push 0x18
pop eax
inc edi
add esi, eax
push 7
pop ecx
cmp edi, ebx
jb 0x46e881
mov eax, dword [ebp - 0x140]
xor edi, edi
mov esi, dword [ebp - 0x144]
sub eax, esi
push 0x18
pop ebx
cdq
idiv ebx
mov ebx, eax
test ebx, ebx
je 0x46eb1c
and dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x2c], ax
and dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x44], ax
mov edx, esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x8c]
call fcn.00426706
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b0ac
lea ecx, [ebp - 0x8c]
call fcn.0040b67b
push esi
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004296fd
add esp, 0xc
lea ecx, [ebp - 0x44]
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x8c]
call fcn.0040b67b
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xbc]
cmovae edx, dword [ebp - 0x44]
call fcn.0042348d
push 0
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
call fcn.00426802
pop ecx
push eax
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8c]
call fcn.004296ce
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b0ac
lea ecx, [ebp - 0x8c]
call fcn.0040b67b
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xe
call fcn.0040b67b
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 0
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x46eaec
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov ecx, esi
cmovae eax, dword [ebp - 0x2c]
cmp dword [esi + 0x14], 8
jb 0x46ead3
mov ecx, dword [esi]
push eax
push ecx
push 0x856
push str.HealthMgr::Copy360SafeFiles
push str.__s__d___CopyFile_failed_vecFiles___s_strDstFile___s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0xbc]
call fcn.00404812
lea ecx, [ebp - 0x44]
call fcn.0040b67b
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0040b67b
push 0x18
pop eax
inc edi
add esi, eax
push 7
pop ecx
cmp edi, ebx
jb 0x46e9ce
and dword [ebp - 0x134], 0
lea eax, [ebp - 0x134]
push eax
mov esi, str.RestDelayTime
mov edi, str.Software360SoftMgrdesktoprestConfig
mov ebx, reloc.WS2_32.dll_accept
mov edx, edi
push esi
mov ecx, ebx
call fcn.00425cda
lea eax, [ebp - 0x134]
mov edx, str.Software360360huabaohuabao
push eax
push esi
mov ecx, ebx
call fcn.00426054
add esp, 0x10
lea ecx, [ebp - 0x12c]
push 0x628d30
call fcn.004233cf
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x10
push eax
mov esi, str.RestStartTime
mov edx, edi
push esi
call fcn.00425dc4
lea eax, [ebp - 0x12c]
push eax
push esi
call fcn.00425fec
lea eax, [ebp - 0x154]
mov dword [ebp - 0x120], 0xf0
push eax
mov esi, str.RestIntervalTime
mov edx, edi
push esi
mov ecx, ebx
call fcn.00425cda
mov ecx, dword [ebp - 0x120]
test eax, eax
lea eax, [ebp - 0x120]
mov edx, str.Software360360huabaohuabao
cmovne ecx, dword [ebp - 0x154]
push eax
mov dword [ebp - 0x120], ecx
mov ecx, ebx
push esi
call fcn.00426054
and dword [ebp - 0x138], 0
lea eax, [ebp - 0x138]
push eax
mov esi, str.RestIdleCloudDelayTime
mov edx, edi
push esi
mov ecx, ebx
call fcn.00425cda
lea eax, [ebp - 0x138]
mov edx, str.Software360360huabaohuabao
push eax
push esi
mov ecx, ebx
call fcn.00426054
mov eax, dword [0x6c4fd4]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x11
push eax
mov esi, str.RestIdleCloudTime
mov edx, edi
push esi
call fcn.00425dc4
lea eax, [ebp - 0x128]
push eax
push esi
call fcn.00425fec
mov eax, dword [0x6c4fd4]
add esp, 0x40
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x12
push eax
mov esi, str.RestCloudTime
mov edx, edi
push esi
call fcn.00425dc4
lea eax, [ebp - 0x124]
push eax
push esi
call fcn.00425fec
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 1
push eax
push 0x641b68
mov edx, str.Software360360huabaohuabao
mov ecx, ebx
call fcn.00426054
add esp, 0x18
lea ecx, [ebp - 0x124]
call fcn.0040a4ed
lea ecx, [ebp - 0x128]
call fcn.0040a4ed
lea ecx, [ebp - 0x12c]
call fcn.0040a4ed
lea ecx, [ebp - 0xec]
call fcn.0040b67b
lea ecx, [ebp - 0x144]
call fcn.004132ed
lea ecx, [ebp - 0x150]
call fcn.004132ed
lea ecx, [ebp - 0x5c]
call fcn.0040b67b
lea ecx, [ebp - 0x74]
call fcn.0040b67b
lea ecx, [ebp - 0x104]
call fcn.0040b67b
lea ecx, [ebp - 0x11c]
call fcn.0040b67b
lea ecx, [ebp - 0xa4]
call fcn.0040b67b
call fcn.00591fc1
ret