Function at 0x14005a9f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
movaps xmmword [rsp + 0x30], xmm6
mov rcx, qword [rcx + 0x5d158]
xor r8d, r8d
movaps xmmword [rsp + 0x20], xmm7
mov rax, qword [rcx]
lea edx, [r8 + 0x21]
call qword [rax + 0x18]
mov edx, 1
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::get_timestamp_int____ptr64
mov rcx, qword [rdi + 0x5d158]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x34]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
add eax, 0xfffffff9
cmp eax, 0xc
ja 0x14005aa6d
cdqe
lea rcx, [0x14009a2d8]
movzx eax, word [rcx + rax*2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x2efa8], xmm0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
movss xmm7, dword [0x140080adc]
xorps xmm1, xmm1
mov eax, eax
xorps xmm6, xmm6
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x14009213c]
comiss xmm1, dword [0x140080ad8]
ja 0x14005aaaf
comiss xmm7, xmm1
ja 0x14005aaaf
movss xmm0, dword [0x1400918b8]
call fcn.14007e146
jmp 0x14005aab2
xorps xmm0, xmm0
divss xmm0, dword [0x14009a318]
xor ebx, ebx
lea esi, [rbx + 4]
movss dword [rdi + 0x2efac], xmm0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rax, rbx
sar rax, 1
xor rax, rbx
inc rbx
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub rsi, 1
jne 0x14005aac7
mov rcx, qword [rdi + 0x5d158]
lea edx, [rsi + 0x58]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
xorps xmm1, xmm1
mov eax, eax
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x14009a30c]
comiss xmm1, dword [0x140080ad8]
ja 0x14005ab3e
comiss xmm7, xmm1
ja 0x14005ab3e
movss xmm0, dword [0x1400918b8]
call fcn.14007e146
jmp 0x14005ab41
movaps xmm0, xmm6
mov rcx, qword [rdi + 0x5d158]
xor r8d, r8d
movss dword [rdi + 0x2efb0], xmm0
mov rax, qword [rcx]
lea edx, [r8 + 0x70]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, qword [rdi + 0x5d158]
xorps xmm0, xmm0
mov eax, eax
xor r8d, r8d
cvtsi2ss xmm0, rax
lea edx, [r8 + 0x68]
movss dword [rdi + 0x2efb4], xmm0
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
xorps xmm1, xmm1
mov eax, eax
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x14009a30c]
comiss xmm1, dword [0x140080ad8]
ja 0x14005abc3
comiss xmm7, xmm1
ja 0x14005abc3
movss xmm0, dword [0x1400918b8]
call fcn.14007e146
movaps xmm6, xmm0
mov rcx, qword [rdi + 0x5d158]
xor r8d, r8d
movss dword [rdi + 0x5d8], xmm6
mov rax, qword [rcx]
lea edx, [r8 + 0x7c]
call qword [rax + 0x18]
mov r8, qword [rdi + 0x5d158]
lea rcx, [rdi + 0x4b8]
mov edx, 0x20
call sym.EURawImg.exe_protected:_static_int___cdecl_LibRaw::stread_char____ptr64__unsigned_long_long_unsigned___int64___class_LibRaw_abstract_datastream____ptr64_
mov dword [rdi + 0x548], 0x70002
cmp byte [rdi + 0x4b8], 0
je 0x14005ac14
mov dword [rdi + 0x538], 0x70002
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret