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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x598
movaps xmmword [rsp + 0x580], xmm15
movaps xmmword [rsp + 0x570], xmm14
movaps xmmword [rsp + 0x560], xmm13
movaps xmmword [rsp + 0x550], xmm12
movaps xmmword [rsp + 0x540], xmm11
movaps xmmword [rsp + 0x530], xmm10
movaps xmmword [rsp + 0x520], xmm9
movaps xmmword [rsp + 0x510], xmm8
movaps xmmword [rsp + 0x500], xmm7
movaps xmmword [rsp + 0x4f0], xmm6
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x220], xmm0
movdqa xmmword [rsp + 0x210], xmm0
movdqa xmmword [rsp + 0x200], xmm0
movdqa xmmword [rsp + 0x1f0], xmm0
movdqa xmmword [rsp + 0x1e0], xmm0
movdqa xmmword [rsp + 0x1d0], xmm0
movdqa xmmword [rsp + 0x1c0], xmm0
movdqa xmmword [rsp + 0x1b0], xmm0
movdqa xmmword [rsp + 0x1a0], xmm0
movdqa xmmword [rsp + 0x190], xmm0
movdqa xmmword [rsp + 0x180], xmm0
movdqa xmmword [rsp + 0x170], xmm0
movdqa xmmword [rsp + 0x160], xmm0
movdqa xmmword [rsp + 0x150], xmm0
movdqa xmmword [rsp + 0x140], xmm0
movdqa xmmword [rsp + 0x130], xmm0
movdqa xmmword [rsp + 0x320], xmm0
movdqa xmmword [rsp + 0x310], xmm0
movdqa xmmword [rsp + 0x300], xmm0
movdqa xmmword [rsp + 0x2f0], xmm0
movdqa xmmword [rsp + 0x2e0], xmm0
movdqa xmmword [rsp + 0x2d0], xmm0
movdqa xmmword [rsp + 0x2c0], xmm0
movdqa xmmword [rsp + 0x2b0], xmm0
movdqa xmmword [rsp + 0x2a0], xmm0
movdqa xmmword [rsp + 0x290], xmm0
movdqa xmmword [rsp + 0x280], xmm0
movdqa xmmword [rsp + 0x270], xmm0
movdqa xmmword [rsp + 0x260], xmm0
movdqa xmmword [rsp + 0x250], xmm0
movdqa xmmword [rsp + 0x240], xmm0
movdqa xmmword [rsp + 0x230], xmm0
movdqa xmmword [rsp + 0x420], xmm0
movdqa xmmword [rsp + 0x410], xmm0
movdqa xmmword [rsp + 0x400], xmm0
movdqa xmmword [rsp + 0x3f0], xmm0
movdqa xmmword [rsp + 0x3e0], xmm0
movdqa xmmword [rsp + 0x3d0], xmm0
movdqa xmmword [rsp + 0x3c0], xmm0
movdqa xmmword [rsp + 0x3b0], xmm0
movdqa xmmword [rsp + 0x3a0], xmm0
movdqa xmmword [rsp + 0x390], xmm0
movdqa xmmword [rsp + 0x380], xmm0
movdqa xmmword [rsp + 0x370], xmm0
movdqa xmmword [rsp + 0x360], xmm0
movdqa xmmword [rsp + 0x350], xmm0
movdqa xmmword [rsp + 0x340], xmm0
movdqa xmmword [rsp + 0x330], xmm0
movdqa xmmword [rsp + 0x460], xmm0
movdqa xmmword [rsp + 0x450], xmm0
movdqa xmmword [rsp + 0x440], xmm0
movdqa xmmword [rsp + 0x430], xmm0
movdqa xmmword [rsp + 0x4a0], xmm0
movdqa xmmword [rsp + 0x490], xmm0
movdqa xmmword [rsp + 0x480], xmm0
movdqa xmmword [rsp + 0x470], xmm0
movdqa xmmword [rsp + 0x4e0], xmm0
movdqa xmmword [rsp + 0x4d0], xmm0
movdqa xmmword [rsp + 0x4c0], xmm0
movdqa xmmword [rsp + 0x4b0], xmm0
mov r15d, dword [rdx + 0x14]
mov eax, r15d
shr eax, 3
xor r8d, r8d
test r15b, 7
setne r8b
add r8d, eax
je 0x1401193a0
mov r14d, dword [rdx + 0x10]
mov eax, r14d
shr eax, 3
xor r9d, r9d
test r14b, 7
setne r9b
add r9d, eax
je 0x1401193a0
mov r13, rcx
lea rbx, [rcx + 0x1020]
lea eax, [r14 - 1]
mov dword [rsp + 0x64], eax
lea eax, [r15 - 1]
mov dword [rsp + 0x60], eax
lea rax, [rcx + 0x40a]
mov qword [rsp + 0xd8], rax
lea rax, [rcx + 2]
mov qword [rsp + 0xd0], rax
mov rbp, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x230]
lea r10, [rsp + 0x330]
lea r11, [rsp + 0x430]
lea rsi, [rsp + 0x130]
cmp rsi, r10
setb al
lea rdi, [rsp + 0x230]
cmp rdi, rdx
setb cl
and cl, al
cmp rsi, r11
setb al
lea rsi, [rsp + 0x330]
cmp rsi, rdx
setb dl
and dl, al
or dl, cl
cmp rdi, r11
setb al
cmp rsi, r10
setb cl
and cl, al
or cl, dl
mov byte [rsp + 0x37], cl
lea rax, [r14*8]
lea rax, [rax + rax*2]
mov qword [rsp + 0xb0], rax
movss xmm6, dword [0x140210980]
movss xmm7, dword [0x140210984]
movss xmm8, dword [0x140210988]
movss xmm9, dword [0x14021098c]
movss xmm14, dword [0x140210990]
movss xmm15, dword [0x1402020b4]
movss xmm10, dword [0x140210994]
movss xmm11, dword [0x140210998]
movss xmm12, dword [0x14021099c]
movss xmm13, dword [0x1402020b0]
lea rax, [r13 + 0x812]
mov qword [rsp + 0xc8], rax
lea rax, [r13 + 0xc1a]
mov qword [rsp + 0xc0], rax
lea rax, [r14 + r14*2]
mov qword [rsp + 0xf0], rax
xor eax, eax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x4c], r9d
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xf8], rcx
add ecx, 8
mov dword [rsp + 0x50], ecx
dec r8d
mov dword [rsp + 0x54], r8d
xor r12d, r12d
mov qword [rsp + 0xb8], rax
nop word [rax + rax]
mov dword [rsp + 0x58], r9d
mov dword [rsp + 0x5c], edx
mov qword [rsp + 0xe8], rax
mov rcx, rax
lea r9, [rsp + 0x430]
lea r10, [rsp + 0x470]
lea r11, [rsp + 0x4b0]
xor edx, edx
nop
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rdx
lea r8d, [rax + rdx]
mov eax, dword [rsp + 0x60]
cmp r8d, eax
mov r13d, eax
cmovb r13d, r8d
mov rdi, r13
imul rdi, r14
mov qword [rsp + 0x108], rcx
xor ebx, ebx
nop word cs:[rax + rax]
lea rax, [r12 + rbx]
cmp r15d, r8d
jbe 0x140118bd0
cmp r14d, eax
jbe 0x140118bd0
lea rdx, [rcx + 3]
cmp rcx, 0xfffffffffffffffc
ja 0x14011942e
mov rax, rcx
jmp 0x140118c06
mov edx, dword [rsp + 0x64]
cmp eax, edx
cmovae eax, edx
cmp r14d, eax
jbe 0x14011943c
cmp r15d, r13d
jbe 0x14011943c
mov edx, eax
add rdx, rdi
lea rax, [rdx + rdx*2]
lea rdx, [rdx + rdx*2]
add rdx, 3
cmp rax, 0xfffffffffffffffc
ja 0x1401194d9
cmp rdx, qword [rsp + 0x40]
ja 0x140119418
movzx edx, byte [rbp + rax + 2]
movzx eax, word [rbp + rax]
movzx esi, al
xorps xmm2, xmm2
cvtsi2ss xmm2, esi
shr eax, 8
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, edx
movaps xmm3, xmm2
mulss xmm3, xmm6
movaps xmm4, xmm1
mulss xmm4, xmm7
addss xmm4, xmm3
movaps xmm3, xmm0
mulss xmm3, xmm8
addss xmm3, xmm4
movaps xmm4, xmm2
mulss xmm4, xmm9
movaps xmm5, xmm1
mulss xmm5, xmm14
addss xmm5, xmm4
movaps xmm4, xmm0
mulss xmm4, xmm15
addss xmm4, xmm5
addss xmm4, xmm10
mulss xmm2, xmm15
mulss xmm1, xmm11
addss xmm1, xmm2
mulss xmm0, xmm12
addss xmm0, xmm1
addss xmm0, xmm10
xorps xmm1, xmm1
maxss xmm1, xmm3
movaps xmm2, xmm13
minss xmm2, xmm1
cvttss2si eax, xmm2
xorps xmm1, xmm1
maxss xmm1, xmm4
movaps xmm2, xmm13
minss xmm2, xmm1
cvttss2si edx, xmm2
xorps xmm1, xmm1
maxss xmm1, xmm0
movaps xmm0, xmm13
minss xmm0, xmm1
cvttss2si esi, xmm0
mov byte [r9 + rbx], al
mov byte [r10 + rbx], dl
mov byte [r11 + rbx], sil
lea rax, [rbx + 1]
add rcx, 3
mov rbx, rax
cmp rax, 8
jne 0x140118ba0
mov rdx, qword [rsp + 0x100]
inc rdx
add r11, 8
add r10, 8
add r9, 8
mov rcx, qword [rsp + 0x108]
add rcx, qword [rsp + 0xf0]
cmp rdx, 8
jne 0x140118b60
lea rcx, [rsp + 0x430]
lea rdx, [rsp + 0x130]
call fcn.1400cda50
lea rcx, [rsp + 0x470]
lea rdx, [rsp + 0x230]
call fcn.1400cda50
lea rcx, [rsp + 0x4b0]
lea rdx, [rsp + 0x330]
call fcn.1400cda50
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + 0x1058]
test rax, rax
je 0x1401194ea
mov rsi, qword [rcx + 0x1048]
cmp rax, 1
je 0x1401194fc
lea rax, [rsi + 0x80]
lea rcx, [rsp + 0x130]
cmp rcx, rax
setb cl
lea rdx, [rsp + 0x230]
cmp rsi, rdx
setb r9b
and r9b, cl
or r9b, byte [rsp + 0x37]
lea rcx, [rsp + 0x230]
cmp rcx, rax
setb cl
lea rdx, [rsp + 0x330]
cmp rsi, rdx
setb r8b
cmp rdx, rax
setb al
lea rdx, [rsp + 0x430]
cmp rsi, rdx
setb dl
test r9b, r9b
jne 0x140119110
and cl, r8b
jne 0x140119110
and al, dl
jne 0x140119110
xor r13d, r13d
xor edi, edi
mov ebx, 0x7fffffff
nop word cs:[rax + rax]
movdqu xmm0, xmmword [rsp + r13*4 + 0x130]
movdqa xmm1, xmm0
psrad xmm1, 0x1f
psrld xmm1, 0x1d
paddd xmm1, xmm0
psrad xmm1, 3
cvtdq2ps xmm8, xmm1
movd xmm0, dword [rsi + r13]
pxor xmm1, xmm1
punpcklbw xmm0, xmm1
punpcklwd xmm0, xmm1
cvtdq2ps xmm0, xmm0
divps xmm8, xmm0
movaps xmm0, xmm8
shufps xmm0, xmm8, 0x55
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm6, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm7, xmm0
movaps xmm0, xmm8
unpckhpd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm9, xmm0
shufps xmm8, xmm8, 0xff
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
ucomiss xmm0, dword [0x14020ec88]
cmova eax, ebx
ucomiss xmm0, xmm0
cmovp eax, edi
cvttss2si ecx, xmm9
ucomiss xmm9, dword [0x14020ec88]
cmova ecx, ebx
ucomiss xmm9, xmm9
cmovp ecx, edi
cvttss2si edx, xmm7
ucomiss xmm7, dword [0x14020ec88]
movd xmm0, eax
cmova edx, ebx
ucomiss xmm7, xmm7
cmovp edx, edi
cvttss2si eax, xmm6
ucomiss xmm6, dword [0x14020ec88]
movd xmm1, ecx
cmova eax, ebx
movd xmm2, edx
punpckldq xmm1, xmm0
ucomiss xmm6, xmm6
cmovp eax, edi
movd xmm0, eax
punpckldq xmm2, xmm0
punpcklqdq xmm2, xmm1
movdqu xmmword [rsp + r13*4 + 0x130], xmm2
movdqu xmm0, xmmword [rsp + r13*4 + 0x230]
movdqa xmm1, xmm0
psrad xmm1, 0x1f
psrld xmm1, 0x1d
paddd xmm1, xmm0
psrad xmm1, 3
cvtdq2ps xmm8, xmm1
movd xmm0, dword [rsi + r13 + 0x40]
pxor xmm1, xmm1
punpcklbw xmm0, xmm1
punpcklwd xmm0, xmm1
cvtdq2ps xmm0, xmm0
divps xmm8, xmm0
movaps xmm0, xmm8
shufps xmm0, xmm8, 0x55
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm6, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm7, xmm0
movaps xmm0, xmm8
unpckhpd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm9, xmm0
shufps xmm8, xmm8, 0xff
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
ucomiss xmm0, dword [0x14020ec88]
cmova eax, ebx
ucomiss xmm0, xmm0
cmovp eax, edi
cvttss2si ecx, xmm9
ucomiss xmm9, dword [0x14020ec88]
cmova ecx, ebx
ucomiss xmm9, xmm9
cmovp ecx, edi
cvttss2si edx, xmm7
ucomiss xmm7, dword [0x14020ec88]
movd xmm0, eax
cmova edx, ebx
ucomiss xmm7, xmm7
cmovp edx, edi
cvttss2si eax, xmm6
ucomiss xmm6, dword [0x14020ec88]
movd xmm1, ecx
cmova eax, ebx
movd xmm2, edx
punpckldq xmm1, xmm0
ucomiss xmm6, xmm6
cmovp eax, edi
movd xmm0, eax
punpckldq xmm2, xmm0
punpcklqdq xmm2, xmm1
movdqu xmmword [rsp + r13*4 + 0x230], xmm2
movdqu xmm0, xmmword [rsp + r13*4 + 0x330]
movdqa xmm1, xmm0
psrad xmm1, 0x1f
psrld xmm1, 0x1d
paddd xmm1, xmm0
psrad xmm1, 3
cvtdq2ps xmm8, xmm1
movd xmm0, dword [rsi + r13 + 0x40]
pxor xmm1, xmm1
punpcklbw xmm0, xmm1
punpcklwd xmm0, xmm1
cvtdq2ps xmm0, xmm0
divps xmm8, xmm0
movaps xmm0, xmm8
shufps xmm0, xmm8, 0x55
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm6, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm7, xmm0
movaps xmm0, xmm8
unpckhpd xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movaps xmm9, xmm0
shufps xmm8, xmm8, 0xff
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
ucomiss xmm0, dword [0x14020ec88]
cmova eax, ebx
ucomiss xmm0, xmm0
cmovp eax, edi
cvttss2si ecx, xmm9
ucomiss xmm9, dword [0x14020ec88]
cmova ecx, ebx
ucomiss xmm9, xmm9
cmovp ecx, edi
cvttss2si edx, xmm7
ucomiss xmm7, dword [0x14020ec88]
movd xmm0, eax
cmova edx, ebx
ucomiss xmm7, xmm7
cmovp edx, edi
cvttss2si eax, xmm6
ucomiss xmm6, dword [0x14020ec88]
movd xmm1, ecx
cmova eax, ebx
movd xmm2, edx
punpckldq xmm1, xmm0
ucomiss xmm6, xmm6
cmovp eax, edi
movd xmm0, eax
punpckldq xmm2, xmm0
punpcklqdq xmm2, xmm1
movdqu xmmword [rsp + r13*4 + 0x330], xmm2
add r13, 4
cmp r13, 0x40
jne 0x140118e10
jmp 0x140119217
xor edi, edi
movss xmm6, dword [0x14020ec88]
nop word [rax + rax]
lea rbx, [rdi + 1]
mov eax, dword [rsp + rdi*4 + 0x130]
lea ecx, [rax + 7]
test eax, eax
cmovns ecx, eax
sar ecx, 3
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
movzx eax, byte [rsi + rdi]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
ucomiss xmm0, xmm6
mov r13d, 0x7fffffff
cmova eax, r13d
ucomiss xmm0, xmm0
mov ecx, 0
cmovp eax, ecx
mov dword [rsp + rdi*4 + 0x130], eax
mov eax, dword [rsp + rdi*4 + 0x230]
lea ecx, [rax + 7]
test eax, eax
cmovns ecx, eax
sar ecx, 3
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
movzx eax, byte [rsi + rdi + 0x40]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
ucomiss xmm0, xmm6
cmova eax, r13d
ucomiss xmm0, xmm0
mov ecx, 0
cmovp eax, ecx
mov dword [rsp + rdi*4 + 0x230], eax
mov eax, dword [rsp + rdi*4 + 0x330]
lea ecx, [rax + 7]
test eax, eax
cmovns ecx, eax
sar ecx, 3
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
movzx eax, byte [rsi + rdi + 0x40]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
ucomiss xmm0, xmm6
cmova eax, r13d
ucomiss xmm0, xmm0
mov ecx, 0
cmovp eax, ecx
mov dword [rsp + rdi*4 + 0x330], eax
mov rdi, rbx
cmp rbx, 0x40
jne 0x140119120
mov r8, qword [rsp + 0x68]
cmp word [r8 + 0x408], 0
mov rax, qword [rsp + 0xd8]
jne 0x140119236
mov rax, qword [r8 + 0x410]
cmp word [r8], 0
mov rcx, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xe0]
jne 0x140119251
mov rcx, qword [r8 + 8]
cmp word [r8 + 0x810], 0
mov rsi, qword [rsp + 0xc8]
movss xmm6, dword [0x140210980]
movss xmm7, dword [0x140210984]
movss xmm8, dword [0x140210988]
movss xmm9, dword [0x14021098c]
jne 0x14011928d
mov rsi, qword [r8 + 0x818]
cmp word [r8 + 0xc18], 0
mov rdi, qword [rsp + 0xc0]
jne 0x1401192a7
mov rdi, qword [r8 + 0xc20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r13, [rsp + 0x80]
mov rcx, r13
mov rdx, rbx
lea r8, [rsp + 0x130]
mov r9d, dword [rsp + 0x3c]
call fcn.1401153a0
cmp dword [rsp + 0x80], 0
jne 0x1401193a4
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
mov rcx, r13
mov rdx, rbx
lea r8, [rsp + 0x230]
mov r9d, dword [rsp + 0x38]
call fcn.1401153a0
cmp dword [rsp + 0x80], 0
jne 0x1401193a4
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
mov rcx, r13
mov rdx, rbx
lea r8, [rsp + 0x330]
mov r9d, dword [rsp + 0x5c]
call fcn.1401153a0
cmp dword [rsp + 0x80], 0
jne 0x1401193a4
mov r9d, dword [rsp + 0x58]
dec r9d
mov edx, dword [rsp + 0x84]
mov rax, qword [rsp + 0xe8]
add rax, 0x18
add r12, 8
test r9d, r9d
jne 0x140118b30
mov rax, qword [rsp + 0xb8]
add rax, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x54]
test r8d, r8d
mov r9d, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x50]
jne 0x140118b08
xor eax, eax
jmp 0x1401193ac
mov rax, qword [rsp + 0x88]
movaps xmm6, xmmword [rsp + 0x4f0]
movaps xmm7, xmmword [rsp + 0x500]
movaps xmm8, xmmword [rsp + 0x510]
movaps xmm9, xmmword [rsp + 0x520]
movaps xmm10, xmmword [rsp + 0x530]
movaps xmm11, xmmword [rsp + 0x540]
movaps xmm12, xmmword [rsp + 0x550]
movaps xmm13, xmmword [rsp + 0x560]
movaps xmm14, xmmword [rsp + 0x570]
movaps xmm15, xmmword [rsp + 0x580]
add rsp, 0x598
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Usershp.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._src_buffer.rsImage_index__out_of_bounds
mov rcx, rdx
mov rdx, qword [rsp + 0x40]
call fcn.1401fc600
ud2
lea r8, str.C:Usershp.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._src_buffer.rsImage_index__out_of_bounds
call fcn.1401fc680
ud2
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], r13d
mov dword [rsp + 0x78], r14d
mov dword [rsp + 0x7c], r15d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x110], rax
lea rax, [0x140104360]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rax
lea rax, [0x1402129a8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 2
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 2
lea rdx, str.C:Usershp.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._src_buffer.rsImage_index__out_of_bounds
lea rcx, [rsp + 0x80]
call fcn.1401fc030
ud2
lea r8, str.C:Usershp.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._src_buffer.rsImage_index__out_of_bounds
mov rcx, rax
call fcn.1401fc680
ud2
lea r8, str.C:Usershp.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsjpegencoder.rsbad_huffman_value
xor ecx, ecx
xor edx, edx
call fcn.1401fc170
ud2
mov eax, dword [rsp + 0x130]
lea ecx, [rax + 7]
test eax, eax
cmovns ecx, eax
sar ecx, 3
xorps xmm0, xmm0
cvtsi2ss xmm0, ecx
movzx eax, byte [rsi]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
cvttss2si eax, xmm0
ucomiss xmm0, dword [0x14020ec88]
mov ecx, 0x7fffffff
cmovbe ecx, eax
xor eax, eax
ucomiss xmm0, xmm0
cmovnp eax, ecx
mov dword [rsp + 0x130], eax
lea r8, str.C:Usershp.cargo_registry_srcindex.crates.io_6f17d22bba15001fimage_0.24.7._srccodecsjpegencoder.rsbad_huffman_value
mov ecx, 1
mov edx, 1
call fcn.1401fc170
ud2