Function at 0x14004cf80
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 [0x1400d0400]
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_be2bac8d48554910a414fe1480cd754b___void__struct_HookParam_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64_.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 0x14004cfd0
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x2e]
mov rdx, r10
lea rcx, [rsp + 0x48]
call fcn.1400147c0
nop
lea r8, [rsp + 0x48]
lea rdx, str.EMBED_SHARED_MEM
lea rcx, [rsp + 0x68]
call fcn.14004b2b0
cmp qword [rax + 0x18], 7
jbe 0x14004d037
mov rax, qword [rax]
mov r8, rax
xor edx, edx
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rdi + 0x50], rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004d08c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d087
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d213
call fcn.140074cc4
movdqa xmm0, xmmword [0x1400a7d20]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14004d0e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d0dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d219
call fcn.140074cc4
movdqa xmm0, xmmword [0x1400a7d20]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
lea r10, [rbp + 2]
nop dword [rax + 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 0x14004d100
lea r9, [rsp + 0x30]
lea r8, [rbp + 2]
mov rdx, r10
lea rcx, [rbp - 0x78]
call fcn.1400147c0
nop
lea r8, [rbp - 0x78]
lea rdx, str.LUNA_VNR_HOOKMAN_
lea rcx, [rbp - 0x58]
call fcn.14004b2b0
mov rbx, rax
cmp qword [rax + 0x10], 0
je 0x14004d16d
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x14004d16d
mov rsi, qword [rax]
mov r8, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0x58], rax
mov rcx, rbx
call fcn.14000b6f0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14004d1c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d1be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d20d
call fcn.140074cc4
mov qword [rsp + 0x20], 0xa00
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rdi + 0x50]
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.140074de0
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.14007b508
nop
call fcn.14007b508
nop
call fcn.14007b508
int3