Function at 0x140008ac0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.140008c6c
xor r14b, r14b
mov qword [rsp + 0x68], rbp
movabs r15, 0x8000000000000000
nop dword [rax]
cmp dword [rdi + 0x10], 0
je 0x14004c8a4
mov edx, dword [rdi + 0x14]
xor ebx, ebx
cmp edx, dword [rdi + 0x10]
je 0x140008c16
mov rax, qword [rdi + 8]
movsxd rcx, edx
movzx ecx, byte [rcx + rax]
mov byte [rsp + rbx + 0x60], cl
inc rbx
inc edx
mov dword [rdi + 0x14], edx
cmp rbx, 1
jb 0x140008aff
add qword [rdi + 0x18], rbx
test rbx, rbx
je 0x140008c50
movzx ebp, byte [rsp + 0x60]
mov r14b, 1
cmp bpl, 0xd
je 0x140008b8c
cmp bpl, 0xa
je 0x140008baf
mov rcx, qword [rsi + 0x18]
mov edx, dword [rcx]
cmp edx, 1
jg 0x14004c8e1
xor al, al
test al, al
jne 0x14004c8e8
mov rax, qword [rsi + 8]
add rax, 2
cmp qword [rsi + 0x10], rax
jb 0x140008bc2
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
mov byte [rcx + rax], bpl
inc qword [rsi + 8]
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
mov byte [rcx + rax], 0
jmp 0x140008af0
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140008ca0
test rax, rax
je 0x140008baf
cmp byte [rsp + 0x60], 0xa
jne 0x14004c9d5
mov al, 1
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
cmp rax, 0x41c2
jae 0x14004c93e
lea rcx, [rax + rax]
test rcx, rcx
je 0x14004c9cb
add rcx, 0xf
and rcx, 0xfffffffffffffff0
mov qword [rsi + 0x10], rcx
call fcn.140024b88
mov rdx, qword [rsi]
mov rbx, rax
test rdx, rdx
je 0x140008c0e
mov r8, qword [rsi + 8]
mov rcx, rax
inc r8
call fcn.140025c60
mov rcx, qword [rsi]
call fcn.140024b44
mov qword [rsi], rbx
jmp 0x140008b6d
mov rdx, qword [rdi + 8]
lea r9, [rsp + 0x70]
mov rcx, qword [rdi]
mov r8d, 0x10000
mov qword [rsp + 0x20], 0
call qword [0x1400b53b0]
test eax, eax
je 0x140008b25
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140008b25
jmp 0x14004c8d0
test r14b, r14b
jne 0x140008baf
mov rbp, qword [rsp + 0x68]
xor al, al
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [rdi]
lea r8, [rsp + 0x78]
mov r9d, 1
mov qword [rdi + 0x10], 0
xor edx, edx
call qword [0x1400b53a0]
mov rax, qword [rsp + 0x78]
mov qword [rdi + 0x18], rax
jmp 0x140008afa
mov dword [rdi + 0x10], eax
xor edx, edx
mov dword [rdi + 0x14], 0
jmp 0x140008b08
mov al, 1
jmp 0x140008b57
lea eax, [rdx - 1]
mov dword [rcx], eax
mov ecx, 4
call fcn.140024b4c
mov dword [rax], 1
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x18], rax
add rcx, 2
jne 0x14004c912
mov ecx, 0x10
jmp 0x14004c91a
add rcx, 0xf
and rcx, 0xfffffffffffffff0
mov qword [rsi + 0x10], rcx
call fcn.140024b88
mov r8, qword [rsi + 8]
mov rcx, rax
mov rdx, qword [rsi]
inc r8
mov rbx, rax
call fcn.140025c60
nop
jmp 0x140008c0e
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jns 0x14004c953
addsd xmm0, qword [0x1400c71e0]
cmp rax, 0x2000000
jae 0x14004c98d
mulsd xmm0, qword [0x1400d9aa0]
jmp 0x14004c96d
mulsd xmm0, qword [0x1400d9a98]
xor eax, eax
comisd xmm0, xmmword [0x1400d9aa8]
jb 0x14004c9be
subsd xmm0, qword [0x1400d9aa8]
comisd xmm0, xmmword [0x1400d9aa8]
jb 0x14004c9bb
jmp 0x14004c9be
cmp rax, 0x8000000
jb 0x14004c965
mulsd xmm0, qword [0x1400d9a90]
xor eax, eax
comisd xmm0, xmmword [0x1400d9aa8]
jb 0x14004c9be
subsd xmm0, qword [0x1400d9aa8]
comisd xmm0, xmmword [0x1400d9aa8]
jae 0x14004c9be
add rax, r15
cvttsd2si rcx, xmm0
add rcx, rax
jmp 0x140008bd2
mov ecx, 0x10
jmp 0x140008be3
mov rdx, 0xffffffffffffffff
mov rcx, rdi
lea r8d, [rdx + 2]
call fcn.140007964
nop
jmp 0x140008baf