Function at 0x14004ce80
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_89e39d566eddac960283bc4ac8a3bde3___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 0x14004ced0
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.14004b1b0
cmp qword [rax + 0x18], 7
jbe 0x14004cf37
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 0x14004cf8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cf87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d113
call fcn.140074cd4
movdqa xmm0, xmmword [0x1400a7d50]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14004cfe9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cfdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d119
call fcn.140074cd4
movdqa xmm0, xmmword [0x1400a7d50]
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 0x14004d000
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.14004b1b0
mov rbx, rax
cmp qword [rax + 0x10], 0
je 0x14004d06d
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x14004d06d
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 0x14004d0c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d0be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d10d
call fcn.140074cd4
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.140074df0
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.14007b518
nop
call fcn.14007b518
nop
call fcn.14007b518
int3