Function at 0x1400ebbf0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x88
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x68], rax
movzx eax, byte [0x140220690]
mov r10d, dword [rsp + 0xe0]
movsd xmm0, qword [str.VP8X_n]
mov r14, qword [rsp + 0xe8]
xor ebx, ebx
mov r13, rdx
movsd qword [rsp + 0x58], xmm0
mov byte [rsp + 0x60], al
mov rsi, r9
lea rax, [rsp + 0x38]
mov rdi, rcx
mov qword [rsp + 0x48], r9
mov r11, r8
mov edx, r10d
lea r9, [rsp + 0x30]
lea r8d, [rbx + 8]
mov rcx, rsi
and edx, 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rbx
call fcn.1400eba80
lea rcx, [rsp + 0x38]
mov edx, r10d
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
shr edx, 1
lea r8d, [rbx + 0x20]
lea rcx, [rsi + 0x10]
and edx, 1
mov dword [rsp + 0x44], eax
call fcn.1400eba80
lea rcx, [rsp + 0x38]
shr r10d, 2
mov qword [rsp + 0x20], rcx
and r10d, 1
lea r9, [rsp + 0x30]
lea rcx, [rsi + 0x20]
lea r8d, [rbx + 4]
mov edx, r10d
mov dword [rsp + 0x50], eax
call fcn.1400eba80
mov rbp, qword [r11 + 8]
mov rsi, qword [r11]
mov dword [rsp + 0x40], eax
mov dword [r14], ebx
cmp rbp, 0x14
jae 0x1400ebce3
xor eax, eax
jmp 0x1400ebf1c
mov qword [rsp + 0x78], r15
mov r15, qword [rsp + 0x38]
lea rax, [r15 - 8]
add rax, rbp
cmp rax, 0xfffffffffffffff6
jbe 0x1400ebd16
call fcn.1401be514
lea rdx, str.Error__Addition_of_metadata_would_exceed_container_size_limit._n
lea rcx, [rax + 0x60]
call fcn.1401be844
xor eax, eax
jmp 0x1400ebf17
mov r9, qword [rdi]
mov rcx, rsi
test r15, r15
je 0x1400ebf00
mov eax, dword [rsi + 0xc]
mov rdx, r8
mov qword [rsp + 0x80], r12
cmp eax, dword [str.VP8X]
mov r8d, 1
mov r12d, ebx
sete r12b
call fcn.1401c24f8
cmp rax, 1
jne 0x1400ebd75
mov eax, 0x12
lea edx, [rbp - 8]
test r12d, r12d
cmovne eax, ebx
mov rcx, rdi
add eax, r15d
add edx, eax
call fcn.1400ebb30
test eax, eax
mov eax, 1
jne 0x1400ebd77
mov eax, ebx
test eax, eax
je 0x1400ebd9b
mov r9, qword [rdi]
mov edx, 4
lea rcx, [rsi + 8]
lea r8d, [rdx - 3]
call fcn.1401c24f8
mov ecx, 1
cmp rax, 1
je 0x1400ebd9d
mov ecx, ebx
sub rbp, 0xc
test r12d, r12d
mov r12, qword [rsp + 0x80]
je 0x1400ebde2
movzx eax, byte [rsp + 0x30]
or byte [rsi + 0x14], al
test ecx, ecx
je 0x1400ebdda
mov r9, qword [rdi]
mov edx, 0x12
lea rcx, [rsi + 0xc]
lea r8d, [rdx - 0x11]
call fcn.1401c24f8
cmp rax, 1
mov eax, 1
je 0x1400ebddc
mov eax, ebx
sub rbp, 0x12
jmp 0x1400ebe50
mov eax, dword [rsi + 0xc]
mov r15d, dword [rsp + 0x30]
cmp eax, dword [str.VP8L]
jne 0x1400ebdf6
or r15d, 0x10
test ecx, ecx
je 0x1400ebe4e
mov r9, qword [rdi]
mov edx, 8
lea rcx, [rsp + 0x58]
lea r8d, [rdx - 7]
call fcn.1401c24f8
cmp rax, 1
jne 0x1400ebe4e
mov edx, r15d
mov rcx, rdi
call fcn.1400ebb30
test eax, eax
je 0x1400ebe4e
mov edx, dword [r13 + 8]
mov rcx, rdi
dec edx
call fcn.1400ebb20
test eax, eax
je 0x1400ebe4e
mov edx, dword [r13 + 0xc]
mov rcx, rdi
dec edx
call fcn.1400ebb20
test eax, eax
mov eax, 1
jne 0x1400ebe50
mov eax, ebx
mov r15, qword [rsp + 0x48]
cmp dword [rsp + 0x50], ebx
je 0x1400ebe81
test eax, eax
je 0x1400ebe7b
lea r8, [r15 + 0x10]
lea rdx, str.ICCP
mov rcx, rdi
call fcn.1400ebb40
test eax, eax
mov eax, 1
jne 0x1400ebe7d
mov eax, ebx
or dword [r14], 2
test eax, eax
je 0x1400ebea5
mov r9, qword [rdi]
lea rcx, [rsi + 0xc]
mov r8d, 1
mov rdx, rbp
call fcn.1401c24f8
cmp rax, 1
mov eax, 1
je 0x1400ebea7
mov eax, ebx
cmp dword [rsp + 0x44], ebx
je 0x1400ebed2
test eax, eax
je 0x1400ebecc
lea rdx, str.EXIF
mov r8, r15
mov rcx, rdi
call fcn.1400ebb40
test eax, eax
mov eax, 1
jne 0x1400ebece
mov eax, ebx
or dword [r14], 1
cmp dword [rsp + 0x40], ebx
je 0x1400ebf17
test eax, eax
je 0x1400ebef8
lea r8, [r15 + 0x20]
lea rdx, str.XMP
mov rcx, rdi
call fcn.1400ebb40
test eax, eax
mov eax, 1
jne 0x1400ebefa
mov eax, ebx
or dword [r14], 4
jmp 0x1400ebf17
mov r8d, 1
mov rdx, rbp
call fcn.1401c24f8
cmp rax, 1
sete bl
mov eax, ebx
mov r15, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x88
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret