Function at 0x14010eab7
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov rsi, rcx
mov rbx, qword [rsp + 0x2b0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x90], r9
shr rsi, 1
cmp rsi, r9
jae 0x14010eb36
mov rax, qword [rbx + 8]
mov qword [rsp + 0xa8], rax
mov r14, qword [rbx + 0x10]
mov rbp, qword [rbx + 0x18]
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x1a0], rbp
test rbp, rbp
je 0x14010f1d7
test r14, r14
je 0x14010ec12
mov rax, r14
xor edx, edx
div rbp
cmp rdx, 1
sbb rax, 0xffffffffffffffff
jmp 0x14010ec14
mov rdi, r8
test dl, dl
je 0x14010eb4e
call fcn.14013711d
shr rdi, 1
cmp rax, rdi
cmova rdi, rax
jmp 0x14010eb56
test rdi, rdi
je 0x14010eaea
shr rdi, 1
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x70], rsi
mov r12, qword [rbx]
mov rbp, qword [rbx + 8]
mov rdi, qword [rbx + 0x10]
mov r14, qword [rbx + 0x18]
mov r13, r14
imul r13, rsi
cmp r13, rdi
cmovae r13, rdi
mov rbx, qword [rbx + 0x20]
mov r15, rbp
add r15, r13
sub rdi, r13
add rsi, rbx
lea rcx, [0x1401357d7]
call fcn.1401344a8
test rax, rax
je 0x14010ee84
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0xf8]
mov qword [rcx], r8
lea r9, [rsp + 0x88]
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], r13
mov qword [rcx + 0x28], r14
mov qword [rcx + 0x30], rbx
mov rdx, qword [rsp + 0x2b8]
mov qword [rcx + 0x38], rdx
lea rbp, [rsp + 0x68]
mov qword [rcx + 0x40], rbp
mov qword [rcx + 0x48], r8
mov qword [rcx + 0x50], r9
mov qword [rcx + 0x58], r12
mov qword [rcx + 0x60], r15
mov qword [rcx + 0x68], rdi
mov qword [rcx + 0x70], r14
mov qword [rcx + 0x78], rsi
mov qword [rcx + 0x80], rdx
jmp 0x14010ef2c
xor eax, eax
mov rcx, qword [rsp + 0x78]
add rax, rcx
xor esi, esi
sub rax, rcx
cmovae rsi, rax
mov rcx, r14
mov rdx, rbp
call fcn.14010ff50
cmp rsi, rax
cmovae rsi, rax
mov qword [rsp + 0xa0], rsi
test rsi, rsi
je 0x14010ef34
xor r13d, r13d
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x98], rbp
mov rax, r13
imul rax, rbp
mov qword [rsp + 0xc0], rax
sub r14, rax
cmp r14, rbp
cmovae r14, rbp
mov qword [rsp + 0xb8], r14
mov rcx, qword [rsp + 0x2b8]
mov rdi, qword [rcx]
mov rax, qword [rcx + 8]
mov r12, qword [rax + 8]
mov r14, rbp
mov r15, qword [rax + 0x10]
mov rax, qword [rcx + 0x10]
movzx eax, word [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rcx + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rbp, qword [rdi]
mov rcx, rbp
mov dl, 1
call fcn.14027db2d
mov rbx, rax
mov rsi, rdx
mov rcx, r15
call fcn.1400d5ef4
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], rdx
mov qword [rsp + 0x1b0], 0
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], rbp
lea rcx, [rsp + 0x1a0]
mov rbp, r14
mov qword [rsp + 0x60], r15
mov rdx, r15
lea r8, [rsp + 0xf8]
call fcn.14010e7b1
mov rax, qword [rdi + 0x18]
test rax, rax
mov qword [rsp + 0xc8], r13
je 0x14010ee01
mov rcx, qword [rsp + 0x78]
add rcx, r13
mov qword [rsp + 0xd0], rcx
mov rbx, qword [rdi + 0x10]
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x1b0]
shl rax, 3
lea r13, [rax + rax*4]
mov edi, 0x10
xor ebp, ebp
xor r15d, r15d
cmp qword [rsp + 0x60], r15
je 0x14010ef49
cmp rdx, r15
je 0x14010ef5a
movups xmm0, xmmword [rbx + rbp + 0x18]
mov r9, qword [rbx + rbp + 0x10]
mov r14, rdx
mov rdx, qword [r12 + rdi - 8]
mov r8, qword [r12 + rdi]
mov rcx, qword [rbx + rbp]
mov rax, qword [rbx + rbp + 8]
mov rsi, qword [rsp + 0x58]
movups xmm1, xmmword [rsi + rdi - 8]
movups xmmword [rsp + 0x40], xmm1
mov rsi, qword [rsp + 0xd8]
mov qword [rsp + 0x38], rsi
mov rsi, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rsi
movups xmmword [rsp + 0x20], xmm0
call qword [rax + 0x18]
mov rdx, r14
add rdi, 0x18
add rbp, 0x28
inc r15
cmp r13, rbp
jne 0x14010ed73
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x58]
jmp 0x14010ee19
mov rbx, qword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x80]
mov r13, qword [rsp + 0xc8]
inc r13
mov r8, qword [rsp + 0xc0]
add r8, qword [rsp + 0xa8]
mov rcx, rbx
mov rdi, rdx
mov r9, qword [rsp + 0xb8]
call qword [rsp + 0xb0]
mov rcx, rbx
mov rdx, rdi
call fcn.140031a1c
cmp qword [rsp + 0x1a0], 0
je 0x14010ee71
mov rcx, qword [0x14051f200]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.DLL_HeapFree]
cmp r13, qword [rsp + 0xa0]
jne 0x14010ec5b
jmp 0x14010ef34
mov qword [rsp + 0x58], rbx
call fcn.1401357f2
mov rbx, qword [rax]
lea rax, [rbx + 0x80]
mov qword [rsp + 0x60], rax
lea rcx, [0x1401357d7]
call fcn.1401344a8
test rax, rax
je 0x14010ef6b
cmp qword [rax + 0x140], rbx
mov rdx, qword [rsp + 0x58]
jne 0x14010f119
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0xf8]
mov qword [rcx], r8
lea r10, [rsp + 0x88]
mov qword [rcx + 8], r10
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], r13
mov qword [rcx + 0x28], r14
mov qword [rcx + 0x30], rdx
mov r11, qword [rsp + 0x2b8]
mov qword [rcx + 0x38], r11
lea rbp, [rsp + 0x68]
mov qword [rcx + 0x40], rbp
mov qword [rcx + 0x48], r8
mov qword [rcx + 0x50], r10
mov qword [rcx + 0x58], r12
mov qword [rcx + 0x60], r15
mov qword [rcx + 0x68], rdi
mov qword [rcx + 0x70], r14
mov qword [rcx + 0x78], rsi
mov qword [rcx + 0x80], r11
mov rdx, rax
call fcn.1401131d8
nop
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823jpeg_decoder_0.3.0_srcupsampler.rs
mov rcx, r15
mov rdx, qword [rsp + 0x60]
jmp 0x14010ef64
lea r8, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823jpeg_decoder_0.3.0_srcupsampler.rs
mov rcx, r15
call fcn.1403af8b0
ud2
mov eax, dword [0x14051f7b8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x58], 0
mov r10, r15
mov rcx, r12
mov rax, r14
mov rdx, qword [rsp + 0x58]
jne 0x14010efab
xor ecx, ecx
call fcn.1401344eb
mov rdx, qword [rsp + 0x58]
mov rax, r14
mov rcx, r12
mov r10, r15
lea r8, [rsp + 0x70]
lea rbx, [rsp + 0x1a0]
mov qword [rbx + 8], r8
lea r9, [rsp + 0x88]
mov qword [rbx + 0x10], r9
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x28], r13
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rdx
mov rbp, qword [rsp + 0x2b8]
mov qword [rbx + 0x40], rbp
lea rdx, [rsp + 0x68]
mov qword [rbx + 0x48], rdx
mov qword [rbx + 0x50], r8
mov qword [rbx + 0x58], r9
mov qword [rbx + 0x60], rcx
mov qword [rbx + 0x68], r10
mov qword [rbx + 0x70], rdi
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rbp
mov eax, dword [0x14051f7b8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x60]
mov qword [rbx], rax
mov qword [rbx + 0x90], 0
lea r8, [0x1401166eb]
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
call fcn.140136f29
mov rsi, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_AcquireSRWLockExclusive]
lea rdi, [rsp + 0xf8]
mov rcx, rdi
mov rdx, rsi
call fcn.1400a2110
cmp qword [rdi], 0
jne 0x14010f22a
lea rdi, [rsp + 0xf8]
mov r8, qword [rdi + 8]
mov dl, byte [rdi + 0x10]
add rsi, 0x10
cmp byte [r8 + 9], 0
jne 0x14010f0c7
test dl, dl
setne r9b
mov rcx, rdi
mov rdx, rsi
call fcn.14026b8a5
cmp qword [rsp + 0xf8], 0
jne 0x14010f193
mov r8, qword [rsp + 0x100]
mov dl, byte [rsp + 0x108]
jmp 0x14010f08f
mov byte [r8 + 9], 0
mov rcx, r8
call fcn.140241640
lea rsi, [rsp + 0xf8]
lea rdx, [rsp + 0x1a0]
mov r8d, 0xa8
mov rcx, rsi
call fcn.1403abad0
mov rax, qword [rsi + 0xa0]
lea rcx, [rsp + 0xe0]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsi + 0x90]
movaps xmmword [rcx], xmm0
call fcn.14011644d
jmp 0x14010ef34
lea r10, [rsp + 0x70]
lea r8, [rsp + 0xf8]
mov qword [r8], r10
lea r11, [rsp + 0x88]
mov qword [r8 + 8], r11
mov qword [r8 + 0x10], r12
mov qword [r8 + 0x18], rbp
mov qword [r8 + 0x20], r13
mov qword [r8 + 0x28], r14
mov qword [r8 + 0x30], rdx
mov rcx, qword [rsp + 0x2b8]
mov qword [r8 + 0x38], rcx
lea rbp, [rsp + 0x68]
mov qword [r8 + 0x40], rbp
mov qword [r8 + 0x48], r10
mov qword [r8 + 0x50], r11
mov qword [r8 + 0x58], r12
mov qword [r8 + 0x60], r15
mov qword [r8 + 0x68], rdi
mov qword [r8 + 0x70], r14
mov qword [r8 + 0x78], rsi
mov qword [r8 + 0x80], rcx
mov rcx, qword [rsp + 0x60]
mov rdx, rax
call fcn.1403b2a60
jmp 0x14010ef34
mov rax, qword [rsp + 0x100]
mov cl, byte [rsp + 0x108]
lea r8, [rsp + 0xe0]
mov qword [r8], rax
mov byte [r8 + 8], cl
lea rax, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823_rayon_core_1.12.0_srclatch.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1404ef56b]
lea r9, [0x140452010]
mov edx, 0x2b
call fcn.1403afcb0
ud2
xor eax, eax
lea r9, [rsp + 0xf8]
mov qword [r9], rax
lea rcx, [0x1404bd3f8]
mov qword [r9 + 0x10], rcx
mov qword [r9 + 0x18], 1
lea rcx, str.dest_is_out_of_bounds
mov qword [r9 + 0x20], rcx
mov qword [r9 + 0x28], rax
lea rax, [0x140449770]
mov qword [rsp + 0x20], rax
lea r8, [0x1404c64e0]
lea rdx, [rsp + 0x1a0]
mov cl, 1
call fcn.1403b02b0
ud2
mov rax, qword [rsp + 0x100]
mov cl, byte [rsp + 0x108]
lea r8, [rsp + 0xe0]
mov qword [r8], rax
mov byte [r8 + 8], cl
lea rax, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823_rayon_core_1.12.0_srclatch.rs
jmp 0x14010f1b8