Function at 0x616f6130
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 0x616f6181
lea rdi, str.length_does_not_match_profile
jmp 0x616f6192
cmp byte [rbx + 8], 3
jbe 0x616f61a2
test al, 3
je 0x616f61a2
lea rdi, str.invalid_length
mov qword [rsp + 0x80], rdi
mov r9d, eax
jmp 0x616f6469
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 0x616f61e4
imul edx, eax, 0xc
add edx, 0x84
cmp r9d, edx
jae 0x616f61ed
lea rdi, str.tag_count_too_large
jmp 0x616f6192
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 0x616f6461
cmp r9d, 3
jbe 0x616f624a
lea rax, str.intent_outside_defined_range
mov r8, rsi
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.616f6670
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 0x616f6461
lea rcx, [rbx + 0x44]
mov r8d, 0xc
lea rdx, [0x61766330]
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x616f62be
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.616f6670
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 0x616f631a
cmp r9d, 0x52474220
jne 0x616f633a
and dil, 2
jne 0x616f6346
lea rax, str.RGB_color_space_not_permitted_on_grayscale_PNG
mov r9d, 0x52474220
mov qword [rsp + 0x80], rax
jmp 0x616f6469
and dil, 2
je 0x616f6346
lea rax, str.Gray_color_space_not_permitted_on_RGB_PNG
mov r9d, 0x47524159
mov qword [rsp + 0x80], rax
jmp 0x616f6469
lea rax, str.invalid_ICC_profile_color_space
jmp 0x616f6461
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 0x616f641e
ja 0x616f63ab
cmp r9d, 0x61627374
je 0x616f63da
cmp r9d, 0x6c696e6b
jne 0x616f6405
lea rax, str.unexpected_DeviceLink_ICC_profile_class
mov r9d, 0x6c696e6b
mov qword [rsp + 0x80], rax
jmp 0x616f6469
cmp r9d, 0x6e6d636c
je 0x616f63f1
cmp r9d, 0x6e6d636b
jbe 0x616f6405
cmp r9d, 0x73636e72
je 0x616f641e
cmp r9d, 0x73706163
je 0x616f641e
cmp r9d, 0x70727472
je 0x616f641e
jmp 0x616f6405
lea rax, str.invalid_embedded_Abstract_ICC_profile
mov r9d, 0x61627374
mov qword [rsp + 0x80], rax
jmp 0x616f6469
lea rax, str.unexpected_NamedColor_ICC_profile_class
mov r9d, 0x6e6d636c
mov qword [rsp + 0x20], rax
jmp 0x616f6411
lea rax, str.unrecognized_ICC_profile_class
mov qword [rsp + 0x20], rax
mov r8, rsi
xor edx, edx
mov rcx, r12
call fcn.616f6670
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 0x616f6482
cmp r9d, 0x58595a20
je 0x616f6482
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.616f6670
mov eax, 1
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret