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

Disassembly:
push 0x9c
mov eax, 0x5e34cb
call fcn.00593b07
xor edi, edi
push edi
call fcn.005bb4fa
mov esi, eax
sub esi, dword [0x6e5600]
pop ecx
mov ecx, edx
sbb ecx, dword [0x6e5604]
mov dword [ebp - 0xa4], ecx
js 0x47690e
jg 0x4766a4
cmp esi, 0xe10
jbe 0x47690e
push 7
mov dword [0x6e5600], eax
xor eax, eax
pop ecx
mov dword [0x6e5604], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.004c3ef9
mov byte [ebp - 4], 2
cmp dword [ebp - 0x78], 0
je 0x47673a
push 0x62b0fc
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xa0]
call fcn.0041154e
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0xa0]
call fcn.0040b67e
push 0x646ac4
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xa0]
call fcn.0041154e
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040b0ac
lea ecx, [ebp - 0xa0]
call fcn.0040b67e
push 8
pop ebx
cmp dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
mov esi, str.HealthMgr::Update360HuabaoScr
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], ebx
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push 0x1223
push esi
push str.__s__d___strPicPath_old__s_:_strScrPath__s
call fcn.0040a649
add esp, 0x14
mov dword [ebp - 0x60], edi
xor eax, eax
mov word [ebp - 0x70], ax
push 7
pop ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00426e0a
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.00426e0a
cmp dword [ebp - 0x60], 0
je 0x4768ba
cmp dword [ebp - 0x48], 0
je 0x4768ba
cmp dword [ebp - 0x5c], ebx
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x70]
cmp dword [ebp - 0x44], ebx
cmovae ecx, dword [ebp - 0x58]
call fcn.004270e4
test eax, eax
jns 0x4768ba
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004302c7
pop ecx
test eax, eax
jne 0x47680b
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x1231
push esi
push str.__s__d___Check_sign___s_Failed
call fcn.0040a649
add esp, 0x10
jmp 0x4768e3
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], edi
push eax
push str.sys_enable
mov edx, str.Software360360huabaohuabao
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425cdd
cmp dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x40]
pop ecx
cmovae edi, dword [ebp - 0x40]
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmovae esi, dword [ebp - 0x28]
pop ecx
call ebx
push eax
push edi
push esi
push 0x1239
mov esi, str.HealthMgr::Update360HuabaoScr
push esi
push str.__s__d___SetSystemScreen__strPicPath___s_strScrPath___s_error__d
call fcn.0040a649
add esp, 0x18
cmp dword [ebp - 0xa4], 1
jne 0x4768e3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4768e3
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call ebx
push eax
push dword [ebp - 0xa4]
push 0x123d
push esi
push str.__s__d___SetSystemScreen____enable___d_error__d
jmp 0x4768db
cmp dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], ebx
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
push 0x122c
push esi
push str.__s__d___CmpVer_old__s_:_new__s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
call fcn.00593ab1
ret