Function at 0x1400a9460
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
sub rsp, 0x150
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1403dd5f0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
movabs rax, 0x85ea4ce466fc8bbf
movabs rcx, 0x8d7f6ee349332698
mov qword [rbp], rax
xor r14d, r14d
mov rax, qword [rbp]
movabs rdi, 0x85b64cca66a08be3
mov qword [rbp + 0x40], rax
movabs r15, 0x206c28f7db570274
movabs rax, 0x201f288edb3f0224
mov qword [rsp + 0x30], r14
mov qword [rbp], rax
lea r8d, [r14 + 3]
mov rax, qword [rbp]
movabs r12, 0x97bcbbe44ea95acd
mov qword [rbp + 0x48], rax
movabs rbx, 0xa3ee733960b687b6
movabs rax, 0x97d0bb854eca5aa4
mov dword [rsp + 0x28], r14d
mov qword [rbp], rax
xor r9d, r9d
mov rax, qword [rbp]
mov edx, 0x10000000
mov qword [rbp + 0x50], rax
movabs rax, 0xa398735060c487f2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0xd56cf2e65fb62232
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0xd56cf2e65f862257
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], rcx
lea rcx, [rbp + 0x40]
mov rax, qword [rbp]
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa xmm0, xmmword [rbp + 0x60]
mov qword [rbp + 0xa8], rax
vpxor xmm0, xmm0, xmmword [rbp + 0xa0]
vmovdqa xmmword [rbp + 0x60], xmm0
vmovdqa ymmword [rbp + 0x40], ymm1
mov dword [rsp + 0x20], 3
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400a9740
movabs rax, 0x85d94ca8668f8bcd
mov qword [rsp + 0x30], r14
mov qword [rbp], rax
xor r9d, r9d
mov rcx, qword [rbp]
movabs rax, 0x200e28d9db23021b
mov qword [rbp + 0x10], rcx
xor r8d, r8d
mov qword [rbp], rax
mov edx, 0x80000000
mov rcx, qword [rbp]
movabs rax, 0x97bcbbe44ec75aa4
mov qword [rbp + 0x18], rcx
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x20], rcx
lea rcx, [rbp + 0x10]
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
vmovdqu ymm0, ymmword [rbp + 0x10]
mov qword [rbp + 0xd8], rax
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
mov dword [rsp + 0x28], r14d
vmovdqu ymmword [rbp + 0x10], ymm1
mov dword [rsp + 0x20], 3
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a9740
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x200
jne 0x1400a9740
mov ecx, eax
call fcn.1402911d4
lea r9, [rbp + 8]
mov qword [rsp + 0x20], r14
mov r8d, 0x200
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400a972e
lea r9, [rbp + 8]
mov qword [rsp + 0x20], r14
mov r8d, 0x200
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140290870
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret