Function at 0x1400a91a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xor edx, edx
mov rcx, qword [rcx + 0x358]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor edx, edx
mov r8d, 0x8000004
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400a9433
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r13, rax
mov qword [rsp + 0xb8], rax
mov eax, dword [rbx + 0x350]
imul rcx, rax, 0x5c
call fcn.140113934
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x30], esi
mov r14d, esi
mov dword [rsp + 0x38], esi
mov edi, esi
mov dword [rsp + 0x3c], esi
mov r15d, esi
mov dword [rsp + 0x44], esi
mov edx, 0x1d0
mov dword [rsp + 0x34], edx
lea rax, [r13 + 0x1d0]
mov qword [rsp + 0x50], rax
mov r12d, esi
mov dword [rsp + 0x48], esi
nop dword [rax]
cmp r12d, dword [rbx + 0x338]
jae 0x1400a93ae
mov eax, r12d
imul r13, rax, 0x5c
mov rax, qword [rbx + 0x360]
lea rcx, [rax + r13]
mov qword [rsp + 0xc8], rcx
cmp dword [rax + r13 + 0x44], 0
jne 0x1400a93a1
mov qword [rsp + 0x58], rsi
mov rcx, rbx
call fcn.1400abbc0
neg eax
sbb r14, r14
and r14d, 0xc
mov eax, dword [rsp + 0x30]
imul rsi, rax, 0x5c
add rsi, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc8]
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rsi + 0x40], xmm0
movsd xmm1, qword [rax + 0x50]
movsd qword [rsi + 0x50], xmm1
mov eax, dword [rax + 0x58]
mov dword [rsi + 0x58], eax
mov rax, qword [rbx + 0x360]
mov edx, dword [rax + r13 + 0x4c]
sub rdx, r14
add rdx, qword [rsp + 0xb8]
mov edi, dword [rax + r13 + 0x50]
add rdi, r14
mov qword [rsp + 0x58], rdi
mov r8, rdi
mov rcx, qword [rsp + 0x50]
call fcn.1401415b0
sub r14, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x50]
add r14, rdx
mov dword [rsi + 0x4c], r14d
add rdx, rdi
mov qword [rsp + 0x50], rdx
add dword [rsp + 0x34], edi
mov r14d, dword [rsp + 0x38]
inc r14d
mov dword [rsp + 0x38], r14d
inc dword [rsp + 0x30]
mov edi, dword [rsp + 0x3c]
test edi, edi
je 0x1400a9381
mov rax, qword [rbx + 0x360]
mov ecx, dword [rax + r13 + 0xc]
cmp ecx, edi
jae 0x1400a9393
mov rax, qword [rbx + 0x360]
mov ecx, dword [rax + r13 + 0xc]
mov edi, ecx
mov dword [rsp + 0x3c], ecx
cmp ecx, r15d
cmova r15d, ecx
mov dword [rsp + 0x44], r15d
xor esi, esi
inc r12d
mov dword [rsp + 0x48], r12d
jmp 0x1400a9270
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x34]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rbx + 0x358]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, qword [rbx + 0x360]
test rcx, rcx
je 0x1400a9401
mov edx, 0x5c
call fcn.1401139ac
mov rax, qword [rsp + 0xc0]
mov qword [rbx + 0x360], rax
mov dword [rbx + 0x338], r14d
mov eax, edi
mov qword [rbx + 0x340], rax
mov eax, r15d
mov qword [rbx + 0x348], rax
mov esi, 1
mov dword [rsp + 0x40], esi
mov eax, esi
jmp 0x1400a943b
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret