Function at 0x140076bc0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push r14
sub rsp, 0x250
xor esi, esi
lea r14, [rcx + 0x70]
mov rbx, rcx
mov dword [rax + 0x10], esi
mov rcx, qword [r14]
lea r9, [rax + 0x10]
lea rdx, [rax + 0x18]
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x280], 0x676b6a61
je 0x140076c12
mov eax, 0x8004020c
add rsp, 0x250
pop r14
pop rsi
pop rbx
ret
mov rcx, qword [r14]
lea r9, [rsp + 0x278]
mov r8d, 1
mov dword [rsp + 0x278], esi
lea rdx, [rsp + 0x270]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [rsp + 0x270], 3
jbe 0x140076c58
mov eax, 0x8004020b
add rsp, 0x250
pop r14
pop rsi
pop rbx
ret
xor r9d, r9d
mov qword [rsp + 0x288], rbp
mov qword [rsp + 0x248], rdi
xor r8d, r8d
lea rdi, [rbx + 0x2c8]
mov qword [rdi], rsi
mov qword [rdi + 8], r14
lea edx, [r9 + 5]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea rax, [rsp + 0x30]
mov qword [rdi + 0x18], pe_nt_image_headers64
mov qword [rdi + 0x10], rax
lea rdx, [rsp + 0x278]
mov dword [rdi + 0x20], esi
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
mov rcx, rdi
cmovne rsi, qword [rsp + 0x278]
sub rsi, 5
sar rsi, 2
cmp byte [rsp + 0x270], 0
mov dword [rdi + 0x24], esi
jbe 0x140076d84
mov edx, 2
call fcn.140076650
mov edx, eax
mov rcx, rdi
call fcn.140076650
mov edx, 2
mov rcx, rdi
mov r14d, eax
call fcn.140076650
mov edx, eax
mov rcx, rdi
call fcn.140076650
mov edx, 2
mov dword [rbx + 0x20], eax
mov rcx, rdi
call fcn.140076650
mov edx, eax
mov rcx, rdi
call fcn.140076650
mov edx, 2
mov rcx, rdi
mov esi, eax
call fcn.140076650
mov edx, eax
mov rcx, rdi
call fcn.140076650
mov edx, 2
mov rcx, rdi
call fcn.140076650
mov edx, eax
mov rcx, rdi
call fcn.140076650
mov edx, 2
mov rcx, rdi
call fcn.140076650
mov edx, eax
mov rcx, rdi
call fcn.140076650
mov ebp, eax
test eax, eax
je 0x140076da3
nop word [rax + rax]
mov edx, 7
mov rcx, rdi
call fcn.140076650
sub ebp, 1
jne 0x140076d70
jmp 0x140076da3
mov edx, 4
call fcn.140076650
xor edx, edx
mov rcx, rdi
mov r14d, eax
call fcn.140076650
mov dword [rbx + 0x20], eax
mov esi, 0x100
lea eax, [r14 - 1]
cmp eax, 9
ja case.0x140076dc3.8
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x76fa4]
add rcx, rdx
jmp rcx
mov r9d, 0xffffffff
lea rcx, [rbx + 0x58]
lea r8, [0x140130398]
lea edx, [r9 + 3]
call fcn.140025fb0
mov dword [rbx + 0x2ac], reloc.WSOCK32.dll_recv
jmp 0x140076e2a
lea r8, [0x140130360]
jmp 0x140076e0d
lea r8, str.Lossless_A_Law
jmp 0x140076e0d
lea r8, str.Lossy_u_Law
jmp 0x140076e0d
lea r8, str.Lossy_A_Law
mov r9d, 0xffffffff
lea rcx, [rbx + 0x58]
lea edx, [r9 + 3]
call fcn.140025fb0
mov dword [rbx + 0x2ac], 8
movabs rax, 0x7fffffffffffffff
movaps xmmword [rsp + 0x230], xmm6
movsd xmm6, qword [0x140148198]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x28], 0xac44
mov dword [rbx + 0x2c], esi
mov dword [rbx + 0x2a8], 0x1000
nop dword [rax]
mov edx, 2
mov rcx, rdi
call fcn.140076650
cmp dword [rbx + 0x2ec], 0
jne 0x140076e88
mov ecx, dword [rbx + 0x2e8]
cmp dword [rbx + 0x2e4], ecx
je 0x140076f74
cmp eax, 4
je 0x140076f74
cmp eax, 5
jne 0x140076edb
cmp byte [rsp + 0x270], 0
jne 0x140076eb8
movd xmm0, esi
cvtdq2pd xmm0, xmm0
call fcn.1400f6310
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
jmp 0x140076ec5
mov edx, 2
mov rcx, rdi
call fcn.140076650
mov edx, eax
mov rcx, rdi
call fcn.140076650
mov esi, eax
cmp eax, dword [rbx + 0x2c]
jbe 0x140076e60
mov dword [rbx + 0x2c], eax
jmp 0x140076e60
cmp eax, 6
jne 0x140076ef0
lea edx, [rax - 4]
mov rcx, rdi
call fcn.140076650
jmp 0x140076e60
cmp eax, 9
jne 0x140076f74
lea edx, [rax - 4]
mov rcx, rdi
call fcn.140076650
mov r14d, eax
cmp eax, 0xc
jb 0x140076f74
mov ecx, r14d
mov qword [rsp + 0x240], r15
call fcn.1400b609c
mov r15, rax
mov rsi, rax
mov ebp, r14d
test r14d, r14d
je 0x140076f48
nop word [rax + rax]
mov edx, 8
mov rcx, rdi
call fcn.140076650
mov byte [rsi], al
lea rsi, [rsi + 1]
sub ebp, 1
jne 0x140076f30
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.140076950
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.140076880
mov rcx, r15
call fcn.1400b60a4
mov r15, qword [rsp + 0x240]
movaps xmm6, xmmword [rsp + 0x230]
xor eax, eax
jmp 0x140076f85
mov eax, 0x80040208
mov rbp, qword [rsp + 0x288]
mov rdi, qword [rsp + 0x248]
add rsp, 0x250
pop r14
pop rsi
pop rbx
ret