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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x100d0
call fcn.14007cae0
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1400ada20]
xor rax, rsp
mov qword [rsp + 0x100c0], rax
mov r13d, r9d
mov dword [rsp + 0x34], r9d
mov rdi, r8
mov qword [rsp + 0x40], r8
mov r15, rdx
mov r11, rcx
mov qword [rsp + 0x48], rcx
movzx r8d, byte [rdx + 0xd]
movzx eax, byte [rdx + 0xc]
imul r8d, eax
mov dword [rsp + 0x38], r8d
test r8d, r8d
je 0x1400244c5
mov r14, qword [rdx + 0x10]
test r14, r14
jne 0x140023db6
movzx eax, byte [rdx + 8]
imul rdx, rax, 0x58
add rdx, 0x38
movzx eax, byte [r15]
imul rdx, rax
add rdx, 0x38
mov eax, r8d
imul rdx, rax
mov ecx, dword [r15 + 0x60]
add rcx, rdx
lea edx, [r14 + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r14, rax
mov rdx, rax
lea rcx, [r15 + 0x58]
call sym.EURawImg.exe_private:_void___cdecl_libraw_memmgr::mem_ptr_void____ptr64____ptr64
mov qword [r15 + 0x10], r14
test r14, r14
je 0x1400244c5
mov r8d, dword [rsp + 0x38]
imul r12, r8, 0x38
add r12, r14
movzx ecx, byte [r15]
imul ecx, r8d
imul rax, rcx, 0x38
add rax, r12
xor esi, esi
mov r10d, esi
mov r11, qword [rsp + 0x48]
test r8d, r8d
je 0x140023db8
add r14, 8
mov rdi, rax
mov r13d, dword [rsp + 0x38]
mov byte [r14], sil
mov byte [r14 + 1], r10b
mov dword [r14 + 0x10], esi
movzx eax, byte [r15]
imul eax, r10d
cdqe
imul rcx, rax, 0x38
lea r8, [rcx + r12]
mov qword [r14 - 8], r8
movzx r9d, byte [r15 + 0xc]
lea ebx, [r10 + 1]
movzx ecx, word [r11 + 0xc]
mov eax, ebx
cdq
idiv r9d
test edx, edx
je 0x140023c77
mov word [r14 + 0x14], cx
xor r9b, r9b
cmp byte [r15 + 0xc], 1
jbe 0x140023ca2
mov byte [r14], 1
mov r9b, 1
movzx ecx, byte [r15 + 0xc]
mov eax, r10d
cdq
idiv ecx
test edx, edx
je 0x140023ca2
mov byte [r14], 3
mov r9b, 3
jmp 0x140023ca2
lea eax, [r9 - 1]
movzx ecx, cx
movzx edx, ax
imul edx, ecx
movzx eax, word [r15 + 2]
sub ax, dx
mov word [r14 + 0x14], ax
xor r9b, r9b
cmp byte [r15 + 0xc], 1
jbe 0x140023ca2
mov byte [r14], 2
mov r9b, 2
movzx eax, byte [r15 + 0xc]
mov ecx, r13d
sub ecx, eax
cmp r10d, ecx
jge 0x140023cd5
movzx eax, word [r11 + 0x10]
mov word [r14 + 0x16], ax
cmp byte [r15 + 0xd], 1
jbe 0x140023d03
or r9b, 4
mov byte [r14], r9b
movzx eax, byte [r15 + 0xc]
cmp r10d, eax
jl 0x140023d03
jmp 0x140023cfc
movzx eax, byte [r15 + 0xd]
dec ax
movzx ecx, word [r11 + 0x10]
movzx edx, ax
imul edx, ecx
movzx eax, word [r15 + 4]
sub ax, dx
mov word [r14 + 0x16], ax
cmp byte [r15 + 0xd], 1
jbe 0x140023d03
or r9b, 8
mov byte [r14], r9b
movzx eax, byte [r15]
test al, al
je 0x140023d91
movzx ecx, al
movzx eax, byte [r15 + 8]
imul eax, ecx
imul eax, r10d
cdqe
imul rax, rax, 0x58
add rax, rdi
mov r9d, esi
test ecx, ecx
je 0x140023d91
nop
mov byte [r8 + 0x18], r9b
mov byte [r8 + 0x2c], 1
movzx ecx, byte [r14]
mov byte [r8 + 0x34], cl
mov qword [r8 + 8], rax
mov qword [r8], rsi
mov qword [r8 + 0x10], rsi
movzx ecx, byte [r15 + 8]
test cl, cl
je 0x140023d81
mov edx, esi
nop word [rax + rax]
mov byte [rax + 0x2c], sil
mov dword [rax + 0x1c], 4
mov qword [rax], rsi
mov qword [rax + 0x38], rsi
inc edx
add rax, 0x58
movzx ecx, byte [r15 + 8]
cmp edx, ecx
jl 0x140023d60
inc r9d
add r8, 0x38
movzx ecx, byte [r15]
cmp r9d, ecx
jl 0x140023d30
mov r10d, ebx
add r14, 0x38
cmp ebx, r13d
jl 0x140023c10
mov r14, qword [r15 + 0x10]
mov rdi, qword [rsp + 0x40]
mov r13d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
jmp 0x140023db8
xor esi, esi
mov r10d, esi
mov r9d, esi
mov dword [rsp + 0x3c], esi
test r8d, r8d
je 0x1400240ab
jmp 0x140023dd5
mov r11, qword [rsp + 0x48]
cmp r13d, 4
jl 0x1400244c5
movzx ecx, byte [rdi]
shl ecx, 8
movzx eax, byte [rdi + 1]
or ecx, eax
movzx edx, byte [rdi + 3]
movzx eax, byte [rdi + 2]
shl eax, 8
or edx, eax
cmp ecx, 0xff01
jne 0x140023e05
cmp edx, 8
jmp 0x140023e19
cmp ecx, 0xff11
jne 0x1400244c5
lea eax, [rdx - 8]
test eax, 0xfffffff7
jne 0x1400244c5
lea r8d, [rdx + 4]
cmp r13d, r8d
jl 0x1400244c5
movzx ecx, byte [rdi + 0xa]
shl ecx, 8
movzx eax, byte [rdi + 0xb]
or ecx, eax
cmp edx, 8
jne 0x140023e42
test ecx, ecx
jmp 0x140023e4d
cmp edx, 0x10
jne 0x140023e53
cmp ecx, 0x4000
jne 0x1400244c5
movzx ecx, byte [rdi + 8]
shl ecx, 8
movzx eax, byte [rdi + 9]
or ecx, eax
cmp ecx, r9d
jne 0x1400244c5
mov eax, 0xfffffffc
sub eax, edx
add r13d, eax
movzx ecx, byte [rdi + 5]
movzx eax, byte [rdi + 4]
shl eax, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 6]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 7]
or ecx, eax
mov dword [r14 + 0x18], ecx
mov eax, r10d
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x28], rsi
cmp edx, 0x10
jne 0x140023ef2
movzx ecx, byte [rdi + 0x12]
shl ecx, 8
movzx eax, byte [rdi + 0x13]
or ecx, eax
jne 0x1400244c5
mov byte [r14 + 0x20], 1
movzx ecx, byte [rdi + 0xd]
movzx eax, byte [rdi + 0xc]
shl eax, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xe]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xf]
or ecx, eax
mov dword [r14 + 0x30], ecx
movzx ecx, byte [rdi + 0x10]
shl cx, 8
movzx eax, byte [rdi + 0x11]
or cx, ax
jmp 0x140023efd
mov byte [r14 + 0x20], 0
mov dword [r14 + 0x30], esi
mov ecx, esi
mov word [r14 + 0x34], cx
mov eax, r8d
add rdi, rax
add r10d, dword [r14 + 0x18]
mov dword [rsp + 0x54], r10d
mov r9d, esi
mov rbx, qword [r14]
mov r12d, esi
cmp byte [r15], 0
jbe 0x14002408c
cmp r13d, 0xc
jl 0x1400244c5
movzx edx, byte [rdi + 3]
movzx eax, byte [rdi + 2]
shl eax, 8
or edx, eax
movzx ecx, byte [rdi]
shl ecx, 8
movzx eax, byte [rdi + 1]
or ecx, eax
sub ecx, 0xff02
test ecx, 0xffffffef
jne 0x1400244c5
cmp edx, 8
jne 0x1400244c5
movzx eax, byte [rdi + 8]
shr eax, 4
cmp r12d, eax
jne 0x1400244c5
movzx ecx, byte [rdi + 9]
shl ecx, 8
movzx eax, byte [rdi + 0xa]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 0xb]
or ecx, eax
jne 0x1400244c5
movzx ecx, byte [rdi + 5]
movzx eax, byte [rdi + 4]
shl eax, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 6]
or ecx, eax
shl ecx, 8
movzx eax, byte [rdi + 7]
or ecx, eax
mov dword [rbx + 0x28], ecx
movzx edx, byte [rdi + 8]
mov r8d, edx
shr r8d, 1
shr dl, 3
and dl, 1
mov byte [rbx + 0x2c], dl
mov eax, r9d
mov qword [rbx + 0x20], rax
movzx eax, byte [r14 + 8]
mov byte [rbx + 0x34], al
add r9d, ecx
mov dword [rsp + 0x34], r9d
sub r13d, 0xc
mov dword [rsp + 0x30], r13d
add rdi, 0xc
mov qword [rsp + 0x40], rdi
mov dword [rbx + 0x30], esi
and r8d, 3
je 0x140024016
cmp byte [r15 + 9], 0
jne 0x1400244c5
test dl, dl
je 0x1400244c5
lea ecx, [r8 - 1]
mov eax, 1
shl eax, cl
mov dword [rbx + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
mov rdx, r15
mov rcx, r11
call fcn.140024b20
test eax, eax
jne 0x1400244c5
mov r9, rbx
mov r8, r14
mov rdx, r15
mov rcx, qword [rsp + 0x48]
call fcn.140023750
test eax, eax
jne 0x1400244c5
inc r12d
add rbx, 0x38
movzx eax, byte [r15]
mov r13d, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
cmp r12d, eax
jge 0x140024087
mov r9d, dword [rsp + 0x34]
mov r11, qword [rsp + 0x48]
jmp 0x140023f24
mov r10d, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x3c]
inc r9d
mov dword [rsp + 0x3c], r9d
add r14, 0x38
mov r8d, dword [rsp + 0x38]
cmp r9d, r8d
jl 0x140023dd0
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0x200
jne 0x1400244f8
mov r12, qword [r15 + 0x10]
mov eax, esi
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x58], r12
cmp eax, r8d
jge 0x1400244f8
cmp byte [r12 + 0x20], 0
je 0x1400244ed
mov qword [rsp + 0x100a8], 0
mov qword [rsp + 0x100a0], 0
mov edx, dword [r12 + 0x30]
mov qword [rsp + 0x10090], rdx
mov r8, qword [r15 + 0x18]
add r8, qword [r12 + 0x10]
mov qword [rsp + 0x10098], r8
mov rcx, qword [r15 + 0x50]
mov qword [rsp + 0x100b0], rcx
test edx, edx
je 0x1400241b8
mov dword [rsp + 0x100a0], esi
mov qword [rsp + 0x10098], r8
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x100b0]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x10098]
call qword [rax + 0x18]
mov r9d, 0x10000
cmp qword [rsp + 0x10090], r9
cmovb r9, qword [rsp + 0x10090]
mov rcx, qword [rsp + 0x100b0]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x90]
call qword [rax + 0x10]
mov dword [rsp + 0x100a4], eax
mov rcx, qword [rsp + 0x100b0]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov eax, dword [rsp + 0x100a4]
cmp eax, 1
jb 0x1400244fc
sub qword [rsp + 0x10090], rax
movzx ecx, word [r12 + 0x1c]
test cl, 7
mov eax, esi
setne al
shr ecx, 3
lea r14d, [rax + rcx]
mov dword [rsp + 0x54], r14d
movzx eax, word [r12 + 0x1e]
mov edi, eax
shr edi, 1
and eax, 1
add edi, eax
mov dword [rsp + 0x48], edi
mov r12d, edi
imul r12d, r14d
mov dword [rsp + 0x40], r12d
lea edx, [r14 + 2]
lea edx, [r12 + rdx*2]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.140010f30
nop
mov rbx, qword [rsp + 0x68]
lea rdx, [rbx + r12*4]
mov qword [rsp + 0x80], rdx
mov r13d, esi
mov dword [rsp + 0x30], esi
mov r10d, esi
mov dword [rsp + 0x3c], r10d
cmp r10d, edi
jae 0x14002440a
mov ecx, r10d
and ecx, 1
mov eax, r14d
je 0x140024247
lea r8, [rax + 2]
lea r8, [rdx + r8*4]
jmp 0x14002424a
mov r8, rdx
test ecx, ecx
je 0x140024253
mov r12, rdx
jmp 0x14002425b
lea r12, [rax + 2]
lea r12, [rdx + r12*4]
test r10d, r10d
je 0x140024287
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, r12
mov edx, r14d
lea rcx, [rsp + 0x90]
call fcn.1400172c0
mov r13d, dword [rsp + 0x30]
jmp 0x14002431e
mov rdi, r12
mov dword [r12], esi
mov r8d, esi
mov eax, r14d
dec r14d
lea rdi, [rdi + 4]
test eax, eax
jle 0x14002430f
mov dword [rdi], r8d
mov edx, r13d
lea rcx, [rsp + 0x90]
call fcn.140024520
mov r9d, eax
mov r8d, eax
shr r8d, 1
mov ecx, eax
and ecx, 1
neg ecx
xor r8d, ecx
add r8d, dword [rdi]
mov dword [rdi], r8d
mov ecx, r13d
mov edx, eax
sar edx, cl
mov eax, 1
shl eax, cl
sar eax, 1
mov ecx, esi
cmp r9d, eax
setl cl
mov eax, esi
cmp edx, 5
setg al
sub eax, ecx
mov ecx, esi
cmp edx, 2
setg cl
add r13d, eax
add r13d, ecx
cmp r13d, 7
mov eax, 7
cmovge r13d, eax
mov dword [rsp + 0x30], r13d
jmp 0x140024291
lea eax, [r8 + 1]
mov dword [rdi], eax
mov r14d, dword [rsp + 0x54]
mov edi, dword [rsp + 0x48]
mov r8d, esi
test r14d, r14d
je 0x1400243f5
cmp r14d, 0x10
jb 0x1400243c6
lea eax, [r14 - 1]
lea rdx, [rbx + rax*4]
lea r9, [r12 + 4]
mov eax, r14d
lea rcx, [r12 + rax*4]
cmp rbx, rcx
ja 0x140024352
cmp rdx, r9
jae 0x1400243c6
mov r9d, r14d
and r9d, 0xfffffff0
movdqa xmm1, xmmword [0x140091b50]
mov edx, 5
nop word [rax + rax]
lea eax, [rdx - 4]
movdqu xmm0, xmmword [r12 + rax*4]
paddd xmm0, xmm1
movdqu xmmword [rbx], xmm0
mov eax, edx
movdqu xmm0, xmmword [r12 + rax*4]
paddd xmm0, xmm1
movdqu xmmword [rbx + 0x10], xmm0
lea eax, [rdx + 4]
movdqu xmm0, xmmword [r12 + rax*4]
paddd xmm0, xmm1
movdqu xmmword [rbx + 0x20], xmm0
lea eax, [rdx + 8]
movdqu xmm0, xmmword [r12 + rax*4]
paddd xmm0, xmm1
movdqu xmmword [rbx + 0x30], xmm0
add rbx, 0x40
add r8d, 0x10
add edx, 0x10
cmp r8d, r9d
jb 0x140024370
cmp r8d, r14d
jae 0x1400243f5
lea eax, [r8 + 1]
lea rdx, [r12 + rax*4]
mov ecx, r14d
sub ecx, r8d
nop dword [rax]
mov eax, dword [rdx]
add eax, 4
mov dword [rbx], eax
add rbx, 4
lea rdx, [rdx + 4]
sub rcx, 1
jne 0x1400243e0
mov r10d, dword [rsp + 0x3c]
inc r10d
mov rdx, qword [rsp + 0x80]
jmp 0x140024224
mov r9d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
mov rdx, r12
mov rcx, r15
call fcn.1400230e0
nop
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x140024474
test rcx, rcx
je 0x14002446d
mov rax, qword [rsp + 0x78]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024468
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400244ae
call fcn.14007c570
mov eax, 0xffffffff
jmp 0x1400244ca
test rcx, rcx
je 0x1400244ba
mov rax, qword [rsp + 0x78]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400244b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400244b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c570
mov eax, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
jmp 0x1400244ed
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x100c0]
xor rcx, rsp
call fcn.14007c510
add rsp, 0x100d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
inc eax
add r12, 0x38
jmp 0x1400240c2
xor eax, eax
jmp 0x1400244ca
mov dword [rsp + 0x60], 4
lea rdx, [0x1400a4c08]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3