Function at 0x14004c9f0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400aa140]
xor rax, rsp
mov qword [rbp + 8], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_d233f56e6198fee725ce328cac8083bf___void__struct_HookParam__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov qword [rcx], rax
mov qword [rcx + 0x38], rcx
mov qword [rcx + 0x48], r8
lea r10, [rbp - 0x2e]
mov r8d, edx
nop
sub r10, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r10], r8w
mov r8d, edx
test edx, edx
jne 0x14004ca40
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x2e]
mov rdx, r10
lea rcx, [rsp + 0x68]
call fcn.1400140a0
nop
lea r8, [rsp + 0x68]
lea rdx, str.LUNA_VNR_SECTION_
lea rcx, [rsp + 0x48]
call fcn.14004aca0
cmp qword [rax + 0x18], 7
jbe 0x14004caa7
mov rax, qword [rax]
mov r8, rax
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rdi + 0x50], rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14004cafb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004caf6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdc7
call fcn.1400748b0
movdqa xmm0, xmmword [0x14008ae60]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004cb4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cb4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdcd
call fcn.1400748b0
movdqa xmm0, xmmword [0x14008ae60]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
lea r10, [rbp + 2]
mov r8d, ebx
nop dword [rax]
sub r10, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r10], r8w
mov r8d, edx
test edx, edx
jne 0x14004cb70
lea r9, [rsp + 0x30]
lea r8, [rbp + 2]
mov rdx, r10
lea rcx, [rbp - 0x78]
call fcn.1400140a0
nop
lea r8, [rbp - 0x78]
lea rdx, str.EMBED_SHARED_MEM
lea rcx, [rbp - 0x58]
call fcn.14004aca0
cmp qword [rax + 0x18], 7
jbe 0x14004cbd4
mov rax, qword [rax]
mov r8, rax
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rdi + 0x58], rax
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14004cc26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cc21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdd3
call fcn.1400748b0
movdqa xmm0, xmmword [0x14008ae60]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], si
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14004cc77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cc72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdd9
call fcn.1400748b0
movdqa xmm0, xmmword [0x14008ae60]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
mov qword [rsp + 0x20], 0x423920
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x60], rax
lea r10, [rbp + 2]
nop dword [rax]
sub r10, 2
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r10], bx
mov ebx, edx
test edx, edx
jne 0x14004ccb0
lea r9, [rsp + 0x30]
lea r8, [rbp + 2]
mov rdx, r10
lea rcx, [rsp + 0x48]
call fcn.1400140a0
nop
lea r8, [rsp + 0x48]
lea rdx, str.LUNA_VNR_HOOKMAN_
lea rcx, [rsp + 0x68]
call fcn.14004aca0
mov rbx, rax
cmp qword [rax + 0x10], 0
je 0x14004cd20
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x14004cd20
mov rsi, qword [rax]
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0x68], rax
mov rcx, rbx
call fcn.14000b270
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14004cd78
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cd73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cdc1
call fcn.1400748b0
mov qword [rsp + 0x20], 0xa00
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x40], rax
mov rax, rdi
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400749d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140078a60
nop
call fcn.140078a60
nop
call fcn.140078a60
nop
call fcn.140078a60
nop
call fcn.140078a60
int3