Function at 0x14004cb20
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x298]
mov rbx, rcx
add rdx, qword [rcx + 0x290]
xor r9d, r9d
mov rcx, qword [rcx + 0x70]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
cmp byte [rbx + 0x2c0], 0
je 0x14004cb5d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140024a80
mov qword [rsp + 0x38], rsi
lea rcx, [rbx + 0x58]
mov edx, 2
mov qword [rsp + 0x40], rdi
call fcn.140025da0
xor edi, edi
mov qword [rsp + 0x30], rbp
mov edx, edi
lea r8, [0x14013f700]
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x14004cc03
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x14004cc03
add rdx, 2
cmp rdx, 0x10
jne 0x14004cb85
mov r8d, dword [rbx + 0x20]
lea rcx, [rbx + 0x2d0]
mov edx, 4
call fcn.14003d8e0
cmp qword [rbx + 0x2a0], rdi
jne 0x14004cbe7
mov eax, dword [rbx + 0x2c]
shr eax, 6
imul eax, dword [rbx + 0x20]
imul ecx, eax, 0x22
call fcn.1400b609c
mov qword [rbx + 0x2a0], rax
test rax, rax
je 0x14004cede
lea rcx, [rbx + 0x2b0]
cmp qword [rcx], rdi
jne 0x14004cdc5
mov r8d, dword [rbx + 0x2c]
mov edx, dword [rbx + 0x20]
jmp 0x14004cdb8
mov edx, 2
lea rcx, [rbx + 0x58]
call fcn.140025da0
lea r8, str.G.726_ADPCM
mov rdx, rdi
nop dword [rax + rax]
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x14004cc61
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x14004cc61
add rdx, 2
cmp rdx, 0xc
jne 0x14004cc20
mov edx, dword [rbx + 0x2ac]
lea rcx, [rbx + 0x2d0]
call fcn.14002eb00
mov rcx, rbx
call fcn.140024a80
jmp 0x14004ceea
mov edx, 2
lea rcx, [rbx + 0x58]
call fcn.140025da0
lea r8, str.G.722_ADPCM
mov rdx, rdi
nop dword [rax]
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x14004ccc0
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x14004ccc0
add rdx, 2
cmp rdx, 0xc
jne 0x14004cc80
lea rcx, [rbx + 0x2d0]
mov edx, 8
call fcn.14002dca0
mov rcx, rbx
call fcn.140024a80
jmp 0x14004ceea
mov edx, 2
lea rcx, [rbx + 0x58]
call fcn.140025da0
lea r8, str.G.728_LD_CELP
mov rdx, rdi
nop dword [rax + rax]
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x14004cd1d
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x14004cd1d
add rdx, 2
cmp rdx, 0xe
jne 0x14004cce0
lea rcx, [rbx + 0x2d0]
mov dl, 1
call fcn.14002fde0
mov rcx, rbx
call fcn.140024a80
jmp 0x14004ceea
mov edx, 2
lea rcx, [rbx + 0x58]
call fcn.140025da0
lea r8, [0x14013f770]
mov rdx, rdi
nop word [rax + rax]
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x14004cdd7
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x14004cdd7
add rdx, 2
cmp rdx, 0xa
jne 0x14004cd40
lea rcx, [rbx + 0x2d0]
mov dl, 1
call fcn.140037120
mov eax, 0xcccccccd
lea rcx, [rbx + 0x2a0]
mul dword [rbx + 0x2c]
mov edi, edx
shr edi, 7
cmp qword [rcx], 0
jne 0x14004cd9e
imul edx, edi, 0x21
call fcn.14004db20
test al, al
je 0x14004cede
lea rcx, [rbx + 0x2b0]
cmp qword [rcx], 0
jne 0x14004cdc5
lea r8d, [rdi + rdi*4]
mov edx, 1
shl r8d, 5
call fcn.1400265b0
test al, al
je 0x14004cede
mov rax, qword [rbx + 0x18]
mov qword [rbx + 0x2b8], rax
xor eax, eax
jmp 0x14004ceea
mov edx, 2
lea rcx, [rbx + 0x58]
call fcn.140025da0
mov rdx, rdi
lea r8, str.MACE3
nop
movzx ecx, word [rax + rdx*2]
lea rbp, str.MACE6
inc rdx
cmp cx, word [r8 + rdx*2 - 2]
jne 0x14004ce0e
cmp rdx, 6
jne 0x14004cdf0
jmp 0x14004ce3a
mov edx, 2
lea rcx, [rbx + 0x58]
call fcn.140025da0
mov r9, rdi
nop
movzx r8d, word [rax + r9*2]
inc r9
cmp r8w, word [rbp + r9*2 - 2]
jne 0x14004cee5
cmp r9, 6
jne 0x14004ce20
mov edx, 2
lea rcx, [rbx + 0x58]
call fcn.140025da0
mov rdx, rdi
nop dword [rax + rax]
movzx r8d, word [rax + rdx*2]
inc rdx
movzx ecx, word [rbp + rdx*2 - 2]
sub r8d, ecx
jne 0x14004ce68
cmp rdx, 6
jne 0x14004ce50
test r8d, r8d
jne 0x14004ce80
xorps xmm0, xmm0
movups xmmword [rbx + 0x2d0], xmm0
movups xmmword [rbx + 0x2e0], xmm0
jmp 0x14004ce89
xor eax, eax
mov qword [rbx + 0x2d0], rax
lea rcx, [rbx + 0x2a0]
cmp qword [rcx], rdi
jne 0x14004ceb9
test r8d, r8d
mov eax, 0xaaaaaaab
setne dil
mul dword [rbx + 0x2c]
inc edi
shr edx, 2
imul edx, edi
imul edx, dword [rbx + 0x20]
call fcn.14004db20
test al, al
je 0x14004cede
lea rcx, [rbx + 0x2b0]
cmp qword [rcx], 0
jne 0x14004cdc5
mov r8d, dword [rbx + 0x2c]
mov edx, dword [rbx + 0x20]
call fcn.1400265b0
test al, al
jne 0x14004cdc5
mov eax, 0x80040202
jmp 0x14004ceea
mov eax, 0x80040208
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret