Function at 0x14000f3dc
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov edi, r9d
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.14000f6ec
mov ebp, eax
test eax, eax
jne 0x14000f5a4
mov r12, qword [rsp + 0xb8]
mov r13d, dword [rsp + 0xb0]
lea eax, [rdi + r13]
lea r14, [rsi + 0x28]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, r14
mov rdx, rax
call fcn.140001284
mov rcx, qword [rsi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
ja 0x14000f480
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov ebp, 0x19
jmp 0x14000f5a4
mov qword [rsp + 0x20], 0
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x14000f595
mov r14, rax
mov ebp, edi
mov r12d, r13d
test r15, r15
je 0x14000f52b
test r13d, r13d
je 0x14000f52b
lea r13, [r14 + rbp]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.1400beaa0
xor eax, eax
pxor xmm0, xmm0
pcmpeqd xmm1, xmm1
movdqu xmm2, xmmword [r13 + rax*8]
movdqa xmm4, xmm2
pcmpeqd xmm4, xmm0
pshufd xmm3, xmm4, 0xb1
pand xmm3, xmm4
movd ecx, xmm3
not ecx
test cl, 1
je 0x14000f501
movq rcx, xmm2
sub rcx, r15
mov qword [r13 + rax*8], rcx
pxor xmm3, xmm1
pextrw ecx, xmm3, 4
test cl, 1
je 0x14000f521
pshufd xmm2, xmm2, 0xee
movq rcx, xmm2
sub rcx, r15
mov qword [r13 + rax*8 + 8], rcx
add rax, 2
cmp rax, 0x40
jne 0x14000f4d1
mov qword [0x1400ef0c8], rbp
lea r8, [0x1400ef0c8]
mov r9d, 8
mov rcx, rsi
call fcn.14000f352
mov qword [0x1400ef0c8], 0
test eax, eax
jne 0x14000f581
mov qword [0x1400ef0d0], r12
lea r8, [0x1400ef0d0]
mov r9d, 8
mov rcx, rsi
call fcn.14000f352
mov qword [0x1400ef0d0], 0
test eax, eax
je 0x14000f5c4
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], eax
jmp 0x14000f5a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov ebp, 0x1b
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140093e10
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, dword [rsi + 0x10]
mov r12, qword [rsi]
mov ecx, 0x38
call fcn.140093af0
mov r15, rax
mov r9, qword [rsi + 0x40]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, r12
mov r8d, ebp
call fcn.140027864
lea rax, [rsp + 0x38]
mov qword [rax], r15
lea rbx, [rsi + 0x38]
cmp rbx, rax
je 0x14000f613
mov qword [rsp + 0x38], 0
mov rcx, rbx
mov rdx, r15
call fcn.14000ef08
lea rcx, [rsp + 0x38]
call fcn.14000ef34
mov rcx, qword [rbx]
mov rdx, r14
mov r8d, edi
mov r9d, 0x400
call fcn.140027984
mov ebp, 4
test al, al
je 0x14000f5a4
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
mov rbx, qword [rsi]
mov r14, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 7
mov rcx, rax
mov rdx, r14
mov r8, rbx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14000f6d1
mov rax, qword [rsp + 0x38]
mov qword [0x1400eeeb0], rax
lea r8, [0x1400eeeb0]
mov r9d, 8
mov rcx, rsi
call fcn.14000f352
mov qword [0x1400eeeb0], 0
test eax, eax
jne 0x14000f581
mov rcx, rsi
call fcn.14000dac0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
jmp 0x14000f5a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], eax
mov ebp, 0x1a
jmp 0x14000f5a4