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

Disassembly:
sub esp, 0x44
push esi
mov si, word [esp + 0x50]
xorps xmm0, xmm0
push edi
mov edi, dword [esp + 0x50]
movzx eax, si
push 0
push eax
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x28], 0
call fcn.10161310
add esp, 0xc
test dword [edi + 0xc], 0x800
je 0x1014cefd
push str.Memory_mapped_files_not_currently_supported_for_this_operation.
push str.TIFFResetField
push dword [edi + 0x274]
call fcn.101621e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
add esp, 0x44
ret
mov eax, dword [edi + 0x10]
or eax, dword [edi + 0x14]
jne 0x1014cf0c
push str.Attempt_to_reset_field_on_directory_not_already_on_disk.
jmp 0x1014cee2
mov eax, dword [edi + 0x280]
push ebx
mov ebx, dword [edi + 0x14]
push ebp
mov ebp, dword [edi + 0x10]
push 0
push ebx
push ebp
push dword [edi + 0x274]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x30], ebx
call eax
add esp, 0x10
cmp eax, ebp
jne 0x1014d551
cmp edx, ebx
jne 0x1014d551
test dword [edi + 0xc], 0x80000
jne 0x1014cf94
push 2
lea eax, [esp + 0x18]
push eax
push dword [edi + 0x274]
mov eax, dword [edi + 0x278]
call eax
add esp, 0xc
cmp eax, 2
je 0x1014cf73
push dword [edi]
push str._s:_Can_not_read_TIFF_directory_count
jmp 0x1014d558
test byte [edi + 0xc], 0x80
je 0x1014cf86
lea eax, [esp + 0x14]
push eax
call fcn.101600f0
add esp, 4
mov eax, dword [esp + 0x14]
mov ebp, 0xc
lea ecx, [ebp - 0xa]
jmp 0x1014cfd7
push 8
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0x274]
mov eax, dword [edi + 0x278]
call eax
add esp, 0xc
cmp eax, 8
jne 0x1014cf67
test byte [edi + 0xc], 0x80
je 0x1014cfc4
lea eax, [esp + 0x28]
push eax
call fcn.10160120
add esp, 4
movzx eax, word [esp + 0x28]
mov ebp, 0x14
mov dword [esp + 0x14], eax
mov ecx, 8
xor ebx, ebx
mov dword [esp + 0x28], ebp
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
adc ebx, dword [esp + 0x20]
mov dword [esp + 0x20], ebx
test ax, ax
je 0x1014d053
push ebp
lea eax, [esp + 0x44]
push eax
push dword [edi + 0x274]
mov eax, dword [edi + 0x278]
call eax
add esp, 0xc
cmp eax, ebp
jne 0x1014d047
test byte [edi + 0xc], 0x80
movzx eax, word [esp + 0x40]
mov dword [esp + 0x18], eax
je 0x1014d02d
lea eax, [esp + 0x18]
push eax
call fcn.101600f0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp ax, si
je 0x1014d084
add dword [esp + 0x10], ebp
adc ebx, 0
cmp word [esp + 0x14], 0
mov dword [esp + 0x20], ebx
ja 0x1014cff2
jmp 0x1014d057
push dword [edi]
push str._s:_Can_not_read_TIFF_directory_entry.
jmp 0x1014d558
mov eax, dword [esp + 0x18]
cmp ax, si
je 0x1014d084
movzx eax, si
push eax
push dword [edi]
push str._s:_Could_not_find_tag__d.
push str.TIFFResetField
push dword [edi + 0x274]
call fcn.101621e0
add esp, 0x14
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x44
ret
test byte [edi + 0xc], 0x80
movzx eax, word [esp + 0x42]
mov dword [esp + 0x1c], eax
je 0x1014d0a0
lea eax, [esp + 0x1c]
push eax
call fcn.101600f0
add esp, 4
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x44]
test ecx, 0x80000
jne 0x1014d101
mov dword [esp + 0x5c], eax
test cl, cl
jns 0x1014d0c8
lea eax, [esp + 0x5c]
push eax
call fcn.10160100
mov eax, dword [esp + 0x60]
add esp, 4
test byte [edi + 0xc], 0x80
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x5c], eax
je 0x1014d0f3
lea eax, [esp + 0x5c]
push eax
call fcn.10160100
mov eax, dword [esp + 0x60]
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
jmp 0x1014d141
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
test cl, cl
jns 0x1014d11e
lea eax, [esp + 0x38]
push eax
call fcn.10160120
add esp, 4
test byte [edi + 0xc], 0x80
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
je 0x1014d141
lea eax, [esp + 0x30]
push eax
call fcn.10160120
add esp, 4
mov ebp, dword [esp + 0x60]
push ebp
call fcn.101614a0
add esp, 4
cmp eax, 8
jne 0x1014d17f
test dword [edi + 0xc], 0x80000
jne 0x1014d17f
cmp ebp, 0x10
jne 0x1014d166
lea ebx, [ebp - 0xc]
jmp 0x1014d181
cmp ebp, 0x11
jne 0x1014d170
lea ebx, [ebp - 8]
jmp 0x1014d181
cmp ebp, 0x12
mov ebx, ebp
mov eax, 0xd
cmove ebx, eax
jmp 0x1014d181
mov ebx, ebp
push str.for_field_buffer.
push ebx
call fcn.101614a0
mov esi, dword [esp + 0x6c]
add esp, 4
push eax
push esi
push edi
call fcn.10160f60
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x1014d56b
mov eax, dword [esp + 0x60]
cmp ebx, eax
jne 0x1014d1cc
push ebx
call fcn.101614a0
imul eax, esi
push eax
push dword [esp + 0x70]
push ebp
call fcn.101df960
add esp, 0x10
jmp 0x1014d273
cmp ebx, 9
jne 0x1014d226
cmp eax, 0x11
jne 0x1014d273
xor ecx, ecx
test esi, esi
jle 0x1014d273
mov eax, dword [esp + 0x68]
nop dword [eax + eax]
mov edi, dword [esp + 0x68]
mov eax, dword [eax + ecx*8]
mov dword [ebp + ecx*4], eax
cdq
cmp eax, dword [edi + ecx*8]
mov edi, dword [esp + 0x58]
jne 0x1014d216
mov eax, dword [esp + 0x68]
cmp edx, dword [eax + ecx*8 + 4]
jne 0x1014d216
inc ecx
cmp ecx, esi
jl 0x1014d1f0
jmp 0x1014d273
push ebp
call fcn.1002b000
push str.Value_exceeds_32bit_range_of_output_type.
jmp 0x1014d558
cmp ebx, 4
jne 0x1014d232
cmp eax, 0x10
je 0x1014d23c
jmp 0x1014d273
cmp ebx, 0xd
jne 0x1014d273
cmp eax, 0x12
jne 0x1014d273
xor ecx, ecx
test esi, esi
jle 0x1014d273
mov edx, dword [esp + 0x68]
nop word [eax + eax]
mov eax, dword [edx + ecx*8]
mov dword [ebp + ecx*4], eax
mov dword [esp + 0x5c], 0
cmp eax, dword [edx + ecx*8]
jne 0x1014d216
mov eax, dword [esp + 0x5c]
cmp eax, dword [edx + ecx*8 + 4]
jne 0x1014d216
inc ecx
cmp ecx, esi
jl 0x1014d250
push ebx
call fcn.101614a0
add esp, 4
cmp eax, 1
jle 0x1014d2cd
test byte [edi + 0xc], 0x80
je 0x1014d2cd
push ebx
call fcn.101614a0
add esp, 4
cmp eax, 2
jne 0x1014d29e
push esi
push ebp
call fcn.101601c0
jmp 0x1014d2ca
push ebx
call fcn.101614a0
add esp, 4
cmp eax, 4
jne 0x1014d2b5
push esi
push ebp
call fcn.10160220
jmp 0x1014d2ca
push ebx
call fcn.101614a0
add esp, 4
cmp eax, 8
jne 0x1014d2cd
push esi
push ebp
call fcn.10160260
add esp, 8
test dword [edi + 0xc], 0x80000
push ebx
jne 0x1014d307
call fcn.101614a0
imul eax, esi
add esp, 4
cmp eax, 4
jg 0x1014d337
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, 8
mov dword [esp + 0x30], ecx
adc eax, 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x34], eax
jmp 0x1014d33f
call fcn.101614a0
imul eax, esi
add esp, 4
cmp eax, 8
jg 0x1014d337
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, 0xc
mov dword [esp + 0x30], ecx
adc eax, 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x34], eax
jmp 0x1014d33f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, esi
cdq
cmp dword [esp + 0x38], eax
jne 0x1014d3ed
cmp dword [esp + 0x3c], edx
jne 0x1014d3ed
cmp word [esp + 0x1c], bx
jne 0x1014d3ed
mov eax, dword [edi + 0x280]
push 0
push dword [esp + 0x60]
push ecx
push dword [edi + 0x274]
call eax
add esp, 0x10
cmp eax, dword [esp + 0x30]
jne 0x1014d3db
cmp edx, dword [esp + 0x34]
jne 0x1014d3db
push ebx
call fcn.101614a0
imul eax, esi
push eax
mov eax, dword [edi + 0x27c]
push ebp
push dword [edi + 0x274]
call eax
push ebx
mov esi, eax
call fcn.101614a0
imul eax, dword [esp + 0x78]
add esp, 0x14
push ebp
cmp esi, eax
je 0x1014d3c6
call fcn.1002b000
push str.Error_writing_directory_link
jmp 0x1014d558
call fcn.1002b000
add esp, 4
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
push ebp
call fcn.1002b000
push dword [edi]
push str._s:_Seek_error_accessing_TIFF_directory
jmp 0x1014d067
cmp dword [esp + 0x24], 0
jne 0x1014d44f
mov eax, dword [edi + 0x280]
push 2
push 0
push 0
push dword [edi + 0x274]
call eax
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
call fcn.101614a0
imul eax, esi
push eax
mov eax, dword [edi + 0x27c]
push ebp
push dword [edi + 0x274]
call eax
push ebx
mov esi, eax
call fcn.101614a0
imul eax, dword [esp + 0x88]
add esp, 0x24
push ebp
cmp esi, eax
jne 0x1014d3b7
call fcn.1002b000
add esp, 4
jmp 0x1014d467
push ebx
call fcn.101614a0
imul eax, esi
push eax
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.101df960
add esp, 0x10
test byte [edi + 0xc], 0x80
movzx eax, bx
mov dword [esp + 0x1c], eax
mov word [esp + 0x42], bx
je 0x1014d486
lea eax, [esp + 0x42]
push eax
call fcn.101600f0
add esp, 4
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
test ecx, 0x80000
jne 0x1014d4c4
test cl, cl
jns 0x1014d4aa
lea eax, [esp + 0x44]
push eax
call fcn.10160100
add esp, 4
test byte [edi + 0xc], 0x80
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], eax
je 0x1014d500
lea eax, [esp + 0x48]
push eax
call fcn.10160100
jmp 0x1014d4fd
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
test cl, cl
jns 0x1014d4dd
lea eax, [esp + 0x44]
push eax
call fcn.10160120
add esp, 4
test byte [edi + 0xc], 0x80
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
je 0x1014d500
lea eax, [esp + 0x4c]
push eax
call fcn.10160120
add esp, 4
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
mov eax, dword [edi + 0x280]
push 0
push ebx
push ebp
push dword [edi + 0x274]
call eax
add esp, 0x10
cmp eax, ebp
jne 0x1014d551
cmp edx, ebx
jne 0x1014d551
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x40]
push esi
push eax
push dword [edi + 0x274]
mov eax, dword [edi + 0x27c]
call eax
add esp, 0xc
cmp eax, esi
je 0x1014d3ce
push dword [edi]
push str._s:_Can_not_write_TIFF_directory_entry.
jmp 0x1014d558
push dword [edi]
push str._s:_Seek_error_accessing_TIFF_directory
push str.TIFFResetField
push dword [edi + 0x274]
call fcn.101621e0
add esp, 0x10
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret