Function at 0x14000aae0
Capabilities:
Get file size

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400ada20]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x31], rcx
lea rax, vtable.LibRaw_bigfile_buffered_datastream.0
mov qword [rcx], rax
xor r15d, r15d
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x30], r15
mov qword [rcx + 0x38], 7
mov word [rcx + 0x20], r15w
lea r14, [rcx + 0x40]
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], r15b
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x14000ab60
mov rcx, r14
call fcn.140003ae0
nop
lea rcx, [rdi + 0x60]
lea rax, [fcn.140002e80]
mov qword [rsp + 0x20], rax
lea r9, [0x14000b2c0]
mov edx, 0x28
lea r8d, [rdx - 0x26]
call fcn.14007ca60
nop
mov dword [rdi + 0xb0], 1
mov byte [rbp - 0x21], 0
cmp qword [rdi + 0x50], 0
jbe 0x14000ad27
movdqa xmm0, xmmword [0x1400815f0]
movdqu xmmword [rbp - 0x11], xmm0
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x14000abc0
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.140003ae0
nop
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rdx, qword [rbp - 0x21]
mov rbx, qword [rbp - 0x11]
add rbx, rdx
lea rsi, [rbp - 0x21]
cmp qword [rbp - 9], 0x10
cmovae rsi, qword [rbp - 0x21]
movdqa xmm0, xmmword [0x1400815e0]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r15w
mov rdx, rbx
sub rdx, rsi
cmp rdx, 8
jb 0x14000ac2d
xor eax, eax
movzx r8d, al
lea rcx, [rbp - 1]
call fcn.14000a780
mov qword [rbp + 0xf], r15
movzx r9d, byte [rbp - 0x39]
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 1]
call fcn.14000a6e0
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rcx, qword [rbp - 1]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x14000ac99
lea rdx, [rbp - 0x31]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14000ac99
mov rax, qword [rbp - 0x31]
mov qword [rdi + 0x10], rax
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x14000acd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000acd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ad19
call fcn.14007c570
movdqa xmm0, xmmword [0x1400815e0]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r15w
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x14000ad51
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ad20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ad20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14007c570
jmp 0x14000ad51
movdqa xmm6, xmmword [0x1400815f0]
lea rax, [rbp - 0x21]
cmp r14, rax
je 0x14000ad4d
mov rcx, r14
call fcn.140002db0
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm6
mov qword [rdi + 8], rbx
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14007c510
mov rbx, qword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret