Function at 0x1400be2f0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, r9
mov r15, r8
mov rbx, rdx
test rdx, rdx
jne 0x1400be33d
mov r8d, 0x246
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
xor eax, eax
jmp 0x1400be613
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x1400be63f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rsi, [0x14011c160]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.14000c4c0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400be3a1
mov rax, rdi
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400be386
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.14000c750
nop
call fcn.14000cd60
mov rcx, rax
test rax, rax
je 0x1400be634
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000c4c0
test al, al
jne 0x1400be3fb
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400be3e0
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14000c750
nop
lea r8, [rsp + 0x40]
mov rdx, rbx
call fcn.1400bd010
mov rbx, qword [rsp + 0x40]
xor ebp, ebp
test eax, eax
jne 0x1400be41e
mov r8d, 0x24e
jmp 0x1400be4b2
mov dword [rsp + 0x30], ebp
mov ecx, dword [rsp + 0xa0]
sub ecx, 1
je 0x1400be48b
cmp ecx, 1
jne 0x1400be5c7
lea rdx, [rsp + 0x30]
call fcn.1400bf210
test eax, eax
jne 0x1400be44d
mov r8d, 0x260
jmp 0x1400be4b2
mov r9d, dword [rsp + 0x30]
cmp r9d, 6
ja 0x1400be460
mov r8d, 0x261
jmp 0x1400be4b2
add r9d, 8
mov dword [rsp + 0x30], r9d
mov r8d, 0x263
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_nShareMemorySize__d
call fcn.140075db0
lea r8, str.Global0A4B7F68_2A84_4664_B043_B85E763B53E3
jmp 0x1400be4f3
lea rdx, [rsp + 0x30]
call fcn.1400bf030
test eax, eax
jne 0x1400be4a1
mov r8d, 0x256
jmp 0x1400be4b2
mov r9d, dword [rsp + 0x30]
cmp r9d, 6
ja 0x1400be4ca
mov r8d, 0x257
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140075db0
jmp 0x1400be5c7
add r9d, 8
mov dword [rsp + 0x30], r9d
mov r8d, 0x259
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_nShareMemorySize__d
call fcn.140075db0
lea r8, str.Global20CF1F6D_B08C_428A_9B10_FC5437565133
mov r9, rbx
lea rdx, str._s__s
lea rcx, [rsp + 0x38]
call fcn.14000ec90
mov r8, qword [rsp + 0x38]
cmp dword [r8 - 8], 1
jle 0x1400be526
mov edx, dword [r8 - 0x10]
lea rcx, [rsp + 0x38]
call fcn.14000c5e0
mov r8, qword [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_OpenFileMappingW]
mov rsi, rax
test rax, rax
jne 0x1400be554
mov r8d, 0x274
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_OpenFileMapping_fail
call fcn.140075db0
jmp 0x1400be5c7
mov qword [rsp + 0x20], 0x20
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
mov rcx, rax
test rax, rax
jne 0x1400be59c
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, 0x281
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_MapViewOfFile_fail
call fcn.140075db0
jmp 0x1400be5c7
cmp dword [r14], 0x20
jb 0x1400be5b3
mov rax, qword [r15]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov ebp, 1
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400be5eb
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400be611
lfence
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14005eeb3.0]
mov eax, ebp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f4410
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000ce90
nop
mov ecx, 0x80004005
call fcn.14000ce90
int3