Function at 0x1400406c0
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, 0x130
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140180f00]
xor rax, rsp
mov qword [rbp + 0xc0], rax
movabs rcx, 0x96226222cd57acaa
movabs rax, 0xcb78f1554bd520dd
mov qword [rbp], rax
xor r14d, r14d
mov rax, qword [rbp]
movabs rdi, 0xcb24f17b4b892081
mov qword [rbp + 0x40], rax
movabs r15, 0x42dbccc6c69569c6
movabs rax, 0x42a8ccbfc6fd6996
mov qword [rsp + 0x30], r14
mov qword [rbp], rax
movabs r12, 0x721088f5e820468b
mov rax, qword [rbp]
movabs rbx, 0x4386c4e88ee69d48
mov qword [rbp + 0x48], rax
xor r9d, r9d
movabs rax, 0x727c8894e84346e2
mov dword [rsp + 0x28], r14d
mov qword [rbp], rax
mov edx, 0x10000000
mov rax, qword [rbp]
mov r8d, 3
mov qword [rbp + 0x50], rax
movabs rax, 0x43f0c4818e949d0c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x9478d847f24c1010
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, 0x9478d847f27c1075
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
vxorps 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 0x1400409a5
movabs rax, 0xcb4bf1194ba620af
mov qword [rsp + 0x30], r14
mov qword [rbp + 8], rax
xor r9d, r9d
mov rcx, qword [rbp + 8]
movabs rax, 0x42b9cce8c6e169a9
mov qword [rbp + 0x10], rcx
xor r8d, r8d
mov qword [rbp + 8], rax
mov edx, 0x80000000
mov rcx, qword [rbp + 8]
movabs rax, 0x721088f5e84e46e2
mov qword [rbp + 0x18], rcx
lea rcx, [rbp + 0x10]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x20], rax
mov qword [rbp + 8], rbx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x80], rax
mov qword [rbp + 8], r15
mov rax, qword [rbp + 8]
mov qword [rbp + 0x88], rax
mov qword [rbp + 8], r12
mov rax, qword [rbp + 8]
mov qword [rbp + 0x90], rax
mov qword [rbp + 8], rbx
mov rax, qword [rbp + 8]
vmovdqu ymm0, ymmword [rbp + 0x10]
mov qword [rbp + 0x98], rax
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
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 0x1400409a5
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x200
jne 0x1400409a5
mov ecx, 0x200
call fcn.14011d198
lea r9, [rbp]
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 0x140040993
lea r9, [rbp]
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 + 0xc0]
xor rcx, rsp
call fcn.14011c9c0
lea r11, [rsp + 0x130]
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