Function at 0x140016bd0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.140100170
sub rsp, rax
mov rax, qword [0x1401a2920]
xor rax, rsp
mov qword [rbp + 0xf90], rax
mov rsi, rdx
mov r15, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
lea r13, vtable.CKRKFile.0
mov qword [rsp + 0x30], r13
xor r12d, r12d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x70]
call qword [0x14011a9a8]
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x78], r12
mov rdx, qword [r15]
lea rcx, [rsp + 0x30]
call fcn.14002adf0
test al, al
je 0x14001702d
mov ebx, r12d
lea rdi, [rbp - 0x70]
mov ecx, dword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
nop dword [rax + rax]
cmp ecx, dword [rsp + 0x54]
jae 0x140016d01
cmp ecx, 0x80000
jae 0x140016d01
mov edx, ecx
mov rax, qword [rsp + 0x40]
sub rax, r8
cmp rax, rdx
jbe 0x1400170e0
movzx eax, byte [r8 + rdx]
mov byte [rdi], al
inc ecx
mov dword [rsp + 0x50], ecx
inc qword [rsp + 0x60]
cmp ecx, 0x80000
jb 0x140016cf2
lea rcx, [rsp + 0x30]
call fcn.14002b0a0
test al, al
je 0x140016d01
mov ecx, dword [rsp + 0x50]
mov r8, qword [rsp + 0x38]
inc ebx
inc rdi
cmp ebx, 0x1000
jae 0x140016d09
jmp 0x140016ca0
test ebx, ebx
je 0x14001702d
mov r9, rsi
mov r8d, ebx
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.1400161e0
test eax, eax
je 0x140016d26
mov bl, 1
jmp 0x14001702f
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140057fe0
test eax, eax
je 0x140016d3e
mov bl, 1
jmp 0x14001702f
cmp ebx, 0x1e
jb 0x140016dbb
mov ecx, 0x4d42
mov rax, qword [rbp - 0x70]
cmp ax, cx
je 0x140016d5b
mov ecx, 0x4142
cmp ax, cx
jne 0x140016dbb
mov eax, dword [rbp - 0x62]
cmp eax, 0xc
je 0x140016d72
cmp eax, 0x28
je 0x140016d72
cmp eax, 0x7c
je 0x140016d72
cmp eax, 0x6c
jne 0x140016dbb
lea rcx, [rsi + 0x218]
lea rdx, [0x14015d930]
call qword [0x14011b040]
mov ecx, dword [rbp - 0x5e]
mov eax, ecx
neg eax
test ecx, ecx
cmovns eax, ecx
mov dword [rsi + 0x220], eax
mov ecx, dword [rbp - 0x5a]
mov eax, ecx
neg eax
test ecx, ecx
cmovns eax, ecx
mov dword [rsi + 0x224], eax
movzx eax, byte [rbp - 0x54]
mov byte [rsi + 0x228], al
mov bl, 1
jmp 0x14001702f
lea r8, [rsi + 0x210]
mov edx, ebx
lea rcx, [rbp - 0x70]
call fcn.140016880
test eax, eax
je 0x140016dd8
mov bl, 1
jmp 0x14001702f
lea r9, [rsi + 0x210]
mov r8d, ebx
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140016a40
test eax, eax
je 0x140016df9
mov bl, 1
jmp 0x14001702f
movzx r8d, byte [rbp - 0x6f]
mov rcx, qword [rbp - 0x70]
cmp ebx, 0x80
jae 0x140016e82
cmp ebx, 4
jae 0x140016f15
mov r8d, 4
lea rdx, [rsp + 0x28]
mov rcx, r15
call qword [0x14011aac8]
nop
lea rdx, str..PCT
mov rcx, rax
call qword [0x14011aae8]
mov ebx, eax
lea rcx, [rsp + 0x28]
call qword [0x14011a9b0]
test ebx, ebx
je 0x140016e7b
mov r8d, 5
lea rdx, [rsp + 0x20]
mov rcx, r15
call qword [0x14011aac8]
nop
lea rdx, str..PICT
mov rcx, rax
call qword [0x14011aae8]
mov ebx, eax
lea rcx, [rsp + 0x20]
call qword [0x14011a9b0]
mov bl, 1
jmp 0x14001702f
cmp cl, 0xa
je 0x140016e90
cmp cl, 0xcd
jne 0x140016f15
lea eax, [r8 - 2]
cmp al, 3
ja 0x140016f15
movzx ebx, word [rbp - 0x6c]
movzx edi, word [rbp - 0x6a]
movzx r14d, word [rbp - 0x68]
movzx r15d, word [rbp - 0x66]
movzx eax, byte [rbp - 0x2f]
cmp eax, 1
jne 0x140016ece
movzx ecx, byte [rbp - 0x6d]
cmp cl, 8
ja 0x140016ee0
mov edx, 0x116
bt edx, ecx
jae 0x140016ee0
mov byte [rsi + 0x228], cl
jmp 0x140016ee0
cmp eax, 3
jne 0x140016ee0
cmp byte [rbp - 0x6d], 8
jne 0x140016ee0
mov byte [rsi + 0x228], 0x18
lea rcx, [rsi + 0x218]
lea rdx, [0x14015d950]
call qword [0x14011b040]
mov ecx, r14d
sub ecx, ebx
inc ecx
mov dword [rsi + 0x220], ecx
mov ecx, r15d
sub ecx, edi
inc ecx
mov dword [rsi + 0x224], ecx
mov bl, 1
jmp 0x14001702f
mov eax, 0x4949
mov rdx, qword [rbp - 0x6e]
cmp cx, ax
je 0x140016f2d
mov eax, 0x4d4d
cmp cx, ax
jne 0x140016f45
mov eax, 0x2a00
cmp dx, ax
je 0x140016ff8
cmp dx, 0x2a
je 0x140016ff8
cmp ebx, 0xa
jb 0x140016e13
sub rcx, qword [0x1401a2ab0]
jne 0x140016f65
movzx ecx, word [rbp - 0x68]
movzx eax, word [0x1401a2ab8]
sub rcx, rax
mov eax, r12d
test rcx, rcx
sete al
test eax, eax
je 0x140016f79
mov bl, 1
jmp 0x14001702f
cmp ebx, 0x12
jb 0x140016e13
cmp r8b, 1
ja 0x140016e13
test dl, 3
je 0x140016e13
test dl, 0xf4
jne 0x140016e13
cmp word [rbp - 0x64], 0
je 0x140016e13
cmp word [rbp - 0x62], 0
je 0x140016e13
movzx eax, byte [rbp - 0x60]
sub al, 8
cmp al, 0x18
ja 0x140016e13
lea rcx, [rsi + 0x218]
lea rdx, [0x14015d968]
call qword [0x14011b040]
movzx eax, word [rbp - 0x64]
mov dword [rsi + 0x220], eax
movzx eax, word [rbp - 0x62]
mov dword [rsi + 0x224], eax
movzx eax, byte [rbp - 0x60]
mov byte [rsi + 0x228], al
mov bl, 1
jmp 0x14001702f
lea rcx, [rsi + 0x218]
lea rdx, str.TIFF
call qword [0x14011b040]
mov rdx, r15
lea rcx, [rsp + 0x20]
call qword [0x14011b020]
lea rdx, [rsi + 0x210]
mov rcx, rax
call fcn.1400a49d0
mov bl, 1
jmp 0x14001702f
xor bl, bl
mov qword [rsp + 0x30], r13
xor r9d, r9d
lea r8, [rbp - 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [0x1401183c0]
mov rcx, qword [rsp + 0x58]
call qword [0x1401183b8]
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x54], r12d
mov rax, qword [rsp + 0x78]
add qword [0x1401a8bf0], rax
lea rcx, [rsp + 0x70]
call qword [0x14011a9b0]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400170b3
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400170ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400170ae
call qword [0x140118bb8]
int3
call fcn.1400feb20
movzx eax, bl
mov rcx, qword [rbp + 0xf90]
xor rcx, rsp
call fcn.1400feb00
mov rbx, qword [rsp + 0x10f0]
add rsp, 0x10a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140011a70
nop
int3