Function at 0x61db01e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, qword [rsp + 0x80]
mov edi, dword [rsp + 0x88]
movzx eax, byte [rbx]
shl eax, 0x18
mov r12, rcx
mov r13, rdx
movzx edx, byte [rbx + 3]
mov ecx, eax
movzx eax, byte [rbx + 1]
mov rsi, r8
shl eax, 0x10
add eax, ecx
add edx, eax
movzx eax, byte [rbx + 2]
shl eax, 8
add eax, edx
cmp eax, r9d
je 0x61db0231
lea rdi, str.length_does_not_match_profile
jmp 0x61db0242
cmp byte [rbx + 8], 3
jbe 0x61db0252
test al, 3
je 0x61db0252
lea rdi, str.invalid_length
mov qword [rsp + 0x80], rdi
mov r9d, eax
jmp 0x61db0519
movzx eax, byte [rbx + 0x80]
movzx edx, byte [rbx + 0x83]
shl eax, 0x18
mov ecx, eax
movzx eax, byte [rbx + 0x81]
shl eax, 0x10
add eax, ecx
add edx, eax
movzx eax, byte [rbx + 0x82]
shl eax, 8
add eax, edx
cmp eax, 0x1555554a
ja 0x61db0294
imul edx, eax, 0xc
add edx, 0x84
cmp r9d, edx
jae 0x61db029d
lea rdi, str.tag_count_too_large
jmp 0x61db0242
movzx r9d, byte [rbx + 0x40]
movzx eax, byte [rbx + 0x43]
mov edx, r9d
movzx r9d, byte [rbx + 0x41]
shl edx, 0x18
shl r9d, 0x10
add r9d, edx
add eax, r9d
movzx r9d, byte [rbx + 0x42]
shl r9d, 8
add r9d, eax
lea rax, str.invalid_rendering_intent
cmp r9d, 0xfffe
ja 0x61db0511
cmp r9d, 3
jbe 0x61db02fa
lea rax, str.intent_outside_defined_range
mov r8, rsi
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.61db0720
movzx r9d, byte [rbx + 0x24]
movzx eax, byte [rbx + 0x27]
mov edx, r9d
movzx r9d, byte [rbx + 0x25]
shl edx, 0x18
shl r9d, 0x10
add r9d, edx
add eax, r9d
movzx r9d, byte [rbx + 0x26]
shl r9d, 8
add r9d, eax
lea rax, str.invalid_signature
cmp r9d, 0x61637370
jne 0x61db0511
lea rcx, [rbx + 0x44]
mov r8d, 0xc
lea rdx, [0x61e14e30]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x61db036e
lea rax, str.PCS_illuminant_is_not_D50
xor r9d, r9d
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, r12
call fcn.61db0720
movzx r9d, byte [rbx + 0x10]
movzx eax, byte [rbx + 0x13]
mov edx, r9d
movzx r9d, byte [rbx + 0x11]
shl edx, 0x18
shl r9d, 0x10
add r9d, edx
add eax, r9d
movzx r9d, byte [rbx + 0x12]
shl r9d, 8
add r9d, eax
cmp r9d, 0x47524159
je 0x61db03ca
cmp r9d, 0x52474220
jne 0x61db03ea
and dil, 2
jne 0x61db03f6
lea rax, str.RGB_color_space_not_permitted_on_grayscale_PNG
mov r9d, 0x52474220
mov qword [rsp + 0x80], rax
jmp 0x61db0519
and dil, 2
je 0x61db03f6
lea rax, str.Gray_color_space_not_permitted_on_RGB_PNG
mov r9d, 0x47524159
mov qword [rsp + 0x80], rax
jmp 0x61db0519
lea rax, str.invalid_ICC_profile_color_space
jmp 0x61db0511
movzx r9d, byte [rbx + 0xc]
movzx eax, byte [rbx + 0xf]
mov edx, r9d
movzx r9d, byte [rbx + 0xd]
shl edx, 0x18
shl r9d, 0x10
add r9d, edx
add eax, r9d
movzx r9d, byte [rbx + 0xe]
shl r9d, 8
add r9d, eax
cmp r9d, 0x6d6e7472
je 0x61db04ce
ja 0x61db045b
cmp r9d, 0x61627374
je 0x61db048a
cmp r9d, 0x6c696e6b
jne 0x61db04b5
lea rax, str.unexpected_DeviceLink_ICC_profile_class
mov r9d, 0x6c696e6b
mov qword [rsp + 0x80], rax
jmp 0x61db0519
cmp r9d, 0x6e6d636c
je 0x61db04a1
cmp r9d, 0x6e6d636b
jbe 0x61db04b5
cmp r9d, 0x73636e72
je 0x61db04ce
cmp r9d, 0x73706163
je 0x61db04ce
cmp r9d, 0x70727472
je 0x61db04ce
jmp 0x61db04b5
lea rax, str.invalid_embedded_Abstract_ICC_profile
mov r9d, 0x61627374
mov qword [rsp + 0x80], rax
jmp 0x61db0519
lea rax, str.unexpected_NamedColor_ICC_profile_class
mov r9d, 0x6e6d636c
mov qword [rsp + 0x20], rax
jmp 0x61db04c1
lea rax, str.unrecognized_ICC_profile_class
mov qword [rsp + 0x20], rax
mov r8, rsi
xor edx, edx
mov rcx, r12
call fcn.61db0720
movzx r9d, byte [rbx + 0x14]
movzx eax, byte [rbx + 0x17]
mov edx, r9d
movzx r9d, byte [rbx + 0x15]
shl edx, 0x18
shl r9d, 0x10
add r9d, edx
add eax, r9d
movzx r9d, byte [rbx + 0x16]
shl r9d, 8
add r9d, eax
cmp r9d, 0x4c616220
je 0x61db0532
cmp r9d, 0x58595a20
je 0x61db0532
lea rax, str.unexpected_ICC_PCS_encoding
mov qword [rsp + 0x80], rax
mov r8, rsi
mov rdx, r13
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp fcn.61db0720
mov eax, 1
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret