Function at 0x14004b1a0
Capabilities:
Check if file exists
Check mutex on windows
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov edi, r9d
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x14004b66e
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x40]
mov dword [r8], 0
lea r15, [rsp + 0x48]
mov qword [r15], rax
mov qword [rsp + 0x20], r15
lea rdx, str.DNASYXOB
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebp, 0x42
test eax, eax
je 0x14004b5dd
cmp qword [rsp + 0x48], 4
jne 0x14004b688
mov eax, dword [rsp + 0x40]
cmp eax, dword [str.DNASYXOB]
jne 0x14004b692
mov rcx, qword [rsi]
mov qword [rsp + 0x20], r15
lea rdx, [0x14029da28]
lea r8, [rsp + 0x40]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14004b5dd
cmp qword [rsp + 0x48], 4
mov ebp, 0x43
jne 0x14004b5dd
mov eax, dword [rsp + 0x40]
mov ebp, 0x44
cmp eax, dword [0x14029da28]
jne 0x14004b5dd
mov r13d, dword [rsp + 0xc0]
lea eax, [rdi + r13]
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 r15, rax
cmp qword [rsi + 0x28], rax
je 0x14004b2f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jae 0x14004b653
mov rax, r15
inc rax
cmp rax, 2
jb 0x14004b2ed
mov qword [rsi + 0x28], r15
call fcn.140105b90
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rsi + 0x28]
mov r12, qword [rsp + 0xc8]
lea rax, [r15 + 1]
cmp rax, 1
jbe 0x14004b6a6
mov qword [rsp + 0x20], 0
mov rcx, r15
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x14004b6ba
mov r15, rax
mov ebp, edi
mov r12d, r13d
test r14, r14
je 0x14004b3bd
test r13d, r13d
je 0x14004b3bd
lea r13, [r15 + rbp]
mov rcx, r13
mov rdx, r14
mov r8, r12
call fcn.140180220
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 0x14004b393
movq rcx, xmm2
sub rcx, r14
mov qword [r13 + rax*8], rcx
pxor xmm3, xmm1
pextrw ecx, xmm3, 4
test cl, 1
je 0x14004b3b3
pshufd xmm2, xmm2, 0xee
movq rcx, xmm2
sub rcx, r14
mov qword [r13 + rax*8 + 8], rcx
add rax, 2
cmp rax, 0x40
jne 0x14004b363
mov qword [0x1402a51e0], rbp
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14004b6d4
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [0x1402a51e0]
mov r9d, 8
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004b5bd
cmp qword [rsp + 0x48], 8
mov qword [0x1402a51e0], 0
jne 0x14004b69c
mov qword [0x1402a51e8], r12
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14004b6f8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x20], rax
lea rdx, [0x1402a51e8]
mov r9d, 8
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004b5fd
cmp qword [rsp + 0x48], 8
mov qword [0x1402a51e8], 0
jne 0x14004b69c
mov ebp, dword [rsi + 0x10]
mov r12, qword [rsi]
mov ecx, 0x40
call fcn.14017b1d8
mov r14, rax
mov rax, qword [rsi + 0x40]
xor ecx, ecx
mov qword [r14], rcx
lea rdx, [r14 + 8]
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], rdx
mov qword [r14 + 0x18], rcx
mov qword [r14 + 0x20], rax
mov qword [r14 + 0x28], r12
mov dword [r14 + 0x30], ebp
mov qword [r14 + 0x38], rbx
mov rax, qword [0x1402a63f8]
test rax, rax
je 0x14004b60f
mov rbx, qword [rsi + 0x38]
mov qword [rsi + 0x38], r14
test rbx, rbx
jne 0x14004b721
mov rcx, r14
mov rdx, r15
mov r8d, edi
mov r9d, 0x400
call fcn.14004cfe0
test al, al
lea r15, [rsp + 0x48]
je 0x14004b73a
lea rdi, [rsp + 0x40]
mov qword [rdi], r13
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 0x14004b744
mov rax, qword [rsp + 0x40]
mov qword [0x1402a50a8], rax
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14004b75e
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x20], r15
lea rdx, [0x1402a50a8]
mov r9d, 8
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004b63e
cmp qword [rsp + 0x48], 8
mov qword [0x1402a50a8], 0
jne 0x14004b69c
mov dword [rsi + 0x14], 0
mov rdi, qword [rsi + 8]
mov qword [rsi + 8], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14004b5b0
call fcn.140105b90
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
jmp 0x14004b5dd
mov ebp, 0x39
mov qword [0x1402a51e0], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14017e7b0
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, 0x39
mov qword [0x1402a51e8], 0
jmp 0x14004b5cd
xor ecx, ecx
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x1402a63f8], rcx
je 0x14004b4c3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004b4c3
mov ebp, 0x39
mov qword [0x1402a50a8], 0
jmp 0x14004b5cd
call fcn.140105b90
mov rcx, qword [rsi + 0x28]
call fcn.1401651a0
mov qword [rsi + 0x28], 0
jmp 0x14004b2d8
test rcx, rcx
jne 0x14004b1d8
cmp dword [rsi + 0x14], 0
je 0x14004b783
xor ecx, ecx
jmp 0x14004b1d8
mov ebp, 0x43
jmp 0x14004b5dd
mov ebp, 0x44
jmp 0x14004b5dd
mov ebp, 0x3a
jmp 0x14004b5cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov ebp, 0x19
jmp 0x14004b5dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov ebp, 0x1b
jmp 0x14004b5dd
test rcx, rcx
movabs r13, 0xaaaaaaaaaaaaaaaa
jne 0x14004b3db
cmp dword [rsi + 0x14], 0
je 0x14004b798
xor ecx, ecx
jmp 0x14004b3d1
test rcx, rcx
lea rax, [rsp + 0x48]
jne 0x14004b438
cmp dword [rsi + 0x14], 0
je 0x14004b7ad
xor ecx, ecx
movabs r13, 0xaaaaaaaaaaaaaaaa
jmp 0x14004b433
mov rcx, rbx
call fcn.1400ec7e0
mov rcx, rbx
call fcn.14017b254
mov r14, qword [rsi + 0x38]
jmp 0x14004b4d4
mov ebp, 4
jmp 0x14004b5dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov ebp, 0x1a
jmp 0x14004b5dd
test rcx, rcx
jne 0x14004b54f
cmp dword [rsi + 0x14], 0
je 0x14004b7c2
xor ecx, ecx
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x48]
jmp 0x14004b54f
mov ebp, 8
cmp qword [rsi + 8], 0
je 0x14004b5dd
jmp 0x14004b681
mov ebp, 8
cmp qword [rsi + 8], 0
je 0x14004b5c2
jmp 0x14004b6f1
mov ebp, 8
cmp qword [rsi + 8], 0
je 0x14004b602
jmp 0x14004b710
mov ebp, 8
cmp qword [rsi + 8], 0
je 0x14004b643
jmp 0x14004b76d