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

Disassembly:
push 0x9c
mov eax, 0x5e18b1
call fcn.00592017
xor edi, edi
push edi
call fcn.005b9a0a
mov esi, eax
sub esi, dword [0x6e25b0]
pop ecx
mov ecx, edx
sbb ecx, dword [0x6e25b4]
mov dword [ebp - 0xa4], ecx
js 0x475e9e
jg 0x475c34
cmp esi, 0xe10
jbe 0x475e9e
push 7
mov dword [0x6e25b0], eax
xor eax, eax
pop ecx
mov dword [0x6e25b4], 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.004c27c2
mov byte [ebp - 4], 2
cmp dword [ebp - 0x78], 0
je 0x475cca
push 0x629104
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xa0]
call fcn.0041154b
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0ac
lea ecx, [ebp - 0xa0]
call fcn.0040b67b
push 0x6448d4
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xa0]
call fcn.0041154b
pop ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040b0ac
lea ecx, [ebp - 0xa0]
call fcn.0040b67b
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 0x1214
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.00426e07
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
call fcn.00426e07
cmp dword [ebp - 0x60], 0
je 0x475e4a
cmp dword [ebp - 0x48], 0
je 0x475e4a
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.004270e1
test eax, eax
jns 0x475e4a
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004302c4
pop ecx
test eax, eax
jne 0x475d9b
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x1222
push esi
push str.__s__d___Check_sign___s_Failed
call fcn.0040a649
add esp, 0x10
jmp 0x475e73
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.00425cda
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 0x122a
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 0x475e73
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 0x475e73
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 0x122e
push esi
push str.__s__d___SetSystemScreen____enable___d_error__d
jmp 0x475e6b
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 0x121d
push esi
push str.__s__d___CmpVer_old__s_:_new__s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.0040b67b
lea ecx, [ebp - 0x70]
call fcn.0040b67b
lea ecx, [ebp - 0x88]
call fcn.0040b67b
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x28]
call fcn.0040b67b
call fcn.00591fc1
ret