Function at 0x140052330
Capabilities:
Read file via mapping

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
and qword [r11 - 0x60], 0
lea r13, [rcx + 0x28]
mov edi, dword [rsp + 0xb0]
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.14001f1f0
mov rcx, qword [r13]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140052599
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
test rax, rax
jne 0x1400523c9
lea ebx, [rax + 0x1b]
jmp 0x140052570
lea rbx, [r12 + rax]
test rbp, rbp
je 0x140052400
test rdi, rdi
je 0x140052400
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 0x1400523f7
sub rcx, rbp
mov qword [rbx + rax*8], rcx
inc rax
cmp rax, 0x40
jb 0x1400523e7
mov r14d, 8
mov qword [sym.QtWebEngineProcess.exe_g_shared_IPC_size], r12
mov r9d, r14d
lea r8, [sym.QtWebEngineProcess.exe_g_shared_IPC_size]
lea rdx, str.g_shared_IPC_size
mov rcx, rsi
call fcn.140052600
xor ebp, ebp
mov ebx, eax
mov qword [sym.QtWebEngineProcess.exe_g_shared_IPC_size], rbp
test eax, eax
jne 0x140052570
mov r9d, r14d
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.140052600
mov qword [sym.QtWebEngineProcess.exe_g_shared_policy_size], rbp
mov ebx, eax
test eax, eax
jne 0x140052570
mov eax, dword [rsi + 0x10]
lea r9, [rsi + 0x40]
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x40]
mov rax, qword [rsi]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call fcn.140051c10
lea rdi, [rsi + 0x38]
cmp rdi, rax
je 0x1400524c8
mov rdx, qword [rax]
mov qword [rax], rbp
mov rbx, qword [rdi]
mov qword [rdi], rdx
test rbx, rbx
je 0x1400524c8
mov rcx, rbx
call fcn.140063150
mov rcx, rbx
call fcn.140077870
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1400524e2
mov rcx, rbx
call fcn.140063150
mov rcx, rbx
call fcn.140077870
mov rcx, qword [rdi]
mov r9d, 0x400
mov r8d, r12d
mov rdx, r15
call fcn.140063190
test al, al
jne 0x140052504
mov eax, 4
jmp 0x1400525ae
mov rbx, qword [rsi]
mov rdi, qword [r13]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], ebp
lea r9, [rsp + 0x58]
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 0x14005253e
lea ebx, [rax + 0x1a]
jmp 0x140052570
mov rax, qword [rsp + 0x58]
lea r8, [sym.QtWebEngineProcess.exe_g_shared_section]
mov r9, r14
mov qword [sym.QtWebEngineProcess.exe_g_shared_section], rax
lea rdx, str.g_shared_section
mov rcx, rsi
call fcn.140052600
mov qword [sym.QtWebEngineProcess.exe_g_shared_section], rbp
mov ebx, eax
test eax, eax
je 0x140052584
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], eax
mov eax, ebx
jmp 0x1400525ae
mov rcx, rsi
call fcn.14002de50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400525ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx], eax
mov eax, 0x19
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret