Function at 0x14003e990
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov edi, dword [rsp + 0xa0]
lea r13, [rcx + 0x28]
and qword [rsp + 0x28], 0
mov rbp, r8
mov r12d, r9d
mov rsi, rcx
xor r9d, r9d
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
lea eax, [r12 + rdi]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
mov rcx, r13
call fcn.14001b710
mov rcx, qword [r13]
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x14003ea05
mov ebx, 0x19
jmp 0x14003ebb3
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x14003ea2b
lea ebx, [rax + 0x1b]
jmp 0x14003ebb3
lea rbx, [r12 + rax]
test rbp, rbp
je 0x14003ea62
test rdi, rdi
je 0x14003ea62
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov rcx, qword [rbx + rax*8]
test rcx, rcx
je 0x14003ea59
sub rcx, rbp
mov qword [rbx + rax*8], rcx
inc rax
cmp rax, 0x40
jb 0x14003ea49
mov r15d, 8
mov qword [sym.QtWebEngineProcess.exe_g_shared_IPC_size], r12
mov r9d, r15d
lea r8, [sym.QtWebEngineProcess.exe_g_shared_IPC_size]
lea rdx, str.g_shared_IPC_size
mov rcx, rsi
call fcn.14003ec30
xor ebp, ebp
mov ebx, eax
mov qword [sym.QtWebEngineProcess.exe_g_shared_IPC_size], rbp
test eax, eax
jne 0x14003ebb3
mov r9d, r15d
mov qword [sym.QtWebEngineProcess.exe_g_shared_policy_size], rdi
lea r8, [sym.QtWebEngineProcess.exe_g_shared_policy_size]
mov rcx, rsi
lea rdx, str.g_shared_policy_size
call fcn.14003ec30
mov qword [sym.QtWebEngineProcess.exe_g_shared_policy_size], rbp
mov ebx, eax
test eax, eax
jne 0x14003ebb3
lea ecx, [rbp + 0x38]
call fcn.14007fdf0
test rax, rax
je 0x14003eafb
mov rcx, qword [rsp + 0x88]
mov r9, qword [rsi + 0x40]
mov r8d, dword [rsi + 0x10]
mov rdx, qword [rsi]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14003b250
jmp 0x14003eafe
mov rax, rbp
mov rbx, qword [rsi + 0x38]
mov qword [rsi + 0x38], rax
test rbx, rbx
je 0x14003eb1f
mov rcx, rbx
call fcn.14003b350
mov rcx, rbx
call fcn.140080210
mov rax, qword [rsi + 0x38]
mov r9d, 0x400
mov r8d, r12d
mov rdx, r14
mov rcx, rax
call fcn.14003b3a0
test al, al
jne 0x14003eb41
mov eax, 4
jmp 0x14003ebda
mov rbx, qword [rsi]
mov rdi, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], ebp
lea r9, [rsp + 0x80]
mov rcx, rax
mov dword [rsp + 0x28], ebp
mov r8, rbx
mov dword [rsp + 0x20], 7
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14003eb7e
lea ebx, [rax + 0x1a]
jmp 0x14003ebb3
mov rax, qword [rsp + 0x80]
lea r8, [sym.QtWebEngineProcess.exe_g_shared_section]
mov r9, r15
mov qword [sym.QtWebEngineProcess.exe_g_shared_section], rax
lea rdx, str.g_shared_section
mov rcx, rsi
call fcn.14003ec30
mov qword [sym.QtWebEngineProcess.exe_g_shared_section], rbp
mov ebx, eax
test eax, eax
je 0x14003ebc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xa8]
mov dword [rcx], eax
mov eax, ebx
jmp 0x14003ebda
mov rcx, rsi
call fcn.140048dc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret