Function at 0x14001e420
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x14001eaa1
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x50]
mov dword [r8], 0
lea rdi, [rsp + 0x58]
mov qword [rdi], r13
mov qword [rsp + 0x20], rdi
lea rdx, str.DNASYXOB
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r12d, 0x42
test eax, eax
je 0x14001e8e2
cmp qword [rsp + 0x58], 4
jne 0x14001e97c
mov eax, dword [rsp + 0x50]
cmp eax, dword [str.DNASYXOB]
jne 0x14001e987
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rdi
lea rdx, [0x14014e69c]
lea r8, [rsp + 0x50]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14001e8e2
cmp qword [rsp + 0x58], 4
mov r12d, 0x43
jne 0x14001e8e2
mov eax, dword [rsp + 0x50]
mov r12d, 0x44
cmp eax, dword [0x14014e69c]
jne 0x14001e8e2
mov ebp, dword [rsp + 0xd0]
cmp byte [r14 + 0x10], 0
mov rdi, rbp
je 0x14001e520
mov rdi, qword [r14 + 8]
add rdi, rbp
cmp byte [r15 + 0x10], 0
jne 0x14001e62a
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], rbx
mov rax, rdi
shr rax, 0x20
jne 0x14001e992
mov dword [rsp + 0x20], edi
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 0x14001e5ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jae 0x14001e633
mov rax, r15
inc rax
cmp rax, 2
jb 0x14001e59f
mov qword [rsi + 0x28], r15
call fcn.14005d1b0
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rsi + 0x28]
mov rbx, qword [rsp + 0xd8]
lea rax, [r15 + 1]
cmp rax, 1
jbe 0x14001ea45
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 0x14001ea6b
mov r15, rax
cmp byte [r14 + 0x10], 0
mov r12, rbp
je 0x14001e70b
mov rbx, r13
mov r8, qword [r14 + 8]
test r8, r8
je 0x14001ea3d
lea r12, [r15 + rbp]
mov r13, qword [r14]
mov rcx, r12
mov rdx, r13
call fcn.1400d60b0
xor eax, eax
pxor xmm0, xmm0
pcmpeqd xmm1, xmm1
jmp 0x14001e6ad
add rdi, qword [r15 + 8]
jmp 0x14001e52b
call fcn.14005d1b0
mov r13, qword [rsi + 0x28]
cmp qword [0x140151bc0], 0
je 0x14001e934
mov rcx, qword [0x140151bc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r13
call qword [0x140134870]
mov qword [rsi + 0x28], 0
movabs r13, 0xaaaaaaaaaaaaaaaa
jmp 0x14001e58a
movq rcx, xmm2
sub rcx, r13
mov qword [r12 + rax*8], rcx
pxor xmm3, xmm1
pextrw ecx, xmm3, 4
test cl, 1
je 0x14001e6a3
pshufd xmm2, xmm2, 0xee
movq rcx, xmm2
sub rcx, r13
mov qword [r12 + rax*8 + 8], rcx
add rax, 2
cmp rax, 0x40
je 0x14001e6f6
movdqu xmm2, xmmword [r12 + rax*8]
movdqa xmm4, xmm2
pcmpeqd xmm4, xmm0
pshufd xmm3, xmm4, 0xb1
pand xmm3, xmm4
movd ecx, xmm3
not ecx
test cl, 1
je 0x14001e683
jmp 0x14001e677
lea rcx, [r15 + r12]
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
call fcn.1400d60b0
cmp byte [rbx + 0x10], 0
je 0x14001ea58
add r12, qword [rbx + 8]
jmp 0x14001e716
cmp byte [r14 + 0x10], 0
je 0x14001ea58
mov r12, qword [r14 + 8]
mov r13, rbx
add r12, rbp
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x10], 0
jne 0x14001e6d1
cmp r12, rdi
jne 0x14001e995
mov qword [rsp + 0x50], rbp
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14001e9c9
mov qword [rsp + 0x58], r13
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x20], rbp
lea rdx, [0x140157a38]
lea r8, [rsp + 0x50]
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001ea15
cmp qword [rsp + 0x58], 8
jne 0x14001ea1d
cmp byte [r14 + 0x10], 0
je 0x14001e7bf
mov rax, qword [r14 + 8]
mov qword [rsp + 0x48], rax
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14001e9a3
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
lea rdx, [0x140157a40]
lea r8, [rsp + 0x48]
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001ea15
cmp qword [rsp + 0x58], 8
jne 0x14001ea1d
mov rax, qword [rsp + 0x38]
cmp byte [rax + 0x10], 0
jne 0x14001e903
mov r14d, dword [rsi + 0x10]
mov r12, qword [rsi]
mov ecx, 0x40
call fcn.1400a2d04
mov rbx, rax
mov r9, qword [rsi + 0x38]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, r12
mov r8d, r14d
call fcn.14001eaf0
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], rbx
test rdi, rdi
jne 0x14001eaca
mov rcx, rbx
mov rdx, r15
mov r8d, dword [rsp + 0xd0]
mov r9d, 0x400
call fcn.14001eba0
test al, al
je 0x14001e998
lea rdi, [rsp + 0x48]
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 0x14001ea86
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14001e9ef
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
lea rdx, [0x140154668]
lea r8, [rsp + 0x48]
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14001ea15
cmp qword [rsp + 0x58], 8
jne 0x14001ea1d
mov dword [rsi + 0x14], 0
mov rdi, qword [rsi + 8]
mov qword [rsi + 8], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001e8d6
call fcn.14005d1b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r12d, r12d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a4d90
mov eax, r12d
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rax + 8]
lea r8, [rsp + 0x58]
mov qword [r8], rax
mov qword [rsp + 0x20], 8
lea r9, [0x140157a48]
mov rcx, rsi
call fcn.14001f870
test eax, eax
je 0x14001e7ce
jmp 0x14001ea38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14012da12]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001eae3
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14001e976
call qword [0x140134870]
mov rcx, rax
xor edx, edx
call fcn.14002cc80
jmp 0x14001e64a
xor ecx, ecx
mov dl, 1
jmp 0x14001e96c
mov r12d, 0x43
jmp 0x14001e8e2
mov r12d, 0x44
jmp 0x14001e8e2
int3
int3
mov r12d, 4
jmp 0x14001e8e2
test rcx, rcx
jne 0x14001e789
cmp dword [rsi + 0x14], 0
jne 0x14001e789
mov r12d, 8
cmp qword [rsi + 8], 0
jne 0x14001e789
jmp 0x14001ea23
test rcx, rcx
jne 0x14001e731
cmp dword [rsi + 0x14], 0
jne 0x14001e731
mov r12d, 8
cmp qword [rsi + 8], 0
jne 0x14001e731
jmp 0x14001ea23
test rcx, rcx
jne 0x14001e87e
cmp dword [rsi + 0x14], 0
jne 0x14001e87e
mov r12d, 8
cmp qword [rsi + 8], 0
jne 0x14001e87e
jmp 0x14001ea23
mov r12d, 0x39
jmp 0x14001ea23
mov r12d, 0x3a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
jmp 0x14001e8e2
mov r12d, eax
jmp 0x14001ea23
xor r12d, r12d
jmp 0x14001e705
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov r12d, 0x19
jmp 0x14001e8e2
lea rcx, [0x140121d8c]
lea rdx, str....._third_partylibc_srcincludeoptional:796:_assertion_this__has_value___failed:_optional_operator___called_on_a_disengaged_value_n
call fcn.1400d6ae0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
mov r12d, 0x1b
jmp 0x14001e8e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
mov r12d, 0x1a
jmp 0x14001e8e2
test rcx, rcx
jne 0x14001e458
cmp dword [rsi + 0x14], 0
jne 0x14001e458
mov r12d, 8
cmp qword [rsi + 8], 0
jne 0x14001e458
jmp 0x14001e8e2
mov rcx, rdi
call fcn.14002e930
mov rcx, rdi
call fcn.1400a2cfc
mov rbx, qword [rsi + 0x30]
jmp 0x14001e80f
xor ecx, ecx
jmp 0x14001e96a