Function at 0x401a10
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Set current directory
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47cce8
mov eax, dword fs:[0]
push eax
sub esp, 0x54c
mov eax, dword [0x536400]
xor eax, esp
mov dword [esp + 0x548], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536400]
xor eax, esp
push eax
lea eax, [esp + 0x560]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x570]
push ebp
push str.Creating_Video_Viewer_at__s_n
call fcn.004629da
push 0x20a
xor edi, edi
lea eax, [esp + 0x148]
push edi
push eax
call fcn.00463870
add esp, 0x14
push 0x104
lea ecx, [esp + 0x140]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x401aa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4c3de4
call fcn.004629da
add esp, 8
jmp 0x401f9c
push edi
push ebp
lea edx, [esp + 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x401ade
push str.Failed_to_create_target_file._Application_will_exit._n
call fcn.004629da
add esp, 4
push edi
push str.Video_Archive_Error
push str.Failed_to_create_target_file
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x401f9c
lea ecx, [esp + 0x4c]
call fcn.00406510
lea ecx, [esp + 0x14]
mov dword [esp + 0x568], edi
call fcn.00406510
lea ecx, [esp + 0x24]
mov byte [esp + 0x568], 1
call fcn.00406510
lea eax, [esp + 0x13c]
push eax
mov byte [esp + 0x56c], 2
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edx, [esp + 0x34c]
push edx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x34c]
push eax
lea ecx, [esp + 0x18]
call fcn.00406660
push str.VideoViewer.zip
lea ecx, [esp + 0x18]
call fcn.00406660
lea ecx, [esp + 0x34c]
push ecx
lea ecx, [esp + 0x28]
call fcn.00406660
lea ecx, [esp + 0x8c]
call fcn.00405d90
lea ecx, [esp + 0x34]
mov byte [esp + 0x568], 3
call fcn.00406510
push str.CHARLESLAMZIP_tctQOfL95Ol2
lea ecx, [esp + 0x38]
mov byte [esp + 0x56c], 4
call fcn.00406650
lea ecx, [esp + 0x34]
call fcn.004066b0
push eax
lea ecx, [esp + 0x90]
call fcn.004062c0
test al, al
je 0x401f41
lea ecx, [esp + 0x14]
call fcn.004066b0
push eax
lea ecx, [esp + 0x90]
call fcn.00406100
test al, al
je 0x401f41
lea ecx, [esp + 0x24]
call fcn.004066b0
push eax
lea ecx, [esp + 0x90]
call fcn.00405ec0
lea ecx, [esp + 0x7c]
call fcn.00406510
lea ecx, [esp + 0x14]
mov byte [esp + 0x568], 5
call fcn.004066d0
push eax
push str.Temporary_zip_file_being_created:__s_n
call fcn.004629da
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
cmp dword [esp + 0x574], edi
je 0x401c70
mov edi, 0x4c3c18
mov esi, dword [edi]
push esi
call ebx
test eax, eax
jne 0x401c51
push esi
lea edx, [esp + 0x140]
push edx
push str.ERROR:_Could_not_find_the_following_file:__s_s_n
call fcn.004629da
add esp, 0xc
jmp 0x401c61
lea eax, [esp + 0x8c]
push eax
call fcn.00401950
add esp, 4
add edi, 4
cmp edi, 0x4c3c70
jl 0x401c30
jmp 0x401cb0
mov esi, dword [edi + 0x4c3b90]
push esi
call ebx
test eax, eax
jne 0x401c95
push esi
lea ecx, [esp + 0x140]
push ecx
push str.ERROR:_Could_not_find_the_following_file:__s_s_n
call fcn.004629da
add esp, 0xc
jmp 0x401ca5
lea edx, [esp + 0x8c]
push edx
call fcn.00401950
add esp, 4
add edi, 4
cmp edi, 0x84
jb 0x401c70
push 0
lea ecx, [esp + 0x90]
call fcn.00406050
test al, al
je 0x401f03
push str.Appending_zip_file_to_wrap_executable..._n
call fcn.004629da
add esp, 4
lea ecx, [esp + 0x6c]
call fcn.00406510
mov bl, 6
lea ecx, [esp + 0x5c]
mov byte [esp + 0x568], bl
call fcn.00406510
push str.VideoViewer.zip
lea ecx, [esp + 0x60]
mov byte [esp + 0x56c], 7
call fcn.00406650
push ebp
lea ecx, [esp + 0x70]
call fcn.00406650
lea ecx, [esp + 0x14]
call fcn.004066b0
push eax
lea ecx, [esp + 0x60]
call fcn.004066b0
push eax
lea ecx, [esp + 0x74]
call fcn.004066b0
push eax
lea ecx, [esp + 0x98]
call fcn.004063c0
test al, al
jne 0x401d6f
push str.ERROR:_Failed_to_embed_the_archive_file_n
call fcn.004629da
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x568], bl
call fcn.004065c0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x568], 5
call fcn.004065c0
jmp 0x401f30
push str.Successfully_appended_zip_file_to_wrap_executable_n
call fcn.004629da
add esp, 4
lea ecx, [esp + 0x8c]
call fcn.004062b0
lea ecx, [esp + 0x14]
call fcn.004066d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x401e43
lea ecx, [esp + 0x5c]
mov byte [esp + 0x568], bl
call fcn.004065c0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x568], 5
call fcn.004065c0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x568], 4
call fcn.004065c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x568], 3
call fcn.004065c0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x568], 2
call fcn.00405e30
lea ecx, [esp + 0x24]
mov byte [esp + 0x568], 1
call fcn.004065c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x568], 0
call fcn.004065c0
mov dword [esp + 0x568], edi
jmp 0x401f93
xor ebp, ebp
push 2
push ebp
push ebp
push esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
lea eax, [esp + 0x48]
push eax
push 4
lea ecx, [esp + 0x54]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x568], bl
call fcn.004065c0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x568], 5
call fcn.004065c0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x568], 4
call fcn.004065c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x568], 3
call fcn.004065c0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x568], 2
call fcn.00405e30
lea ecx, [esp + 0x24]
mov byte [esp + 0x568], 1
call fcn.004065c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x568], 0
call fcn.004065c0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x568], edi
call fcn.004065c0
mov al, 1
jmp 0x401f9e
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
push str.Failed_to_write_the_zip_file_to_disk:__s_n
mov dword [eax + 0xc], ecx
call fcn.004629da
add esp, 0x14
lea ecx, [esp + 0x7c]
mov byte [esp + 0x568], 4
call fcn.004065c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x568], 3
call fcn.004065c0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x568], 2
call fcn.00405e30
lea ecx, [esp + 0x24]
mov byte [esp + 0x568], 1
call fcn.004065c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x568], 0
call fcn.004065c0
mov dword [esp + 0x568], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.004065c0
xor al, al
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.0046255c
add esp, 0x558
ret