Function at 0x1400266c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x12f0
call fcn.1400ea040
sub rsp, rax
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x12e0], rax
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rcx + 0xe8]
mov rsi, r8
mov edi, edx
mov r15d, 0x104
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], edx
lea rdx, [0x1400fe120]
lea r9, str.AviType_d__lpszOutputPath_x__nLen_u
lea r8, str.OutputResAvi
call fcn.140081070
xor r13d, r13d
test edi, edi
mov ebx, r13d
jne 0x140026a2f
lea rcx, str.shell32.dll
mov r14d, r13d
mov r12, r13
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov rbp, rax
je 0x1400267b1
lea r8, [0x1400fe410]
lea edx, [r15 - 0x63]
mov rcx, rax
lea r14d, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov rbx, rax
je 0x1400267b1
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov rdi, rax
je 0x1400267b1
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1400267b1
mov rcx, rdi
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
cmovne r12, rax
mov rcx, qword [rsp + 0x40]
mov edi, 0
mov ebx, 0x410
mov rax, qword [rcx + 0xf0]
mov rdx, rbx
lea rcx, [rsp + 0x2a0]
mov r8, qword [rax + 0xf8]
lea rax, [rsp + 0x2a0]
mov r9d, edi
cmp dword [r8 - 0x10], 0
cmove r8, rdi
sub r8, rax
lea rax, [rdx + 0x7ffffbee]
test rax, rax
je 0x140026815
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140026815
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400267f0
jmp 0x14002681a
test rdx, rdx
jne 0x140026824
sub rcx, 2
mov r9d, 0x8007007a
test r9d, r9d
mov word [rcx], di
jne 0x140026954
lea r8, [rsp + 0x2a0]
lea rax, [rsp + 0xac0]
mov rdx, rbx
lea rcx, [rsp + 0xac0]
mov r9d, edi
sub r8, rax
lea rax, [rdx + 0x7ffffbee]
test rax, rax
je 0x140026876
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140026876
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140026851
jmp 0x14002687b
test rdx, rdx
jne 0x140026885
sub rcx, 2
mov r9d, 0x8007007a
test r9d, r9d
mov word [rcx], di
jne 0x140026954
lea rdx, str.FileCopy.avi
lea rcx, [rsp + 0xac0]
call fcn.14002ae40
lea rdx, [rsp + 0xac0]
lea rax, [rsp + 0x2a0]
sub rdx, rax
lea rcx, [rsp + 0x2a0]
mov r8d, edi
lea rax, [rbx + 0x7ffffbee]
test rax, rax
je 0x1400268e7
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400268e7
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x1400268c3
jmp 0x1400268ec
test rbx, rbx
jne 0x1400268f6
sub rcx, 2
mov r8d, 0x8007007a
test r8d, r8d
mov eax, edi
mov word [rcx], di
sete al
test eax, eax
je 0x140026954
lea r8, [rsp + 0x2a0]
lea rax, [rsp + 0x90]
mov rdx, r15
sub r8, rax
lea rcx, [rsp + 0x90]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140026948
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140026948
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140026923
jmp 0x14002694d
test rdx, rdx
jne 0x140026951
sub rcx, 2
mov word [rcx], di
test r12, r12
mov ebx, edi
je 0x1400269c6
test r13d, r13d
je 0x1400269c6
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x90]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x1400269c0
xor eax, eax
lea r9, [rsp + 0x50]
mov r8d, r13d
mov rdx, r12
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400269c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r14d, r14d
je 0x1400269d4
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r14, qword [rsp + 0x40]
test ebx, ebx
je 0x14002700e
xor r8d, r8d
lea rcx, [rsp + 0x90]
sub rcx, rsi
mov edx, r8d
nop
nop
nop
nop
lea rax, [r15 + 0x7ffffefa]
test rax, rax
je 0x140026ff4
movzx eax, word [rcx + rsi]
test ax, ax
je 0x140026ff4
mov word [rsi], ax
add rsi, 2
sub r15, 1
jne 0x140026a00
jmp 0x140026ff9
cmp edi, 1
jne 0x140026b73
lea rcx, str.shell32.dll
mov r14d, r13d
mov rbp, r13
mov r12d, r13d
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov rdi, rax
je 0x140026ab3
lea r8, [0x1400fe410]
mov edx, 0xa0
mov rcx, rax
mov r14d, 1
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov rbx, rax
je 0x140026ab3
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov r13, rax
je 0x140026ab0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140026ab0
mov rcx, r13
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
cmovne rbp, rax
xor r13d, r13d
mov rcx, qword [rsp + 0x40]
lea r9, str.FileMove.avi
lea rdx, [rsp + 0x90]
mov rax, qword [rcx + 0xf0]
mov rcx, qword [rcx + 0xf8]
mov dword [rsp + 0x20], r15d
mov r8, qword [rax + 0xf8]
cmp dword [r8 - 0x10], 0
cmove r8, r13
call fcn.140013060
test rbp, rbp
mov ebx, r13d
je 0x140026b62
test r12d, r12d
je 0x140026b62
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x90]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x140026b5c
xor eax, eax
lea r9, [rsp + 0x4c]
mov r8d, r12d
mov rdx, rbp
mov rcx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140026b62
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r14d, r14d
je 0x1400269d4
mov rcx, rdi
jmp 0x1400269ce
cmp edi, 2
jne 0x140026caf
lea rcx, str.shell32.dll
mov r14d, r13d
mov rbp, r13
mov r12d, r13d
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov rdi, rax
je 0x140026bf7
lea r8, [0x1400fe410]
mov edx, 0xa4
mov rcx, rax
mov r14d, 1
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov rbx, rax
je 0x140026bf7
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov r13, rax
je 0x140026bf4
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140026bf4
mov rcx, r13
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
cmovne rbp, rax
xor r13d, r13d
mov rcx, qword [rsp + 0x40]
lea r9, str.FileDel.avi
lea rdx, [rsp + 0x90]
mov rax, qword [rcx + 0xf0]
mov rcx, qword [rcx + 0xf8]
mov dword [rsp + 0x20], r15d
mov r8, qword [rax + 0xf8]
cmp dword [r8 - 0x10], 0
cmove r8, r13
call fcn.140013060
test rbp, rbp
mov ebx, r13d
je 0x140026b62
test r12d, r12d
je 0x140026b62
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x90]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov r13, rax
je 0x140026b5c
xor eax, eax
lea r9, [rsp + 0x58]
mov r8d, r12d
mov rdx, rbp
mov rcx, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140026b62
cmp edi, 3
jne 0x140026da3
lea r9, [0x1400fe410]
lea rdx, str.shell32.dll
lea rcx, [rsp + 0x60]
mov r8d, 0xa6
call fcn.14006ae60
mov r11, qword [r14 + 0xf0]
mov rcx, qword [r14 + 0xf8]
mov r8, qword [r11 + 0xf8]
lea r9, str.FindEath.avi
lea rdx, [rsp + 0x90]
cmp dword [r8 - 0x10], ebx
mov dword [rsp + 0x20], r15d
cmove r8, r13
call fcn.140013060
mov r12, qword [rsp + 0x80]
test r12, r12
je 0x140026d88
mov edi, dword [rsp + 0x88]
test edi, edi
je 0x140026d88
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x90]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x140026d82
lea r9, [rsp + 0x54]
mov r8d, edi
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140026d88
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [rsp + 0x60], r13d
je 0x1400269d9
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400269d9
cmp edi, 4
jne 0x140026ecf
mov rdi, r13
mov r12d, r13d
call fcn.1400a02a0
mov rbx, qword [rax + 0x18]
test rbx, rbx
je 0x140026e17
lea r8, [0x1400fe410]
mov edx, 0x86
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov rbp, rax
je 0x140026e17
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov r13, rax
je 0x140026e14
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140026e14
mov rcx, r13
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
cmovne rdi, rax
xor r13d, r13d
mov rax, qword [r14 + 0xf0]
mov rcx, qword [r14 + 0xf8]
lea r9, str.Install.avi
mov r8, qword [rax + 0xf8]
lea rdx, [rsp + 0x90]
mov dword [rsp + 0x20], r15d
cmp dword [r8 - 0x10], 0
cmove r8, r13
call fcn.140013060
test rdi, rdi
mov ebx, r13d
je 0x1400269d9
test r12d, r12d
je 0x1400269d9
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x90]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x140026ec4
lea r9, [rsp + 0x48]
mov r8d, r12d
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400269d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400269d9
cmp edi, 5
jne 0x14002700e
mov rdi, r13
mov r12d, r13d
call fcn.1400a02a0
mov rbx, qword [rax + 0x18]
test rbx, rbx
je 0x140026f43
lea r8, [0x1400fe410]
mov edx, 0x87
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov rbp, rax
je 0x140026f43
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
mov r13, rax
je 0x140026f40
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x140026f40
mov rcx, r13
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
cmovne rdi, rax
xor r13d, r13d
mov rax, qword [r14 + 0xf0]
mov rcx, qword [r14 + 0xf8]
lea r9, str.Uninstall.avi
mov r8, qword [rax + 0xf8]
lea rdx, [rsp + 0x90]
mov dword [rsp + 0x20], r15d
cmp dword [r8 - 0x10], 0
cmove r8, r13
call fcn.140013060
test rdi, rdi
mov ebx, r13d
je 0x1400269d9
test r12d, r12d
je 0x1400269d9
xor r9d, r9d
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x90]
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbp, rax
je 0x140026ec4
lea r9, [rsp + 0x40]
mov r8d, r12d
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400269d9
test r15, r15
jne 0x140027002
sub rsi, 2
mov edx, 0x8007007a
test edx, edx
mov ebx, r8d
mov word [rsi], r8w
sete bl
mov rcx, qword [r14 + 0xe8]
lea r9, [0x1400fb428]
lea r8, str.OutputResAvi
lea rdx, [0x1400fe120]
mov dword [rsp + 0x20], ebx
call fcn.140081270
mov eax, ebx
mov rcx, qword [rsp + 0x12e0]
xor rcx, rsp
call fcn.1400cd6e0
mov rbx, qword [rsp + 0x1348]
add rsp, 0x12f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret