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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r8
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov r14, rdx
mov r12, rcx
mov ebx, 0x80004005
mov dword [rax - 0x54], ebx
xor edi, edi
mov qword [rax + 8], rdi
xor r15d, r15d
and qword [rax + 0x18], rdi
xor esi, esi
test rcx, rcx
je 0x14002d1fc
cmp rdx, 0xffffffffffffffff
je 0x14002d1fc
lea rdx, [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
test eax, eax
jne 0x14002d069
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov r14d, 0x80070000
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14002d056
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14002d216
mov r8d, 0xe2
jmp 0x14002d207
cmp dword [rsp + 0xa4], esi
je 0x14002d082
mov ebx, 0x8007000d
mov r8d, 0xea
jmp 0x14002d207
and qword [rsp + 0x28], rsi
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
nop dword [rax + rax]
mov r15, rax
mov qword [rsp + 0xa8], rax
test rax, rax
jne 0x14002d105
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov r14d, 0x80070000
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14002d0f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14002d216
mov r8d, 0xf6
jmp 0x14002d207
and qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14002d17b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov r14d, 0x80070000
or ecx, r14d
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14002d168
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14002d216
mov r8d, 0x101
jmp 0x14002d207
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0xa0]
mov rdx, rsi
mov rcx, r12
call fcn.14002ce54
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x14002d1ba
mov r9d, eax
mov r8d, 0x10a
lea rcx, str.ReadMetaDataFile
call fcn.1400064e0
mov rdi, qword [rsp + 0x90]
jmp 0x14002d216
mov ebx, 0x80070057
mov r8d, 0xda
mov r9d, ebx
lea rcx, str.ReadMetaDataFile
call fcn.1400064e0
test rsi, rsi
je 0x14002d22a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop dword [rax + rax]
test r15, r15
je 0x14002d23e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
jns 0x14002d29e
test rdi, rdi
je 0x14002d251
mov rcx, rdi
call fcn.14001c47c
xor edi, edi
mov ecx, ebx
bt ebx, 0x1c
jae 0x14002d27e
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
cmp eax, 0x13d
je 0x14002d290
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ebx, eax
jmp 0x14002d290
and ecx, 0x1fff0000
movzx eax, bx
cmp ecx, 0x70000
cmove ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret