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

Disassembly:
push 0xffffffffffffffff
push 0x10195693
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xcc]
mov ebx, dword [esp + 0xd0]
movzx eax, word [ebx]
add eax, 0xffffff00
cmp eax, 0x40
ja case.0x10147723.260
movzx eax, byte [eax + 0x10147de4]
jmp dword [eax*4 + 0x10147dbc]
cmp word [ebx + 2], 3
jne 0x10147746
mov eax, dword [ebx + 8]
mov esi, ebp
call fcn.10147510
movsx ecx, ax
mov dword [ebp + 0x1c], ecx
jmp case.0x10147723.260
mov edx, dword [ebx + 8]
mov dword [ebp + 0x1c], edx
jmp case.0x10147723.260
cmp word [ebx + 2], 3
jne 0x1014776d
mov eax, dword [ebx + 8]
mov esi, ebp
call fcn.10147510
movsx eax, ax
mov dword [ebp + 0x20], eax
jmp case.0x10147723.260
mov ecx, dword [ebx + 8]
mov dword [ebp + 0x20], ecx
jmp case.0x10147723.260
mov ecx, dword [ebx + 4]
mov eax, ecx
sub eax, 1
je 0x10147825
sub eax, 2
je 0x101477b2
push ecx
push str.egr_Tiff::parseEntry:_unhandled_number_of_bits_per_sample_entries___d_
lea eax, [esp + 0x8c]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea edx, [esp + 0x88]
push edx
call fcn.1017d044
mov eax, dword [ebx + 8]
mov ecx, ebp
call fcn.10147f80
xor edi, edi
lea eax, [esp + 0x18]
push eax
mov ebx, 2
mov esi, ebp
call fcn.10148020
mov edx, dword [esp + 0x18]
push edx
mov ecx, ebp
call fcn.101474c0
movzx ecx, ax
movsx eax, word [ebp + 0xe]
cmp ecx, eax
jne 0x101477f3
add edi, 1
cmp edi, 3
jl 0x101477be
jmp case.0x10147723.260
movsx ecx, word [ebp + 0xe]
push ecx
push edx
mov ecx, ebp
call fcn.101474c0
movzx edx, ax
push edx
push edi
push str.egr_Tiff::parseEntry:_different_color_depth_in_components_of_24_bit_bitmap__component:__d_has_color_depth:__d_instead_of__d
lea eax, [esp + 0x5c]
call fcn.100595b0
add esp, 0x10
push 0x102051a0
lea eax, [esp + 0x50]
push eax
call fcn.1017d044
mov eax, dword [ebx + 8]
movzx edi, word [ebp + 0xe]
mov esi, ebp
call fcn.10147510
cmp ax, di
je case.0x10147723.260
mov eax, dword [ebx + 8]
movsx ecx, di
push ecx
call fcn.10147510
movsx edx, ax
push edx
push str.egr_Tiff::parseEntry:_image_has_different_color_depth___d____d
lea eax, [esp + 0x68]
call fcn.100595b0
add esp, 0xc
push 0x102051a0
lea eax, [esp + 0x60]
push eax
call fcn.1017d044
mov eax, dword [ebx + 8]
mov esi, ebp
call fcn.10147510
cmp ax, word [ebp + 0x10]
je case.0x10147723.260
mov eax, dword [ebx + 8]
call fcn.10147510
movsx ecx, ax
push ecx
push str.egr_Tiff::parseEntry:_image_is_compressed_using_compression_type__d
lea eax, [esp + 0x84]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea edx, [esp + 0x80]
push edx
call fcn.1017d044
mov eax, dword [ebx + 8]
mov esi, ebp
call fcn.10147510
movsx eax, ax
sub eax, 1
je 0x1014790c
sub eax, 1
je 0x10147905
sub eax, 1
je 0x101478fa
mov eax, dword [ebx + 8]
call fcn.10147510
movsx eax, ax
push eax
push str.egr_Tiff::parseEntry:_TIFF_photometric_interpretation_type___d__not_implemented
lea eax, [esp + 0x74]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea ecx, [esp + 0x70]
push ecx
call fcn.1017d044
mov eax, 4
mov byte [ebp + 5], 1
jmp 0x10147915
mov eax, 4
jmp 0x10147911
mov eax, 1
mov byte [ebp + 5], 0
mov esi, dword [ebp + 0x20]
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx]
push 2
push esi
mov esi, dword [ebp + 0x1c]
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
jmp case.0x10147723.260
mov ecx, dword [ebx + 4]
push 0
push ecx
lea esi, [ebp + 0x94]
call fcn.10005ca0
movzx eax, word [ebx + 2]
cmp ax, 4
jne 0x101479c2
mov ecx, 4
call fcn.10147530
imul eax, dword [ebx + 4]
cmp eax, 4
jbe 0x101479b2
mov eax, dword [ebx + 8]
mov ecx, ebp
call fcn.10147f80
xor edi, edi
cmp dword [ebx + 4], edi
jle case.0x10147723.260
lea edx, [esp + 0x18]
push edx
mov ebx, 4
mov esi, ebp
call fcn.10148020
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x98]
push ecx
mov ecx, ebp
lea esi, [eax + edi*4]
call fcn.101474e0
mov edx, dword [esp + 0xd0]
add edi, 1
mov dword [esi], eax
cmp edi, dword [edx + 4]
jl 0x10147976
jmp case.0x10147723.260
mov eax, dword [ebp + 0x98]
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
jmp case.0x10147723.260
movzx edx, ax
push edx
push str.parseEntry:_only_LONG_is_supported_for_strip_offset_array__type_was__d
lea eax, [esp + 0x94]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea eax, [esp + 0x90]
push eax
call fcn.1017d044
cmp word [ebx + 2], 3
jne 0x10147a0b
mov eax, dword [ebx + 8]
mov esi, ebp
call fcn.10147510
movsx ecx, ax
mov dword [ebp + 0xb0], ecx
jmp case.0x10147723.260
mov edx, dword [ebx + 8]
mov dword [ebp + 0xb0], edx
jmp case.0x10147723.260
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx + 0x1c]
mov edx, eax
sub edx, 1
je 0x10147b63
sub edx, 3
je 0x10147a6e
lea esi, [esp + 0x94]
call fcn.101470b0
mov dword [esp + 0xc4], 0
mov eax, dword [eax + 4]
push eax
push str.egr_Tiff::parseEntry:_used_pixel_type__s_is_not_supported
lea eax, [esp + 0x5c]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea ecx, [esp + 0x58]
push ecx
call fcn.1017d044
cmp byte [ebp + 5], 0
jne case.0x10147723.260
cmp dword [ebp + 0x9c], 0
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
jle case.0x10147723.260
mov ecx, dword [ebp + 0x98]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + edx*4]
mov ecx, ebp
call fcn.10147f80
mov ecx, dword [esp + 0x14]
cmp dword [ebp + 0xb0], ecx
lea eax, [ebp + 0xb0]
jl 0x10147ac5
lea eax, [esp + 0x14]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x18], 0
jle 0x10147b3f
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd4]
mov edi, dword [eax + 0x14]
test edi, edi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
jle 0x10147b2a
lea ecx, [esp + 0x30]
push ecx
mov ebx, 3
mov esi, ebp
call fcn.10148020
mov ecx, dword [esp + 0x31]
mov edx, dword [esp + 0x30]
push ecx
push edx
mov cl, ch
call fcn.10147470
mov ecx, dword [esp + 0x34]
mov dword [ecx], eax
add ecx, 4
sub edi, 1
add esp, 8
test edi, edi
mov dword [esp + 0x2c], ecx
jg 0x10147af1
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0x24]
add dword [esp + 0x24], ecx
sub dword [esp + 0x20], 1
jne 0x10147adb
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub dword [esp + 0x14], edx
add eax, 1
cmp eax, dword [ebp + 0x9c]
mov dword [esp + 0x1c], eax
jl 0x10147a9b
jmp case.0x10147723.260
cmp dword [ebp + 0x9c], 0
mov eax, dword [ecx + 0x18]
mov edi, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
jle case.0x10147723.260
mov ecx, dword [ebp + 0x98]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + edx*4]
mov ecx, ebp
call fcn.10147f80
mov ecx, dword [esp + 0x14]
cmp dword [ebp + 0xb0], ecx
lea eax, [ebp + 0xb0]
jl 0x10147bac
lea eax, [esp + 0x14]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x20], 0
jle 0x10147be5
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0xd4]
mov ebx, dword [edx + 0x14]
push edi
mov esi, ebp
call fcn.10148020
mov eax, dword [esp + 0xd4]
add edi, dword [eax + 0x24]
sub dword [esp + 0x18], 1
jne 0x10147bc2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub dword [esp + 0x14], ecx
add eax, 1
cmp eax, dword [ebp + 0x9c]
mov dword [esp + 0x1c], eax
jl 0x10147b82
jmp case.0x10147723.260
cmp byte [ebp + 5], 0
jne 0x10147c2b
push str.egr_Tiff::parseEntry:_colormap_without_correct_photometric_interpretation
lea eax, [esp + 0x68]
call fcn.100595b0
add esp, 4
push 0x102051a0
lea edx, [esp + 0x68]
push edx
call fcn.1017d044
mov eax, dword [ebx + 4]
cmp eax, 0x300
je 0x10147c56
push eax
push str.egr_Tiff::parseEntry:_wrong_number_of_palette_entries___d_
lea eax, [esp + 0x7c]
call fcn.100595b0
add esp, 8
push 0x102051a0
lea eax, [esp + 0x78]
push eax
call fcn.1017d044
xor eax, eax
mov dword [esp + 0x38], vtable.ert_TmplArr_unsigned_int_.0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], al
mov byte [esp + 0x49], al
mov edi, 0x100
lea esi, [esp + 0x38]
mov dword [esp + 0xc4], 1
call fcn.100ee050
mov eax, dword [ebx + 8]
mov ecx, ebp
call fcn.10147f80
mov ecx, esi
push ecx
mov eax, ebp
call fcn.10147e30
cmp dword [ebp + 0x9c], 0
mov eax, dword [esp + 0xd4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], 0
jle 0x10147d8a
mov ecx, dword [ebp + 0x98]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + edx*4]
mov ecx, ebp
call fcn.10147f80
mov ecx, dword [esp + 0x14]
cmp dword [ebp + 0xb0], ecx
lea eax, [ebp + 0xb0]
jl 0x10147cf5
lea eax, [esp + 0x14]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x10147d6b
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
jmp 0x10147d10
mov eax, dword [esp + 0xd4]
mov edi, dword [eax + 0x14]
test edi, edi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
jle 0x10147d56
lea ecx, [esp + 0x2b]
push ecx
mov ebx, 1
mov esi, ebp
call fcn.10148020
movzx edx, byte [esp + 0x2b]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
add eax, 4
sub edi, ebx
test edi, edi
mov dword [esp + 0x18], eax
jg 0x10147d26
mov edx, dword [esp + 0xd4]
mov eax, dword [edx + 0x24]
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], 1
jne 0x10147d10
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x14], ecx
add eax, 1
cmp eax, dword [ebp + 0x9c]
mov dword [esp + 0x24], eax
jl 0x10147ccb
lea ecx, [esp + 0x38]
mov dword [esp + 0xc4], 0xffffffff
call fcn.10146fb0
mov al, 1
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0xc