Function at 0x140002480
Capabilities:
Terminate process

Disassembly:
push r12
push r15
sub rsp, 0x68
lea r9, str.BitsPerSample
mov r8d, 0x102
mov r12, rdx
mov r15, rcx
call fcn.140001360
test eax, eax
je 0x1400029d4
lea r9, str.SamplesPerPixel
mov r8d, 0x115
mov rdx, r12
mov rcx, r15
call fcn.140001360
test eax, eax
je 0x1400029d4
lea r9, str.ImageWidth
mov r8d, pe_nt_image_headers64
mov rdx, r12
mov rcx, r15
call fcn.1400010d0
test eax, eax
je 0x1400029d4
mov rdx, r12
mov rcx, r15
call fcn.140001ae0
test eax, eax
jne 0x140002505
mov eax, 1
add rsp, 0x68
pop r15
pop r12
ret
mov qword [rsp + 0x80], rbx
lea r8, [0x140006008]
mov qword [rsp + 0x58], rsi
mov edx, 0x102
mov rcx, r15
mov qword [rsp + 0x50], rdi
call sub.tiff.dll_TIFFGetField
lea r8, [0x14000600c]
mov edx, 0x115
mov rcx, r15
call sub.tiff.dll_TIFFGetField
lea r8, [0x140006010]
mov edx, 0x153
mov rcx, r15
call sub.tiff.dll_TIFFGetField
lea r8, [0x140006070]
mov edx, pe_nt_image_headers64
mov rcx, r15
call sub.tiff.dll_TIFFGetField
lea r8, [0x140006074]
mov edx, 0x101
mov rcx, r15
call sub.tiff.dll_TIFFGetField
lea r8, [rsp + 0x90]
mov edx, 0x11c
mov rcx, r15
call sub.tiff.dll_TIFFGetField
lea r8, [rsp + 0x98]
mov edx, 0x11c
mov rcx, r12
call sub.tiff.dll_TIFFGetField
mov rcx, r15
call sub.tiff.dll_TIFFScanlineSize
mov rcx, rax
mov qword [rsp + 0x30], rax
mov rbx, rax
call sub.tiff.dll__TIFFmalloc
mov rcx, r12
mov rsi, rax
call sub.tiff.dll_TIFFScanlineSize
mov rcx, rax
call sub.tiff.dll__TIFFmalloc
mov rdi, rax
test rsi, rsi
je 0x1400029ae
test rax, rax
je 0x1400029ae
movzx eax, word [rsp + 0x90]
movzx r8d, word [rsp + 0x98]
movzx edx, word [0x14000600c]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
cmp ax, r8w
je 0x140002641
cmp word [0x140006008], 8
je 0x140002641
cmp dx, 1
jbe 0x140002641
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Cant_handle_different_planar_configuration_w__different_bits_sample_n
call fcn.1400021d0
jmp 0x140002982
movzx ecx, ax
shl ecx, 8
movzx eax, r8w
or ecx, eax
sub ecx, 0x101
je 0x1400028ea
sub ecx, 1
je 0x14000283f
sub ecx, 0xff
je 0x140002780
cmp ecx, 1
jne 0x14000270d
xor r14d, r14d
movzx ebp, r14w
cmp r14w, dx
jae 0x14000270d
mov eax, dword [0x140006074]
nop
mov ebx, r14d
test eax, eax
je 0x140002705
movzx r13d, bp
nop dword [rax + rax]
movzx r9d, bp
mov r8d, ebx
mov rdx, rsi
mov rcx, r15
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x140002766
movzx r9d, bp
mov r8d, ebx
mov rdx, rdi
mov rcx, r12
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x14000274c
mov rax, qword [rsp + 0x30]
mov r9, rdi
mov r8, rsi
mov qword [rsp + 0x20], rax
mov edx, ebx
mov ecx, r13d
call fcn.1400014f0
test eax, eax
js 0x140002997
mov eax, dword [0x140006074]
inc ebx
cmp ebx, eax
jb 0x1400026a0
movzx edx, word [0x14000600c]
inc bp
cmp bp, dx
jb 0x140002690
mov rcx, rsi
call sub.tiff.dll__TIFFfree
mov rcx, rdi
call sub.tiff.dll__TIFFfree
mov eax, 1
mov r13, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x50]
add rsp, 0x68
pop r15
pop r12
ret
mov rcx, r12
call sub.tiff.dll_TIFFFileName
mov edx, ebx
mov rcx, rax
mov r8d, r13d
call fcn.140002220
jmp 0x140002982
mov rcx, r15
call sub.tiff.dll_TIFFFileName
mov edx, ebx
mov rcx, rax
mov r8d, r13d
call fcn.140002220
jmp 0x140002982
xor r14d, r14d
cmp dword [0x140006074], r14d
mov ebp, r14d
jbe 0x14000270d
xor r9d, r9d
mov r8d, ebp
mov rdx, rdi
mov rcx, r12
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x14000282f
cmp r14w, word [0x14000600c]
movzx ebx, r14w
jae 0x140002806
nop word [rax + rax]
movzx r9d, bx
movzx r13d, bx
mov r8d, ebp
mov rdx, rsi
mov rcx, r15
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x140002815
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov r8d, ebp
mov edx, r13d
mov ecx, 1
call fcn.140001a00
test eax, eax
js 0x140002997
inc bx
cmp bx, word [0x14000600c]
jb 0x1400027c0
inc ebp
cmp ebp, dword [0x140006074]
jb 0x140002793
jmp 0x14000270d
mov rcx, r15
call sub.tiff.dll_TIFFFileName
mov edx, ebp
mov rcx, rax
mov r8d, r13d
call fcn.140002220
jmp 0x140002982
mov rcx, r12
call sub.tiff.dll_TIFFFileName
mov r8d, ebp
jmp 0x140002967
xor r14d, r14d
cmp dword [0x140006074], r14d
mov ebp, r14d
jbe 0x14000270d
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov rcx, r15
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x1400028da
cmp r14w, word [0x14000600c]
movzx ebx, r14w
jae 0x1400028c3
nop word [rax + rax]
movzx r9d, bx
movzx r13d, bx
mov r8d, ebp
mov rdx, rdi
mov rcx, r12
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x1400028d2
mov r9, rsi
mov qword [rsp + 0x20], rdi
mov r8d, ebp
mov edx, r13d
xor ecx, ecx
call fcn.140001a00
test eax, eax
js 0x140002997
inc bx
cmp bx, word [0x14000600c]
jb 0x140002880
inc ebp
cmp ebp, dword [0x140006074]
jb 0x140002852
jmp 0x14000270d
mov rcx, r12
jmp 0x140002818
mov rcx, r15
call sub.tiff.dll_TIFFFileName
mov r8d, ebp
jmp 0x140002967
xor r14d, r14d
cmp dword [0x140006074], r14d
jbe 0x14000270d
nop word [rax + rax]
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
mov rcx, r15
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x14000295c
xor r9d, r9d
mov r8d, r14d
mov rdx, rdi
mov rcx, r12
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x140002957
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8, rsi
mov edx, r14d
mov ecx, 0xffffffff
call fcn.1400014f0
test eax, eax
js 0x140002997
inc r14d
cmp r14d, dword [0x140006074]
jb 0x140002900
jmp 0x14000270d
mov rcx, r12
jmp 0x14000295f
mov rcx, r15
call sub.tiff.dll_TIFFFileName
mov r8d, r14d
mov rdx, rax
lea rcx, str._s:_EOF_at_scanline__u
call fcn.140002420
lea rcx, [0x140004924]
call fcn.140002420
cmp dword [section..data], 0
je 0x140002997
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rsi
call sub.tiff.dll__TIFFfree
mov rcx, rdi
call sub.tiff.dll__TIFFfree
xor eax, eax
jmp 0x140002722
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.No_space_for_scanline_buffers_n
call fcn.1400021d0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor eax, eax
add rsp, 0x68
pop r15
pop r12
ret