Function at 0x1400b7e80
Capabilities:
Load assembly via iassembly
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe8
cmp dword [rcx + 0xc], 0
mov ebx, r8d
movaps xmmword [rax - 0x58], xmm6
mov esi, edx
movaps xmmword [rax - 0x68], xmm7
mov rdi, rcx
movaps xmmword [rax - 0x78], xmm8
mov r12d, 1
je 0x1400ba641
call fcn.1400afdc0
xor r13d, r13d
test ebx, ebx
je 0x1400b7f8b
mov eax, dword [rdi + 0x10]
bt eax, 0xc
jae 0x1400b7f18
btr eax, 0xc
mov rcx, rdi
mov dword [rdi + 0x10], eax
call qword [rdi + 0x2d0]
test eax, eax
jne 0x1400b7f18
lea r8, str.Error_post_encoding_before_directory_write
mov rcx, qword [rdi + 0x398]
lea rdx, str.TIFFWriteDirectorySec
call fcn.1401847f0
xor eax, eax
jmp 0x1400ba644
mov rcx, rdi
call qword [rdi + 0x308]
cmp qword [rdi + 0x370], r13
jle 0x1400b7f45
test byte [rdi + 0x10], 0x40
je 0x1400b7f45
mov rcx, rdi
call fcn.1400bcfd0
test eax, eax
jne 0x1400b7f45
lea r8, str.Error_flushing_data_before_directory_write
jmp 0x1400b7efe
mov eax, dword [rdi + 0x10]
bt eax, 9
jae 0x1400b7f85
mov rcx, qword [rdi + 0x348]
test rcx, rcx
je 0x1400b7f85
call fcn.14005f7d0
mov eax, dword [rdi + 0x10]
mov qword [rdi + 0x348], r13
mov qword [rdi + 0x370], r13
mov qword [rdi + 0x350], r13
mov qword [rdi + 0x358], r13
mov qword [rdi + 0x360], r13
and eax, 0xffffffaf
mov dword [rdi + 0x10], eax
movsd xmm6, qword [0x140328348]
mov r8d, 2
movsd xmm8, qword [0x140472200]
mov r15, r13
mov qword [rsp + 0x48], r13
mov r14d, 0xffffffff
mov dword [rbp - 0x41], r13d
xorps xmm7, xmm7
lea r11d, [r8 + 4]
lea r10d, [r8 + 5]
lea r9, [0x140000000]
nop word [rax + rax]
mov ebx, r13d
mov dword [rsp + 0x40], ebx
test esi, esi
je 0x1400b9b66
test byte [rdi + 0x38], 2
je 0x1400b813b
mov ecx, dword [rdi + 0x48]
test r15, r15
jne 0x1400b7fff
lea ebx, [r12 + 1]
mov dword [rsp + 0x40], ebx
jmp 0x1400b813b
mov eax, dword [rdi + 0x10]
and eax, 0x80
cmp ecx, 0xffff
ja 0x1400b805e
mov word [rbp + 0x67], cx
test eax, eax
je 0x1400b8026
lea rcx, [rbp + 0x67]
call fcn.1400c7980
mov r8d, 2
lea rax, [rbp + 0x67]
mov esi, 3
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], r8d
mov r9d, 0x100
mov dword [rsp + 0x28], r12d
mov r8, r15
mov rcx, rdi
mov word [rsp + 0x20], si
call fcn.1400bb150
lea ebx, [rsi + 1]
jmp 0x1400b80a6
mov dword [rsp + 0x44], ecx
test eax, eax
je 0x1400b8070
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov ebx, 4
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], ebx
mov r9d, 0x100
mov dword [rsp + 0x28], r12d
mov r8, r15
mov rcx, rdi
mov word [rsp + 0x20], bx
call fcn.1400bb150
lea esi, [rbx - 1]
test eax, eax
je 0x1400ba405
mov eax, dword [rdi + 0x10]
mov ecx, dword [rdi + 0x4c]
and eax, 0x80
cmp ecx, 0xffff
ja 0x1400b80ef
mov word [rbp - 0x79], cx
test eax, eax
je 0x1400b80d2
lea rcx, [rbp - 0x79]
call fcn.1400c7980
lea rax, [rbp - 0x79]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x20], si
jmp 0x1400b8119
mov dword [rsp + 0x44], ecx
test eax, eax
je 0x1400b8101
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x20], bx
mov r9d, 0x101
lea rdx, [rsp + 0x40]
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x38], 4
je 0x1400b8294
mov ecx, dword [rdi + 0x54]
test r15, r15
jne 0x1400b8159
add ebx, 2
mov dword [rsp + 0x40], ebx
jmp 0x1400b8294
mov eax, dword [rdi + 0x10]
and eax, 0x80
cmp ecx, 0xffff
ja 0x1400b81b6
mov word [rbp - 0x75], cx
test eax, eax
je 0x1400b817a
lea rcx, [rbp - 0x75]
call fcn.1400c7980
lea rax, [rbp - 0x75]
mov esi, 2
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov eax, 3
mov dword [rsp + 0x28], r12d
mov r9d, 0x142
mov r8, r15
mov word [rsp + 0x20], ax
mov rcx, rdi
call fcn.1400bb150
lea ebx, [rsi + 2]
jmp 0x1400b81fe
mov dword [rsp + 0x44], ecx
test eax, eax
je 0x1400b81c8
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov ebx, 4
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], ebx
mov r9d, 0x142
mov dword [rsp + 0x28], r12d
mov r8, r15
mov rcx, rdi
mov word [rsp + 0x20], bx
call fcn.1400bb150
lea esi, [rbx - 2]
test eax, eax
je 0x1400ba405
mov eax, dword [rdi + 0x10]
mov ecx, dword [rdi + 0x58]
and eax, 0x80
cmp ecx, 0xffff
ja 0x1400b8248
mov word [rbp - 0x71], cx
test eax, eax
je 0x1400b822a
lea rcx, [rbp - 0x71]
call fcn.1400c7980
lea rax, [rbp - 0x71]
mov qword [rsp + 0x38], rax
mov eax, 3
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x20], ax
jmp 0x1400b8272
mov dword [rsp + 0x44], ecx
test eax, eax
je 0x1400b825a
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x20], bx
mov r9d, 0x143
lea rdx, [rsp + 0x40]
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x38], 8
je 0x1400b82b1
movss xmm1, dword [rdi + 0x90]
cvtps2pd xmm1, xmm1
test r15, r15
jne 0x1400b82e0
add ebx, 2
mov dword [rsp + 0x40], ebx
mov esi, 8
test byte [rdi + 0x38], 0x10
je 0x1400b8626
movss xmm1, dword [rdi + 0x9c]
cvtps2pd xmm1, xmm1
test r15, r15
jne 0x1400b8488
add ebx, 2
mov dword [rsp + 0x40], ebx
jmp 0x1400b8626
comisd xmm7, xmm1
ja 0x1400ba1f3
ucomisd xmm1, xmm1
jp 0x1400ba1e0
ucomisd xmm1, xmm7
jp 0x1400b8306
jne 0x1400b8306
mov dword [rbp - 0x69], r13d
mov dword [rbp - 0x65], r12d
jmp 0x1400b8358
comisd xmm6, xmm1
jb 0x1400b832c
cvttsd2si rcx, xmm1
xorps xmm0, xmm0
mov eax, ecx
cvtsi2sd xmm0, rax
ucomisd xmm1, xmm0
jp 0x1400b832c
jne 0x1400b832c
mov dword [rbp - 0x69], ecx
mov dword [rbp - 0x65], r12d
jmp 0x1400b8358
comisd xmm8, xmm1
jbe 0x1400b8345
mulsd xmm1, xmm6
mov dword [rbp - 0x65], r14d
cvttsd2si rax, xmm1
mov dword [rbp - 0x69], eax
jmp 0x1400b8358
movaps xmm0, xmm6
mov dword [rbp - 0x69], r14d
divsd xmm0, xmm1
cvttsd2si rax, xmm0
mov dword [rbp - 0x65], eax
test byte [rdi + 0x10], 0x80
je 0x1400b8370
lea rcx, [rbp - 0x69]
call fcn.1400c79a0
lea rcx, [rbp - 0x65]
call fcn.1400c79a0
lea rax, [rbp - 0x69]
mov esi, 8
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov ebx, 5
mov dword [rsp + 0x28], r12d
mov r9d, 0x11a
mov r8, r15
mov word [rsp + 0x20], bx
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
movss xmm1, dword [rdi + 0x94]
cvtps2pd xmm1, xmm1
comisd xmm7, xmm1
ja 0x1400ba1f3
ucomisd xmm1, xmm1
jp 0x1400ba1e0
ucomisd xmm1, xmm7
jp 0x1400b83e0
jne 0x1400b83e0
mov dword [rbp - 0x61], r13d
mov dword [rbp - 0x5d], r12d
jmp 0x1400b8432
comisd xmm6, xmm1
jb 0x1400b8406
cvttsd2si rcx, xmm1
xorps xmm0, xmm0
mov eax, ecx
cvtsi2sd xmm0, rax
ucomisd xmm1, xmm0
jp 0x1400b8406
jne 0x1400b8406
mov dword [rbp - 0x61], ecx
mov dword [rbp - 0x5d], r12d
jmp 0x1400b8432
comisd xmm8, xmm1
jbe 0x1400b841f
mulsd xmm1, xmm6
mov dword [rbp - 0x5d], r14d
cvttsd2si rax, xmm1
mov dword [rbp - 0x61], eax
jmp 0x1400b8432
movaps xmm0, xmm6
mov dword [rbp - 0x61], r14d
divsd xmm0, xmm1
cvttsd2si rax, xmm0
mov dword [rbp - 0x5d], eax
test byte [rdi + 0x10], 0x80
je 0x1400b844a
lea rcx, [rbp - 0x61]
call fcn.1400c79a0
lea rcx, [rbp - 0x5d]
call fcn.1400c79a0
lea rax, [rbp - 0x61]
mov r9d, 0x11b
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], bx
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
jmp 0x1400b82b6
comisd xmm7, xmm1
ja 0x1400ba1f3
ucomisd xmm1, xmm1
jp 0x1400ba1e0
ucomisd xmm1, xmm7
jp 0x1400b84ae
jne 0x1400b84ae
mov dword [rbp - 0x59], r13d
mov dword [rbp - 0x55], r12d
jmp 0x1400b8500
comisd xmm6, xmm1
jb 0x1400b84d4
cvttsd2si rcx, xmm1
xorps xmm0, xmm0
mov eax, ecx
cvtsi2sd xmm0, rax
ucomisd xmm1, xmm0
jp 0x1400b84d4
jne 0x1400b84d4
mov dword [rbp - 0x59], ecx
mov dword [rbp - 0x55], r12d
jmp 0x1400b8500
comisd xmm8, xmm1
jbe 0x1400b84ed
mulsd xmm1, xmm6
mov dword [rbp - 0x55], r14d
cvttsd2si rax, xmm1
mov dword [rbp - 0x59], eax
jmp 0x1400b8500
movaps xmm0, xmm6
mov dword [rbp - 0x59], r14d
divsd xmm0, xmm1
cvttsd2si rax, xmm0
mov dword [rbp - 0x55], eax
test byte [rdi + 0x10], 0x80
je 0x1400b8518
lea rcx, [rbp - 0x59]
call fcn.1400c79a0
lea rcx, [rbp - 0x55]
call fcn.1400c79a0
lea rax, [rbp - 0x59]
mov ebx, 5
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r9d, 0x11e
mov dword [rsp + 0x28], r12d
mov r8, r15
mov rcx, rdi
mov word [rsp + 0x20], bx
call fcn.1400bb150
test eax, eax
je 0x1400ba405
movss xmm1, dword [rdi + 0xa0]
cvtps2pd xmm1, xmm1
comisd xmm7, xmm1
ja 0x1400ba1f3
ucomisd xmm1, xmm1
jp 0x1400ba1e0
ucomisd xmm1, xmm7
jp 0x1400b8583
jne 0x1400b8583
mov dword [rbp - 0x51], r13d
mov dword [rbp - 0x4d], r12d
jmp 0x1400b85d5
comisd xmm6, xmm1
jb 0x1400b85a9
cvttsd2si rcx, xmm1
xorps xmm0, xmm0
mov eax, ecx
cvtsi2sd xmm0, rax
ucomisd xmm1, xmm0
jp 0x1400b85a9
jne 0x1400b85a9
mov dword [rbp - 0x51], ecx
mov dword [rbp - 0x4d], r12d
jmp 0x1400b85d5
comisd xmm8, xmm1
jbe 0x1400b85c2
mulsd xmm1, xmm6
mov dword [rbp - 0x4d], r14d
cvttsd2si rax, xmm1
mov dword [rbp - 0x51], eax
jmp 0x1400b85d5
movaps xmm0, xmm6
mov dword [rbp - 0x51], r14d
divsd xmm0, xmm1
cvttsd2si rax, xmm0
mov dword [rbp - 0x4d], eax
test byte [rdi + 0x10], 0x80
je 0x1400b85ed
lea rcx, [rbp - 0x51]
call fcn.1400c79a0
lea rcx, [rbp - 0x4d]
call fcn.1400c79a0
lea rax, [rbp - 0x51]
mov r9d, 0x11f
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], bx
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x38], 0x20
je 0x1400b868f
test r15, r15
jne 0x1400b8639
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b868f
test byte [rdi + 0x10], 0x80
mov eax, dword [rdi + 0x60]
mov dword [rsp + 0x44], eax
je 0x1400b8650
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov r9d, 0xfe
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov eax, 4
mov r8, r15
mov dword [rsp + 0x30], eax
mov rcx, rdi
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x20], ax
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x38], 0x40
je 0x1400b874f
movzx esi, word [rdi + 0x64]
test r15, r15
jne 0x1400b86ad
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b874f
movzx ecx, word [rdi + 0x72]
add rcx, rcx
call fcn.14005f760
mov r14, rax
test rax, rax
je 0x1400ba206
movzx r8d, word [rdi + 0x72]
mov rcx, rax
movzx edx, r13w
cmp r13w, r8w
jae 0x1400b86f5
nop word [rax + rax]
mov word [rcx], si
lea rcx, [rcx + 2]
movzx r8d, word [rdi + 0x72]
inc dx
cmp dx, r8w
jb 0x1400b86e0
test byte [rdi + 0x10], 0x80
movzx ebx, r8w
je 0x1400b8709
mov edx, ebx
mov rcx, r14
call fcn.1400c7aa0
lea eax, [rbx + rbx]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov eax, 3
mov dword [rsp + 0x28], ebx
mov r9d, 0x102
mov word [rsp + 0x20], ax
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
mov rcx, r14
mov ebx, eax
call fcn.14005f7d0
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x38], 0x80
je 0x1400b8760
test r15, r15
jne 0x1400b8787
inc ebx
mov dword [rsp + 0x40], ebx
mov r14d, 3
lea esi, [r14 - 1]
test dword [rdi + 0x38], 0x100
je 0x1400b883c
test r15, r15
jne 0x1400b87e8
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b883c
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0x68]
mov word [rsp + 0x44], ax
je 0x1400b87a0
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov esi, 2
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r14d, 3
mov dword [rsp + 0x28], r12d
mov r9d, 0x103
mov r8, r15
mov word [rsp + 0x20], r14w
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
jmp 0x1400b876a
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0x6a]
mov word [rsp + 0x44], ax
je 0x1400b8801
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov r9d, 0x106
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], r14w
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x200
je 0x1400b88a6
test r15, r15
jne 0x1400b8852
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b88a6
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0x6c]
mov word [rsp + 0x44], ax
je 0x1400b886b
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov r9d, 0x107
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], r14w
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x400
je 0x1400b8910
test r15, r15
jne 0x1400b88bc
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b8910
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0x6e]
mov word [rsp + 0x44], ax
je 0x1400b88d5
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov r9d, 0x10a
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], r14w
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x8000
je 0x1400b897a
test r15, r15
jne 0x1400b8926
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b897a
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0x70]
mov word [rsp + 0x44], ax
je 0x1400b893f
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov r9d, 0x112
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], r14w
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x10000
je 0x1400b89e4
test r15, r15
jne 0x1400b8990
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b89e4
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0x72]
mov word [rsp + 0x44], ax
je 0x1400b89a9
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov r9d, 0x115
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], esi
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], r14w
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x20000
je 0x1400b8a90
mov ecx, dword [rdi + 0x74]
test r15, r15
jne 0x1400b8a04
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b8a90
mov eax, dword [rdi + 0x10]
and eax, 0x80
cmp ecx, 0xffff
ja 0x1400b8a3f
mov word [rbp - 0x6d], cx
test eax, eax
je 0x1400b8a25
lea rcx, [rbp - 0x6d]
call fcn.1400c7980
lea rax, [rbp - 0x6d]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x20], r14w
jmp 0x1400b8a6e
mov dword [rsp + 0x44], ecx
test eax, eax
je 0x1400b8a51
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x38], rax
mov eax, 4
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x20], ax
mov r9d, 0x116
lea rdx, [rsp + 0x40]
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x40000
je 0x1400b8b4f
movzx esi, word [rdi + 0x78]
test r15, r15
jne 0x1400b8ab1
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b8b4f
movzx ecx, word [rdi + 0x72]
add rcx, rcx
call fcn.14005f760
mov r14, rax
test rax, rax
je 0x1400ba206
movzx r8d, word [rdi + 0x72]
mov rcx, rax
movzx edx, r13w
cmp r13w, r8w
jae 0x1400b8af5
nop dword [rax + rax]
mov word [rcx], si
lea rcx, [rcx + 2]
movzx r8d, word [rdi + 0x72]
inc dx
cmp dx, r8w
jb 0x1400b8ae0
test byte [rdi + 0x10], 0x80
movzx ebx, r8w
je 0x1400b8b09
mov edx, ebx
mov rcx, r14
call fcn.1400c7aa0
lea eax, [rbx + rbx]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov eax, 3
mov dword [rsp + 0x28], ebx
mov r9d, 0x118
mov word [rsp + 0x20], ax
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
mov rcx, r14
mov ebx, eax
call fcn.14005f7d0
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x80000
je 0x1400b8b67
movzx esi, word [rdi + 0x7a]
test r15, r15
jne 0x1400b8bab
inc ebx
mov dword [rsp + 0x40], ebx
mov esi, 3
test dword [rdi + 0x38], 0x100000
je 0x1400b8b84
test r15, r15
jne 0x1400b8c54
inc ebx
mov dword [rsp + 0x40], ebx
mov r14d, 2
test dword [rdi + 0x38], 0x400000
je 0x1400b8d0d
test r15, r15
jne 0x1400b8cb6
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b8d0d
movzx ecx, word [rdi + 0x72]
add rcx, rcx
call fcn.14005f760
mov r14, rax
test rax, rax
je 0x1400ba206
movzx r8d, word [rdi + 0x72]
mov rcx, rax
movzx edx, r13w
cmp r13w, r8w
jae 0x1400b8bf5
nop word [rax + rax]
mov word [rcx], si
lea rcx, [rcx + 2]
movzx r8d, word [rdi + 0x72]
inc dx
cmp dx, r8w
jb 0x1400b8be0
test byte [rdi + 0x10], 0x80
movzx ebx, r8w
je 0x1400b8c09
mov edx, ebx
mov rcx, r14
call fcn.1400c7aa0
mov qword [rsp + 0x38], r14
lea eax, [rbx + rbx]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov esi, 3
mov dword [rsp + 0x28], ebx
mov r9d, 0x119
mov word [rsp + 0x20], si
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
mov rcx, r14
mov ebx, eax
call fcn.14005f7d0
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
jmp 0x1400b8b6c
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0x9a]
mov word [rsp + 0x44], ax
je 0x1400b8c70
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov r14d, 2
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov r9d, 0x11c
mov dword [rsp + 0x28], r12d
mov r8, r15
mov rcx, rdi
mov word [rsp + 0x20], si
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
jmp 0x1400b8b8a
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0x98]
mov word [rsp + 0x44], ax
je 0x1400b8cd2
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov r9d, 0x128
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], si
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x800000
je 0x1400b8d79
lea rsi, [rdi + 0xa4]
test r15, r15
jne 0x1400b8d2a
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b8d79
test byte [rdi + 0x10], 0x80
je 0x1400b8d3b
mov rdx, r14
mov rcx, rsi
call fcn.1400c7aa0
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], 4
mov eax, 3
mov dword [rsp + 0x28], r14d
mov r9d, 0x129
mov r8, r15
mov word [rsp + 0x20], ax
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x1000000
je 0x1400b8f34
mov eax, dword [rdi + 0x10]
mov rsi, qword [rdi + 0xe0]
mov r14d, dword [rdi + 0xd4]
bt eax, 0xa
jb 0x1400b8e4b
test r15, r15
jne 0x1400b8db1
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b8f34
bt eax, 0x13
jae 0x1400b8dde
mov r9d, 0x117
mov qword [rsp + 0x28], rsi
mov r8, r15
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400ba6c0
mov ebx, eax
jmp 0x1400b8f28
lea rcx, [r14*4]
call fcn.14005f760
mov r15, rax
test rax, rax
je 0x1400ba245
mov r8, rax
mov r9d, r13d
test r14d, r14d
je 0x1400b8e2f
mov eax, 0xffffffff
nop word [rax + rax]
mov rcx, qword [rsi]
cmp rcx, rax
ja 0x1400ba212
mov dword [r8], ecx
add rsi, 8
add r8, 4
inc r9d
cmp r9d, r14d
jb 0x1400b8e10
test byte [rdi + 0x10], 0x80
je 0x1400b8e40
mov rdx, r14
mov rcx, r15
call fcn.1400c7b20
mov r9d, 0x117
jmp 0x1400b8ee7
test r15, r15
jne 0x1400b8e5b
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b8f34
bt eax, 0x13
jae 0x1400b8e88
mov r9d, 0x145
mov qword [rsp + 0x28], rsi
mov r8, r15
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400ba6c0
mov ebx, eax
jmp 0x1400b8f28
lea rcx, [r14*4]
call fcn.14005f760
mov r15, rax
test rax, rax
je 0x1400ba245
mov r8, rax
mov r9d, r13d
test r14d, r14d
je 0x1400b8ed0
mov eax, 0xffffffff
mov rcx, qword [rsi]
cmp rcx, rax
ja 0x1400ba212
mov dword [r8], ecx
add rsi, 8
add r8, 4
inc r9d
cmp r9d, r14d
jb 0x1400b8eb1
test byte [rdi + 0x10], 0x80
je 0x1400b8ee1
mov rdx, r14
mov rcx, r15
call fcn.1400c7b20
mov r9d, 0x145
mov r8, qword [rsp + 0x48]
lea eax, [r14*4]
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov rcx, rdi
mov eax, 4
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
call fcn.1400bb150
mov rcx, r15
mov ebx, eax
call fcn.14005f7d0
mov r15, qword [rsp + 0x48]
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x2000000
je 0x1400b9103
mov eax, dword [rdi + 0x10]
mov rsi, qword [rdi + 0xd8]
bt eax, 0xa
jb 0x1400b900b
test rsi, rsi
je 0x1400b9103
mov r14d, dword [rdi + 0xd4]
test r15, r15
jne 0x1400b8f75
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9103
bt eax, 0x13
jae 0x1400b8fa2
mov r9d, 0x111
mov qword [rsp + 0x28], rsi
mov r8, r15
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400ba6c0
mov ebx, eax
jmp 0x1400b90f7
lea rcx, [r14*4]
call fcn.14005f760
mov r15, rax
test rax, rax
je 0x1400ba245
mov r8, rax
mov r9d, r13d
test r14d, r14d
je 0x1400b8fef
mov eax, 0xffffffff
nop dword [rax + rax]
mov rcx, qword [rsi]
cmp rcx, rax
ja 0x1400ba212
mov dword [r8], ecx
add rsi, 8
add r8, 4
inc r9d
cmp r9d, r14d
jb 0x1400b8fd0
test byte [rdi + 0x10], 0x80
je 0x1400b9000
mov rdx, r14
mov rcx, r15
call fcn.1400c7b20
mov r9d, 0x111
jmp 0x1400b90b6
mov r14d, dword [rdi + 0xd4]
test r15, r15
jne 0x1400b9022
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9103
bt eax, 0x13
jae 0x1400b904f
mov r9d, 0x144
mov qword [rsp + 0x28], rsi
mov r8, r15
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400ba6c0
mov ebx, eax
jmp 0x1400b90f7
lea rcx, [r14*4]
call fcn.14005f760
mov r15, rax
test rax, rax
je 0x1400ba245
mov r8, rax
mov r9d, r13d
test r14d, r14d
je 0x1400b909f
mov eax, 0xffffffff
nop dword [rax + rax]
mov rcx, qword [rsi]
cmp rcx, rax
ja 0x1400ba212
mov dword [r8], ecx
add rsi, 8
add r8, 4
inc r9d
cmp r9d, r14d
jb 0x1400b9080
test byte [rdi + 0x10], 0x80
je 0x1400b90b0
mov rdx, r14
mov rcx, r15
call fcn.1400c7b20
mov r9d, 0x144
mov r8, qword [rsp + 0x48]
lea eax, [r14*4]
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov rcx, rdi
mov eax, 4
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
call fcn.1400bb150
mov rcx, r15
mov ebx, eax
call fcn.14005f7d0
mov r15, qword [rsp + 0x48]
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x38], 0x4000000
je 0x1400b91ea
test r15, r15
jne 0x1400b9120
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b91ea
movzx ecx, byte [rdi + 0x64]
mov r14d, r12d
shl r14d, cl
lea r12d, [r14 + r14*2]
lea rcx, [r12 + r12]
mov r15d, r12d
call fcn.14005f760
mov rsi, rax
test rax, rax
je 0x1400ba251
mov rdx, qword [rdi + 0xa8]
lea rbx, [r14 + r14]
mov r8, rbx
mov rcx, rax
call fcn.14005f7b0
mov rdx, qword [rdi + 0xb0]
lea rcx, [rsi + rbx]
mov r8, rbx
call fcn.14005f7b0
mov rdx, qword [rdi + 0xb8]
lea ecx, [r14 + r14]
mov r8, rbx
lea rcx, [rsi + rcx*2]
call fcn.14005f7b0
test byte [rdi + 0x10], 0x80
je 0x1400b9197
mov edx, r15d
mov rcx, rsi
call fcn.1400c7aa0
mov r15, qword [rsp + 0x48]
lea eax, [r12 + r12]
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov r9d, 0x140
mov eax, 3
mov dword [rsp + 0x28], r12d
mov r8, r15
mov word [rsp + 0x20], ax
mov rcx, rdi
call fcn.1400bb150
mov rcx, rsi
mov ebx, eax
call fcn.14005f7d0
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
mov r12d, 1
cmp dword [rdi + 0x38], 0
jge 0x1400b9275
cmp word [rdi + 0xc4], 0
je 0x1400b9275
lea r9, [rbp - 0x31]
mov edx, 0x152
lea r8, [rbp - 0x49]
mov rcx, rdi
call fcn.1400add70
mov r14, qword [rbp - 0x31]
movzx esi, word [rbp - 0x49]
test r15, r15
jne 0x1400b9228
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9275
test byte [rdi + 0x10], 0x80
je 0x1400b9239
mov rdx, rsi
mov rcx, r14
call fcn.1400c7aa0
lea eax, [rsi + rsi]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov eax, 3
mov dword [rsp + 0x28], esi
mov r9d, 0x152
mov word [rsp + 0x20], ax
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x3c], 1
je 0x1400b932f
movzx esi, word [rdi + 0x66]
test r15, r15
jne 0x1400b9293
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b932f
movzx ecx, word [rdi + 0x72]
add rcx, rcx
call fcn.14005f760
mov r14, rax
test rax, rax
je 0x1400ba206
movzx r8d, word [rdi + 0x72]
mov rcx, rax
movzx edx, r13w
cmp r13w, r8w
jae 0x1400b92d5
nop dword [rax]
mov word [rcx], si
lea rcx, [rcx + 2]
movzx r8d, word [rdi + 0x72]
inc dx
cmp dx, r8w
jb 0x1400b92c0
test byte [rdi + 0x10], 0x80
movzx ebx, r8w
je 0x1400b92e9
mov edx, ebx
mov rcx, r14
call fcn.1400c7aa0
lea eax, [rbx + rbx]
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov eax, 3
mov dword [rsp + 0x28], ebx
mov r9d, 0x153
mov word [rsp + 0x20], ax
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
mov rcx, r14
mov ebx, eax
call fcn.14005f7d0
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x3c], 2
je 0x1400b936b
movzx ecx, word [rdi + 0x72]
lea rdx, [rsp + 0x40]
mov rax, qword [rdi + 0x80]
mov r9d, 0x154
mov qword [rsp + 0x28], rax
mov r8, r15
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call fcn.1400bb3e0
test eax, eax
je 0x1400ba2e4
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x3c], 4
je 0x1400b93a7
movzx ecx, word [rdi + 0x72]
lea rdx, [rsp + 0x40]
mov rax, qword [rdi + 0x88]
mov r9d, 0x155
mov qword [rsp + 0x28], rax
mov r8, r15
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call fcn.1400bb3e0
test eax, eax
je 0x1400ba2e4
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x3c], 8
je 0x1400b93b8
test r15, r15
jne 0x1400b93d8
inc ebx
mov dword [rsp + 0x40], ebx
mov r14d, 4
test byte [rdi + 0x3c], 0x10
je 0x1400b9486
test r15, r15
jne 0x1400b9433
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9486
test byte [rdi + 0x10], 0x80
mov eax, dword [rdi + 0x50]
mov dword [rsp + 0x44], eax
je 0x1400b93ef
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov r14d, 4
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov r9d, 0x80e5
mov dword [rsp + 0x28], r12d
mov r8, r15
mov rcx, rdi
mov word [rsp + 0x20], r14w
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
jmp 0x1400b93be
test byte [rdi + 0x10], 0x80
mov eax, dword [rdi + 0x5c]
mov dword [rsp + 0x44], eax
je 0x1400b944a
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov r9d, 0x80e6
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], r14w
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x3c], 0x20
je 0x1400b94f1
lea rsi, [rdi + 0xc0]
test r15, r15
jne 0x1400b94a0
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b94f1
test byte [rdi + 0x10], 0x80
je 0x1400b94b3
mov edx, 2
mov rcx, rsi
call fcn.1400c7aa0
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov eax, 3
mov dword [rsp + 0x28], 2
mov r9d, 0x141
mov r8, r15
mov word [rsp + 0x20], ax
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test byte [rdi + 0x3c], 0x80
je 0x1400b9509
lea rsi, [rdi + 0xf8]
test r15, r15
jne 0x1400b9530
inc ebx
mov dword [rsp + 0x40], ebx
mov r14d, 2
lea esi, [r14 + 1]
test dword [rdi + 0x3c], 0x100
je 0x1400b95dd
test r15, r15
jne 0x1400b9586
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b95dd
test byte [rdi + 0x10], 0x80
je 0x1400b9543
mov edx, 2
mov rcx, rsi
call fcn.1400c7aa0
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov esi, 3
mov r14d, 2
mov r9d, 0x212
mov dword [rsp + 0x28], r14d
mov r8, r15
mov rcx, rdi
mov word [rsp + 0x20], si
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
jmp 0x1400b9513
test byte [rdi + 0x10], 0x80
movzx eax, word [rdi + 0xfc]
mov word [rsp + 0x44], ax
je 0x1400b95a2
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
mov r9d, 0x213
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov r8, r15
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov word [rsp + 0x20], si
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x3c], 0x200
je 0x1400b9629
mov rax, qword [rdi + 0x118]
test r15, r15
jne 0x1400b95fa
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9629
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
mov r9d, 0x214
mov dword [rsp + 0x20], 6
mov r8, r15
mov rcx, rdi
call fcn.1400ba810
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x3c], 0x1000
je 0x1400b977f
test r15, r15
jne 0x1400b9646
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b977f
movzx ecx, byte [rdi + 0x64]
movzx ebx, word [rdi + 0x72]
sub bx, word [rdi + 0xc4]
shl r12d, cl
cmp bx, 3
jbe 0x1400b9662
mov ebx, esi
jmp 0x1400b9664
jne 0x1400b9688
mov rdx, qword [rdi + 0x110]
lea r8, [r12 + r12]
mov rcx, qword [rdi + 0x100]
mov esi, r12d
call fcn.14005f7c0
test eax, eax
jne 0x1400b96b6
movzx ebx, r14w
jmp 0x1400b9691
cmp bx, 2
jne 0x1400b96ac
mov esi, r12d
mov rdx, qword [rdi + 0x108]
lea r8, [rsi + rsi]
mov rcx, qword [rdi + 0x100]
call fcn.14005f7c0
test eax, eax
jmp 0x1400b96af
test bx, bx
jne 0x1400b96b6
mov ebx, 1
movzx eax, bx
imul eax, r12d
mov r15d, eax
lea rcx, [rax + rax]
call fcn.14005f760
mov rsi, rax
test rax, rax
je 0x1400ba25d
mov rdx, qword [rdi + 0x100]
lea r14, [r12 + r12]
mov r8, r14
mov rcx, rax
call fcn.14005f7b0
cmp bx, 1
jbe 0x1400b9704
mov rdx, qword [rdi + 0x108]
lea rcx, [rsi + r14]
mov r8, r14
call fcn.14005f7b0
cmp bx, 2
jbe 0x1400b9721
mov rdx, qword [rdi + 0x110]
lea eax, [r12 + r12]
lea rcx, [rsi + rax*2]
mov r8, r14
call fcn.14005f7b0
test byte [rdi + 0x10], 0x80
je 0x1400b9732
mov rdx, r15
mov rcx, rsi
call fcn.1400c7aa0
lea eax, [r15 + r15]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], r15d
mov eax, 3
mov r15, qword [rsp + 0x48]
mov r9d, 0x12d
mov r8, r15
mov word [rsp + 0x20], ax
mov rcx, rdi
call fcn.1400bb150
mov rcx, rsi
mov ebx, eax
call fcn.14005f7d0
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x3c], 0x4000
mov r12d, 2
je 0x1400b97dd
mov rcx, qword [rdi + 0x128]
mov eax, dword [rdi + 0x120]
test r15, r15
jne 0x1400b97a8
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b97dd
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov r9d, 0x14d
mov dword [rsp + 0x28], eax
mov r8, r15
mov rcx, rdi
mov word [rsp + 0x20], r12w
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
test dword [rdi + 0x3c], 0x20000
je 0x1400b9951
movzx ecx, word [rdi + 0xec]
test cx, cx
je 0x1400b9951
test r15, r15
jne 0x1400b980a
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9951
mov eax, dword [rdi + 0x10]
mov r14, qword [rdi + 0x270]
bt eax, 0x13
jb 0x1400b98cf
shl rcx, 2
call fcn.14005f760
mov rsi, rax
test rax, rax
je 0x1400ba29c
movzx edx, word [rdi + 0xec]
mov r8, rax
mov rcx, qword [rdi + 0xf0]
movzx r9d, r13w
cmp r13w, dx
jae 0x1400b987c
mov r10d, 0xffffffff
mov rax, qword [rcx]
cmp rax, r10
ja 0x1400ba269
mov dword [r8], eax
add rcx, 8
movzx edx, word [rdi + 0xec]
add r8, 4
inc r9w
cmp r9w, dx
jb 0x1400b9854
test byte [rdi + 0x10], 0x80
movzx ebx, dx
je 0x1400b988f
mov edx, ebx
mov rcx, rsi
call fcn.1400c7b20
lea eax, [rbx*4]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov eax, ntohs
mov dword [rsp + 0x28], ebx
mov r9d, 0x14a
mov word [rsp + 0x20], ax
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
mov rcx, rsi
mov ebx, eax
call fcn.14005f7d0
jmp 0x1400b991e
mov rsi, qword [rdi + 0xf0]
mov rbx, rcx
test al, al
jns 0x1400b98e8
mov rdx, rcx
mov rcx, rsi
call fcn.1400c7b60
lea eax, [rbx*8]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov eax, 0x12
mov dword [rsp + 0x28], ebx
mov r9d, 0x14a
mov word [rsp + 0x20], ax
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
mov ebx, eax
test ebx, ebx
je 0x1400ba405
movzx eax, word [rdi + 0xec]
mov rcx, r13
or dword [rdi + 0x10], 0x2000
cmp ax, 1
mov word [rdi + 0x278], ax
cmovne rcx, r14
mov qword [rdi + 0x280], rcx
mov ebx, dword [rsp + 0x40]
cmp qword [rdi + 0x3d8], 0
mov r14d, r13d
jbe 0x1400b9bb8
mov rcx, r13
nop word [rax + rax]
mov rax, qword [rdi + 0x3d0]
mov rsi, qword [rax + rcx*8]
movzx edx, word [rsi + 0x18]
cmp dx, 0x42
jb 0x1400b9b39
movzx eax, dx
mov ecx, edx
shr rax, 5
and ecx, 0x1f
mov eax, dword [rdi + rax*4 + 0x38]
bt eax, ecx
jae 0x1400b9b39
mov ecx, dword [rsi + 0x14]
sub ecx, 1
je 0x1400b9ad0
sub ecx, 3
je 0x1400b9a6e
sub ecx, 2
je 0x1400b9a0a
cmp ecx, 0x22
jne 0x1400ba2a8
mov edx, dword [rsi]
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x3d]
mov rcx, rdi
call fcn.1400aa9b0
test r15, r15
jne 0x1400b99e7
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9b39
mov rax, qword [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp - 0x3d]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov eax, 7
mov word [rsp + 0x20], ax
jmp 0x1400b9b19
mov edx, dword [rsi]
lea r8, [rbp - 0x39]
mov rcx, rdi
call fcn.1400aa9b0
movzx esi, word [rsi]
test r15, r15
jne 0x1400b9a2b
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9b39
test byte [rdi + 0x10], 0x80
mov eax, dword [rbp - 0x39]
mov dword [rsp + 0x44], eax
je 0x1400b9a42
lea rcx, [rsp + 0x44]
call fcn.1400c79a0
lea rax, [rsp + 0x44]
mov r12d, 1
mov qword [rsp + 0x38], rax
movzx r9d, si
mov eax, 4
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x20], ax
jmp 0x1400b9b1d
mov edx, dword [rsi]
lea r8, [rbp - 0x45]
mov rcx, rdi
call fcn.1400aa9b0
movzx esi, word [rsi]
test r15, r15
jne 0x1400b9a8f
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9b39
test byte [rdi + 0x10], 0x80
movzx eax, word [rbp - 0x45]
mov word [rsp + 0x44], ax
je 0x1400b9aa8
lea rcx, [rsp + 0x44]
call fcn.1400c7980
lea rax, [rsp + 0x44]
movzx r9d, si
mov qword [rsp + 0x38], rax
mov eax, 1
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov eax, 3
mov word [rsp + 0x20], ax
jmp 0x1400b9b1d
mov edx, dword [rsi]
lea r8, [rbp - 0x21]
mov rcx, rdi
call fcn.1400aa9b0
mov rcx, qword [rbp - 0x21]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400b9af0
test r15, r15
jne 0x1400b9b06
inc ebx
mov dword [rsp + 0x40], ebx
jmp 0x1400b9b39
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov word [rsp + 0x20], r12w
movzx r9d, word [rsi]
mov r8, r15
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400bb150
test eax, eax
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
inc r14d
mov r12d, 2
mov ecx, r14d
cmp rcx, qword [rdi + 0x3d8]
jb 0x1400b9970
mov r8d, r12d
mov r11d, 6
lea r9, [0x140000000]
lea r10d, [r11 + 1]
cmp dword [rdi + 0x130], 0
jbe 0x1400ba0d6
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdi + 0x138]
mov eax, r13d
lea rsi, [rax + rax*2]
mov rax, qword [rdx + rsi*8]
mov r14d, dword [rdx + rsi*8 + 8]
movzx r12d, word [rax]
mov eax, dword [rax + 8]
dec eax
cmp eax, 0x11
ja case.0x1400b9bb6.14
cdqe
mov ecx, dword [r9 + rax*4 + 0xba66c]
add rcx, r9
jmp rcx
mov r8d, 2
jmp 0x1400b9b55
mov rax, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9bd5
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], r8w
movzx r9d, r12w
lea rdx, [rsp + 0x40]
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
test eax, eax
jmp 0x1400ba0a7
mov rax, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9c1a
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], r10w
jmp 0x1400b9bea
mov rax, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9c46
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov qword [rsp + 0x38], rax
mov eax, 1
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rax, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9c76
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], r11w
jmp 0x1400b9bea
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9ca5
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
test byte [rdi + 0x10], 0x80
je 0x1400b9cb6
mov rdx, r14
mov rcx, rsi
call fcn.1400c7aa0
mov qword [rsp + 0x38], rsi
lea eax, [r14 + r14]
mov dword [rsp + 0x30], eax
mov eax, 3
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9cec
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
test byte [rdi + 0x10], 0x80
je 0x1400b9cfd
mov rdx, r14
mov rcx, rsi
call fcn.1400c7aa0
mov qword [rsp + 0x38], rsi
lea eax, [r14 + r14]
mov dword [rsp + 0x30], eax
mov eax, 8
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9d33
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
test byte [rdi + 0x10], 0x80
je 0x1400b9d44
mov rdx, r14
mov rcx, rsi
call fcn.1400c7b20
mov qword [rsp + 0x38], rsi
lea eax, [r14*4]
mov dword [rsp + 0x30], eax
mov eax, 4
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9d7e
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
test byte [rdi + 0x10], 0x80
je 0x1400b9d8f
mov rdx, r14
mov rcx, rsi
call fcn.1400c7b20
mov qword [rsp + 0x38], rsi
lea eax, [r14*4]
mov dword [rsp + 0x30], eax
mov eax, 9
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rax, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9dc9
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
movzx r9d, r12w
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rcx, rdi
call fcn.1400ba6c0
test eax, eax
jmp 0x1400ba0a7
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9e03
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov eax, dword [rdi + 0x10]
bt eax, 0x13
jae 0x1400ba2fe
test al, al
jns 0x1400b9e1f
mov rdx, r14
mov rcx, rsi
call fcn.1400c7b60
mov qword [rsp + 0x38], rsi
lea eax, [r14*8]
mov dword [rsp + 0x30], eax
mov eax, 0x11
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rax, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9e59
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
movzx r9d, r12w
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rcx, rdi
call fcn.1400ba810
test eax, eax
jmp 0x1400ba0a7
mov rax, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9e93
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
movzx r9d, r12w
mov dword [rsp + 0x20], r14d
mov r8, r15
mov rcx, rdi
call fcn.1400bac50
test eax, eax
jmp 0x1400ba0a7
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9ecd
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
test byte [rdi + 0x10], 0x80
je 0x1400b9ede
mov rdx, r14
mov rcx, rsi
call fcn.1400c7bc0
mov qword [rsp + 0x38], rsi
lea eax, [r14*4]
mov dword [rsp + 0x30], eax
mov eax, ntohs
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9f18
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
test byte [rdi + 0x10], 0x80
je 0x1400b9f29
mov rdx, r14
mov rcx, rsi
call fcn.1400c7c00
mov qword [rsp + 0x38], rsi
lea eax, [r14*8]
mov dword [rsp + 0x30], eax
mov eax, ntohs
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9f63
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
test byte [rdi + 0x10], 0x80
je 0x1400b9f74
mov rdx, r14
mov rcx, rsi
call fcn.1400c7b20
mov qword [rsp + 0x38], rsi
lea eax, [r14*4]
mov dword [rsp + 0x30], eax
mov eax, ntohs
mov dword [rsp + 0x28], r14d
mov word [rsp + 0x20], ax
jmp 0x1400b9bea
mov rsi, qword [rdx + rsi*8 + 0x10]
test r15, r15
jne 0x1400b9fae
inc ebx
mov dword [rsp + 0x40], ebx
jmp case.0x1400b9bb6.14
mov eax, dword [rdi + 0x10]
bt eax, 0x13
jae 0x1400ba001
test al, al
jns 0x1400b9fc6
mov rdx, r14
mov rcx, rsi
call fcn.1400c7b60
lea eax, [r14*8]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x40]
mov eax, 0x12
mov dword [rsp + 0x28], r14d
movzx r9d, r12w
mov word [rsp + 0x20], ax
mov r8, r15
mov rcx, rdi
call fcn.1400bb150
mov ebx, eax
jmp 0x1400ba0a5
lea rcx, [r14*4]
call fcn.14005f760
mov r15, rax
test rax, rax
je 0x1400ba344
xor r9d, r9d
mov r8, rax
test r14d, r14d
je 0x1400ba04f
mov eax, 0xffffffff
nop word [rax + rax]
mov rcx, qword [rsi]
cmp rcx, rax
ja 0x1400ba311
mov dword [r8], ecx
add rsi, 8
add r8, 4
inc r9d
cmp r9d, r14d
jb 0x1400ba030
test byte [rdi + 0x10], 0x80
je 0x1400ba060
mov rdx, r14
mov rcx, r15
call fcn.1400c7b20
mov r8, qword [rsp + 0x48]
lea eax, [r14*4]
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], eax
movzx r9d, r12w
mov eax, ntohs
mov dword [rsp + 0x28], r14d
mov rcx, rdi
mov word [rsp + 0x20], ax
call fcn.1400bb150
mov rcx, r15
mov ebx, eax
call fcn.14005f7d0
mov r15, qword [rsp + 0x48]
test ebx, ebx
je 0x1400ba405
mov ebx, dword [rsp + 0x40]
mov r8d, 2
lea r9, [0x140000000]
inc r13d
lea r10d, [r8 + 5]
lea r11d, [r8 + 4]
cmp r13d, dword [rdi + 0x130]
jb 0x1400b9b80
test r15, r15
jne 0x1400ba36f
lea rcx, [rbx + rbx*2]
shl rcx, 3
call fcn.14005f760
mov qword [rsp + 0x48], rax
mov r15, rax
test rax, rax
je 0x1400ba363
mov esi, dword [rbp + 0x6f]
test esi, esi
je 0x1400ba121
cmp qword [rdi + 0x18], 0
jne 0x1400ba11b
mov rcx, rdi
call fcn.1400b7a20
test eax, eax
je 0x1400ba405
mov rcx, qword [rdi + 0x18]
jmp 0x1400ba140
mov rcx, qword [rdi + 0x398]
xor edx, edx
lea r8d, [rdx + 2]
call qword [rdi + 0x3b0]
lea rcx, [rax + 1]
and rcx, 0xfffffffffffffffe
mov qword [rdi + 0x18], rcx
mov r14, qword [rbp + 0x7f]
test r14, r14
je 0x1400ba150
mov qword [r14], rcx
mov rcx, qword [rdi + 0x18]
test dword [rdi + 0x10], 0x80000
jne 0x1400ba16c
lea eax, [rbx + rbx*2]
lea r8d, [rax*4 + 6]
lea rax, [rcx + r8]
mov eax, eax
jmp 0x1400ba17b
lea eax, [rbx + rbx*4]
lea r8d, [rax*4 + 0x10]
lea rax, [rcx + r8]
mov qword [rdi + 0x270], rax
mov edx, r8d
mov dword [rbp - 0x41], r8d
cmp rax, rcx
jb 0x1400ba350
cmp rax, rdx
jb 0x1400ba350
test al, 1
je 0x1400ba1a9
inc rax
mov qword [rdi + 0x270], rax
lea r9, [0x140000000]
mov r13d, 0
mov r14d, 0xffffffff
lea r12d, [r13 + 1]
lea r8d, [r13 + 2]
lea r10d, [r13 + 7]
lea r11d, [r13 + 6]
test esi, esi
je 0x1400b7fd0
inc word [rdi + 0x260]
jmp 0x1400b7fbf
lea r8, str.Not_a_number_value_is_illegal
lea rdx, str.TIFFWriteDirectoryTagCheckedRational
jmp 0x1400ba3f9
lea r8, str.Negative_value_is_illegal
lea rdx, str.TIFFWriteDirectoryTagCheckedRational
jmp 0x1400ba3f9
lea rdx, str.TIFFWriteDirectoryTagShortPerSample
jmp 0x1400ba3f2
mov rcx, qword [rdi + 0x398]
lea r8, str.Attempt_to_write_value_larger_than_0xFFFFFFFF_in_Classic_TIFF_file.
lea rdx, str.TIFFWriteDirectoryTagLongLong8Array
call fcn.1401847f0
mov rcx, r15
call fcn.14005f7d0
mov rcx, qword [rsp + 0x48]
call fcn.14005f7d0
xor eax, eax
jmp 0x1400ba644
lea rdx, str.TIFFWriteDirectoryTagLongLong8Array
jmp 0x1400ba3f2
lea rdx, str.TIFFWriteDirectoryTagColormap
jmp 0x1400ba3f2
lea rdx, str.TIFFWriteDirectoryTagTransferfunction
jmp 0x1400ba3f2
mov rcx, qword [rdi + 0x398]
lea r8, str.Illegal_value_for_SubIFD_tag
lea rdx, str.TIFFWriteDirectoryTagSubifd
call fcn.1401847f0
mov rcx, rsi
call fcn.14005f7d0
mov rcx, qword [rsp + 0x48]
call fcn.14005f7d0
xor eax, eax
jmp 0x1400ba644
lea rdx, str.TIFFWriteDirectoryTagSubifd
jmp 0x1400ba3f2
mov rax, qword [rsi + 0x20]
lea rbx, str.unknown
test rax, rax
mov rcx, rsi
cmovne rbx, rax
call fcn.1401834a0
mov rcx, qword [rdi + 0x398]
lea r8, str.Cannot_write_tag__d___s_
mov r9d, eax
mov qword [rsp + 0x20], rbx
lea rdx, str.TIFFWriteDirectorySec
call fcn.1401847f0
test r15, r15
je 0x1400b7f11
mov rcx, qword [rsp + 0x48]
call fcn.14005f7d0
xor eax, eax
jmp 0x1400ba644
lea r8, str.SLONG8_not_allowed_for_ClassicTIFF
lea rdx, str.TIFFWriteDirectoryTagCheckedSlong8Array
jmp 0x1400ba3f9
mov rcx, qword [rdi + 0x398]
lea r8, str.Attempt_to_write_value_larger_than_0xFFFFFFFF_in_Classic_TIFF_file.
lea rdx, str.TIFFWriteDirectoryTagIfdIfd8Array
call fcn.1401847f0
mov rcx, r15
call fcn.14005f7d0
mov rcx, qword [rsp + 0x48]
call fcn.14005f7d0
xor eax, eax
jmp 0x1400ba644
lea rdx, str.TIFFWriteDirectoryTagIfdIfd8Array
jmp 0x1400ba3f2
lea r8, str.Maximum_TIFF_file_size_exceeded
lea rdx, str.TIFFWriteDirectorySec
jmp 0x1400ba3f9
lea r8, str.Out_of_memory
jmp 0x1400b7efe
cmp dword [rbp + 0x6f], 0
je 0x1400ba3d6
test dword [rdi + 0x3c], 0x20000
je 0x1400ba3d6
cmp qword [rdi + 0x280], 0
jne 0x1400ba3d6
mov rax, r15
test ebx, ebx
je 0x1400ba3a5
xor edx, edx
mov ecx, 0x14a
cmp word [rax], cx
je 0x1400ba3b5
inc edx
add rax, 0x18
cmp edx, ebx
jne 0x1400ba396
lea r8, str.Cannot_find_SubIFD_tag
lea rdx, str.TIFFWriteDirectorySec
jmp 0x1400ba3f9
test dword [rdi + 0x10], 0x80000
mov rcx, qword [rdi + 0x18]
jne 0x1400ba416
lea eax, [rdx + rdx*2]
shl eax, 2
add rcx, 0xa
add rcx, rax
mov qword [rdi + 0x280], rcx
mov eax, dword [rbp - 0x41]
mov ecx, eax
mov r12d, eax
call fcn.14005f760
mov r15, rax
test rax, rax
jne 0x1400ba422
lea rdx, str.TIFFWriteDirectorySec
lea r8, str.Out_of_memory
mov rcx, qword [rdi + 0x398]
call fcn.1401847f0
mov rcx, qword [rsp + 0x48]
call fcn.14005f7d0
xor eax, eax
jmp 0x1400ba644
lea eax, [rdx + rdx*4]
shl eax, 2
add rcx, 0x14
jmp 0x1400ba3cc
test dword [rdi + 0x10], 0x80000
jne 0x1400ba4fa
mov word [rax], bx
test byte [rdi + 0x10], 0x80
je 0x1400ba440
mov rcx, r15
call fcn.1400c7980
lea rsi, [r15 + 2]
mov r13d, 4
test ebx, ebx
je 0x1400ba4d1
mov r14, qword [rsp + 0x48]
add r14, 8
nop dword [rax + rax]
movzx eax, word [r14 - 8]
mov word [rsi], ax
test byte [rdi + 0x10], 0x80
je 0x1400ba476
mov rcx, rsi
call fcn.1400c7980
movzx eax, word [r14 - 6]
mov word [rsi + 2], ax
test byte [rdi + 0x10], 0x80
je 0x1400ba48e
lea rcx, [rsi + 2]
call fcn.1400c7980
mov eax, dword [r14]
lea rdx, [rbp + 0x67]
mov r8, r13
mov dword [rbp + 0x67], eax
lea rcx, [rsi + 4]
call fcn.14005f7b0
test byte [rdi + 0x10], 0x80
je 0x1400ba4b3
lea rcx, [rsi + 4]
call fcn.1400c79a0
lea rdx, [r14 + 8]
mov r8, r13
lea rcx, [rsi + 8]
call fcn.14005f7b0
add rsi, 0xc
add r14, 0x18
sub rbx, 1
jne 0x1400ba460
test byte [rdi + 0x10], 0x80
mov eax, dword [rdi + 0x20]
mov dword [rbp + 0x67], eax
je 0x1400ba4e6
lea rcx, [rbp + 0x67]
call fcn.1400c79a0
mov r8, r13
lea rdx, [rbp + 0x67]
mov rcx, rsi
call fcn.14005f7b0
jmp 0x1400ba5b5
mov r14d, ebx
mov qword [rax], r14
test byte [rdi + 0x10], 0x80
je 0x1400ba50e
mov rcx, r15
call fcn.1400c79d0
lea rsi, [r15 + 8]
mov r13d, 8
test ebx, ebx
je 0x1400ba598
mov rbx, qword [rsp + 0x48]
add rbx, r13
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx - 8]
mov word [rsi], ax
test byte [rdi + 0x10], 0x80
je 0x1400ba545
mov rcx, rsi
call fcn.1400c7980
movzx eax, word [rbx - 6]
mov word [rsi + 2], ax
test byte [rdi + 0x10], 0x80
je 0x1400ba55c
lea rcx, [rsi + 2]
call fcn.1400c7980
mov r8, r13
lea rcx, [rsi + 4]
mov rdx, rbx
call fcn.14005f7b0
test byte [rdi + 0x10], 0x80
je 0x1400ba57a
lea rcx, [rsi + 4]
call fcn.1400c79d0
lea rdx, [rbx + 8]
mov r8, r13
lea rcx, [rsi + 0xc]
call fcn.14005f7b0
add rsi, 0x14
add rbx, 0x18
sub r14, 1
jne 0x1400ba530
lea rdx, [rdi + 0x20]
mov r8, r13
mov rcx, rsi
call fcn.14005f7b0
test byte [rdi + 0x10], 0x80
je 0x1400ba5b5
mov rcx, rsi
call fcn.1400c79d0
mov rcx, qword [rsp + 0x48]
call fcn.14005f7d0
mov rdx, qword [rdi + 0x18]
mov rcx, rdi
call fcn.1400ae6d0
mov rcx, qword [rdi + 0x398]
test eax, eax
je 0x1400ba5ee
mov r8, r12
mov rdx, r15
call qword [rdi + 0x3a8]
cmp rax, r12
je 0x1400ba60d
mov rcx, qword [rdi + 0x398]
lea r8, str.IO_error_writing_directory
lea rdx, str.TIFFWriteDirectorySec
call fcn.1401847f0
mov rcx, r15
call fcn.14005f7d0
xor eax, eax
jmp 0x1400ba644
mov rcx, r15
call fcn.14005f7d0
cmp dword [rbp + 0x77], 0
je 0x1400ba63b
mov rcx, rdi
call fcn.1400aaec0
and dword [rdi + 0x10], 0xffdffff7
mov rcx, rdi
call qword [rdi + 0x318]
mov rcx, rdi
call fcn.1400ab0b0
mov r12d, 1
mov eax, r12d
lea r11, [rsp + 0xe8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret