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

Disassembly:
push 0x1a4
mov eax, 0x631f3e
call fcn.004d66c3
push 7
xor ebx, ebx
xor eax, eax
pop edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], edx
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00401ad6
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0040676a
mov ecx, eax
call fcn.004afc99
push 8
pop ebx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], ebx
push str.Qerqwe
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push 0x6b2870
push eax
call fcn.004b0f77
add esp, 0x10
lea ecx, [ebp - 0x58]
push eax
call fcn.00403bf9
lea ecx, [ebp - 0x70]
call fcn.00401ce8
cmp dword [ebp - 0x44], ebx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004b21b3
cmp dword [ebp - 0x44], ebx
lea eax, [ebp - 0x58]
mov edi, str.ZHSerti.exe
mov esi, str._s_s
cmovae eax, dword [ebp - 0x58]
push edi
push eax
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.004b0f77
add esp, 0x14
lea ecx, [ebp - 0x28]
push eax
call fcn.00403bf9
lea ecx, [ebp - 0x70]
call fcn.00401ce8
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
push edi
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.004b0f77
add esp, 0x10
lea ecx, [ebp - 0x40]
push eax
call fcn.00403bf9
lea ecx, [ebp - 0x70]
call fcn.00401ce8
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x406319
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4061fa
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004b2975
pop ecx
call fcn.004ad773
test al, al
je 0x4062cc
mov eax, dword [0x6d9390]
test eax, eax
je 0x4062cc
cmp dword [eax + 4], 4
jl 0x4062cc
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
push str.1096
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x1b0], eax
call fcn.004ad356
mov ebx, eax
mov dword [esp], str.1091
call fcn.004ad356
pop ecx
push 0
push 0
push 0x6b2730
push 0x3e
push str.CDoRemainLogic::CopyHostExeToAppData
push 4
lea ecx, [ebp - 0x1a8]
mov esi, eax
call fcn.00405da5
mov dword [ebp - 0x1ac], eax
mov edi, str._null_
mov byte [ebp - 4], 4
test esi, esi
mov ecx, edi
cmovne ecx, esi
lea esi, [eax + 0x30]
push ecx
push esi
call fcn.00403a1c
test ebx, ebx
mov eax, edi
cmovne eax, ebx
push eax
push esi
call fcn.00403a1c
mov eax, dword [ebp - 0x1b0]
test eax, eax
cmovne edi, eax
push edi
push esi
call fcn.00403a1c
mov ecx, dword [0x6d9390]
add esp, 0x18
push dword [ebp - 0x1ac]
call fcn.00405e8a
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 3
call fcn.00403bae
push 8
pop ebx
cmp dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], ebx
cmovae eax, dword [ebp - 0x40]
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00401ad6
mov byte [ebp - 4], 5
call fcn.004065ae
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004b2a1a
lea ecx, [ebp - 0x58]
call fcn.00401ce8
lea ecx, [ebp - 0x40]
call fcn.00401ce8
lea ecx, [ebp - 0x88]
call fcn.00401ce8
lea ecx, [ebp - 0x28]
call fcn.00401ce8
call fcn.004d666d
ret