Function at 0x140046f60
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 0x1400471c5
lea rdx, str.chrome
call fcn.1400c4670
test rax, rax
je 0x1400471c5
mov rcx, qword [r14]
sub rax, rcx
sar rax, 1
test eax, eax
jle 0x1400471c5
mov edx, 0x5c
call fcn.1400c6258
test rax, rax
je 0x1400471c5
sub rax, qword [r14]
sar rax, 1
test eax, eax
jle 0x1400471c5
lea r8d, [rax + 1]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140019570
nop
mov eax, dword [0x1401a9d80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub ecx, edx
cmp ecx, 1
jne 0x140047027
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
lea r8, str.VisualElementsManifest.xml
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xd8]
call fcn.140019610
nop
mov rcx, qword [rsp + 0xd8]
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
or eax, edx
jge 0x14004706f
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.140002330
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 0x14004718f
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [rax + 0xa]
call fcn.1400c43e8
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.1400c73f0
mov rbx, rax
test rax, rax
je 0x14004718f
mov edx, 0x5c
lea rcx, [rax + 0x14]
call fcn.1400c7074
test rax, rax
je 0x14004718f
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.14001e680
mov dword [rsp + 0x40], 1
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14004716b
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 0x140047185
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, r14
call fcn.140002130
jmp 0x1400471f3
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400471ac
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 0x1400471c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x1401383d0]
mov rcx, rbp
call fcn.140002090
mov dword [rsp + 0x40], 1
mov rdx, qword [r14]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400471f3
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