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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
cmp byte [rcx + 0xb8], 0
jne 0x140064c7b
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
mov r9d, 0x30
lea r8, [rsp + 0x48]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx + 0xc0]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
je 0x140064c44
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x140064e78
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x1c], eax
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x24], eax
mov eax, dword [rsp + 0x6c]
mov dword [rbx + 0x18], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x30], rax
mov rcx, qword [rsp + 0x48]
mov qword [rbx + 0x38], rcx
add rcx, qword [rsp + 0x60]
mov qword [rbx + 0x40], rcx
mov byte [rbx + 0xb8], 1
mov r8, qword [rbx + 0x30]
mov rdx, qword [rbx + 0xc0]
lea rcx, [rsp + 0x78]
call fcn.14004c5d0
nop
mov r8, qword [rsp + 0x88]
test r8, r8
jne 0x140064ce9
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x140064e01
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064cdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064ea0
call fcn.14006b0f0
xor al, al
jmp 0x140064e78
lea rdi, [rbx + 0x48]
lea rax, [rsp + 0x78]
cmp rdi, rax
je 0x140064d14
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.140012bb0
nop
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x140064d54
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064d4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064ea0
call fcn.14006b0f0
xor ebp, ebp
mov qword [rsp + 0x40], rbp
lea rcx, [rsp + 0x40]
call fcn.140044650
cmp qword [rdi + 0x18], 0x10
jb 0x140064d6f
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov rcx, qword [rsp + 0x40]
call fcn.140044710
cmp rdi, 0xffffffffffffffff
je 0x140064e01
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rsi, rax
test rax, rax
je 0x140064df8
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
jne 0x140064e05
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140064e78
xor r14b, r14b
cmp qword [rbx + 0x90], 0
jne 0x140064e28
mov rcx, rbx
call fcn.140064970
test al, al
je 0x140064e59
cmp qword [rbx + 0x90], 0
je 0x140064e59
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r8d, eax
mov rax, qword [rbx + 0xb0]
cmp rax, r8
cmovbe r8, rax
mov rdx, rbp
mov rcx, qword [rbx + 0x90]
call fcn.14009ee80
test eax, eax
sete r14b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r14b
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009c8a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400a3548
int3