Function at 0x14004de10
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 [0x1400d3400]
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_d6f0ff3602327076b925e42cdecef4e2___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 0x14004de60
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x2e]
mov rdx, r10
lea rcx, [rsp + 0x48]
call fcn.1400148c0
nop
lea r8, [rsp + 0x48]
lea rdx, str.EMBED_SHARED_MEM
lea rcx, [rsp + 0x68]
call fcn.14004bfa0
cmp qword [rax + 0x18], 7
jbe 0x14004dec7
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 0x14004df1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004df17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e0a3
call fcn.140076d98
movdqa xmm0, xmmword [0x1400a9d40]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14004df79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004df6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e0a9
call fcn.140076d98
movdqa xmm0, xmmword [0x1400a9d40]
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 0x14004df90
lea r9, [rsp + 0x30]
lea r8, [rbp + 2]
mov rdx, r10
lea rcx, [rbp - 0x78]
call fcn.1400148c0
nop
lea r8, [rbp - 0x78]
lea rdx, str.LUNA_VNR_HOOKMAN_
lea rcx, [rbp - 0x58]
call fcn.14004bfa0
mov rbx, rax
cmp qword [rax + 0x10], 0
je 0x14004dffd
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x14004dffd
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.14000d7d0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14004e053
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e04e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e09d
call fcn.140076d98
mov qword [rsp + 0x20], 0xdb8
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.140076eb0
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.14007d5c8
nop
call fcn.14007d5c8
nop
call fcn.14007d5c8
int3