Function at 0x1400a8610
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, r9
mov r15, r8
mov rbx, rdx
test rdx, rdx
jne 0x1400a866a
mov r8d, 0x246
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
xor eax, eax
jmp 0x1400a893f
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400a896b
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rsi, [0x140119b08]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140004bf0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400a86cb
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400a86b0
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140004e70
nop
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400a8960
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140004bf0
test al, al
jne 0x1400a871b
mov rax, rdi
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400a8700
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140004e70
nop
lea r8, [rsp + 0x48]
mov rdx, rbx
call fcn.1400a76f0
mov rbx, qword [rsp + 0x48]
xor ebp, ebp
test eax, eax
jne 0x1400a873b
mov r8d, 0x24e
jmp 0x1400a876c
mov dword [rsp + 0x38], ebp
mov ecx, dword [rsp + 0xb0]
sub ecx, 1
je 0x1400a87d1
cmp ecx, 1
jne 0x1400a8906
lea rdx, [rsp + 0x38]
call fcn.1400a9540
test eax, eax
jne 0x1400a8784
mov r8d, 0x260
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
jmp 0x1400a8906
mov r9d, dword [rsp + 0x38]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
cmp r9d, 6
ja 0x1400a87ad
mov r8d, 0x261
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
jmp 0x1400a8906
add r9d, 8
mov dword [rsp + 0x38], r9d
mov r8d, 0x263
lea rcx, str._s__d_nShareMemorySize__d
call fcn.140065460
lea r8, str.Global0A4B7F68_2A84_4664_B043_B85E763B53E3
jmp 0x1400a8832
lea rdx, [rsp + 0x38]
call fcn.1400a9370
test eax, eax
jne 0x1400a87e7
mov r8d, 0x256
jmp 0x1400a876c
mov r9d, dword [rsp + 0x38]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
cmp r9d, 6
ja 0x1400a8810
mov r8d, 0x257
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
jmp 0x1400a8906
add r9d, 8
mov dword [rsp + 0x38], r9d
mov r8d, 0x259
lea rcx, str._s__d_nShareMemorySize__d
call fcn.140065460
lea r8, str.Global20CF1F6D_B08C_428A_9B10_FC5437565133
mov r9, rbx
lea rdx, str._s__s
lea rcx, [rsp + 0x40]
call fcn.1400071a0
mov r8, qword [rsp + 0x40]
cmp dword [r8 - 8], 1
jle 0x1400a8865
mov edx, dword [r8 - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140004d10
mov r8, qword [rsp + 0x40]
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 0x1400a8893
mov r8d, 0x274
lea rdx, str.CRtkBssGen5SpkTrackEnroll::ReadShareMemroy
lea rcx, str._s__d_OpenFileMapping_fail
call fcn.140065460
jmp 0x1400a8906
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 0x1400a88db
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.140065460
jmp 0x1400a8906
cmp dword [r14], 0x20
jb 0x1400a88f2
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 0x1400a8920
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400a893d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebp
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d37a0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005560
nop
mov ecx, 0x80004005
call fcn.140005560
int3