Function at 0x14010d1b0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x55ba0]
mov qword [rsp + 0xe0], rdi
xor edi, edi
xor r8d, r8d
mov dword [rbp - 0x41], edi
mov esi, edi
mov dword [rbp - 0x3d], edi
call fcn.1401c1f88
mov rcx, rbx
call fcn.1400fbc20
lea r9, [0x140000000]
cmp eax, 0x504b5453
jne 0x14010d585
movaps xmmword [rsp + 0xa0], xmm6
xorps xmm6, xmm6
mov rcx, rbx
call fcn.1400fbc20
mov r9, qword [rbx + 0x55ba0]
mov edx, 1
lea r8d, [rdx + 0x27]
lea rcx, [rbp + 7]
call fcn.1401c1e14
mov rcx, rbx
call fcn.1400fbc20
mov rcx, qword [rbx + 0x55ba0]
mov dword [rbp - 0x45], eax
call fcn.1401c2310
lea rdx, str.JPEG_preview_data
lea rcx, [rbp + 7]
mov esi, eax
mov dword [rbp - 0x39], eax
call fcn.1401c3380
test eax, eax
jne 0x14010d277
mov eax, dword [rbp - 0x45]
mov dword [rbx + 0x3e4], esi
mov dword [rbx + 0x3f0], eax
lea rdx, str.icc_camera_profile
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d29a
mov eax, dword [rbp - 0x45]
mov dword [rbx + 0x3ec], esi
mov dword [rbx + 0x3f8], eax
lea rdx, str.ShootObj_back_type
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d302
mov rcx, qword [rbx + 0x55ba0]
lea r8, [rbp - 0x49]
lea rdx, [0x1401f6388]
call fcn.1401c5944
movsxd rax, dword [rbp - 0x49]
cmp eax, 0x27
jae 0x14010d302
lea rcx, [0x140000000]
mov rdx, rbx
mov rcx, qword [rcx + rax*8 + 0x2a1800]
sub rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx + rcx + 0x25c], al
test al, al
jne 0x14010d2f0
lea rdx, str.icc_camera_to_tone_matrix
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d352
mov dword [rbp - 0x49], edi
nop dword [rax]
mov rcx, rbx
call fcn.1400fbc20
mov rcx, rbx
mov edx, eax
call fcn.140101aa0
movsxd rcx, dword [rbp - 0x49]
movss dword [rbp + rcx*4 - 0x21], xmm0
inc ecx
mov dword [rbp - 0x49], ecx
cmp ecx, 9
jl 0x14010d320
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140115560
lea rdx, str.CaptProf_color_matrix
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d3a6
mov eax, edi
mov dword [rbp - 0x49], eax
nop dword [rax + rax]
mov rcx, qword [rbx + 0x55ba0]
cdqe
lea r8, [rbp - 0x21]
lea r8, [r8 + rax*4]
lea rdx, [0x1401f63e8]
call fcn.1401c5944
mov eax, dword [rbp - 0x49]
inc eax
mov dword [rbp - 0x49], eax
cmp eax, 9
jl 0x14010d370
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140115560
lea rdx, str.CaptProf_number_of_planes
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d3d1
mov rcx, qword [rbx + 0x55ba0]
lea r8, [rbp - 0x41]
lea rdx, [0x1401f6388]
call fcn.1401c5944
lea rdx, str.CaptProf_raw_data_rotation
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d3ff
mov rcx, qword [rbx + 0x55ba0]
lea r8, [rbx + 0x24628]
lea rdx, [0x1401f6388]
call fcn.1401c5944
lea rdx, str.CaptProf_mosaic_pattern
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d440
mov rcx, qword [rbx + 0x55ba0]
lea r8, [rbp - 0x49]
lea rdx, [0x1401f6388]
call fcn.1401c5944
cmp dword [rbp - 0x49], 1
jne 0x14010d439
mov esi, edi
sar esi, 1
xor esi, edi
mov dword [rbp - 0x3d], esi
inc edi
cmp edi, 4
jl 0x14010d413
lea rdx, str.ImgProf_rotation_angle
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d47a
mov rcx, qword [rbx + 0x55ba0]
lea r8, [rbp - 0x49]
lea rdx, [0x1401f6388]
call fcn.1401c5944
mov eax, dword [rbp - 0x49]
sub eax, dword [rbx + 0x24628]
mov dword [rbx + 0x24628], eax
lea rdx, str.NeutObj_neutrals
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d519
movss xmm0, dword [rbx + 0x2469c]
ucomiss xmm0, xmm6
jp 0x14010d519
jne 0x14010d519
lea rdi, [rbp - 0x31]
lea esi, [rax + 4]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x55ba0]
lea rdx, [0x1401f6388]
mov r8, rdi
call fcn.1401c5944
add rdi, 4
dec rsi
jne 0x14010d4b0
movd xmm3, dword [rbp - 0x31]
movd xmm0, dword [rbp - 0x2d]
movd xmm2, dword [rbp - 0x29]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm3
divss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm2
movss dword [rbx + 0x2469c], xmm1
movd xmm1, dword [rbp - 0x25]
cvtdq2ps xmm1, xmm1
divss xmm3, xmm1
movss dword [rbx + 0x246a0], xmm0
movss dword [rbx + 0x246a4], xmm3
lea rdx, str.Rows_data
lea rcx, [rbp + 7]
call fcn.1401c3380
test eax, eax
jne 0x14010d53b
mov rcx, rbx
call fcn.1400fbc20
mov dword [rbx + 0x44ec], eax
mov edx, dword [rbp - 0x39]
mov rcx, rbx
call fcn.14010d1b0
mov edx, dword [rbp - 0x45]
mov rcx, qword [rbx + 0x55ba0]
add edx, dword [rbp - 0x39]
xor r8d, r8d
call fcn.1401c1f88
mov rcx, rbx
call fcn.1400fbc20
mov edi, 0
cmp eax, 0x504b5453
je 0x14010d217
mov esi, dword [rbp - 0x3d]
movaps xmm6, xmmword [rsp + 0xa0]
lea r9, [0x140000000]
mov r8d, dword [rbp - 0x41]
mov rdi, qword [rsp + 0xe0]
test r8d, r8d
je 0x14010d5d8
mov ecx, dword [rbx + 0x24628]
mov eax, 0xb60b60b7
imul ecx
add edx, ecx
mov ecx, 0
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, esi
and eax, 3
cmp r8d, 1
movzx eax, byte [rax + r9 + 0x222b0c]
sete cl
imul eax, ecx
imul eax, eax, 0x1010101
mov dword [rbx + 0x3d0], eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0xb0
pop rsi
pop rbx
pop rbp
ret