Function at 0x140281694
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r14, r9
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x78], r8
call fcn.140281b46
test eax, eax
je 0x14028170a
mov dword [rsi], eax
pxor xmm0, xmm0
movdqu xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140171860
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, qword [rsp + 0x110]
mov r13d, dword [rsp + 0x108]
mov ebx, dword [rsp + 0x100]
lea eax, [rbx + r13]
lea r15, [rdi + 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, r15
mov rdx, rax
call fcn.140041220
mov rcx, qword [rdi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
ja 0x14028177b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov dword [rsi], 0x19
jmp 0x1402816d2
mov qword [rsp + 0x20], 0
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
jne 0x1402817ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov dword [rsi], 0x1b
jmp 0x1402816d2
mov r15, rax
mov r12d, ebx
mov eax, r13d
mov qword [rsp + 0x40], rax
test r14, r14
je 0x14028183e
test r13d, r13d
je 0x14028183e
lea r13, [r15 + r12]
mov rcx, r13
mov rdx, r14
mov r8, qword [rsp + 0x40]
call fcn.1401730b0
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 0x140281814
movq rcx, xmm2
sub rcx, r14
mov qword [r13 + rax*8], rcx
pxor xmm3, xmm1
pextrw ecx, xmm3, 4
test cl, 1
je 0x140281834
pshufd xmm2, xmm2, 0xee
movq rcx, xmm2
sub rcx, r14
mov qword [r13 + rax*8 + 8], rcx
add rax, 2
cmp rax, 0x40
jne 0x1402817e4
mov qword [0x14035c588], r12
lea r9, [0x14035c588]
mov qword [rsp + 0x20], 8
lea r8, str.g_shared_IPC_size
lea r13, [rsp + 0x58]
mov rcx, rdi
mov rdx, r13
call fcn.140281534
mov r12d, dword [r13]
mov r14, qword [r13 + 8]
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [r13 + 0x17]
mov qword [rsp + 0x87], rax
mov r13b, byte [r13 + 0x1f]
mov qword [0x14035c588], 0
test r12d, r12d
je 0x1402818d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov dword [rsi], r12d
mov qword [rsi + 8], r14
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x87]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x17], rcx
mov byte [rsi + 0x1f], r13b
jmp 0x1402816e3
mov rax, qword [rsp + 0x40]
mov qword [0x14035c590], rax
lea r9, [0x14035c590]
mov qword [rsp + 0x20], 8
lea r8, str.g_shared_policy_size
lea r12, [rsp + 0x58]
mov rcx, rdi
mov rdx, r12
call fcn.140281534
mov r12d, dword [r12]
test r13b, r13b
jns 0x140281915
mov rcx, r14
call fcn.14016eccc
mov r14, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x6f]
mov qword [rsp + 0x87], rax
mov r13b, byte [rsp + 0x77]
mov qword [0x14035c590], 0
test r12d, r12d
je 0x14028197a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov dword [rsi], r12d
mov qword [rsi + 8], r14
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x87]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x17], rcx
mov byte [rsi + 0x1f], r13b
jmp 0x1402816e3
lea r9, [rdi + 0x40]
mov eax, dword [rdi + 0x10]
lea r8, [rsp + 0x54]
mov dword [r8], eax
mov rax, qword [rdi]
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r12, [rsp + 0x58]
mov rcx, r12
call fcn.140281c32
mov rcx, qword [r12]
mov r12, qword [rdi + 0x38]
mov qword [rdi + 0x38], rcx
test r12, r12
je 0x1402819d0
mov rcx, r12
call fcn.1402a2352
mov rcx, r12
call fcn.14016eccc
mov rcx, qword [rdi + 0x38]
mov rdx, r15
mov r8d, ebx
mov r9d, 0x400
call fcn.1402a23a0
test al, al
je 0x140281a3d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x48]
mov qword [rbx], rax
mov r15, qword [rdi]
mov r12, qword [rdi + 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, r12
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140281a6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov dword [rsi], 0x1a
jmp 0x140281a43
mov dword [rsi], 4
pxor xmm0, xmm0
movdqu xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], 0
test r13b, r13b
jns 0x1402816e3
mov rcx, r14
call fcn.14016eccc
jmp 0x1402816e3
mov rax, qword [rsp + 0x48]
mov qword [0x14035bc58], rax
lea r9, [0x14035bc58]
mov qword [rsp + 0x20], 8
lea r8, str.g_shared_section
lea rbx, [rsp + 0x58]
mov rcx, rdi
mov rdx, rbx
call fcn.140281534
mov ebx, dword [rbx]
test r13b, r13b
jns 0x140281aac
mov rcx, r14
call fcn.14016eccc
mov r14, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x6f]
mov qword [rsp + 0x87], rax
mov r13b, byte [rsp + 0x77]
mov qword [0x14035bc58], 0
test ebx, ebx
je 0x140281b15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov dword [rsi], ebx
mov qword [rsi + 8], r14
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x87]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x17], rcx
mov byte [rsi + 0x1f], r13b
xor r14d, r14d
xor r13d, r13d
jmp 0x140281a54
lea rbx, [rsi + 8]
mov rcx, rdi
call fcn.140226af0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsi], 0
pxor xmm0, xmm0
movdqu xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
jmp 0x140281a54