Function at 0x14018c010
Capabilities:
Read file via mapping

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dl, 1
mov rcx, qword [rsp + 0x80]
call fcn.14018c9b0
mov rax, qword [rsp + 0x80]
add rax, 0xf8
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call fcn.14015fbb0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x1c], 0
mov rcx, qword [rsp + 0x88]
call fcn.1400dc800
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
mov edx, 0x120089
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x80]
mov rdx, rax
call fcn.14018aea0
nop
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.140175110
movzx eax, al
test eax, eax
je 0x14018c29e
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.140175100
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1000002
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, qword [rsp + 0x80]
add rcx, 8
mov rdx, rax
call fcn.14018aea0
nop
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call fcn.140175110
movzx eax, al
test eax, eax
je 0x14018c1a2
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x18], 0
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call fcn.140175100
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14018a540
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14018aed0
lea rcx, [rsp + 0x50]
call fcn.14018ac80
nop
jmp 0x14018c27a
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x18], 1
mov rax, qword [rsp + 0x80]
mov rcx, rax
call fcn.140175100
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, qword [rsp + 0x80]
add rcx, 8
mov rdx, rax
call fcn.14018aea0
nop
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call fcn.140175110
movzx eax, al
test eax, eax
je 0x14018c27a
mov rax, qword [rsp + 0x80]
add rax, 8
mov rcx, rax
call fcn.140175100
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14018a540
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.14018aed0
lea rcx, [rsp + 0x60]
call fcn.14018ac80
nop
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rcx, rax
call fcn.14018aff0
movzx eax, al
test eax, eax
jne 0x14018c29c
call fcn.140165740
jmp 0x14018c309
jmp 0x14018c2a5
call fcn.140165740
jmp 0x14018c309
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.14018c390
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x14018c2c5
mov eax, dword [rsp + 0x40]
jmp 0x14018c309
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x14018c2db
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
jmp 0x14018c305
mov rax, qword [rsp + 0x80]
add rax, 0xf8
mov rcx, rax
call fcn.1400dc800
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.14018c6c0
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
add rsp, 0x78
ret