Function at 0x14004de20
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_055c734a9d767cfa604db2b2a09a8d04___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 0x14004de70
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x2e]
mov rdx, r10
lea rcx, [rsp + 0x48]
call fcn.140014830
nop
lea r8, [rsp + 0x48]
lea rdx, str.EMBED_SHARED_MEM
lea rcx, [rsp + 0x68]
call fcn.14004c000
cmp qword [rax + 0x18], 7
jbe 0x14004ded7
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 0x14004df2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004df27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e0b3
call fcn.140076ae0
movdqa xmm0, xmmword [0x1400a9d50]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14004df89
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004df7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e0b9
call fcn.140076ae0
movdqa xmm0, xmmword [0x1400a9d50]
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 0x14004dfa0
lea r9, [rsp + 0x30]
lea r8, [rbp + 2]
mov rdx, r10
lea rcx, [rbp - 0x78]
call fcn.140014830
nop
lea r8, [rbp - 0x78]
lea rdx, str.LUNA_VNR_HOOKMAN_
lea rcx, [rbp - 0x58]
call fcn.14004c000
mov rbx, rax
cmp qword [rax + 0x10], 0
je 0x14004e00d
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x14004e00d
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.14000b700
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x14004e063
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e05e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e0ad
call fcn.140076ae0
mov qword [rsp + 0x20], 0x9f8
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.140076c00
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.14007d328
nop
call fcn.14007d328
nop
call fcn.14007d328
int3