Function at 0x14003f0f0
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 rbx, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x14003f880
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 0x14003f5a0
cmp qword [rsp + 0x58], 4
jne 0x14003f708
mov eax, dword [rsp + 0x50]
cmp eax, dword [str.DNASYXOB]
jne 0x14003f713
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rdi
lea rdx, [0x1402c1fd8]
lea r8, [rsp + 0x50]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14003f5a0
cmp qword [rsp + 0x58], 4
mov r12d, 0x43
jne 0x14003f5a0
mov eax, dword [rsp + 0x50]
mov r12d, Ordinal_73
cmp eax, dword [0x1402c1fd8]
jne 0x14003f5a0
mov ebp, dword [rsp + 0xd0]
cmp byte [r14 + 0x10], 1
mov rdi, rbp
jne 0x14003f1f0
mov rdi, qword [r14 + 8]
add rdi, rbp
cmp byte [rbx + 0x10], 1
je 0x14003f71e
mov qword [rsp + 0x40], r15
mov rax, rdi
shr rax, 0x20
jne 0x14003f727
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 rcx, qword [rsi + 0x28]
cmp rcx, rax
je 0x14003f277
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jae 0x14003f683
lea rax, [r15 + 1]
cmp rax, 2
jb 0x14003f26a
mov qword [rsi + 0x28], r15
call fcn.140118d60
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsi + 0x28]
mov r15, qword [rsp + 0xd8]
lea rax, [rcx + 1]
cmp rax, 1
jbe 0x14003f804
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 0x14003f84a
mov r15, rax
mov al, byte [r14 + 0x10]
mov r12, rbp
cmp al, 1
jne 0x14003f3cf
mov r8, qword [r14 + 8]
test r8, r8
je 0x14003f3b6
lea r12, [r15 + rbp]
mov r13, qword [r14]
mov rcx, r12
mov rdx, r13
call fcn.1401cd6e0
mov rax, qword [r12]
test rax, rax
jne 0x14003f677
mov rax, qword [r12 + 8]
test rax, rax
jne 0x14003f66a
mov rax, qword [r12 + 0x10]
test rax, rax
jne 0x14003f65d
mov rax, qword [r12 + 0x18]
test rax, rax
jne 0x14003f650
mov rax, qword [r12 + 0x20]
test rax, rax
jne 0x14003f643
mov rax, qword [r12 + 0x28]
test rax, rax
jne 0x14003f629
mov rax, qword [r12 + 0x30]
test rax, rax
jne 0x14003f61c
mov rax, qword [r12 + 0x38]
test rax, rax
jne 0x14003f60f
mov rax, qword [r12 + 0x40]
test rax, rax
jne 0x14003f636
mov rax, qword [r12 + 0x48]
test rax, rax
jne 0x14003f5f5
mov rax, qword [r12 + 0x50]
test rax, rax
jne 0x14003f602
mov rax, qword [r12 + 0x58]
test rax, rax
jne 0x14003f5ce
mov rax, qword [r12 + 0x60]
test rax, rax
jne 0x14003f5db
mov rax, qword [r12 + 0x68]
test rax, rax
jne 0x14003f5e8
mov rax, qword [r12 + 0x70]
test rax, rax
jne 0x14003f5c1
mov al, byte [r14 + 0x10]
test al, 1
movabs r13, 0xaaaaaaaaaaaaaaaa
je 0x14003f837
mov r12, qword [r14 + 8]
add r12, rbp
cmp byte [rbx + 0x10], 1
je 0x14003f818
cmp r12, rdi
jne 0x14003f72a
mov qword [rsp + 0x50], rbp
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14003f75e
mov qword [rsp + 0x58], r13
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x20], rbp
lea rdx, [0x1402cbe68]
lea r8, [rsp + 0x50]
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003f7c3
cmp qword [rsp + 0x58], 8
jne 0x14003f7bb
cmp byte [r14 + 0x10], 1
jne 0x14003f482
mov rax, qword [r14 + 8]
mov qword [rsp + 0x48], rax
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14003f738
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
lea rdx, [0x1402cbe70]
lea r8, [rsp + 0x48]
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003f7c3
cmp qword [rsp + 0x58], 8
jne 0x14003f7bb
cmp byte [rbx + 0x10], 1
je 0x14003f784
mov r14d, dword [rsi + 0x10]
mov r12, qword [rsi]
mov ecx, 0x40
call fcn.14018f5a8
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.14003f8d0
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], rbx
test rdi, rdi
jne 0x14003f8a9
mov rcx, rbx
mov rdx, r15
mov r8d, dword [rsp + 0xd0]
mov r9d, 0x400
call fcn.14003f980
test al, al
je 0x14003f72d
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 0x14003f865
cmp dword [rsi + 0x10], 0
mov rcx, qword [rsi]
je 0x14003f7de
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
lea rdx, [0x1402c87f8]
lea r8, [rsp + 0x48]
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003f7c3
cmp qword [rsp + 0x58], 8
jne 0x14003f7bb
mov dword [rsi + 0x14], 0
mov rdi, qword [rsi + 8]
mov qword [rsi + 8], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14003f594
call fcn.140118d60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r12d, r12d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140191d70
mov eax, r12d
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
sub rax, r13
mov qword [r12 + 0x70], rax
jmp 0x14003f3b2
sub rax, r13
mov qword [r12 + 0x58], rax
jmp 0x14003f388
sub rax, r13
mov qword [r12 + 0x60], rax
jmp 0x14003f396
sub rax, r13
mov qword [r12 + 0x68], rax
jmp 0x14003f3a4
sub rax, r13
mov qword [r12 + 0x48], rax
jmp 0x14003f36c
sub rax, r13
mov qword [r12 + 0x50], rax
jmp 0x14003f37a
sub rax, r13
mov qword [r12 + 0x38], rax
jmp 0x14003f350
sub rax, r13
mov qword [r12 + 0x30], rax
jmp 0x14003f342
sub rax, r13
mov qword [r12 + 0x28], rax
jmp 0x14003f334
sub rax, r13
mov qword [r12 + 0x40], rax
jmp 0x14003f35e
sub rax, r13
mov qword [r12 + 0x20], rax
jmp 0x14003f326
sub rax, r13
mov qword [r12 + 0x18], rax
jmp 0x14003f318
sub rax, r13
mov qword [r12 + 0x10], rax
jmp 0x14003f30a
sub rax, r13
mov qword [r12 + 8], rax
jmp 0x14003f2fc
sub rax, r13
mov qword [r12], rax
jmp 0x14003f2ee
call fcn.140118d60
mov r13, qword [rsi + 0x28]
cmp qword [0x1402c5c40], 0
je 0x14003f6c3
mov rcx, qword [0x1402c5c40]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r13
call qword [0x1402a3ee8]
mov qword [rsi + 0x28], 0
movabs r13, 0xaaaaaaaaaaaaaaaa
jmp 0x14003f257
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140288f4f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003f8c2
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14003f702
call qword [0x1402a3ee8]
mov rcx, rax
xor edx, edx
call fcn.1400440e0
jmp 0x14003f696
xor ecx, ecx
mov dl, 1
jmp 0x14003f6fb
mov r12d, 0x43
jmp 0x14003f5a0
mov r12d, Ordinal_73
jmp 0x14003f5a0
add rdi, qword [rbx + 8]
jmp 0x14003f1fa
int3
int3
mov r12d, 4
jmp 0x14003f5a0
test rcx, rcx
jne 0x14003f44c
cmp dword [rsi + 0x14], 0
jne 0x14003f44c
mov r12d, 8
cmp qword [rsi + 8], 0
jne 0x14003f44c
jmp 0x14003f7c9
test rcx, rcx
jne 0x14003f3f4
cmp dword [rsi + 0x14], 0
jne 0x14003f3f4
mov r12d, 8
cmp qword [rsi + 8], 0
jne 0x14003f3f4
jmp 0x14003f7c9
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x58]
mov qword [r8], rax
mov qword [rsp + 0x20], 8
lea r9, [0x1402cbe78]
mov rcx, rsi
call fcn.1400ef9e0
test eax, eax
je 0x14003f7b1
mov r12d, eax
jmp 0x14003f7c9
lea rbp, [rsp + 0x58]
jmp 0x14003f48c
mov r12d, 0x3a
jmp 0x14003f7c9
mov r12d, 0x39
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
jmp 0x14003f5a0
test rcx, rcx
jne 0x14003f53c
cmp dword [rsi + 0x14], 0
jne 0x14003f53c
mov r12d, 8
cmp qword [rsi + 8], 0
jne 0x14003f53c
jmp 0x14003f7c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov r12d, Ordinal_26
jmp 0x14003f5a0
lea rcx, [r15 + r12]
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
call fcn.1401cd6e0
cmp byte [rbx + 0x10], 0
je 0x14003f837
add r12, qword [rbx + 8]
jmp 0x14003f3d9
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcincludeoptional:790:_assertion_this__has_value___failed:_optional_operator___called_on_a_disengaged_value_n
call fcn.1401ceaf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
mov r12d, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14003f5a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xd8]
mov dword [rcx], eax
mov r12d, reloc.WLDAP32.dll_Ordinal_26
jmp 0x14003f5a0
test rcx, rcx
jne 0x14003f128
cmp dword [rsi + 0x14], 0
jne 0x14003f128
mov r12d, 8
cmp qword [rsi + 8], 0
jne 0x14003f128
jmp 0x14003f5a0
mov rcx, rdi
call fcn.14004b510
mov rcx, rdi
call fcn.14018f5a0
mov rbx, qword [rsi + 0x30]
jmp 0x14003f4cd
xor ecx, ecx
jmp 0x14003f6f9