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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rsp + 0x70], xmm12
mov rax, qword [0x1400ada20]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
test rdx, rdx
jne 0x140004de0
lea eax, [rdx + 2]
jmp 0x140006e77
mov rax, qword [rdx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
test eax, eax
je 0x140006e72
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
cmp rax, 0x7fffffff
jle 0x140004e17
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
cmp rax, 0x7fffffff
jg 0x140006e64
mov rcx, rdi
call sym.EURawImg.exe_public:_void___cdecl_LibRaw::recycle_void____ptr64
mov rax, qword [rdi + 0xbb470]
test rax, rax
je 0x140004e4b
mov rcx, rdi
call rax
cmp eax, 1
jne 0x140004e4b
xor esi, esi
mov r13d, eax
movsd xmm12, qword [0x140080e20]
xorps xmm6, xmm6
jmp 0x140006cee
mov qword [rdi + 0x5d158], rbx
or dword [rdi + 0x1508], 1
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::identify_void____ptr64
cmp word [rdi + 0x5d1a6], 0
jne 0x140004e74
cmp dword [rdi + 0x5d240], 0
je 0x140004e97
cmp dword [rdi + 0x214], 0
jne 0x140004e97
lea r12, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::unpacked_load_raw_void____ptr64]
cmp qword [rdi + 0xbb4d0], r12
je 0x140004e9e
mov eax, 0xfffffffe
jmp 0x140006e77
lea r12, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::unpacked_load_raw_void____ptr64]
movsxd rdx, dword [rdi + 0x2f2e0]
cmp edx, 8
jge 0x140004f76
mov r8d, dword [rdi + 0x2f2d0]
test r8d, r8d
jne 0x140004ec8
cmp qword [rdi + 0x5d180], 0
jne 0x140004ec8
xor esi, esi
jmp 0x140004ef9
xor esi, esi
mov ecx, esi
test edx, edx
jle 0x140004ef9
mov r9, qword [rdi + 0x5d180]
lea rax, [rdi + 0x2f2f4]
nop
cmp qword [rax + 0xc], r9
jne 0x140004eef
cmp dword [rax], r8d
je 0x140004f78
inc ecx
add rax, 0x20
cmp ecx, edx
jl 0x140004ee0
lea rcx, [rdx + 0x1798]
shl rcx, 5
mov rax, qword [rdi + 0x5d180]
mov qword [rcx + rdi], rax
mov rcx, rdx
shl rcx, 5
mov eax, dword [rdi + 0x2f2d0]
mov dword [rcx + rdi + 0x2f2f4], eax
shl rdx, 5
mov r14d, 0xffff
mov word [rdx + rdi + 0x2f2f0], r14w
mov eax, dword [rdi + 0x5d23c]
mov dword [rdx + rdi + 0x2f2e8], eax
mov eax, dword [rdi + 0x5d238]
mov dword [rdx + rdi + 0x2f2f8], eax
movzx eax, word [rdi + 0x2f2cc]
mov word [rdx + rdi + 0x2f2ec], ax
movzx eax, word [rdi + 0x2f2ce]
mov word [rdx + rdi + 0x2f2ee], ax
inc dword [rdi + 0x2f2e0]
jmp 0x140004f7e
xor esi, esi
mov r14d, 0xffff
mov byte [rdi + 0x393], 0
mov rax, qword [rdi + 0xbb478]
test rax, rax
je 0x140004f96
mov rcx, rdi
call rax
mov edx, dword [rdi + 0x214]
test edx, edx
jne 0x14000510b
mov edx, esi
cmp dword [rdi + 0x20c], 0x12
jne 0x140005052
mov rcx, rsi
lea rdx, str.S3Pro
nop dword [rax]
movzx eax, byte [rdi + rcx + 0x1cc]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140004fd9
cmp rcx, 6
jne 0x140004fc0
jmp 0x140005038
mov rcx, rsi
lea rdx, str.S5Pro
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rcx + 0x1cc]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140005009
cmp rcx, 6
jne 0x140004ff0
jmp 0x140005038
mov edx, esi
mov rcx, rsi
lea r8, str.S2Pro
nop word [rax + rax]
movzx eax, byte [rdi + rcx + 0x1cc]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140005052
cmp rcx, 6
jne 0x140005020
mov dword [rdi + 0xb6], 0xffffffff
mov dword [rdi + 0xba], 0
mov edx, dword [rdi + 0x214]
test edx, edx
jne 0x14000510b
cmp dword [rdi + 0x20c], 8
jne 0x1400050b4
cmp word [rdi + 0xb6], dx
jne 0x1400050b4
cmp word [rdi + 0xb8], dx
jne 0x1400050b4
movzx ecx, word [rdi + 0x12]
shl ecx, 2
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, word [rdi + 0xba]
cmp eax, edx
jge 0x1400050b4
mov dword [rdi + 0xb6], 0xffffffff
mov dword [rdi + 0xba], 0
cmp dword [rdi + 0x214], 0
jne 0x14000510b
cmp dword [rdi + 0x20c], 0x3f
jne 0x14000510b
lea rcx, [rdi + 0x1cc]
lea rdx, str.DSC_F828
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000510b
test dword [rdi + 0x14e0], 0x10000
jne 0x14000510b
mov dword [rdi + 0x255d4], esi
mov qword [rdi + 0x255d8], 0x3f800000
mov dword [rdi + 0x255e0], esi
lea rcx, [rdi + 0x2da54]
xor edx, edx
mov r8d, 0x1500
call sub.VCRUNTIME140.dll_memset
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::nikon_load_raw_void____ptr64]
cmp qword [rdi + 0xbb4d0], rax
jne 0x140005123
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::nikon_read_curve_void____ptr64
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::lossless_jpeg_load_raw_void____ptr64]
cmp qword [rdi + 0xbb4d0], rax
jne 0x1400051d9
cmp word [rdi + 0x7ee], 0
je 0x1400051d9
cmp dword [rdi + 0x20c], 0x1d
jne 0x1400051d9
mov r8d, 9
lea rdx, [0x140080d30]
lea rcx, [rdi + 0x10c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x14000518e
mov r8d, 9
lea rdx, [0x140080d40]
lea rcx, [rdi + 0x10c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
jne 0x1400051d9
mov dword [rdi + 0x25530], esi
mov dword [rdi + 0x25538], 0x1195
lea rcx, [rdi + 0x21510]
xor edx, edx
mov r8d, 0x4020
call sub.VCRUNTIME140.dll_memset
lea rcx, [rdi + 0x34]
xor edx, edx
mov r8d, 0x80
call sub.VCRUNTIME140.dll_memset
mov r13d, 1
mov dword [rdi + 0x40], r13d
or dword [rdi + 0x5d260], 0x200
jmp 0x1400051df
mov r13d, 1
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::panasonic_load_raw_void____ptr64]
cmp qword [rdi + 0xbb4d0], rax
jne 0x140005389
mov eax, dword [rdi + 0x5d294]
cmp eax, 6
je 0x140005203
cmp eax, 7
jne 0x140005279
mov eax, dword [rdi + 0x5d188]
mov dword [rdi + 0x21510], eax
mov eax, dword [rdi + 0x5d18c]
mov dword [rdi + 0x21514], eax
mov eax, dword [rdi + 0x5d190]
mov dword [rdi + 0x21518], eax
mov eax, dword [rdi + 0x21514]
mov dword [rdi + 0x2151c], eax
mov qword [rdi + 0x21520], 0
mov dword [rdi + 0x25530], esi
mov edx, dword [rdi + 0x25544]
mov r8d, dword [rdi + 0x25540]
mov ecx, dword [rdi + 0x2553c]
mov eax, r8d
cmp r8d, edx
cmovle eax, edx
cmp ecx, eax
jg 0x14000526d
mov ecx, edx
cmp r8d, edx
cmovg ecx, r8d
mov dword [rdi + 0x25538], ecx
mov eax, dword [rdi + 0x5d294]
cmp eax, 6
jne 0x14000533b
movzx ecx, word [rdi + 0x12]
mov eax, 0xba2e8ba3
mul ecx
mov r15d, edx
shr r15d, 3
shl r15d, 4
mov eax, 0x24924925
mul ecx
mov ebx, ecx
sub ebx, edx
shr ebx, 1
add ebx, edx
shr ebx, 3
shl ebx, 4
mov r10d, dword [rdi + 0x5d228]
test r10, r10
jne 0x1400052d4
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov r10, rax
sub r10, qword [rdi + 0x5d200]
movzx ecx, word [rdi + 0x12]
movzx r9d, cx
mov eax, 0xba2e8ba3
mul r9d
shr edx, 3
imul r8d, edx, 0xb
mov ecx, r9d
sub ecx, r8d
jne 0x1400052ff
movzx edx, word [rdi + 0x10]
movsxd rcx, r15d
imul rdx, rcx
cmp rdx, r10
je 0x14000532b
mov eax, 0x24924925
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 3
imul eax, eax, 0xe
cmp r9d, eax
jne 0x140005383
movzx ecx, word [rdi + 0x10]
movsxd rax, ebx
imul rcx, rax
cmp rcx, r10
jne 0x140005383
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::panasonicC6_load_raw_void____ptr64]
mov qword [rdi + 0xbb4d0], rax
jmp 0x140005389
cmp eax, 7
jne 0x140005389
mov ecx, esi
cmp dword [rdi + 0x5d298], 0xe
setne cl
add ecx, 9
movzx eax, word [rdi + 0x12]
xor edx, edx
div ecx
shl eax, 4
test edx, edx
jne 0x140005383
movzx ecx, word [rdi + 0x10]
cdqe
imul rcx, rax
mov eax, dword [rdi + 0x5d228]
cmp rcx, rax
jne 0x140005383
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::panasonicC7_load_raw_void____ptr64]
mov qword [rdi + 0xbb4d0], rax
jmp 0x140005389
mov dword [rdi + 0x210], esi
cmp dword [rdi + 0x20c], 0x2b
jne 0x140005419
mov r8, r13
lea rdx, [0x140080d4c]
lea rcx, [rdi + 0x10c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x1400053c9
lea rdx, [0x140080d50]
lea rcx, [rdi + 0x10c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005419
movzx eax, word [rdi + 0x12]
imul eax, eax, 7
cdq
and edx, 3
add eax, edx
sar eax, 2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
mulsd xmm1, qword [0x140080e08]
cvtpd2ps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rcx, xmm0
movzx eax, word [rdi + 0x10]
imul ecx, eax
shl ecx, 4
cmp ecx, dword [rdi + 0x5d228]
jne 0x140005419
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::nikon_14bit_load_raw_void____ptr64]
mov qword [rdi + 0xbb4d0], rax
mov eax, dword [rdi + 0x20c]
cmp eax, 0x3f
jne 0x1400054a3
mov ecx, dword [rdi + 0x25538]
test ecx, ecx
je 0x14000562b
mov eax, dword [rdi + 0x2553c]
cmp eax, ecx
jle 0x14000562b
lea ecx, [rcx*4]
cmp eax, ecx
jg 0x14000562b
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rdi + 0x2553c], eax
mov eax, dword [rdi + 0x25540]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rdi + 0x25540], eax
mov eax, dword [rdi + 0x25544]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rdi + 0x25544], eax
mov eax, dword [rdi + 0x25548]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rdi + 0x25548], eax
mov eax, dword [rdi + 0x20c]
cmp eax, 8
jne 0x14000562b
movzx ecx, word [rdi + 0x80e]
cmp cx, 0xffff
je 0x140005526
cmp word [rdi + 0xb4], 0
je 0x1400054e1
add word [rdi + 0xb6], cx
movzx eax, word [rdi + 0xb8]
add ax, word [rdi + 0x80c]
mov word [rdi + 0xb8], ax
jmp 0x140005526
mov word [rdi + 0xb6], cx
movzx eax, word [rdi + 0x80c]
mov word [rdi + 0xb8], ax
movzx eax, word [rdi + 0x812]
sub ax, word [rdi + 0x80e]
inc ax
mov word [rdi + 0xba], ax
movzx eax, word [rdi + 0x810]
sub ax, word [rdi + 0x80c]
inc ax
mov word [rdi + 0xbc], ax
mov ecx, dword [rdi + 0x2efa0]
cmp ecx, 0xe
jae 0x14000562b
cmp dword [rdi + 0x214], 0
jne 0x14000562b
lea r9, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::canon_sraw_load_raw_void____ptr64]
cmp qword [rdi + 0xbb4d0], r9
je 0x140005632
mov eax, r13d
shl eax, cl
dec eax
cmp dword [rdi + 0x798], eax
jle 0x140005632
mov eax, reloc.WS2_32.dll_ntohl
sub eax, ecx
mov r8d, r13d
movzx ecx, al
shl r8d, cl
mov eax, dword [rdi + 0x2553c]
cdq
idiv r8d
mov dword [rdi + 0x2553c], eax
mov eax, dword [rdi + 0x25540]
cdq
idiv r8d
mov dword [rdi + 0x25540], eax
mov eax, dword [rdi + 0x25544]
cdq
idiv r8d
mov dword [rdi + 0x25544], eax
mov eax, dword [rdi + 0x25548]
cdq
idiv r8d
mov dword [rdi + 0x25548], eax
mov eax, dword [rdi + 0x7a0]
cdq
idiv r8d
mov dword [rdi + 0x7a0], eax
mov eax, dword [rdi + 0x7a4]
cdq
idiv r8d
mov dword [rdi + 0x7a4], eax
mov eax, dword [rdi + 0x7a8]
cdq
idiv r8d
mov dword [rdi + 0x7a8], eax
mov eax, dword [rdi + 0x7ac]
cdq
idiv r8d
mov dword [rdi + 0x7ac], eax
mov eax, dword [rdi + 0x7b0]
cdq
idiv r8d
mov dword [rdi + 0x7b0], eax
mov eax, dword [rdi + 0x798]
cdq
idiv r8d
mov dword [rdi + 0x798], eax
mov eax, dword [rdi + 0x79c]
cdq
idiv r8d
mov dword [rdi + 0x79c], eax
jmp 0x140005632
lea r9, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::canon_sraw_load_raw_void____ptr64]
cmp dword [rdi + 0x20c], 8
jne 0x140005767
cmp qword [rdi + 0xbb4d0], r9
jne 0x140005767
movzx ecx, word [rdi + 0x12]
test cx, cx
je 0x140005767
movzx r9d, word [rdi + 0x10]
movd xmm2, r9d
cvtdq2ps xmm2, xmm2
movzx eax, cx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
cvtps2pd xmm1, xmm2
movsd xmm0, qword [0x140080e10]
comisd xmm0, xmm1
ja 0x14000568e
comiss xmm2, dword [0x140080df0]
jbe 0x140005708
movzx r8d, word [rdi + 0x7e2]
cmp r8w, 1
jle 0x140005708
movzx edx, word [rdi + 0x7e0]
cmp dx, 1
jle 0x140005708
mov word [rdi + 0x12], dx
movzx eax, word [rdi + 0x80e]
mov word [rdi + 0x1a], ax
movzx ecx, word [rdi + 0x812]
sub cx, ax
inc cx
mov word [rdi + 0x16], cx
mov word [rdi + 0x1e], cx
mov word [rdi + 0x10], r8w
movzx eax, word [rdi + 0x80c]
mov word [rdi + 0x18], ax
movzx ecx, word [rdi + 0x810]
sub cx, ax
inc cx
mov word [rdi + 0x14], cx
mov word [rdi + 0x1c], cx
or dword [rdi + 0x5d260], 0x100
movzx eax, dx
shl eax, 3
mov dword [rdi + 0x20], eax
jmp 0x140005767
mov eax, 0xfc0
cmp cx, ax
jne 0x140005767
mov eax, 0xd4a
cmp r9w, ax
jne 0x140005767
lea rcx, [rdi + 0x10c]
lea rdx, [0x140080d58]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005767
mov dword [rdi + 0x10], 0x11b80bd0
mov dword [rdi + 0x18], 0x1c0008
mov dword [rdi + 0x14], 0x119c0bc8
mov dword [rdi + 0x1c], 0x119c0bc8
mov eax, 0xbc8
or dword [rdi + 0x5d260], 0x100
mov dword [rdi + 0x20], 0x8dc0
mov r15d, 8
cmp dword [rdi + 0x214], 0
jne 0x14000581e
cmp dword [rdi + 0x20c], 0x12
jne 0x14000581e
cmp qword [rdi + 0xbb4d0], r12
jne 0x14000581e
movzx ecx, word [rdi + 0x12]
movzx eax, word [rdi + 0x10]
imul ecx, eax
mov edx, dword [rdi + 0x5d228]
lea eax, [rcx + rcx]
cmp eax, edx
je 0x1400057d0
imul eax, ecx, 7
shr eax, 2
cmp eax, edx
jne 0x1400057c6
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::fuji_14bit_load_raw_void____ptr64]
mov qword [rdi + 0xbb4d0], rax
jmp 0x14000581e
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::parse_fuji_compressed_header_void____ptr64
jmp 0x14000581e
mov rcx, rsi
lea rdx, str.X_H2S
nop word [rax + rax]
movzx eax, byte [rdi + rcx + 0x1cc]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000581e
cmp rcx, 6
jne 0x1400057e0
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ecx, dword [rdi + 0x5d228]
add rcx, qword [rdi + 0x5d200]
cmp rax, rcx
jge 0x14000581e
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::parse_fuji_compressed_header_void____ptr64
movzx edx, word [rdi + 0xb4]
lea eax, [rdx - 0x63]
mov ecx, 0x26ad
cmp ax, cx
ja 0x14000597c
movzx r10d, word [rdi + 0xb6]
cmp r10w, r14w
jae 0x14000597c
movzx r9d, word [rdi + 0xba]
movzx ecx, r10w
add ecx, r9d
movzx eax, word [rdi + 0x12]
cmp ecx, eax
ja 0x14000597c
movzx r11d, word [rdi + 0xb8]
cmp r11w, r14w
jae 0x14000597c
movzx r8d, word [rdi + 0xbc]
movzx ecx, r11w
add ecx, r8d
movzx eax, word [rdi + 0x10]
cmp ecx, eax
ja 0x14000597c
test r9w, r9w
je 0x14000597c
test r8w, r8w
je 0x14000597c
cmp word [rdi + 0xbe], r14w
jne 0x14000597c
cmp word [rdi + 0xc0], r14w
jne 0x14000597c
movd xmm3, r9d
cvtdq2ps xmm3, xmm3
movd xmm4, r8d
cvtdq2ps xmm4, xmm4
movaps xmm2, xmm3
divss xmm2, xmm4
movzx eax, dx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x140080e5c]
movaps xmm0, xmm2
divss xmm0, xmm1
cvtps2pd xmm5, xmm0
movsd xmm0, qword [0x140080e18]
comisd xmm0, xmm5
ja 0x14000590b
comisd xmm5, xmmword [0x140080e28]
jbe 0x14000597c
comiss xmm1, xmm2
jbe 0x140005947
divss xmm3, xmm1
cvttss2si ecx, xmm3
sub r8d, ecx
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add ax, r11w
mov word [rdi + 0xc0], ax
mov word [rdi + 0xc4], cx
mov word [rdi + 0xbe], r10w
mov word [rdi + 0xc2], r9w
jmp 0x14000597c
mulss xmm4, xmm1
cvttss2si ecx, xmm4
sub r9d, ecx
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
add ax, r10w
mov word [rdi + 0xbe], ax
mov word [rdi + 0xc2], cx
mov word [rdi + 0xc0], r11w
mov word [rdi + 0xc4], r8w
cmp dword [rdi + 0x20c], 0x12
jne 0x140005a5e
cmp dword [rdi + 0x220], 9
jne 0x140005a5e
movzx r11d, word [rdi + 0x18]
mov r10d, r11d
mov eax, 0xaaaaaaab
mul r11d
shr edx, 2
lea ecx, [rdx + rdx*2]
add ecx, ecx
mov eax, r11d
sub eax, ecx
je 0x1400059c1
lea eax, [rdx + 1]
lea r9d, [rax + rax*2]
add r9d, r9d
jmp 0x1400059c4
mov r9d, r10d
movzx r8d, word [rdi + 0x1a]
mov eax, 0xaaaaaaab
mul r8d
shr edx, 2
lea ecx, [rdx + rdx*2]
add ecx, ecx
mov eax, r8d
sub eax, ecx
je 0x1400059ea
lea eax, [rdx + 1]
lea ecx, [rax + rax*2]
add ecx, ecx
jmp 0x1400059ed
mov ecx, r8d
cmp r9d, r10d
jne 0x1400059f7
cmp ecx, r8d
je 0x140005a53
sub r11w, r9w
add word [rdi + 0x14], r11w
mov word [rdi + 0x18], r9w
sub r8w, cx
add word [rdi + 0x16], r8w
mov word [rdi + 0x1a], cx
lea rcx, [rdi + 0x224]
mov edx, 6
nop
movzx eax, byte [rcx + 0x24]
mov byte [rcx], al
movzx eax, byte [rcx + 0x25]
mov byte [rcx + 1], al
movzx eax, byte [rcx + 0x26]
mov byte [rcx + 2], al
movzx eax, byte [rcx + 0x27]
mov byte [rcx + 3], al
movzx eax, byte [rcx + 0x28]
mov byte [rcx + 4], al
movzx eax, byte [rcx + 0x29]
mov byte [rcx + 5], al
add rcx, 6
sub rdx, 1
jne 0x140005a20
mov r8d, 6
jmp 0x140005b16
cmp word [rdi + 0x5d1a6], 0
jne 0x140005c8b
mov r11d, dword [rdi + 0x220]
cmp r11d, 0x3e8
jb 0x140005c8b
movzx eax, word [rdi + 0x18]
mov ecx, eax
and ecx, 1
jne 0x140005a91
test byte [rdi + 0x1a], 1
je 0x140005b10
mov ebx, esi
test ecx, ecx
je 0x140005aa6
inc ax
mov word [rdi + 0x18], ax
add word [rdi + 0x14], r14w
mov ebx, r13d
movzx eax, word [rdi + 0x1a]
mov r10d, esi
test al, 1
je 0x140005ac0
inc ax
mov word [rdi + 0x1a], ax
add word [rdi + 0x16], r14w
mov r10d, r13d
mov r9d, esi
mov edx, esi
add ebx, ebx
mov r8d, esi
nop word [rax + rax]
mov ecx, edx
and ecx, 0xfffffffe
add ecx, ebx
add ecx, ecx
and ecx, 0x1c
mov eax, edx
and eax, 1
add eax, r10d
neg eax
add eax, eax
and eax, 2
or ecx, eax
mov eax, r11d
shr eax, cl
and eax, 3
mov ecx, r8d
shl eax, cl
or r9d, eax
inc edx
add r8d, 2
cmp r8d, 0x20
jl 0x140005ad0
mov dword [rdi + 0x220], r9d
mov r8d, 2
movzx r10d, word [rdi + 0xb6]
lea eax, [r10 - 1]
mov ebx, 0xfffd
cmp ax, bx
ja 0x140005b7b
movzx r9d, word [rdi + 0xba]
lea eax, [r9 - 1]
cmp ax, bx
ja 0x140005b7b
movzx r11d, r10w
xor edx, edx
mov eax, r11d
div r8d
test edx, edx
je 0x140005b7b
movzx ecx, r9w
cmp ecx, r8d
jbe 0x140005b7b
lea ecx, [rax + 1]
imul ecx, r8d
sub ecx, r11d
test ecx, ecx
jle 0x140005b7b
lea eax, [r10 + rcx]
mov word [rdi + 0xb6], ax
sub r9w, cx
mov word [rdi + 0xba], r9w
movzx r10d, word [rdi + 0xb8]
lea eax, [r10 - 1]
cmp ax, bx
ja 0x140005bdb
movzx r9d, word [rdi + 0xbc]
lea eax, [r9 - 1]
cmp ax, bx
ja 0x140005bdb
movzx r11d, r10w
xor edx, edx
mov eax, r11d
div r8d
test edx, edx
je 0x140005bdb
movzx ecx, r9w
cmp ecx, r8d
jbe 0x140005bdb
lea ecx, [rax + 1]
imul ecx, r8d
sub ecx, r11d
test ecx, ecx
jle 0x140005bdb
lea eax, [r10 + rcx]
mov word [rdi + 0xb8], ax
sub r9w, cx
mov word [rdi + 0xbc], r9w
movzx r9d, word [rdi + 0xbe]
lea eax, [r9 - 1]
cmp ax, bx
ja 0x140005c33
movzx ecx, word [rdi + 0xc2]
lea eax, [rcx - 1]
cmp ax, bx
ja 0x140005c33
movzx r10d, r9w
xor edx, edx
mov eax, r10d
div r8d
test edx, edx
je 0x140005c33
movzx ecx, cx
cmp ecx, r8d
jbe 0x140005c33
lea ecx, [rax + 1]
imul ecx, r8d
sub ecx, r10d
test ecx, ecx
jle 0x140005c33
lea eax, [r9 + rcx]
mov word [rdi + 0xbe], ax
sub word [rdi + 0xc2], cx
movzx r9d, word [rdi + 0xc0]
lea eax, [r9 - 1]
cmp ax, bx
ja 0x140005c8b
movzx ecx, word [rdi + 0xc4]
lea eax, [rcx - 1]
cmp ax, bx
ja 0x140005c8b
movzx r10d, r9w
xor edx, edx
mov eax, r10d
div r8d
test edx, edx
je 0x140005c8b
movzx ecx, cx
cmp ecx, r8d
jbe 0x140005c8b
lea ecx, [rax + 1]
imul ecx, r8d
sub ecx, r10d
test ecx, ecx
jle 0x140005c8b
lea eax, [r9 + rcx]
mov word [rdi + 0xc0], ax
sub word [rdi + 0xc4], cx
cmp dword [rdi + 0x214], 0
je 0x140005e37
cmp dword [rdi + 0x220], 0
jne 0x140005e02
mov r10d, dword [rdi + 0x21c]
lea eax, [r10 - 2]
cmp eax, 2
ja 0x140005e02
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov edx, dword [rdi + 0x299d8]
mov ecx, dword [rdi + 0x259b8]
add ecx, edx
mov dword [rsp + 0x40], ecx
mov ecx, dword [rdi + 0x259bc]
add ecx, edx
mov dword [rsp + 0x44], ecx
mov ecx, dword [rdi + 0x259c0]
add ecx, edx
mov dword [rsp + 0x48], ecx
mov eax, dword [rdi + 0x259c4]
lea ecx, [rdx + rax]
mov dword [rsp + 0x4c], ecx
test r10d, r10d
jle 0x140005d3c
lea rax, [rsp + 0x40]
mov r9, rdi
sub r9, rax
mov rdx, rsi
mov r8d, r10d
nop
lea rax, [rsp + 0x40]
add rax, rdx
mov ecx, dword [r9 + rax + 0x2da00]
sub ecx, dword [rax]
mov eax, ecx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss dword [rsp + rdx + 0x50], xmm0
add rdx, 4
sub r8, 1
jne 0x140005d10
movss xmm2, dword [rsp + 0x50]
movaps xmm3, xmm2
cmp r10d, 1
jle 0x140005d7f
lea rcx, [rsp + 0x54]
lea eax, [r10 - 1]
mov edx, eax
nop word [rax + rax]
movss xmm1, dword [rcx]
movaps xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
maxss xmm1, xmm3
movaps xmm3, xmm1
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140005d60
comiss xmm2, dword [0x140080df4]
jbe 0x140005e02
mulss xmm2, dword [0x140080e58]
comiss xmm2, xmm3
jbe 0x140005e02
mov ecx, esi
test r10d, r10d
jle 0x140005de5
lea rax, [rdi + 0x255e4]
lea rdx, [rsp + 0x50]
sub rdx, rdi
nop dword [rax + rax]
movss xmm2, dword [rdx + rax - 0x255e4]
divss xmm2, xmm3
movss xmm0, dword [rax - 0x10]
divss xmm0, xmm2
movss dword [rax - 0x10], xmm0
movss xmm1, dword [rax]
divss xmm1, xmm2
movss dword [rax], xmm1
inc ecx
lea rax, [rax + 4]
cmp ecx, dword [rdi + 0x21c]
jl 0x140005db0
mov eax, dword [rdi + 0x21510]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm3
cvttss2si rax, xmm0
mov dword [rdi + 0x25538], eax
cmp dword [rdi + 0x214], 0
je 0x140005e37
cmp dword [rdi + 0x20c], 0x2f
jne 0x140005e37
lea rcx, [rdi + 0x1cc]
lea rdx, str.DMC_LX100
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005e37
mov ebx, 0x10c0
mov word [rdi + 0x16], bx
jmp 0x140005e3c
mov ebx, 0x10c0
cmp dword [rdi + 0x214], 0
je 0x140005e6f
cmp dword [rdi + 0x20c], 0x20
jne 0x140005e6f
lea rcx, [rdi + 0x1cc]
lea rdx, [0x140080d74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005e6f
mov eax, 0xfff0
add word [rdi + 0x14], ax
cmp dword [rdi + 0x20c], 0x3f
jne 0x140006047
mov ecx, dword [rdi + 0x214]
test ecx, ecx
je 0x140005eee
movzx eax, word [rdi + 0x12]
mov edx, 0xf90
cmp ax, dx
jne 0x140005e99
lea eax, [rdx - 0x3b]
jmp 0x140005ee2
cmp ax, bx
jne 0x140005ea5
mov eax, 0x10a0
jmp 0x140005ee2
mov edx, 0x1340
cmp ax, dx
jne 0x140005ebf
mov eax, 0xcd0
cmp word [rdi + 0x14], ax
jae 0x140005ee6
lea eax, [rdx - 8]
jmp 0x140005ee2
mov edx, 0x1580
cmp ax, dx
jne 0x140005ee6
mov eax, 0x1560
mov edx, 0x1578
mov r8d, 0xe50
cmp word [rdi + 0x14], r8w
cmova ax, dx
mov word [rdi + 0x16], ax
test ecx, ecx
jne 0x140006047
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::sony_arq_load_raw_void____ptr64]
cmp qword [rdi + 0xbb4d0], rax
jne 0x140005f1a
movzx eax, word [rdi + 0x12]
mov ecx, 0x2ee0
cmp ax, cx
jbe 0x140005f12
sub ax, 0x40
jmp 0x140005f16
sub ax, 0x20
mov word [rdi + 0x16], ax
lea rbx, [rdi + 0x10c]
mov r8, r15
lea rdx, str.ILCE_7RM
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x140005f4c
lea rdx, [0x140080d88]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005f6f
movzx eax, word [rdi + 0x12]
movzx ecx, ax
mov edx, 0x1460
cmp ax, dx
je 0x14000603f
mov edx, 0x18a0
cmp ax, dx
je 0x14000603f
lea rdx, [0x140080d98]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005f9f
movzx ecx, word [rdi + 0x12]
mov eax, 0x11e4
cmp cx, ax
jb 0x140005f9f
mov eax, 0x139c
cmp cx, ax
jb 0x14000603f
lea rdx, [0x140080da0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140005fc1
movzx ecx, word [rdi + 0x12]
mov edx, 0xf80
cmp cx, dx
je 0x14000603f
mov r8d, 7
lea rdx, str.ILCE_7M
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x140005ffc
lea rdx, [0x140080db0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140005ffc
cmp qword [rdi + 0x540], 0x126
jne 0x140006017
movzx eax, word [rdi + 0x12]
mov ecx, 0xea6
cmp ax, cx
jbe 0x140006017
movzx ecx, ax
mov edx, 0x1018
cmp ax, dx
jb 0x14000603f
mov r8d, 7
lea rdx, [0x140080db8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
jne 0x140006047
movzx ecx, word [rdi + 0x12]
mov edx, 0xb00
cmp cx, dx
jne 0x140006047
sub cx, 0x20
mov word [rdi + 0x16], cx
mov ecx, dword [rdi + 0x20c]
cmp ecx, 0x31
jne 0x1400060b0
cmp dword [rdi + 0x210], 4
jne 0x1400060b0
test byte [rdi + 0x14e0], 1
je 0x1400060b0
mov dword [rdi + 0x210], r13d
mov qword [rdi + 0x21c], 4
add word [rdi + 0x18], 2
add word [rdi + 0x1a], 2
mov eax, 0xfffc
add word [rdi + 0x16], ax
add word [rdi + 0x14], ax
mov dword [rdi + 0x5d198], r13d
mov rax, qword [rdi + 0xbb4d0]
mov qword [rdi + 0xbb4d8], rax
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::pentax_4shot_load_raw_void____ptr64]
mov qword [rdi + 0xbb4d0], rax
mov r15d, 4
mov eax, dword [rdi + 0x214]
mov edx, ecx
test eax, eax
jne 0x14000616c
cmp ecx, 0x1f
jne 0x14000611e
lea rcx, [rdi + 0x10c]
lea rdx, str.Credo_50
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14000616c
mov dword [rdi + 0x255e4], 0x4020a47f
mov dword [rdi + 0x255ec], 0x3fa6f896
mov dword [rdi + 0x255f0], 0x3f800000
mov dword [rdi + 0x255e8], 0x3f800000
mov eax, dword [rdi + 0x214]
mov edx, dword [rdi + 0x20c]
test eax, eax
jne 0x14000616c
cmp edx, 0x12
jne 0x14000616c
lea r8d, [rdx - 0xc]
lea rdx, str.S20Pro
lea rcx, [rdi + 0x10c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x14000615a
mov r8, r15
lea rdx, str.F700
lea rcx, [rdi + 0x10c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x14000616c
shr word [rdi + 0x12], 1
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::unpacked_load_raw_fuji_f700s20_void____ptr64]
mov qword [rdi + 0xbb4d0], rax
lea r14, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::packed_load_raw_void____ptr64]
cmp qword [rdi + 0xbb4d0], r14
jne 0x14000628e
cmp dword [rdi + 0x20c], 0x2b
jne 0x1400061e9
cmp dword [rdi + 0x5d260], 0
jne 0x1400061e9
mov r8, r15
lea rdx, str.D810
lea rcx, [rdi + 0x10c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x1400061c5
lea rdx, [0x140080de4]
lea rcx, [rdi + 0x10c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400061e9
movzx ecx, word [rdi + 0x12]
movzx eax, word [rdi + 0x10]
imul ecx, eax
lea ecx, [rcx + rcx*2]
mov eax, dword [rdi + 0x5d228]
add eax, eax
cmp eax, ecx
jne 0x1400061e9
mov dword [rdi + 0x5d260], 0x50
cmp qword [rdi + 0xbb4d0], r14
jne 0x14000628e
cmp dword [rdi + 0x20c], 0x3f
jne 0x14000628e
cmp dword [rdi + 0x25538], 0xfff
jbe 0x140006219
mov dword [rdi + 0x25538], 0xfff
mov eax, dword [rdi + 0x25530]
cmp eax, 0x100
ja 0x140006232
cmp dword [rdi + 0x21510], 0x100
jbe 0x14000628e
shr eax, 2
mov dword [rdi + 0x25530], eax
shr dword [rdi + 0x21510], 2
shr dword [rdi + 0x21514], 2
shr dword [rdi + 0x21518], 2
shr dword [rdi + 0x2151c], 2
mov edx, esi
mov eax, dword [rdi + 0x21524]
imul eax, dword [rdi + 0x21520]
test eax, eax
je 0x14000628e
nop word [rax + rax]
lea eax, [rdx + 6]
shr dword [rdi + rax*4 + 0x21510], 2
inc edx
mov eax, dword [rdi + 0x21524]
imul eax, dword [rdi + 0x21520]
cmp edx, eax
jb 0x140006270
mov rax, qword [rdi + 0xbb4d0]
lea rcx, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::nikon_yuv_load_raw_void____ptr64]
lea r12, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::nikon_load_sraw_void____ptr64]
cmp rax, rcx
jne 0x14000642a
mov qword [rdi + 0xbb4d0], r12
mov dword [rdi + 0x25530], esi
lea rcx, [rdi + 0x21510]
xor edx, edx
mov r8d, 0x4020
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x21c], 3
mov dword [rdi + 0x5d244], 3
mov ebx, esi
lea r14, [rdi + 0x1510]
movsd xmm6, qword [0x140080e48]
movsd xmm7, qword [0x140080e00]
movsd xmm8, qword [0x140080e30]
movsd xmm9, qword [0x140080e60]
movsd xmm10, qword [0x140080e40]
movsd xmm12, qword [0x140080e20]
movsd xmm11, qword [0x140080e50]
nop dword [rax + rax]
xorps xmm3, xmm3
cvtsi2sd xmm3, ebx
divsd xmm3, xmm6
movaps xmm4, xmm3
mulsd xmm4, xmm7
movaps xmm0, xmm3
mulsd xmm0, xmm8
mulsd xmm0, xmm3
subsd xmm4, xmm0
movaps xmm1, xmm3
mulsd xmm1, xmm9
mulsd xmm1, xmm3
mulsd xmm1, xmm3
subsd xmm4, xmm1
movaps xmm2, xmm3
mulsd xmm2, xmm10
mulsd xmm2, xmm3
mulsd xmm2, xmm3
mulsd xmm2, xmm3
subsd xmm4, xmm2
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
movaps xmm1, xmm12
subsd xmm1, xmm0
xorps xmm2, xmm2
maxsd xmm2, xmm1
mulsd xmm2, xmm11
cvttsd2si eax, xmm2
mov word [r14], ax
inc ebx
add r14, 2
cmp ebx, 0xc00
jle 0x140006330
mov ecx, esi
lea rdx, [rdi + 0x25658]
mov r8d, 3
nop
mov eax, esi
test ecx, ecx
sete al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdx - 4], xmm0
mov eax, esi
cmp ecx, 1
sete al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdx], xmm0
mov eax, esi
cmp ecx, 2
sete al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdx + 4], xmm0
mov eax, esi
cmp ecx, 3
sete al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdx + 8], xmm0
inc ecx
lea rdx, [rdx + 0x10]
sub r8, 1
jne 0x1400063c0
mov rax, qword [rdi + 0xbb4d0]
lea r14, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::packed_load_raw_void____ptr64]
jmp 0x140006433
movsd xmm12, qword [0x140080e20]
lea rcx, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::nikon_load_raw_void____ptr64]
cmp rax, rcx
je 0x140006454
cmp rax, r14
je 0x140006454
lea rcx, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::nikon_load_padded_packed_raw_void____ptr64]
cmp rax, rcx
jne 0x1400064ee
cmp dword [rdi + 0x20c], 0x2b
jne 0x1400064ee
lea rcx, [rdi + 0x10c]
mov r8d, 7
lea rdx, str.COOLPIX
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400064ee
cmp dword [rdi + 0x5d248], 0xc
jne 0x1400064ee
mov dword [rdi + 0x25538], 0xfff
shr dword [rdi + 0x25530], 2
shr dword [rdi + 0x21510], 2
shr dword [rdi + 0x21514], 2
shr dword [rdi + 0x21518], 2
shr dword [rdi + 0x2151c], 2
mov edx, esi
mov eax, dword [rdi + 0x21524]
imul eax, dword [rdi + 0x21520]
test eax, eax
je 0x1400064ee
nop dword [rax + rax]
lea eax, [rdx + 6]
shr dword [rdi + rax*4 + 0x21510], 2
inc edx
mov eax, dword [rdi + 0x21524]
imul eax, dword [rdi + 0x21520]
cmp edx, eax
jb 0x1400064d0
cmp qword [rdi + 0xbb4d0], r12
jne 0x140006503
mov dword [rdi + 0x2ef54], 9
jmp 0x140006566
mov eax, dword [rdi + 0x20c]
cmp eax, 8
jne 0x14000652b
cmp dword [rdi + 0x7b4], eax
jb 0x140006560
cmp dword [rdi + 0x7b8], 0
jbe 0x140006560
mov dword [rdi + 0x2ef54], 3
jmp 0x140006566
cmp eax, 0x2b
jne 0x140006546
cmp dword [rdi + 0x894], 1
jne 0x140006560
mov edx, 5
mov dword [rdi + 0x2ef54], edx
jmp 0x14000656b
cmp eax, 0x31
jne 0x140006560
test byte [rdi + 0xf51], 1
je 0x140006560
mov dword [rdi + 0x2ef54], 0x11
jmp 0x140006566
mov dword [rdi + 0x2ef54], esi
mov edx, 5
mov ecx, dword [rdi + 0x2553c]
test ecx, ecx
jns 0x140006600
cmp dword [rdi + 0x214], 0
je 0x1400065bc
mov eax, dword [rdi + 0x21528]
sub eax, ecx
mov dword [rdi + 0x2553c], eax
mov eax, dword [rdi + 0x2152c]
sub eax, dword [rdi + 0x25540]
mov dword [rdi + 0x25540], eax
mov eax, dword [rdi + 0x21530]
sub eax, dword [rdi + 0x25544]
mov dword [rdi + 0x25544], eax
mov eax, dword [rdi + 0x21534]
jmp 0x1400065f4
mov eax, dword [rdi + 0x21510]
sub eax, ecx
mov dword [rdi + 0x2553c], eax
mov eax, dword [rdi + 0x21514]
sub eax, dword [rdi + 0x25540]
mov dword [rdi + 0x25540], eax
mov eax, dword [rdi + 0x21518]
sub eax, dword [rdi + 0x25544]
mov dword [rdi + 0x25544], eax
mov eax, dword [rdi + 0x2151c]
sub eax, dword [rdi + 0x25548]
mov dword [rdi + 0x25548], eax
mov eax, dword [rdi + 0x20c]
cmp eax, 0x2b
jne 0x140006668
cmp dword [rdi + 0x2553c], 0
jne 0x140006adb
mov eax, dword [rdi + 0x25538]
cmp eax, 0x400
jbe 0x140006adb
cmp qword [rdi + 0xbb4d0], r12
je 0x140006adb
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [0x140080dfc]
cvttss2si eax, xmm0
mov dword [rdi + 0x25548], eax
mov dword [rdi + 0x25544], eax
mov dword [rdi + 0x25540], eax
mov dword [rdi + 0x2553c], eax
mov eax, dword [rdi + 0x20c]
cmp eax, 0x31
jne 0x140006adb
cmp qword [rdi + 0x540], 0x12cd4
jne 0x140006adb
lea rcx, [rdi + 0x2da54]
movss xmm2, dword [0x140080df8]
movss xmm3, dword [0x140080e38]
nop dword [rax]
cmp dword [rcx + 4], 0
je 0x1400066ca
movd xmm0, dword [rcx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rcx], eax
movd xmm0, dword [rcx + 8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [rcx + 8], eax
cmp dword [rcx + 0x14], 0
je 0x1400066f6
movd xmm0, dword [rcx + 0x10]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rcx + 0x10], eax
movd xmm0, dword [rcx + 0x18]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [rcx + 0x18], eax
cmp dword [rcx + 0x24], 0
je 0x140006722
movd xmm0, dword [rcx + 0x20]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rcx + 0x20], eax
movd xmm0, dword [rcx + 0x28]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [rcx + 0x28], eax
cmp dword [rcx + 0x34], 0
je 0x14000674e
movd xmm0, dword [rcx + 0x30]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rcx + 0x30], eax
movd xmm0, dword [rcx + 0x38]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [rcx + 0x38], eax
cmp dword [rcx + 0x44], 0
je 0x14000677a
movd xmm0, dword [rcx + 0x40]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [rcx + 0x40], eax
movd xmm0, dword [rcx + 0x48]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [rcx + 0x48], eax
add rcx, 0x50
sub rdx, 1
jne 0x1400066a0
lea rax, [rdi + 0x2ea58]
xorps xmm6, xmm6
movss xmm0, dword [rax - 4]
comiss xmm0, xmm6
jbe 0x1400067b6
movss xmm0, dword [rax]
mulss xmm0, xmm2
movss dword [rax], xmm0
movss xmm1, dword [rax + 8]
mulss xmm1, xmm3
movss dword [rax + 8], xmm1
movss xmm0, dword [rax + 0x10]
comiss xmm0, xmm6
jbe 0x1400067dc
movss xmm0, dword [rax + 0x14]
mulss xmm0, xmm2
movss dword [rax + 0x14], xmm0
movss xmm1, dword [rax + 0x1c]
mulss xmm1, xmm3
movss dword [rax + 0x1c], xmm1
movss xmm0, dword [rax + 0x24]
comiss xmm0, xmm6
jbe 0x140006802
movss xmm0, dword [rax + 0x28]
mulss xmm0, xmm2
movss dword [rax + 0x28], xmm0
movss xmm1, dword [rax + 0x30]
mulss xmm1, xmm3
movss dword [rax + 0x30], xmm1
movss xmm0, dword [rax + 0x38]
comiss xmm0, xmm6
jbe 0x140006828
movss xmm0, dword [rax + 0x3c]
mulss xmm0, xmm2
movss dword [rax + 0x3c], xmm0
movss xmm1, dword [rax + 0x44]
mulss xmm1, xmm3
movss dword [rax + 0x44], xmm1
movss xmm0, dword [rax + 0x4c]
comiss xmm0, xmm6
jbe 0x14000684e
movss xmm0, dword [rax + 0x50]
mulss xmm0, xmm2
movss dword [rax + 0x50], xmm0
movss xmm1, dword [rax + 0x58]
mulss xmm1, xmm3
movss dword [rax + 0x58], xmm1
movss xmm0, dword [rax + 0x60]
comiss xmm0, xmm6
jbe 0x140006874
movss xmm0, dword [rax + 0x64]
mulss xmm0, xmm2
movss dword [rax + 0x64], xmm0
movss xmm1, dword [rax + 0x6c]
mulss xmm1, xmm3
movss dword [rax + 0x6c], xmm1
movss xmm0, dword [rax + 0x74]
comiss xmm0, xmm6
jbe 0x1400068a0
movss xmm0, dword [rax + 0x78]
mulss xmm0, xmm2
movss dword [rax + 0x78], xmm0
movss xmm1, dword [rax + 0x80]
mulss xmm1, xmm3
movss dword [rax + 0x80], xmm1
movss xmm0, dword [rax + 0x88]
comiss xmm0, xmm6
jbe 0x1400068d5
movss xmm0, dword [rax + 0x8c]
mulss xmm0, xmm2
movss dword [rax + 0x8c], xmm0
movss xmm1, dword [rax + 0x94]
mulss xmm1, xmm3
movss dword [rax + 0x94], xmm1
movss xmm0, dword [rax + 0x9c]
comiss xmm0, xmm6
jbe 0x14000690a
movss xmm0, dword [rax + 0xa0]
mulss xmm0, xmm2
movss dword [rax + 0xa0], xmm0
movss xmm1, dword [rax + 0xa8]
mulss xmm1, xmm3
movss dword [rax + 0xa8], xmm1
movss xmm0, dword [rax + 0xb0]
comiss xmm0, xmm6
jbe 0x14000693f
movss xmm0, dword [rax + 0xb4]
mulss xmm0, xmm2
movss dword [rax + 0xb4], xmm0
movss xmm1, dword [rax + 0xbc]
mulss xmm1, xmm3
movss dword [rax + 0xbc], xmm1
movss xmm0, dword [rax + 0xc4]
comiss xmm0, xmm6
jbe 0x140006974
movss xmm0, dword [rax + 0xc8]
mulss xmm0, xmm2
movss dword [rax + 0xc8], xmm0
movss xmm1, dword [rax + 0xd0]
mulss xmm1, xmm3
movss dword [rax + 0xd0], xmm1
movss xmm0, dword [rax + 0xd8]
comiss xmm0, xmm6
jbe 0x1400069a9
movss xmm0, dword [rax + 0xdc]
mulss xmm0, xmm2
movss dword [rax + 0xdc], xmm0
movss xmm1, dword [rax + 0xe4]
mulss xmm1, xmm3
movss dword [rax + 0xe4], xmm1
movss xmm0, dword [rax + 0xec]
comiss xmm0, xmm6
jbe 0x1400069de
movss xmm0, dword [rax + 0xf0]
mulss xmm0, xmm2
movss dword [rax + 0xf0], xmm0
movss xmm1, dword [rax + 0xf8]
mulss xmm1, xmm3
movss dword [rax + 0xf8], xmm1
movss xmm0, dword [rax + 0x100]
comiss xmm0, xmm6
jbe 0x140006a13
movss xmm0, dword [rax + 0x104]
mulss xmm0, xmm2
movss dword [rax + 0x104], xmm0
movss xmm1, dword [rax + 0x10c]
mulss xmm1, xmm3
movss dword [rax + 0x10c], xmm1
movss xmm0, dword [rax + 0x114]
comiss xmm0, xmm6
jbe 0x140006a48
movss xmm0, dword [rax + 0x118]
mulss xmm0, xmm2
movss dword [rax + 0x118], xmm0
movss xmm1, dword [rax + 0x120]
mulss xmm1, xmm3
movss dword [rax + 0x120], xmm1
movss xmm0, dword [rax + 0x128]
comiss xmm0, xmm6
jbe 0x140006a7d
movss xmm0, dword [rax + 0x12c]
mulss xmm0, xmm2
movss dword [rax + 0x12c], xmm0
movss xmm1, dword [rax + 0x134]
mulss xmm1, xmm3
movss dword [rax + 0x134], xmm1
add rax, 0x140
sub r15, 1
jne 0x140006792
movd xmm0, dword [rdi + 0x2da64]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x255e4], xmm0
movd xmm1, dword [rdi + 0x2da68]
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0x255e8], xmm1
movd xmm0, dword [rdi + 0x2da6c]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x255ec], xmm0
movd xmm1, dword [rdi + 0x2da70]
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0x255f0], xmm1
jmp 0x140006ade
xorps xmm6, xmm6
mov rax, qword [rdi + 0xbb4d0]
mov rcx, rax
lea rdx, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::panasonic_load_raw_void____ptr64]
cmp rax, rdx
jne 0x140006bbf
cmp dword [rdi + 0x20c], 0x2f
jne 0x140006bbf
cmp dword [rdi + 0x5d188], 0
je 0x140006bbf
cmp dword [rdi + 0x5d18c], 0
je 0x140006bbf
cmp dword [rdi + 0x5d190], 0
je 0x140006bbf
mov eax, dword [rdi + 0x5d294]
cmp eax, 5
jne 0x140006b3d
mov dword [rdi + 0x5d1a0], esi
mov dword [rdi + 0x25530], esi
mov r10d, esi
mov ecx, reloc.WS2_32.dll_ntohs
cmp eax, 4
cmove r10d, ecx
mov ecx, dword [rdi + 0x5d188]
lea r8d, [rcx + r10]
mov edx, dword [rdi + 0x5d18c]
lea ebx, [rdx + r10]
mov r11d, dword [rdi + 0x5d190]
lea r9d, [r11 + r10]
cmp ebx, r8d
cmovbe ecx, edx
lea eax, [rcx + r10]
cmp eax, ebx
cmovbe edx, ecx
lea eax, [rdx + r10]
cmp eax, r9d
cmovbe r11d, edx
add r11d, r10d
sub r8d, r11d
mov dword [rdi + 0x21510], r8d
sub ebx, r11d
mov dword [rdi + 0x21514], ebx
sub r9d, r11d
mov dword [rdi + 0x21518], r9d
mov dword [rdi + 0x2151c], ebx
mov dword [rdi + 0x25530], r11d
mov rcx, qword [rdi + 0xbb4d0]
mov r14d, esi
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::x3f_load_raw_void____ptr64]
cmp rcx, rax
jne 0x140006c80
lea rbx, [0x1400ac008]
lea r12, [0x1400acc68]
mov rdx, qword [rbx - 8]
lea rcx, [rdi + 0xcc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140006c1b
lea rcx, [rdi + 0x10c]
mov rdx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140006c1b
movzx eax, word [rdi + 0x12]
cmp eax, dword [rbx + 8]
jne 0x140006c1b
movzx eax, word [rdi + 0x10]
cmp eax, dword [rbx + 0xc]
je 0x140006c29
inc r14d
add rbx, 0x30
cmp rbx, r12
jge 0x140006c80
jmp 0x140006be0
movsxd rax, r14d
lea rcx, [rax + rax*2]
shl rcx, 4
lea rdx, [0x140000000]
movzx eax, word [rcx + rdx + 0xac020]
mov word [rdi + 0x18], ax
movzx eax, word [rcx + rdx + 0xac01c]
mov word [rdi + 0x1a], ax
movzx eax, word [rcx + rdx + 0xac024]
mov word [rdi + 0x1e], ax
mov word [rdi + 0x16], ax
movzx eax, word [rcx + rdx + 0xac028]
mov word [rdi + 0x1c], ax
mov word [rdi + 0x14], ax
mov eax, dword [rcx + rdx + 0xac018]
mov dword [rdi + 0x25538], eax
cmp dword [rdi + 0x25840], 0
je 0x140006ce7
mov rdx, qword [rdi + 0x25838]
test rdx, rdx
je 0x140006c9d
mov rcx, rdi
call sym.EURawImg.exe_protected:_void___cdecl_LibRaw::free_void____ptr64____ptr64
mov edx, dword [rdi + 0x25840]
mov rcx, rdi
call sym.EURawImg.exe_protected:_void____ptr64___cdecl_LibRaw::malloc_unsigned_long_long_unsigned___int64_____ptr64
mov qword [rdi + 0x25838], rax
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rdi + 0x5d178]
call qword [rax + 0x18]
mov rcx, qword [rdi + 0x5d158]
mov rax, qword [rcx]
mov r8d, dword [rdi + 0x25840]
mov r9, r13
mov rdx, qword [rdi + 0x25838]
call qword [rax + 0x10]
or dword [rdi + 0x1508], 2
cmp dword [rdi + 0x210], 1
jb 0x140006ed2
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::write_ppm_tiff_void____ptr64]
mov qword [rdi + 0xbb4c8], rax
movzx r8d, word [rdi + 0x16]
lea rax, [sym.EURawImg.exe_protected:_void___cdecl_LibRaw::kodak_ycbcr_load_raw_void____ptr64]
movzx edx, r8w
cmp qword [rdi + 0xbb4d0], rax
jne 0x140006d46
movzx eax, word [rdi + 0x14]
movzx ecx, ax
and cx, 1
add cx, ax
mov word [rdi + 0x14], cx
and dx, 1
add dx, r8w
mov word [rdi + 0x16], dx
movzx r8d, dx
jmp 0x140006d4a
movzx ecx, word [rdi + 0x14]
mov r10d, dword [rdi + 0x220]
test r10d, r10d
je 0x140006d97
movzx r9d, r8w
movzx eax, cx
cmp dword [rdi + 0x1430], 0
jne 0x140006da1
movss xmm0, dword [rdi + 0x142c]
ucomiss xmm0, xmm6
jp 0x140006da1
jne 0x140006da1
movsd xmm0, qword [rdi + 0x13c8]
ucomisd xmm0, xmm12
jp 0x140006da1
jne 0x140006da1
movsd xmm0, qword [rdi + 0x13d8]
ucomisd xmm0, xmm12
jp 0x140006da1
jne 0x140006da1
mov r13d, esi
movzx r9d, r8w
movzx eax, cx
mov word [rdi + 0x5d1a4], r13w
test r13w, r13w
je 0x140006dd0
cmp r10d, 0x3e8
jb 0x140006dd0
mov eax, 0xfffe
movzx edx, r9w
and dx, ax
mov word [rdi + 0x16], dx
and word [rdi + 0x14], ax
movzx eax, word [rdi + 0x14]
movzx ecx, r13w
movzx eax, ax
add eax, ecx
sar eax, cl
mov word [rdi + 0x1c], ax
movzx eax, dx
add eax, ecx
sar eax, cl
mov word [rdi + 0x1e], ax
lea rdx, [rdi + 0x1510]
lea rcx, [rdi + 0x2f6b0]
mov r8d, 0x2da98
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rdi + 0x10]
lea rcx, [rdi + 0x2f5e8]
mov r8d, 0xb8
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rdi + 0xc8]
lea rcx, [rdi + 0x2f430]
mov r8d, 0x1b8
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rdi + 0x5d198]
lea rcx, [rdi + 0x2f6a0]
mov r8d, 0x10
call sub.VCRUNTIME140.dll_memmove
or dword [rdi + 0x1508], 4
xor eax, eax
jmp 0x140006e77
mov eax, 0xfffe7954
jmp 0x140006e77
mov eax, 0xfffe7957
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14007c510
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 0xfffffffe
jmp 0x140006e77