Function at 0x140039ac8
Capabilities:
Read file via mapping

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov esi, dword [rsp + 0x90]
lea rdi, [rcx + 0x28]
mov r12d, r9d
mov r14, r8
mov r13, rdx
mov rbx, rcx
xor r15d, r15d
xor r9d, r9d
mov qword [r11 - 0x40], r15
xor edx, edx
lea eax, [r12 + rsi]
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rdx, rax
mov rcx, rdi
call fcn.14001977c
mov rbp, qword [rdi]
lea rax, [rbp - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140039d00
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbx]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x30], r15d
mov rcx, rax
mov dword [rsp + 0x28], r15d
mov rdx, rbp
mov dword [rsp + 0x20], 7
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140039b73
lea edi, [rax + 0x1a]
jmp 0x140039c68
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
jne 0x140039b9b
lea edi, [rax + 0x1b]
jmp 0x140039c68
lea rdi, [r12 + rax]
test r14, r14
je 0x140039bd2
test rsi, rsi
je 0x140039bd2
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov rcx, qword [rdi + rax*8]
test rcx, rcx
je 0x140039bc9
sub rcx, r14
mov qword [rdi + rax*8], rcx
inc rax
cmp rax, 0x40
jb 0x140039bb9
mov rax, qword [rsp + 0x70]
lea r8, [sym.QtWebEngineProcess.exe_g_shared_section]
mov r9d, 8
mov qword [sym.QtWebEngineProcess.exe_g_shared_section], rax
lea rdx, str.g_shared_section
mov rcx, rbx
call fcn.140039d58
xor r14d, r14d
mov edi, eax
mov qword [sym.QtWebEngineProcess.exe_g_shared_section], r14
test eax, eax
jne 0x140039c68
lea r15d, [rax + 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, rbx
call fcn.140039d58
mov qword [sym.QtWebEngineProcess.exe_g_shared_IPC_size], r14
mov edi, eax
test eax, eax
jne 0x140039c68
mov r9d, r15d
mov qword [sym.QtWebEngineProcess.exe_g_shared_policy_size], rsi
lea r8, [sym.QtWebEngineProcess.exe_g_shared_policy_size]
mov rcx, rbx
lea rdx, str.g_shared_policy_size
call fcn.140039d58
mov qword [sym.QtWebEngineProcess.exe_g_shared_policy_size], r14
mov edi, eax
test eax, eax
je 0x140039c7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x98]
mov dword [rcx], eax
mov eax, edi
jmp 0x140039d15
mov ecx, 0x38
call fcn.140070710
test rax, rax
je 0x140039ca8
mov r9, qword [rbx + 0x40]
mov rcx, rax
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx]
mov qword [rsp + 0x20], r13
call fcn.14003681c
jmp 0x140039cab
mov rax, r14
mov rdi, qword [rbx + 0x38]
mov qword [rbx + 0x38], rax
test rdi, rdi
je 0x140039ccc
mov rcx, rdi
call fcn.14003693c
mov rcx, rdi
call fcn.140070804
mov rax, qword [rbx + 0x38]
mov r9d, 0x400
mov r8d, r12d
mov rdx, rbp
mov rcx, rax
call fcn.14003697c
test al, al
jne 0x140039ceb
mov eax, 4
jmp 0x140039d15
mov rcx, rbx
call fcn.140040520
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140039d15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x98]
mov dword [rcx], eax
mov eax, 0x19
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret