Function at 0x140001f50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push r12
push r13
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, rdx
lea rax, [rbp - 0x28]
mov r13d, r9d
mov qword [rsp + 0x20], rax
mov rbx, rcx
lea r9, [rbp - 0x30]
mov rcx, r15
lea r8, [rbp - 0x38]
mov edx, 0x140
mov r12d, 0x24
call sub.tiff.dll_TIFFGetField
test eax, eax
jne 0x140001fba
mov rcx, qword [0x14000d0a8]
lea rdx, str.Palette_image_w_o__Colormap__tag
call sub.tiff.dll_TIFFError
add rsp, 0x70
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
movzx r8d, word [0x14000d0cc]
test r8d, r8d
je 0x140002c99
cmp r8d, 8
ja 0x140002c99
mov eax, 0x117
bt eax, r8d
jae 0x140002c99
mov rcx, qword [0x14000d0e8]
xor edx, edx
mov eax, 8
mov qword [rsp + 0x68], rdi
div r8d
mov qword [rsp + 0x60], r14
lea edi, [rax + rax*2]
mov dword [rbp - 0x40], edi
call fcn.140005ad0
mov qword [rbp - 0x20], rax
mov r14, rax
test rax, rax
jne 0x140002040
mov rcx, qword [0x14000d0a8]
lea rdx, str.No_space_for_scanline_buffer
call sub.tiff.dll_TIFFError
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
add rsp, 0x70
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
movzx ecx, byte [0x14000d0cc]
mov rax, qword [rbp - 0x28]
mov r9, qword [rbp - 0x30]
mov r8, qword [rbp - 0x38]
mov qword [rsp + 0xa0], rsi
mov esi, 1
mov edx, esi
mov qword [rsp + 0x20], rax
shl edx, cl
mov rcx, r15
call fcn.1400051c0
cmp eax, 0x10
jne 0x1400020f9
movzx ecx, byte [0x14000d0cc]
shl esi, cl
sub esi, 1
movsxd r9, esi
js 0x1400020f9
nop dword [rax + rax]
mov rax, qword [rbp - 0x38]
lea r8, [rax + r9*2]
movzx eax, word [rax + r9*2]
imul ecx, eax, 0xff
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [r8], dx
mov rax, qword [rbp - 0x30]
lea r8, [rax + r9*2]
movzx eax, word [rax + r9*2]
imul ecx, eax, 0xff
mov eax, 0x80008001
mul ecx
shr edx, 0xf
mov word [r8], dx
mov rax, qword [rbp - 0x28]
lea r8, [rax + r9*2]
movzx eax, word [rax + r9*2]
imul ecx, eax, 0xff
mov eax, 0x80008001
mul ecx
shr edx, 0xf
sub r9, 1
mov word [r8], dx
jns 0x140002090
xor eax, eax
mov dword [rbp - 0x3c], eax
test r13d, r13d
je 0x140002c84
nop word [rax + rax]
xor r9d, r9d
mov r8d, eax
mov rdx, r14
mov rcx, r15
call sub.tiff.dll_TIFFReadScanline
test eax, eax
js 0x140002c84
xor r13d, r13d
mov r15, r14
cmp qword [0x14000d0e8], r13
jle 0x140002c6f
nop dword [rax]
sub r12d, edi
test r12d, r12d
jg 0x14000215f
mov rdx, rbx
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov r12d, 0x24
sub r12d, edi
movzx ecx, word [0x14000d0cc]
sub ecx, 1
je 0x140002647
sub ecx, 1
je 0x14000236b
sub ecx, 2
je 0x14000221a
cmp ecx, 4
jne 0x140002c5b
movzx eax, byte [r15]
mov rdx, rbx
inc r15
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
movzx edi, word [rsi + rax]
jmp 0x140002c23
movzx eax, byte [r15]
mov rdx, rbx
mov r14d, eax
inc r15
and eax, 0xf
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x38]
mov rdx, rbx
shr r14, 4
movzx edi, word [rax + r14*2]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rax + r14*2]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
movzx edi, word [rax + r14*2]
jmp 0x140002c23
movzx r14d, byte [r15]
mov rdx, rbx
mov eax, r14d
inc r15
and eax, 3
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 2
mov rdx, rbx
movzx eax, r14b
and eax, 3
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
mov rdx, rbx
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 2
mov rdx, rbx
movzx eax, r14b
and eax, 3
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 2
mov rdx, rbx
movzx eax, r14b
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
movzx edi, word [rsi + rax]
jmp 0x140002c23
movzx r14d, byte [r15]
mov rdx, rbx
mov eax, r14d
inc r15
and eax, 1
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 1
mov rdx, rbx
movzx eax, r14b
and eax, 1
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
mov rdx, rbx
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 1
mov rdx, rbx
movzx eax, r14b
and eax, 1
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 1
mov rdx, rbx
movzx eax, r14b
and eax, 1
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
movzx edi, word [rsi + rax]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
mov rax, qword [str.0123456789abcdef]
mov rdx, rbx
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 1
mov rdx, rbx
movzx eax, r14b
and eax, 1
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 1
mov rdx, rbx
movzx eax, r14b
and eax, 1
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 1
mov rdx, rbx
movzx eax, r14b
and eax, 1
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
shr r14b, 1
movzx eax, r14b
mov rdx, rbx
lea rsi, [rax + rax]
mov rax, qword [rbp - 0x38]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x30]
mov rdx, rbx
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov ecx, edi
shr rcx, 4
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [rbp - 0x28]
movzx edi, word [rsi + rax]
mov rax, qword [str.0123456789abcdef]
mov rcx, rdi
shr rcx, 4
mov rdx, rbx
and ecx, 0xf
movsx ecx, byte [rcx + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov rax, qword [str.0123456789abcdef]
and edi, 0xf
mov rdx, rbx
movsx ecx, byte [rdi + rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putc]
mov edi, dword [rbp - 0x40]
inc r13
cmp r13, qword [0x14000d0e8]
jl 0x140002140
mov r14, qword [rbp - 0x20]
mov eax, dword [rbp - 0x3c]
mov r15, qword [rbp + 0x38]
inc eax
mov dword [rbp - 0x3c], eax
cmp eax, dword [rbp + 0x48]
jb 0x140002110
mov rcx, r14
call sub.tiff.dll__TIFFfree
mov rsi, qword [rsp + 0xa0]
jmp 0x140002029
mov rcx, qword [0x14000d0a8]
lea rdx, str.Depth__hu_not_supported
call sub.tiff.dll_TIFFError
add rsp, 0x70
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret