Function at 0x14005bac0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x118
mov r13, rcx
movsxd rbp, edx
mov ecx, 1
mov dword [rsp + 0x24], 0x45f30410
mov eax, 0x410
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x38], eax
mov r12d, ecx
mov rcx, qword [r13 + 0x5d158]
xor eax, eax
mov word [rsp + 0x34], ax
mov r15d, 0xffffffff
mov qword [rsp + 0x40], rax
mov ebx, r8d
mov dword [rsp + 0x150], eax
mov rax, qword [rcx]
mov dword [rsp + 0x28], r15d
call qword [rax + 0x28]
mov edx, dword [r13 + 0x5d1d8]
mov rdi, rax
mov qword [rsp + 0x48], rax
lea ecx, [rdx + 1]
mov dword [r13 + 0x5d1d8], ecx
cmp edx, 0x400
jg 0x14005cf60
mov rcx, qword [r13 + 0x5d158]
lea eax, [rbx - 4]
add eax, ebp
mov qword [rsp + 0x110], r14
movsxd rdx, eax
xor r8d, r8d
mov r9, qword [rcx]
call qword [r9 + 0x18]
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, qword [r13 + 0x5d158]
xor r8d, r8d
mov edx, eax
add rdx, rbp
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx r14d, ax
cmp r14d, r12d
jb 0x14005c739
mov ebx, dword [rsp + 0x168]
mov eax, r14d
or eax, ebx
cmp eax, 0x7f
jg 0x14005c739
lea eax, [r14 + r14*4]
lea eax, [rax*2]
add eax, ebp
cdqe
cmp rax, rdi
jg 0x14005c739
mov qword [rsp + 0x160], rsi
movaps xmmword [rsp + 0x100], xmm6
movss xmm6, dword [0x14009a370]
movaps xmmword [rsp + 0xf0], xmm7
xorps xmm7, xmm7
movaps xmmword [rsp + 0xe0], xmm8
movss xmm8, dword [0x140080adc]
movaps xmmword [rsp + 0xd0], xmm9
movss xmm9, dword [0x1400918b8]
movaps xmmword [rsp + 0xc0], xmm10
movss xmm10, dword [0x14009a368]
movaps xmmword [rsp + 0xb0], xmm11
movss xmm11, dword [0x140080ad8]
movaps xmmword [rsp + 0xa0], xmm12
movss xmm12, dword [0x140094b24]
movaps xmmword [rsp + 0x90], xmm13
movss xmm13, dword [0x14009a354]
movaps xmmword [rsp + 0x80], xmm14
movss xmm14, dword [0x14009a364]
movaps xmmword [rsp + 0x70], xmm15
movss xmm15, dword [0x140080b00]
nop
dec r14d
mov rcx, r13
mov dword [rsp + 0x2c], r14d
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, r13
movzx edi, ax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, r13
movsxd rsi, eax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, qword [r13 + 0x5d158]
add ebp, eax
mov rdx, qword [rcx]
call qword [rdx + 0x20]
mov qword [rsp + 0x50], rax
mov rdx, rax
cmp edi, 0x2007
je 0x14005bd4c
lea ecx, [rdi - 0x580b]
cmp ecx, 0x29
ja 0x14005bce4
movabs rax, 0x20000001309
bt rax, rcx
jb 0x14005bd4c
cmp edi, 0x501c
je 0x14005bd4c
cmp edi, 0x5029
je 0x14005bd4c
mov rcx, qword [r13 + 0x5d158]
xor r8d, r8d
mov rax, qword [rcx]
cmp rbp, qword [rsp + 0x48]
jl 0x14005bd10
call qword [rax + 0x18]
jmp 0x14005c6cc
mov rdx, rbp
call qword [rax + 0x18]
mov eax, edi
shr eax, 8
add eax, 8
or eax, 8
cmp eax, 0x38
jne 0x14005bd4c
mov rcx, qword [r13 + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x20]
lea r9d, [rbx + 1]
mov r8d, esi
mov rdx, rax
mov rcx, r13
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::parse_ciff_int__int__int____ptr64
mov ebx, dword [rsp + 0x168]
cmp edi, 0x3004
jne 0x14005bd78
mov rcx, qword [r13 + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x20]
lea r9d, [rbx + 1]
mov r8d, esi
mov rdx, rax
mov rcx, r13
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::parse_ciff_int__int__int____ptr64
jmp 0x14005c6b0
cmp edi, 0x810
jne 0x14005bda3
mov rcx, qword [r13 + 0x5d158]
lea rdx, [r13 + 0x2f274]
mov r9d, 1
mov rax, qword [rcx]
lea r8d, [r9 + 0x3f]
call qword [rax + 0x10]
jmp 0x14005c6b0
cmp edi, 0x80a
jne 0x14005be11
mov rcx, qword [r13 + 0x5d158]
lea rdx, [r13 + 0xcc]
mov ebp, 1
mov r9d, ebp
mov rax, qword [rcx]
lea r8d, [rbp + 0x3f]
call qword [rax + 0x10]
mov rbx, qword [r13 + 0x5d158]
lea edx, [rbp + 0x3e]
lea rcx, [r13 + 0xcc]
mov rdi, qword [rbx]
call sym.EURawImg.exe_protected:_static_unsigned_long_long_unsigned___int64____cdecl_LibRaw::strnlen_char_const____ptr64__unsigned_long_long_unsigned___int64__
mov r8d, ebp
mov rcx, rbx
lea rdx, [rax - 0x3f]
call qword [rdi + 0x18]
mov rcx, qword [r13 + 0x5d158]
lea rdx, [r13 + 0x10c]
mov r9d, ebp
lea r8d, [rbp + 0x3f]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14005c6b0
cmp edi, 0x80b
jne 0x14005be96
mov edx, esi
cmp esi, 0x80
jb 0x14005be28
mov edx, 0x80
mov r8, qword [r13 + 0x5d158]
lea rcx, [r13 + 0x122a]
call sym.EURawImg.exe_protected:_static_int___cdecl_LibRaw::stread_char____ptr64__unsigned_long_long_unsigned___int64___class_LibRaw_abstract_datastream____ptr64_
mov r8d, 0x10
lea rdx, [0x14009a320]
lea rcx, [r13 + 0x122a]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
jne 0x14005be85
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r13 + r8 + 0x122a], 0
jne 0x14005be60
sub r8, 0xf
lea rdx, [r13 + 0x123a]
lea rcx, [r13 + 0x122a]
call sub.VCRUNTIME140.dll_memmove
lea rcx, [r13 + 0x122a]
call sym.EURawImg.exe_protected:_static_void___cdecl_LibRaw::trimSpaces_char____ptr64_
jmp 0x14005c6b0
cmp edi, 0x1810
jne 0x14005bee8
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, r13
mov word [r13 + 0x16], ax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, r13
mov word [r13 + 0x14], ax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov edx, eax
mov rcx, r13
call sym.EURawImg.exe_protected:_float___cdecl_LibRaw::int_to_float_int____ptr64
xorps xmm1, xmm1
mov rcx, r13
cvtss2sd xmm1, xmm0
movsd qword [r13 + 0x28], xmm1
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [r13 + 0x30], eax
jmp 0x14005c6b0
cmp edi, 0x1835
jne 0x14005bf04
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [r13 + 0x5d24c], eax
jmp 0x14005c6b0
cmp edi, 0x2007
jne 0x14005bf1f
mov qword [r13 + 0x5d180], rbp
mov dword [r13 + 0x2f2d0], esi
jmp 0x14005c6b0
cmp edi, 0x1818
jne 0x14005bfbd
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov edx, eax
mov rcx, r13
call sym.EURawImg.exe_protected:_float___cdecl_LibRaw::int_to_float_int____ptr64
xorps xmm0, xmm15
comiss xmm0, xmm11
ja 0x14005bf63
comiss xmm8, xmm0
ja 0x14005bf63
movaps xmm1, xmm0
movaps xmm0, xmm9
call fcn.14007e146
jmp 0x14005bf66
movaps xmm0, xmm7
mov rcx, r13
movss dword [r13 + 0x2efac], xmm0
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov edx, eax
mov rcx, r13
call sym.EURawImg.exe_protected:_float___cdecl_LibRaw::int_to_float_int____ptr64
mulss xmm0, dword [0x1400956fc]
comiss xmm0, xmm11
ja 0x14005bfa3
comiss xmm8, xmm0
ja 0x14005bfa3
movaps xmm1, xmm0
movaps xmm0, xmm9
call fcn.14007e146
jmp 0x14005bfa6
movaps xmm0, xmm7
movss dword [r13 + 0x2efb0], xmm0
movss dword [r13 + 0x5d4], xmm0
jmp 0x14005c6b0
cmp edi, 0x102a
jne 0x14005c10e
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, r13
movzx ebx, ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
add eax, ebx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm13
subss xmm1, dword [0x14009a360]
comiss xmm1, xmm11
ja 0x14005c014
comiss xmm8, xmm1
ja 0x14005c014
movaps xmm0, xmm9
call fcn.14007e146
jmp 0x14005c017
movaps xmm0, xmm7
mulss xmm0, dword [0x1400968b4]
mov rcx, r13
movss dword [r13 + 0x2efa8], xmm0
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
call sym.EURawImg.exe_protected:_static_float___cdecl_LibRaw::_CanonConvertAperture_unsigned_short_int_
mov rcx, r13
movss dword [r13 + 0x2efb0], xmm0
movss dword [r13 + 0x5d4], xmm0
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movsx ecx, ax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x14009a374]
comiss xmm1, xmm11
ja 0x14005c083
comiss xmm8, xmm1
ja 0x14005c083
movaps xmm0, xmm9
call fcn.14007e146
jmp 0x14005c086
movaps xmm0, xmm7
mov rcx, r13
movss dword [r13 + 0x2efac], xmm0
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [r13 + 0x5d158]
mov esi, 0
movzx r15d, ax
mov dword [r13 + 0x7f4], r15d
cmp r15d, dword [0x1400ad4c8]
mov rax, qword [rcx]
lea edx, [rsi + 0x20]
cmovge r15d, esi
lea r8d, [rsi + 1]
mov dword [rsp + 0x28], r15d
call qword [rax + 0x18]
movss xmm0, dword [r13 + 0x2efac]
comiss xmm0, dword [0x14009a36c]
jbe 0x14005c6b0
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm14
movss dword [r13 + 0x2efac], xmm0
jmp 0x14005c6b0
cmp edi, 0x102c
jne 0x14005c208
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
cmp eax, 0x200
jbe 0x14005c181
mov rcx, qword [r13 + 0x5d158]
mov edx, 0x76
mov rax, qword [rcx]
lea r8d, [rdx - 0x75]
call qword [rax + 0x18]
xor eax, eax
mov ebx, eax
lea edi, [rax + 4]
nop dword [rax]
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rbx
xor rax, 2
inc rbx
cvtdq2ps xmm0, xmm0
movss dword [r13 + rax*4 + 0x255d4], xmm0
sub rdi, 1
jne 0x14005c150
jmp 0x14005c6b0
cmp eax, 0x114
je 0x14005c6b0
mov rcx, qword [r13 + 0x5d158]
mov ebp, 1
mov r8d, ebp
mov dword [rsp + 0x34], ebp
mov qword [rsp + 0x40], 0xfffffffffffffff2
mov rax, qword [rcx]
lea edx, [rbp + 0x61]
call qword [rax + 0x18]
xor eax, eax
lea edi, [rbp + 3]
mov ebx, eax
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rbx
xor rax, 2
sar rax, 1
xor rax, rbx
inc rbx
cvtdq2ps xmm0, xmm0
movss dword [r13 + rax*4 + 0x255d4], xmm0
sub rdi, rbp
jne 0x14005c1b8
movss xmm0, dword [r13 + 0x255d4]
comiss xmm0, xmm12
jbe 0x14005c6b0
mov dword [rsp + 0x150], ebp
jmp 0x14005c6b0
cmp edi, 0x10a9
jne 0x14005c752
xor esi, esi
mov rcx, r13
mov r14d, esi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx edi, ax
sub edi, 2
jns 0x14005c22c
add edi, 7
sar edi, 3
lea ebp, [rdi - 1]
test ebp, ebp
je 0x14005c265
mov rbx, rsi
mov esi, 4
nop
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rbx
sar rax, 1
xor rax, rbx
inc rbx
mov dword [r13 + rax*4 + 0x2df74], ecx
sub rsi, 1
jne 0x14005c240
cmp edi, 7
jle 0x14005c279
xor r8d, r8d
xor edx, edx
mov rcx, r13
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
jmp 0x14005c2cd
movd xmm0, dword [r13 + 0x2df74]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d4], xmm0
movd xmm1, dword [r13 + 0x2df78]
cvtdq2ps xmm1, xmm1
movss dword [r13 + 0x255d8], xmm1
movd xmm0, dword [r13 + 0x2df7c]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255dc], xmm0
movd xmm1, dword [r13 + 0x2df80]
cvtdq2ps xmm1, xmm1
movss dword [r13 + 0x255e0], xmm1
cmp ebp, 7
jne 0x14005c46c
cmp r15d, 6
je 0x14005c411
cmp r15d, 8
ja 0x14005c411
mov eax, dword [0x1400ad4c8]
cmp r15d, eax
jae 0x14005c304
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov ecx, r15d
mov edx, dword [rax + rcx*4]
jmp 0x14005c31a
test eax, eax
je 0x14005c318
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14005c318
mov edx, dword [rax]
jmp 0x14005c31a
mov edx, esi
movsxd rax, edx
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da54]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d4], xmm0
mov eax, dword [0x1400ad4c8]
cmp r15d, eax
jae 0x14005c350
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov ecx, r15d
mov edx, dword [rax + rcx*4]
jmp 0x14005c366
test eax, eax
je 0x14005c364
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14005c364
mov edx, dword [rax]
jmp 0x14005c366
mov edx, esi
movsxd rax, edx
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da58]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d8], xmm0
mov eax, dword [0x1400ad4c8]
cmp r15d, eax
jae 0x14005c39c
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov ecx, r15d
mov edx, dword [rax + rcx*4]
jmp 0x14005c3b2
test eax, eax
je 0x14005c3b0
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14005c3b0
mov edx, dword [rax]
jmp 0x14005c3b2
mov edx, esi
movsxd rax, edx
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da5c]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255dc], xmm0
mov eax, dword [0x1400ad4c8]
cmp r15d, eax
jae 0x14005c3e8
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov ecx, r15d
mov edx, dword [rax + rcx*4]
jmp 0x14005c3fe
test eax, eax
je 0x14005c3fc
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14005c3fc
mov edx, dword [rax]
jmp 0x14005c3fe
mov edx, esi
movsxd rax, edx
add rax, 0x2da6
add rax, rax
mov ecx, dword [r13 + rax*8]
jmp 0x14005c457
movd xmm0, dword [r13 + 0x2df74]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d4], xmm0
movd xmm1, dword [r13 + 0x2df78]
cvtdq2ps xmm1, xmm1
movss dword [r13 + 0x255d8], xmm1
movd xmm0, dword [r13 + 0x2df7c]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255dc], xmm0
mov ecx, dword [r13 + 0x2df80]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255e0], xmm0
jmp 0x14005c668
cmp ebp, 9
jne 0x14005c668
mov rbx, rsi
lea edi, [rbp - 5]
nop dword [rax + rax]
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rbx
sar rax, 1
xor rax, rbx
inc rbx
mov dword [r13 + rax*4 + 0x2df84], ecx
sub rdi, 1
jne 0x14005c480
mov rbx, rsi
mov edi, 4
nop dword [rax]
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rbx
sar rax, 1
xor rax, rbx
inc rbx
mov dword [r13 + rax*4 + 0x2ea34], ecx
sub rdi, 1
jne 0x14005c4b0
cmp r15d, 9
ja 0x14005c614
mov eax, dword [0x1400ad4c8]
cmp r15d, eax
jae 0x14005c4f9
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov ecx, r15d
mov edx, dword [rax + rcx*4]
jmp 0x14005c50f
test eax, eax
je 0x14005c50d
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14005c50d
mov edx, dword [rax]
jmp 0x14005c50f
mov edx, esi
movsxd rax, edx
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da54]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d4], xmm0
mov eax, dword [0x1400ad4c8]
cmp r15d, eax
jae 0x14005c545
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov ecx, r15d
mov edx, dword [rax + rcx*4]
jmp 0x14005c55b
test eax, eax
je 0x14005c559
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14005c559
mov edx, dword [rax]
jmp 0x14005c55b
mov edx, esi
movsxd rax, edx
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da58]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d8], xmm0
mov eax, dword [0x1400ad4c8]
cmp r15d, eax
jae 0x14005c591
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov ecx, r15d
mov edx, dword [rax + rcx*4]
jmp 0x14005c5a7
test eax, eax
je 0x14005c5a5
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14005c5a5
mov edx, dword [rax]
jmp 0x14005c5a7
mov edx, esi
movsxd rax, edx
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da5c]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255dc], xmm0
mov eax, dword [0x1400ad4c8]
cmp r15d, eax
jae 0x14005c5dd
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov ecx, r15d
mov edx, dword [rax + rcx*4]
jmp 0x14005c5f3
test eax, eax
je 0x14005c5f1
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14005c5f1
mov edx, dword [rax]
jmp 0x14005c5f3
mov edx, esi
movsxd rax, edx
add rax, 0x2da6
add rax, rax
movd xmm0, dword [r13 + rax*8]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255e0], xmm0
jmp 0x14005c668
movd xmm0, dword [r13 + 0x2df74]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d4], xmm0
movd xmm1, dword [r13 + 0x2df78]
cvtdq2ps xmm1, xmm1
movss dword [r13 + 0x255d8], xmm1
movd xmm0, dword [r13 + 0x2df7c]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255dc], xmm0
movd xmm1, dword [r13 + 0x2df80]
cvtdq2ps xmm1, xmm1
movss dword [r13 + 0x255e0], xmm1
mov rbx, rsi
mov edi, 4
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rbx
movzx edx, ax
sar rcx, 1
add r14d, edx
xor rcx, rbx
inc rbx
mov dword [r13 + rcx*4 + 0x7a0], edx
sub rdi, 1
jne 0x14005c670
mov eax, r14d
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [r13 + 0x7b0], eax
mov r14d, dword [rsp + 0x2c]
mov rcx, qword [r13 + 0x5d158]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, dword [rsp + 0x168]
mov ebp, dword [rsp + 0x158]
test r14d, r14d
jne 0x14005bc80
movaps xmm15, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
movaps xmm13, xmmword [rsp + 0x90]
movaps xmm12, xmmword [rsp + 0xa0]
movaps xmm11, xmmword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0xc0]
movaps xmm9, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
mov rsi, qword [rsp + 0x160]
mov r14, qword [rsp + 0x110]
add rsp, 0x118
pop r15
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
cmp edi, 0x102d
jne 0x14005c76b
sar esi, 1
mov rcx, r13
mov edx, esi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_CameraSettings_unsigned_int____ptr64
jmp 0x14005c6b0
cmp edi, 0x10b4
jne 0x14005c7be
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
sub ecx, 1
je 0x14005c7ac
cmp ecx, 1
je 0x14005c79a
mov eax, 0xff
mov word [r13 + 0x1228], ax
jmp 0x14005c6b0
mov eax, 2
mov word [r13 + 0x1228], ax
jmp 0x14005c6b0
mov eax, 1
mov word [r13 + 0x1228], ax
jmp 0x14005c6b0
cmp edi, 0x580b
jne 0x14005c813
lea rcx, [r13 + 0x10c]
lea rdx, str.Canon_EOS_D30
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea rcx, [r13 + 0x1326]
test eax, eax
je 0x14005c7f8
mov r8d, esi
lea rdx, [0x14009a1c0]
call fcn.140030970
jmp 0x14005c6b0
movzx r9d, si
lea rdx, str._0x__05d
sar esi, 0x10
mov r8d, esi
call fcn.140030970
jmp 0x14005c6b0
cmp edi, 0x32
jne 0x14005cd95
cmp esi, 0x300
jne 0x14005c9b8
mov rcx, qword [r13 + 0x5d158]
lea edx, [rdi - 0x2e]
mov ebp, 1
mov r8d, ebp
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edx, dword [0x1400ad508]
xor esi, esi
mov edi, esi
test edx, edx
je 0x14005c932
mov r8, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_D30_linenums_2_StdWBi]
xor r15d, r15d
mov r14d, ebp
cmp esi, edx
jae 0x14005c86b
mov eax, edi
lea rcx, [r8 + rax*4]
jmp 0x14005c87f
test edx, edx
je 0x14005c919
test r8, r8
je 0x14005c919
mov rcx, r8
cmp dword [rcx], r15d
je 0x14005c919
mov rsi, r15
mov ebp, 4
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov edx, r14d
cmp r14w, ax
ja 0x14005c8a4
movzx edx, ax
mov eax, dword [0x1400ad508]
cmp edi, eax
jae 0x14005c8bc
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_D30_linenums_2_StdWBi]
mov ecx, edi
mov ebx, dword [rax + rcx*4]
jmp 0x14005c8d3
test eax, eax
je 0x14005c8d0
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_D30_linenums_2_StdWBi]
test rax, rax
je 0x14005c8d0
mov ebx, dword [rax]
jmp 0x14005c8d3
mov ebx, r15d
movd xmm1, edx
movaps xmm0, xmm6
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
mov rcx, rsi
movsxd rax, ebx
sar rcx, 1
xor rcx, rsi
inc rsi
cvttss2si edx, xmm0
lea rcx, [rcx + rax*4]
mov dword [r13 + rcx*4 + 0x2da54], edx
sub rbp, 1
jne 0x14005c890
mov edx, dword [0x1400ad508]
mov r8, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_D30_linenums_2_StdWBi]
inc edi
cmp edi, edx
jb 0x14005c863
mov r15d, dword [rsp + 0x28]
xor esi, esi
mov r14d, dword [rsp + 0x2c]
lea ebp, [rsi + 1]
mov rcx, qword [r13 + 0x5d158]
lea eax, [rdx*8]
mov edx, 0x44
mov r8d, ebp
sub edx, eax
movsxd rdx, edx
mov r9, qword [rcx]
call qword [r9 + 0x18]
mov rbx, rsi
mov edi, 4
nop dword [rax]
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
cmp bp, ax
jbe 0x14005c971
mov eax, ebp
jmp 0x14005c974
movzx eax, ax
movd xmm0, eax
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
mov rax, rbx
sar rax, 1
xor rax, rbx
inc rbx
divss xmm1, xmm0
movss dword [r13 + rax*4 + 0x255d4], xmm1
sub rdi, 1
jne 0x14005c960
test r15d, r15d
jne 0x14005c6b0
mov dword [r13 + 0x255d4], 0xbf800000
jmp 0x14005c6b0
comiss xmm12, dword [r13 + 0x255d4]
jae 0x14005c9ce
cmp word [rsp + 0x34], 0
je 0x14005c6b0
mov eax, dword [0x1400ad4c8]
mov rcx, r13
mov dword [rsp + 0x30], eax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
cmp ax, word [rsp + 0x38]
jne 0x14005ca2f
cmp esi, 0x800
jne 0x14005ca0b
mov ebp, dword [0x1400ad4f8]
mov esi, 8
mov r14, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_KeyIs0x0410_Len2048_linenums_2_StdWBi]
xor r11d, r11d
mov qword [rsp + 0x40], rsi
jmp 0x14005ca88
cmp esi, 0xc00
jne 0x14005ca2f
mov ebp, dword [0x1400ad4e8]
mov esi, 0x10
mov r14, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_KeyIs0x0410_Len3072_linenums_2_StdWBi]
xor r11d, r11d
mov qword [rsp + 0x40], rsi
jmp 0x14005ca88
test ax, ax
jne 0x14005c6b0
cmp esi, 0x800
jne 0x14005c6b0
mov ebp, dword [reloc.WS2_32.dll_htonl]
lea rcx, [r13 + 0x122a]
mov r14, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_KeyIsZero_Len2048_linenums_2_StdWBi]
xor eax, eax
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x38], eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movsd xmm1, qword [0x14009a358]
mov r11d, 0
mov rsi, qword [rsp + 0x40]
comisd xmm1, xmm0
cmova r12d, r11d
mov dword [rsp + 0x20], r12d
mov r10d, dword [0x1400ad4c8]
mov rdx, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
cmp r15d, r10d
jae 0x14005caa4
mov eax, r15d
lea rcx, [rdx + rax*4]
jmp 0x14005cab1
test r10d, r10d
je 0x14005caba
test rdx, rdx
je 0x14005caba
mov rcx, rdx
cmp dword [rcx], 0x52
je 0x14005cb84
cmp r15d, r10d
jae 0x14005cac8
mov ecx, r15d
lea rax, [rdx + rcx*4]
jmp 0x14005cae0
test r10d, r10d
je 0x14005cb84
test rdx, rdx
je 0x14005cb84
mov ecx, r15d
mov rax, rdx
mov eax, dword [rax]
mov edi, dword [rsp + 0x150]
test eax, eax
je 0x14005cb8b
test edi, edi
jne 0x14005cb8b
test r12d, r12d
je 0x14005cb90
cmp r15d, r10d
jae 0x14005cb0d
lea rax, [rdx + rcx*4]
jmp 0x14005cb1a
test r10d, r10d
je 0x14005cb27
test rdx, rdx
je 0x14005cb27
mov rax, rdx
cmp dword [rax], 0x53
jne 0x14005cb27
mov r9d, 1
jmp 0x14005cb2a
mov r9d, r15d
mov ebx, r11d
mov dword [rsp + 0x30], ebx
test ebp, ebp
je 0x14005cb90
mov r8, r14
cmp r9d, r10d
jae 0x14005cb45
mov eax, r9d
mov ecx, dword [rdx + rax*4]
jmp 0x14005cb56
test r10d, r10d
je 0x14005cb53
test rdx, rdx
je 0x14005cb53
mov ecx, dword [rdx]
jmp 0x14005cb56
mov ecx, r11d
cmp ebx, ebp
jae 0x14005cb5f
mov eax, dword [r8]
jmp 0x14005cb70
test ebp, ebp
je 0x14005cb6d
test r14, r14
je 0x14005cb6d
mov eax, dword [r14]
jmp 0x14005cb70
mov eax, r11d
cmp ecx, eax
je 0x14005cb90
inc ebx
add r8, 4
mov dword [rsp + 0x30], ebx
cmp ebx, ebp
jb 0x14005cb38
jmp 0x14005cb90
mov edi, dword [rsp + 0x150]
mov dword [rsp + 0x20], r11d
mov rcx, qword [r13 + 0x5d158]
lea rdx, [rsi + 0x4e]
mov esi, 1
mov r8d, esi
mov rax, qword [rcx]
call qword [rax + 0x18]
xor ebx, ebx
mov r15d, ebx
test ebp, ebp
je 0x14005cd73
mov r12, r14
cmp ebx, ebp
jae 0x14005cbc2
mov rax, r12
jmp 0x14005cbd6
test ebp, ebp
je 0x14005cd40
test r14, r14
je 0x14005cd40
mov rax, r14
cmp dword [rax], 0
je 0x14005cd40
mov rdi, rbx
mov esi, 4
cmp r15d, ebp
jae 0x14005cbf2
mov ebx, dword [r12]
jmp 0x14005cbfe
test ebp, ebp
je 0x14005cbfe
test r14, r14
je 0x14005cbfe
mov ebx, dword [r14]
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx edx, ax
mov rcx, rdi
mov rax, rdi
xor rcx, 2
and eax, 1
sar rcx, 1
xor rcx, rdi
inc rdi
movzx eax, word [rsp + rax*2 + 0x24]
xor edx, eax
movsxd rax, ebx
mov ebx, 0
lea rcx, [rcx + rax*4]
mov dword [r13 + rcx*4 + 0x2da54], edx
sub rsi, 1
jne 0x14005cbe7
cmp dword [rsp + 0x30], r15d
jne 0x14005cd57
cmp dword [rsp + 0x20], ebx
je 0x14005cd57
cmp r15d, ebp
jae 0x14005cc60
mov eax, dword [r12]
jmp 0x14005cc70
test ebp, ebp
je 0x14005cc6e
test r14, r14
je 0x14005cc6e
mov eax, dword [r14]
jmp 0x14005cc70
mov eax, ebx
cdqe
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da54]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d4], xmm0
cmp r15d, ebp
jae 0x14005cc96
mov eax, dword [r12]
jmp 0x14005cca6
test ebp, ebp
je 0x14005cca4
test r14, r14
je 0x14005cca4
mov eax, dword [r14]
jmp 0x14005cca6
mov eax, ebx
cdqe
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da58]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255d8], xmm0
cmp r15d, ebp
jae 0x14005cccc
mov eax, dword [r12]
jmp 0x14005ccdc
test ebp, ebp
je 0x14005ccda
test r14, r14
je 0x14005ccda
mov eax, dword [r14]
jmp 0x14005ccdc
mov eax, ebx
cdqe
add rax, rax
movd xmm0, dword [r13 + rax*8 + 0x2da5c]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255dc], xmm0
cmp r15d, ebp
jae 0x14005cd02
mov eax, dword [r12]
jmp 0x14005cd12
test ebp, ebp
je 0x14005cd10
test r14, r14
je 0x14005cd10
mov eax, dword [r14]
jmp 0x14005cd12
mov eax, ebx
cdqe
mov esi, 1
add rax, 0x2da6
mov dword [rsp + 0x150], esi
add rax, rax
mov edi, esi
movd xmm0, dword [r13 + rax*8]
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x255e0], xmm0
jmp 0x14005cd63
mov rcx, qword [r13 + 0x5d158]
mov r8d, esi
mov edx, 8
mov rax, qword [rcx]
call qword [rax + 0x18]
jmp 0x14005cd63
mov edi, dword [rsp + 0x150]
mov esi, 1
inc r15d
add r12, 4
cmp r15d, ebp
jb 0x14005cbbd
mov r15d, dword [rsp + 0x28]
mov r12d, dword [rsp + 0x20]
test edi, edi
jne 0x14005c6ab
mov dword [r13 + 0x255d4], 0xbf800000
jmp 0x14005c6ab
test r15d, r15d
js 0x14005cdc1
cmp edi, 0x1030
jne 0x14005cdc1
mov eax, 0x18040
mov ecx, r15d
sar eax, cl
test al, 1
je 0x14005c6b0
mov rcx, r13
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::ciff_block_1030_void____ptr64
jmp 0x14005c6b0
cmp edi, 0x1031
jne 0x14005ce44
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, r13
mov word [r13 + 0x7e0], ax
mov word [r13 + 0x12], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [r13 + 0x5d158]
mov edx, 4
mov word [r13 + 0x7e2], ax
mov word [r13 + 0x10], ax
mov rax, qword [rcx]
lea r8d, [rdx - 3]
call qword [rax + 0x18]
lea rdx, [rsp + 0x58]
mov rcx, r13
call sym.EURawImg.exe_protected:_struct_libraw_area_t___cdecl_LibRaw::get_CanonArea_void____ptr64
lea rdx, [rsp + 0x60]
mov rcx, qword [rax]
mov qword [r13 + 0x80c], rcx
mov rcx, r13
call sym.EURawImg.exe_protected:_struct_libraw_area_t___cdecl_LibRaw::get_CanonArea_void____ptr64
mov rcx, qword [rax]
mov qword [r13 + 0x81c], rcx
jmp 0x14005c6b0
cmp edi, 0x501c
jne 0x14005ce64
movzx eax, si
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x2efa8], xmm0
jmp 0x14005c6b0
cmp edi, 0x5029
jne 0x14005ceb8
mov eax, esi
mov word [r13 + 0x58c], si
sar eax, 0x10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r13 + 0x5d0], xmm0
cmp si, 2
jne 0x14005ceaa
mulss xmm0, xmm13
mov eax, 0x20
mov word [r13 + 0x788], ax
movss dword [r13 + 0x5d0], xmm0
movss dword [r13 + 0x2efb4], xmm0
jmp 0x14005c6b0
cmp edi, 0x5813
jne 0x14005ced8
mov edx, esi
mov rcx, r13
call sym.EURawImg.exe_protected:_float___cdecl_LibRaw::int_to_float_int____ptr64
movss dword [r13 + 0x256d8], xmm0
jmp 0x14005c6b0
cmp edi, 0x5814
jne 0x14005cef8
mov edx, esi
mov rcx, r13
call sym.EURawImg.exe_protected:_float___cdecl_LibRaw::int_to_float_int____ptr64
movss dword [r13 + 0x256dc], xmm0
jmp 0x14005c6b0
cmp edi, 0x5817
jne 0x14005cf0c
mov dword [r13 + 0x2efc0], esi
jmp 0x14005c6b0
cmp edi, 0x5834
jne 0x14005cf2a
mov edx, esi
mov rcx, r13
mov qword [r13 + 0x5d1c0], rdx
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::setCanonBodyFeatures_unsigned_long_long_unsigned___int64_____ptr64
jmp 0x14005c6b0
cmp edi, 0x580e
jne 0x14005cf3e
mov qword [r13 + 0x2efb8], rsi
jmp 0x14005c6b0
cmp edi, 0x180e
jne 0x14005c6b0
mov rcx, r13
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov eax, eax
mov qword [r13 + 0x2efb8], rax
jmp 0x14005c6b0
lea rdx, [0x1400a4c08]
mov dword [rsp + 0x150], 5
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll__CxxThrowException
int3