Function at 0x14006da40
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x98
mov esi, r9d
mov rdi, rcx
cmp edx, 1
jne 0x14006da66
mov edx, r9d
add rsp, 0x98
pop rdi
pop rsi
jmp sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_CameraSettings_unsigned_int____ptr64
cmp edx, 2
jne 0x14006dac2
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rdi + 0x58c], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm1, eax
movzx eax, word [rdi + 0x788]
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0x5d0], xmm1
cmp ax, 1
jbe 0x14007014b
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [rdi + 0x5d0], xmm1
add rsp, 0x98
pop rdi
pop rsi
ret
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xc8], r12
movaps xmmword [rsp + 0x70], xmm6
cmp edx, 4
jne 0x14006de63
cmp dword [rsp + 0xd0], 0
mov ebx, 0x7fff
movaps xmmword [rsp + 0x60], xmm7
xorps xmm6, xmm6
movss xmm7, dword [0x140080adc]
movaps xmmword [rsp + 0x50], xmm8
movss xmm8, dword [0x140080ad8]
movaps xmmword [rsp + 0x40], xmm9
movss xmm9, dword [0x1400918b8]
movaps xmmword [rsp + 0x30], xmm10
movss xmm10, dword [0x14009a354]
jne 0x14006dc68
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rdi + 0x834], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov word [rdi + 0x836], ax
cmp ax, bx
je 0x14006dbce
movsx ecx, word [rdi + 0x834]
cwde
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm10
subss xmm1, dword [0x14009a360]
comiss xmm1, xmm8
ja 0x14006db94
comiss xmm7, xmm1
ja 0x14006db94
movaps xmm0, xmm9
call fcn.14007e146
jmp 0x14006db97
xorps xmm0, xmm0
mulss xmm0, dword [0x1400968b4]
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
movss xmm1, dword [rdi + 0x2efa8]
ucomiss xmm1, xmm6
movss dword [rdi + 0x1220], xmm0
jp 0x14006dbbb
je 0x14006dbc6
ucomiss xmm1, dword [0x1400918c4]
jp 0x14006dbce
jne 0x14006dbce
movss dword [rdi + 0x2efa8], xmm0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
cmp eax, 0xffff
je 0x14006dc28
movss xmm0, dword [rdi + 0x2efac]
ucomiss xmm0, xmm6
jp 0x14006dc28
jne 0x14006dc28
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x14009a374]
comiss xmm1, xmm8
ja 0x14006dc1d
comiss xmm7, xmm1
ja 0x14006dc1d
movaps xmm0, xmm9
call fcn.14007e146
jmp 0x14006dc20
xorps xmm0, xmm0
movss dword [rdi + 0x2efac], xmm0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
mov rcx, rdi
mov dword [rdi + 0x7f4], eax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
mov edx, 4
movzx eax, ax
mov dword [rdi + 0x2efc0], eax
jmp 0x14006dc74
mov rcx, qword [rcx + 0x5d158]
mov edx, 0x18
mov rax, qword [rcx]
mov r12d, 1
mov r8d, r12d
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
test ax, ax
je 0x14006dca3
cwde
add eax, 0xffffff80
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x11f0], xmm0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
cmp ax, 0xffff
je 0x14006dcc6
cwde
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm10
movss dword [rdi + 0x11ec], xmm0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
test ax, ax
jns 0x14006dce8
neg cx
mov edx, 0xffffffff
jmp 0x14006dceb
mov edx, r12d
movzx eax, cx
and ax, 0x1f
sub cx, ax
cmp ax, 0xc
jne 0x14006dd05
movss xmm0, dword [0x14009b054]
jmp 0x14006dd1f
cmp ax, 0x14
jne 0x14006dd15
movss xmm0, dword [0x14009b058]
jmp 0x14006dd1f
movzx eax, ax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movsx eax, cx
mov r8d, r12d
mov rcx, qword [rdi + 0x5d158]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov rdx, 0xffffffffffffffe8
mulss xmm1, xmm0
mulss xmm1, xmm10
movss dword [rdi + 0x11e8], xmm1
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movss xmm10, dword [0x14009b050]
mov esi, 0xffe0
cmp ax, bx
je 0x14006ddb9
cmp ax, si
je 0x14006ddac
movzx eax, ax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm10
comiss xmm1, xmm8
ja 0x14006ddac
comiss xmm7, xmm1
ja 0x14006ddac
movaps xmm0, xmm9
call fcn.14007e146
movaps xmm1, xmm0
movss dword [rdi + 0x5d4], xmm1
jmp 0x14006ddc1
xorps xmm1, xmm1
movss dword [rdi + 0x5d4], xmm1
jmp 0x14006ddc1
movss xmm1, dword [rdi + 0x5d4]
movss xmm0, dword [str.333__]
comiss xmm0, xmm1
jbe 0x14006de28
mov rcx, qword [rdi + 0x5d158]
mov r8d, r12d
mov edx, 0x20
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
cmp ax, si
je 0x14006de1d
cmp ax, bx
je 0x14006de1d
movzx eax, ax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm10
comiss xmm1, xmm8
ja 0x14006de1d
comiss xmm7, xmm1
ja 0x14006de1d
movaps xmm0, xmm9
call fcn.14007e146
movaps xmm1, xmm0
jmp 0x14006de20
xorps xmm1, xmm1
movss dword [rdi + 0x5d4], xmm1
movss xmm0, dword [rdi + 0x2efb0]
ucomiss xmm0, xmm6
movaps xmm10, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
jp 0x14007012e
jne 0x14007012e
movss dword [rdi + 0x2efb0], xmm1
jmp 0x14007012e
cmp edx, 7
jne 0x14006de95
cmp dword [rsp + 0xd0], 0
jne 0x14007012e
mov rcx, qword [rcx + 0x5d158]
lea rdx, [rdi + 0x256e0]
mov r8d, 0x40
mov rax, qword [rcx]
call qword [rax + 0x38]
jmp 0x14007012e
cmp edx, 8
jne 0x14006deb8
cmp dword [rsp + 0xd0], 0
jne 0x14007012e
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [rdi + 0x2efc0], eax
jmp 0x14007012e
cmp edx, 9
jne 0x14006deee
cmp dword [rsp + 0xd0], 0
jne 0x14007012e
mov rcx, qword [rcx + 0x5d158]
lea rdx, [rdi + 0x2f274]
mov r9d, 1
mov rax, qword [rcx]
lea r8d, [r9 + 0x3f]
call qword [rax + 0x10]
jmp 0x14007012e
cmp edx, 0xc
jne 0x14006df13
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
lea rcx, [rdi + 0x1326]
mov r8d, eax
lea rdx, [0x14009a1c0]
call fcn.140030970
jmp 0x14007012e
cmp edx, 0x3c
ja 0x14006dfe1
movabs rcx, 0x1000004000040000
bt rcx, rdx
jae 0x14006dfe1
cmp dword [rdi + 0x1310], 0
jne 0x14007012e
mov dword [rdi + 0x12b0], edx
movsxd rax, dword [rdi + 0x1310]
lea rcx, [rax + rax*2]
movzx eax, word [rdi + 0x5d1e0]
mov word [rdi + rcx*8 + 0x12b4], ax
movsxd rax, dword [rdi + 0x1310]
lea rcx, [rax + rax*2]
mov dword [rdi + rcx*8 + 0x12bc], esi
movsxd rax, dword [rdi + 0x1310]
lea rcx, [rax + rax*2]
mov edx, dword [rdi + rcx*8 + 0x12bc]
mov rcx, rdi
call sym.EURawImg.exe_protected:_void____ptr64___cdecl_LibRaw::malloc_unsigned_long_long_unsigned___int64_____ptr64
movsxd rcx, dword [rdi + 0x1310]
mov r12d, 1
add rcx, 0xc8
mov r9d, r12d
lea rcx, [rcx + rcx*2]
mov qword [rdi + rcx*8], rax
movsxd rdx, dword [rdi + 0x1310]
mov rcx, qword [rdi + 0x5d158]
lea rax, [rdx + rdx*2]
mov r10, qword [rcx]
lea rdx, [rdx + rdx*2]
mov rdx, qword [rdi + rdx*8 + 0x12c0]
mov r8d, dword [rdi + rax*8 + 0x12bc]
call qword [r10 + 0x10]
mov dword [rdi + 0x1310], r12d
jmp 0x14007012e
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], r15
cmp edx, 0x29
jne 0x14006e2e6
cmp dword [rsp + 0xd0], 0
jne 0x140070116
mov rcx, qword [rdi + 0x5d158]
xor ebx, ebx
mov r12d, 1
mov dword [rsp + 0xb8], ebx
mov r8d, r12d
mov r14d, ebx
mov rax, qword [rcx]
lea edx, [rbx + 8]
call qword [rax + 0x18]
mov edx, dword [0x1400ad518]
mov esi, ebx
test edx, edx
je 0x14006e295
lea ebp, [rbx + 4]
cmp ebx, edx
jae 0x14006e05b
mov rcx, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
mov eax, esi
lea r8, [rcx + rax*4]
jmp 0x14006e076
test edx, edx
je 0x14006e267
mov rcx, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
test rcx, rcx
je 0x14006e267
mov r8, rcx
cmp dword [r8], ebx
je 0x14006e267
mov r15, rbx
mov r13, rbp
cmp esi, edx
jae 0x14006e091
mov eax, esi
mov r14d, dword [rcx + rax*4]
jmp 0x14006e0a2
test edx, edx
je 0x14006e09f
test rcx, rcx
je 0x14006e09f
mov r14d, dword [rcx]
jmp 0x14006e0a2
mov r14d, ebx
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rdx, r15
movsxd rcx, r14d
xor rdx, 2
sar rdx, 1
xor rdx, r15
inc r15
lea rdx, [rdx + rcx*4]
mov dword [rdi + rdx*4 + 0x2da54], eax
sub r13, r12
je 0x14006e0dc
mov edx, dword [0x1400ad518]
mov rcx, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
jmp 0x14006e085
mov ecx, dword [rdi + 0x7f4]
mov eax, dword [0x1400ad4c8]
cmp ecx, eax
jae 0x14006e0f9
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
mov r9d, dword [rax + rcx*4]
jmp 0x14006e111
test eax, eax
je 0x14006e10e
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_wbi2std]
test rax, rax
je 0x14006e10e
mov r9d, dword [rax]
jmp 0x14006e111
mov r9d, ebx
mov edx, dword [0x1400ad518]
mov rcx, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
cmp esi, edx
jae 0x14006e12a
mov eax, esi
mov r8d, dword [rcx + rax*4]
jmp 0x14006e13b
test edx, edx
je 0x14006e138
test rcx, rcx
je 0x14006e138
mov r8d, dword [rcx]
jmp 0x14006e13b
mov r8d, ebx
cmp r9d, r8d
jne 0x14006e25f
cmp esi, edx
jae 0x14006e14f
mov eax, esi
mov edx, dword [rcx + rax*4]
jmp 0x14006e15e
test edx, edx
je 0x14006e15c
test rcx, rcx
je 0x14006e15c
mov edx, dword [rcx]
jmp 0x14006e15e
mov edx, ebx
movsxd rax, edx
add rax, rax
movd xmm0, dword [rdi + rax*8 + 0x2da54]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x255d4], xmm0
mov eax, dword [0x1400ad518]
cmp esi, eax
jae 0x14006e190
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
mov ecx, esi
mov edx, dword [rax + rcx*4]
jmp 0x14006e1a6
test eax, eax
je 0x14006e1a4
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
test rax, rax
je 0x14006e1a4
mov edx, dword [rax]
jmp 0x14006e1a6
mov edx, ebx
movsxd rax, edx
add rax, rax
movd xmm0, dword [rdi + rax*8 + 0x2da58]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x255d8], xmm0
mov eax, dword [0x1400ad518]
cmp esi, eax
jae 0x14006e1d8
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
mov ecx, esi
mov edx, dword [rax + rcx*4]
jmp 0x14006e1ee
test eax, eax
je 0x14006e1ec
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
test rax, rax
je 0x14006e1ec
mov edx, dword [rax]
jmp 0x14006e1ee
mov edx, ebx
movsxd rax, edx
add rax, rax
movd xmm0, dword [rdi + rax*8 + 0x2da5c]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x255dc], xmm0
mov eax, dword [0x1400ad518]
cmp esi, eax
jae 0x14006e220
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
mov ecx, esi
mov edx, dword [rax + rcx*4]
jmp 0x14006e236
test eax, eax
je 0x14006e234
mov rax, qword [sym.EURawImg.exe_class_libraw_static_table_t_LibRaw::Canon_G9_linenums_2_StdWBi]
test rax, rax
je 0x14006e234
mov edx, dword [rax]
jmp 0x14006e236
mov edx, ebx
movsxd rax, edx
mov r14d, r12d
add rax, 0x2da6
mov dword [rsp + 0xb8], r12d
add rax, rax
movd xmm0, dword [rdi + rax*8]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x255e0], xmm0
jmp 0x14006e267
mov r14d, dword [rsp + 0xb8]
mov rcx, qword [rdi + 0x5d158]
mov r8d, r12d
mov edx, 0x10
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edx, dword [0x1400ad518]
inc esi
cmp esi, edx
jb 0x14006e04c
test r14d, r14d
jne 0x140070116
movd xmm0, dword [rdi + 0x2df74]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x255d4], xmm0
movd xmm1, dword [rdi + 0x2df78]
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0x255d8], xmm1
movd xmm0, dword [rdi + 0x2df7c]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x255dc], xmm0
movd xmm1, dword [rdi + 0x2df80]
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0x255e0], xmm1
jmp 0x140070116
cmp edx, 0x81
jne 0x14006e34b
cmp dword [rsp + 0xd0], 0
jne 0x140070116
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, qword [rdi + 0x5d158]
xor r8d, r8d
mov edx, eax
mov qword [rdi + 0x5d200], rdx
add rdx, 0x29
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
add ax, ax
mov rcx, rdi
mov word [rdi + 0x10], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov word [rdi + 0x12], ax
mov dword [rdi + 0x220], 0x61616161
jmp 0x140070116
cmp edx, 0x93
jne 0x14006e38b
cmp word [rdi + 0x7f8], 0
jne 0x140070116
mov rcx, qword [rdi + 0x5d158]
mov edx, 0x7a
mov rax, qword [rcx]
lea r8d, [rdx - 0x79]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov word [rdi + 0x7f8], ax
jmp 0x140070116
cmp edx, 0x95
jne 0x14006e5d2
lea r14, [rdi + 0x4b8]
cmp byte [r14], 0
jne 0x140070116
mov rcx, qword [rdi + 0x5d158]
lea r8d, [rdx - 0x55]
mov r9d, 1
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebp, 4
lea rdx, str.EF_S
mov r8d, ebp
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14006e414
lea rcx, [rdi + 0x4bd]
lea r8d, [rbp + 0x38]
lea rdx, [rdi + 0x4bc]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x4bc], 0x20
mov eax, dword [r14]
mov dword [rdi + 0x58e], eax
mov dword [rdi + 0x538], 0x40001
jmp 0x140070116
mov r8, rbp
lea rdx, str.EF_M
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14006e461
lea rcx, [rdi + 0x4bd]
lea r8d, [rax + 0x3c]
lea rdx, [rdi + 0x4bc]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x4bc], 0x20
mov eax, dword [r14]
mov dword [rdi + 0x58e], eax
mov dword [rdi + 0x538], 0x30001
jmp 0x140070116
mov esi, 2
lea rdx, [0x14009b028]
mov r8d, esi
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14006e4b5
lea rcx, [rdi + 0x4bb]
lea r8d, [rsi + 0x3c]
lea rdx, [rdi + 0x4ba]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x4ba], 0x20
movzx eax, word [r14]
mov word [rdi + 0x58e], ax
mov dword [rdi + 0x538], 0x50002
jmp 0x140070116
mov r8, rbp
lea rdx, str.CN_E
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14006e4fa
mov r8, rbp
lea rdx, str.TS_E
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14006e4fa
mov r8, rbp
lea rdx, str.MP_E
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14006e532
lea rcx, [rdi + 0x4bd]
mov r8d, 0x3c
lea rdx, [rdi + 0x4bc]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x4bc], 0x20
mov eax, dword [r14]
mov dword [rdi + 0x58e], eax
mov dword [rdi + 0x538], 0x50002
jmp 0x140070116
mov r8, rbp
lea rdx, str.RF_S
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14006e57f
lea rcx, [rdi + 0x4bd]
lea r8d, [rax + 0x3e]
lea rdx, [rdi + 0x4bc]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x4bc], 0x20
mov eax, dword [r14]
mov dword [rdi + 0x58e], eax
mov dword [rdi + 0x538], 0x60001
jmp 0x140070116
mov r8, rsi
lea rdx, [0x14009b04c]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140070116
lea rcx, [rdi + 0x4bb]
lea r8d, [rax + 0x3e]
lea rdx, [rdi + 0x4ba]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 0x4ba], 0x20
movzx eax, word [r14]
mov word [rdi + 0x58e], ax
mov dword [rdi + 0x538], 0x60002
jmp 0x140070116
cmp edx, 0x9a
jne 0x14006e695
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
cmp eax, 0xd
ja case.0x14006e5fe.3
mov eax, eax
lea rdx, [0x140000000]
mov eax, dword [rdx + rax*4 + 0x70158]
add rax, rdx
jmp rax
mov eax, 0x5dc
mov word [rdi + 0xb4], ax
jmp 0x14006e654
mov eax, 0x3e8
mov word [rdi + 0xb4], ax
jmp 0x14006e654
mov eax, 0x535
mov word [rdi + 0xb4], ax
jmp 0x14006e654
mov eax, 0x6f1
mov word [rdi + 0xb4], ax
jmp 0x14006e654
mov eax, 0x4e2
mov word [rdi + 0xb4], ax
jmp 0x14006e654
mov r12d, 1
mov word [rdi + 0xb4], r12w
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, rdi
mov word [rdi + 0xba], ax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, rdi
mov word [rdi + 0xbc], ax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, rdi
mov word [rdi + 0xb6], ax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov word [rdi + 0xb8], ax
jmp 0x140070116
cmp edx, 0xa4
jne 0x14006e6fd
cmp dword [rsp + 0xd0], 0
jne 0x140070116
mov rcx, qword [rdi + 0x5d158]
mov r8d, 1
mov eax, dword [rdi + 0x7f4]
mov r9, qword [rcx]
lea edx, [rax + rax*2]
shl edx, 4
call qword [r9 + 0x18]
lea rbx, [rdi + 0x255d4]
mov esi, 3
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
lea rbx, [rbx + 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx - 4], xmm0
sub rsi, 1
jne 0x14006e6d7
jmp 0x140070116
cmp edx, 0xa9
jne 0x14006e767
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x5d158]
mov edx, 2
mov r14, rax
mov r9, qword [rcx]
lea r8d, [rdx - 1]
call qword [r9 + 0x18]
xor ebx, ebx
lea ebp, [rbx + 4]
mov rcx, rdi
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 [rdi + rax*4 + 0x2df74], ecx
sub rbp, 1
jne 0x14006e731
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
jmp 0x14006ff4e
cmp edx, 0xb4
jne 0x14006e7b9
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
sub ecx, 1
je 0x14006e7a6
cmp ecx, 1
je 0x14006e795
mov eax, 0xff
mov word [rdi + 0x1228], ax
jmp 0x140070116
mov esi, 2
mov word [rdi + 0x1228], si
jmp 0x140070116
mov r12d, 1
mov word [rdi + 0x1228], r12w
jmp 0x140070116
cmp edx, 0xe0
jne 0x14006e894
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rdi + 0x7e0], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
mov edx, 4
mov word [rdi + 0x7e2], ax
mov rax, qword [rcx]
lea r8d, [rdx - 3]
call qword [rax + 0x18]
xor eax, eax
mov rcx, rdi
mov qword [rsp + 0x20], rax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rsp + 0x22], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rsp + 0x20], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rsp + 0x26], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov word [rsp + 0x24], ax
mov rcx, rdi
mov rax, qword [rsp + 0x20]
mov qword [rdi + 0x80c], rax
xor eax, eax
mov qword [rsp + 0x20], rax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rsp + 0x22], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rsp + 0x20], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rdi
mov word [rsp + 0x26], ax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov word [rsp + 0x24], ax
mov rax, qword [rsp + 0x20]
mov qword [rdi + 0x81c], rax
jmp 0x140070116
cmp edx, 0x4001
jne 0x14006ff66
cmp esi, 0x1f4
jbe 0x140070116
mov rcx, qword [rdi + 0x5d158]
xor ebx, ebx
xorps xmm6, xmm6
mov qword [rsp + 0x20], rbx
mov r13d, ebx
mov rax, qword [rcx]
call qword [rax + 0x20]
mov qword [rsp + 0x28], rax
mov r14, rax
cmp esi, 0x549
ja 0x14006f2ed
je 0x14006f327
cmp esi, 0x4e3
ja 0x14006f09d
mov eax, 0x4e2
cmp esi, eax
jae case.0x14006f0c5.1275
cmp esi, 0x2b4
ja 0x14006ee56
je case.0x14006f0c5.1275
sub esi, 0x246
je 0x14006ece8
sub esi, 0x47
je 0x14006eb36
cmp esi, 0x15
jne case.0x14006f0c5.1276
mov ebp, 4
mov rcx, rdi
mov dword [rdi + 0x790], ebp
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x7e]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006e957
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, 1
jne 0x14006e992
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r15, 1
jne 0x14006e9c4
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x9c]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov word [rdi + rax*2 + 0x5d1e2], cx
comiss xmm0, xmm6
jbe 0x14006ea30
movaps xmm6, xmm0
inc rsi
sub r15, 1
jne 0x14006ea05
movzx eax, word [rdi + 0x5d1e2]
lea rdx, [r14 + 0xa6]
mulss xmm6, dword [0x140095bd0]
xor r8d, r8d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e2], ax
movzx eax, word [rdi + 0x5d1e4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e4], ax
movzx eax, word [rdi + 0x5d1e6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e6], ax
movzx eax, word [rdi + 0x5d1e8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e8], ax
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r15 + 2]
mov rcx, rdi
lea r8d, [r15 + 0xc]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x150]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
mov ecx, dword [rdi + 0x794]
lea eax, [rcx - 4]
cmp eax, 1
jbe 0x14006f0e4
lea eax, [rcx - 6]
cmp eax, 1
jbe 0x14006f0d2
cmp ecx, 9
jne 0x14006f0c7
lea r13, [r14 + 0x5a6]
mov r15d, 0x59e
jmp 0x14006fe1a
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x30]
mov esi, 2
xor r8d, r8d
mov dword [rdi + 0x790], esi
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov r15, rbx
mov r12d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r12, 1
jne 0x14006eb60
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x44]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r15, rbx
mov r12, rbp
nop
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r12, 1
jne 0x14006eba0
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x120]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r15, rbx
mov r12, rbp
nop word [rax + rax]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2dff4], ecx
sub r12, 1
jne 0x14006ebf0
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x12a]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r15, rbx
mov r12, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2e004], ecx
sub r12, 1
jne 0x14006ec31
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x134]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r15, rbx
mov r12, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2e014], ecx
sub r12, 1
jne 0x14006ec72
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x4e]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea r8d, [r12 + 0xc]
mov edx, esi
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x148]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r12 + 1]
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
mov r15d, 0x23c
jmp 0x14006fe1a
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x32]
mov r12d, 1
xor r8d, r8d
mov dword [rdi + 0x790], r12d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, r12
jne 0x14006ed14
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x3c]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
nop word [rax + rax]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, r12
jne 0x14006ed60
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x82]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2dff4], ecx
sub r15, r12
jne 0x14006eda0
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x8c]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e004], ecx
sub r15, r12
jne 0x14006ede0
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x46]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov esi, 2
mov rcx, rdi
mov r8d, esi
mov edx, esi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x96]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edx, r12d
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
mov r15d, 0x14c
jmp 0x14006fe1a
sub esi, 0x2be
je case.0x14006f0c5.1275
sub esi, 0x5e
je 0x14006ee78
cmp esi, 0x1af
je case.0x14006f0c5.1275
jmp case.0x14006f0c5.1276
mov esi, 3
mov rcx, rdi
mov dword [rdi + 0x790], esi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x7e]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006eeb3
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
nop
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, 1
jne 0x14006eef0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r15, 1
jne 0x14006ef22
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0xe2]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2dff4], ecx
sub r15, 1
jne 0x14006ef63
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0xec]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e004], ecx
sub r15, 1
jne 0x14006efa4
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0xf6]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e014], ecx
sub r15, 1
jne 0x14006efe5
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x100]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df84], ecx
sub r15, 1
jne 0x14006f026
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x9c]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r15 + 2]
mov rcx, rdi
lea r8d, [r15 + 0xc]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x10a]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
mov r15d, 0x188
jmp 0x14006fe1a
add esi, 0xfffffb07
cmp esi, 0x49
ja case.0x14006f0c5.1276
lea rdx, [0x140000000]
movzx eax, byte [rdx + rsi + 0x701a0]
mov ecx, dword [rdx + rax*4 + 0x70190]
add rcx, rdx
jmp rcx
mov r15d, 0x1ce
jmp 0x14006fe1a
lea r13, [r14 + 0x59e]
mov r15d, 0x596
jmp 0x14006fe1a
lea r13, [r14 + 0x570]
mov r15d, 0x568
jmp 0x14006fe1a
mov eax, 6
mov rcx, rdi
mov dword [rdi + 0x790], eax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x7e]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006f131
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
nop dword [rax]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, 1
jne 0x14006f170
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r15, 1
jne 0x14006f1a2
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0xc4]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov word [rdi + rax*2 + 0x5d1e2], cx
comiss xmm0, xmm6
jbe 0x14006f20e
movaps xmm6, xmm0
inc rsi
sub r15, 1
jne 0x14006f1e3
movzx eax, word [rdi + 0x5d1e2]
lea rdx, [r14 + 0xce]
mulss xmm6, dword [0x140095bd0]
xor r8d, r8d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e2], ax
movzx eax, word [rdi + 0x5d1e4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e4], ax
movzx eax, word [rdi + 0x5d1e6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e6], ax
movzx eax, word [rdi + 0x5d1e8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e8], ax
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r15 + 2]
mov rcx, rdi
lea r8d, [r15 + 0xc]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x178]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
lea r13, [r14 + 0x3c6]
mov r15d, 0x3be
jmp 0x14006fe1a
cmp esi, 0x71c
ja 0x14006f899
je 0x14006f76a
cmp esi, 0x642
ja 0x14006f755
je 0x14006f327
sub esi, 0x5e2
je case.0x14006f0c5.1274
sub esi, 0x36
je 0x14006f327
cmp esi, 0x20
jne case.0x14006f0c5.1276
mov rcx, rdi
mov dword [rdi + 0x790], 8
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x7e]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006f361
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
nop dword [rax]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, 1
jne 0x14006f3a0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r15, 1
jne 0x14006f3d2
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x100]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov word [rdi + rax*2 + 0x5d1e2], cx
comiss xmm0, xmm6
jbe 0x14006f43e
movaps xmm6, xmm0
inc rsi
sub r15, 1
jne 0x14006f413
movzx eax, word [rdi + 0x5d1e2]
lea rdx, [r14 + 0x10a]
mulss xmm6, dword [0x140095bd0]
xor r8d, r8d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e2], ax
movzx eax, word [rdi + 0x5d1e4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e4], ax
movzx eax, word [rdi + 0x5d1e6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e6], ax
movzx eax, word [rdi + 0x5d1e8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e8], ax
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r15 + 2]
mov rcx, rdi
lea r8d, [r15 + 0xc]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x20e]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
mov eax, dword [rdi + 0x794]
mov ecx, 0x61c
cmp eax, 0xe
mov r13d, 0x460
mov r15d, 0x458
cmovne r13d, ecx
mov ecx, 0x614
add r13, r14
cmp eax, 0xe
cmovne r15d, ecx
jmp 0x14006fe1a
mov rcx, rdi
mov dword [rdi + 0x790], 7
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x7e]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006f577
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, 1
jne 0x14006f5b2
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r15, 1
jne 0x14006f5e4
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0xf6]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov word [rdi + rax*2 + 0x5d1e2], cx
comiss xmm0, xmm6
jbe 0x14006f650
movaps xmm6, xmm0
inc rsi
sub r15, 1
jne 0x14006f625
movzx eax, word [rdi + 0x5d1e2]
lea rdx, [r14 + 0x100]
mulss xmm6, dword [0x140095bd0]
xor r8d, r8d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e2], ax
movzx eax, word [rdi + 0x5d1e4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e4], ax
movzx eax, word [rdi + 0x5d1e6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e6], ax
movzx eax, word [rdi + 0x5d1e8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov word [rdi + 0x5d1e8], ax
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r15 + 2]
mov rcx, rdi
lea r8d, [r15 + 0xc]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x1aa]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
mov eax, dword [rdi + 0x794]
cmp eax, 0xa
jne 0x14006f73a
mov eax, 0x3f8
lea r15d, [rax - 8]
lea r13, [r14 + rax]
jmp 0x14006fe1a
cmp eax, 0xb
jne 0x14006ff4e
mov eax, 0x5b8
lea r15d, [rax - 8]
lea r13, [r14 + rax]
jmp 0x14006fe1a
sub esi, 0x6ea
je 0x14006f8cb
cmp esi, 0x2e
jne case.0x14006f0c5.1276
mov rcx, rdi
mov dword [rdi + 0x790], 9
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x8e]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006f7a7
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, 1
jne 0x14006f7e2
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r15, 1
jne 0x14006f814
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x110]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r15 + 2]
mov rcx, rdi
lea r8d, [r15 + 0xc]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x214]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
lea rax, [r14 + 0x292]
mov r15d, 0x630
lea r13, [r14 + 0x638]
jmp 0x14006fe15
cmp esi, 0xec2
ja 0x14006f9fa
je 0x14006fceb
cmp esi, 0x720
je 0x14006f76a
cmp esi, 0x7e8
je 0x14006f8cb
cmp esi, 0xe48
jne case.0x14006f0c5.1276
mov rcx, rdi
mov dword [rdi + 0x790], 0xa
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0xaa]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006f908
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, 1
jne 0x14006f943
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r15, 1
jne 0x14006f975
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x12c]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r15 + 2]
mov rcx, rdi
lea r8d, [r15 + 0xc]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x230]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
lea rax, [r14 + 0x2ae]
mov r15d, 0x64c
lea r13, [r14 + 0x654]
jmp 0x14006fe15
cmp esi, 0xf85
je 0x14006fceb
cmp esi, 0x1400
je 0x14006fa24
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
mov dword [rdi + 0x794], eax
jmp 0x14006ff4e
mov eax, 5
mov rcx, rdi
mov dword [rdi + 0x790], eax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x8e]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006fa62
mov eax, dword [rdi + 0x794]
lea esi, [r15 + 2]
cmp eax, 0xfffc
jne 0x14006fbf8
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x9e]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r15, rbx
mov r12, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r12, 1
jne 0x14006fac1
mov rcx, qword [rdi + 0x5d158]
mov r12d, 1
mov r8d, r12d
mov rax, qword [rcx]
lea edx, [r12 + 7]
call qword [rax + 0x18]
mov r15, rbx
mov r13, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r13, r12
jne 0x14006fb06
mov rcx, qword [rdi + 0x5d158]
lea edx, [r13 + 8]
mov r8d, r12d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r15, rbx
mov r13, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2ea44], ecx
sub r13, r12
jne 0x14006fb43
mov rcx, qword [rdi + 0x5d158]
lea edx, [r13 + 8]
mov r8d, r12d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r13 + 8]
mov rcx, rdi
lea r8d, [r13 + 0x18]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
mov r8d, r12d
mov edx, 0xa8
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r15, rbx
mov r13, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2db44], ecx
sub r13, r12
jne 0x14006fba5
mov rcx, qword [rdi + 0x5d158]
lea edx, [r13 + 0x18]
mov r8d, r12d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edx, esi
lea r13, [r14 + 0xad2]
mov rcx, rdi
mov r15d, 0x29a
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
jmp 0x14006fe1a
cmp eax, 0xfffd
jne 0x14006ff4e
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x98]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r15, rbx
mov r12, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r12, 1
jne 0x14006fc20
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov r15, rbx
mov r12, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r12, 1
jne 0x14006fc52
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov r15, rbx
mov r12, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, r15
sar rax, 1
xor rax, r15
inc r15
mov dword [rdi + rax*4 + 0x2ea44], ecx
sub r12, 1
jne 0x14006fc84
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
lea r8d, [r12 + 0xc]
mov edx, esi
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x174]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edx, esi
mov rcx, rdi
mov r15d, 0x210
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
jmp 0x14006fe1a
mov rcx, rdi
mov dword [rdi + 0x790], 0xb
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0xd2]
movzx eax, ax
xor r8d, r8d
mov dword [rdi + 0x794], eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebp, 4
mov rsi, rbx
mov r15d, ebp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
movd xmm0, eax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
cvtdq2ps xmm0, xmm0
movss dword [rdi + rax*4 + 0x255d4], xmm0
sub r15, 1
jne 0x14006fd28
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2df74], ecx
sub r15, 1
jne 0x14006fd63
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rsi, rbx
mov r15, rbp
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x2e134], ecx
sub r15, 1
jne 0x14006fd95
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x19a]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
lea edx, [r15 + 2]
mov rcx, rdi
lea r8d, [r15 + 0xc]
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBpresets_int__int____ptr64
mov rcx, qword [rdi + 0x5d158]
lea rdx, [r14 + 0x258]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
xor edx, edx
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::Canon_WBCTpresets_short_int____ptr64
lea rax, [r14 + 0x2d6]
mov r15d, 0x4f8
lea r13, [r14 + 0x500]
mov qword [rsp + 0x20], rax
lea r12, [r14 + r15]
test r12, r12
je 0x14006fe83
mov rcx, qword [rdi + 0x5d158]
xor r8d, r8d
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rsi, rbx
mov r15, rbp
mov r14d, ebx
nop
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx ecx, ax
mov rax, rsi
sar rax, 1
add r14d, ecx
xor rax, rsi
inc rsi
mov dword [rdi + rax*4 + 0x7a0], ecx
sub r15, 1
jne 0x14006fe40
mov eax, r14d
mov esi, r14d
mov r14, qword [rsp + 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rdi + 0x7b0], eax
jmp 0x14006fe85
mov esi, ebx
test r13, r13
je 0x14006fef5
mov rax, r13
sub rax, r12
cmp rax, 8
je 0x14006fea9
mov rcx, qword [rdi + 0x5d158]
xor r8d, r8d
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
mov rcx, rdi
mov dword [rdi + 0x79c], eax
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
movzx eax, ax
mov dword [rdi + 0x798], eax
mov dword [rdi + 0x2553c], eax
mov eax, dword [rdi + 0x798]
mov dword [rdi + 0x25540], eax
mov eax, dword [rdi + 0x798]
mov dword [rdi + 0x25544], eax
mov eax, dword [rdi + 0x798]
mov dword [rdi + 0x25548], eax
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x14006ff4e
cmp dword [rdi + 0x7b0], ebx
jne 0x14006ff4e
mov rcx, qword [rdi + 0x5d158]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_short_int___cdecl_LibRaw::get2_void____ptr64
mov rcx, rbx
movzx edx, ax
sar rcx, 1
add esi, edx
xor rcx, rbx
inc rbx
mov dword [rdi + rcx*4 + 0x7a0], edx
sub rbp, 1
jne 0x14006ff17
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rdi + 0x7b0], eax
mov rcx, qword [rdi + 0x5d158]
xor r8d, r8d
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x18]
jmp 0x140070116
cmp edx, 0x4013
jne 0x14006ffd4
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, rdi
mov dword [rdi + 0x7e4], eax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov eax, eax
xorps xmm6, xmm6
mov rcx, rdi
cvtsi2ss xmm6, rax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov eax, eax
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
cvtps2pd xmm0, xmm1
andps xmm0, xmmword [0x1400817c0]
cvtpd2ps xmm0, xmm0
comiss xmm0, dword [0x140094b24]
jbe 0x140070116
divss xmm6, xmm1
movss dword [rdi + 0x7e8], xmm6
jmp 0x140070116
cmp edx, 0x4018
jne 0x140070058
mov rcx, qword [rdi + 0x5d158]
mov edx, 8
mov rax, qword [rcx]
lea r8d, [rdx - 7]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [rdi + 0x7fc], eax
cmp eax, 3
jbe 0x140070010
mov esi, 3
mov dword [rdi + 0x7fc], esi
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [rdi + 0x800], eax
cmp eax, 5
jbe 0x140070030
xor ebx, ebx
mov dword [rdi + 0x800], ebx
jmp 0x140070116
test eax, eax
je 0x140070116
movss xmm1, dword [rdi + 0x12ac]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [rdi + 0x12ac], xmm1
jmp 0x140070116
cmp edx, 0x4021
jne 0x1400700ea
cmp dword [rsp + 0xd0], 0
jne 0x140070116
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [rdi + 0x7b4], eax
test eax, eax
je 0x140070116
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [rdi + 0x7b8], eax
test eax, eax
je 0x140070116
cmp esi, 4
jb 0x1400700c0
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov rcx, rdi
mov dword [rdi + 0x7bc], eax
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [rdi + 0x7c0], eax
nop
mov dword [rdi + 0x255d4], 0x44800000
mov dword [rdi + 0x255d8], 0x44800000
mov dword [rdi + 0x255dc], 0x44800000
mov dword [rdi + 0x255e0], 0x44800000
jmp 0x140070116
cmp edx, 0x4026
jne 0x140070116
mov rcx, qword [rdi + 0x5d158]
mov edx, 0x2c
mov rax, qword [rcx]
lea r8d, [rdx - 0x2b]
call qword [rax + 0x18]
mov rcx, rdi
call sym.EURawImg.exe_protected:_unsigned_int___cdecl_LibRaw::get4_void____ptr64
mov dword [rdi + 0x808], eax
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
mov r12, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x98
pop rdi
pop rsi
ret