Function at 0x140046400
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov r14, rdx
mov rbp, rcx
mov dword [rsp + 0x40], 0
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
jl 0x140046680
lea rdx, str.chrome
call fcn.1400c3664
test rax, rax
je 0x140046680
mov rcx, qword [r14]
sub rax, rcx
sar rax, 1
test eax, eax
jle 0x140046680
mov edx, 0x5c
call fcn.1400c5214
test rax, rax
je 0x140046680
sub rax, qword [r14]
sar rax, 1
test eax, eax
jle 0x140046680
lea r8d, [rax + 1]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140019a50
nop
lea r8, str.VisualElementsManifest.xml
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.140019af0
nop
mov rcx, qword [rsp + 0xd8]
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
or eax, edx
jge 0x1400464de
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.140002550
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
test rax, rax
je 0x14004664a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [rax + 0xa]
call fcn.1400c33dc
mov rdi, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xd0]
mov r8d, ebx
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0xd0]
mov byte [rcx + rdi], 0
lea rdx, str.SplashScreen_Image
mov rcx, rdi
call fcn.1400c6290
mov rbx, rax
test rax, rax
je 0x14004664a
mov ecx, dword [0x1401a9d80]
imul ecx, ecx
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 0xb
jne 0x1400465c7
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x1401a9d80]
mov r8d, 7
test rax, rax
cmove ecx, r8d
mov dword [0x1401a9d80], ecx
mov edx, 0x5c
lea rcx, [rbx + 0x14]
call fcn.1400c5f14
test rax, rax
je 0x14004664a
mov byte [rax], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rdx, [rbx + 0x14]
lea rcx, [rsp + 0x60]
call fcn.140001370
nop
mov rdx, rax
mov rcx, rbp
call fcn.14001f080
mov dword [rsp + 0x40], 1
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140046626
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140046640
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, r14
call fcn.140002340
jmp 0x1400466ae
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140046667
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140046680
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x1401387e0]
mov rcx, rbp
call fcn.1400022a0
mov dword [rsp + 0x40], 1
mov rdx, qword [r14]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400466ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rbp
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret