Function at 0x1400545b0
Capabilities:
Get file size
Read file on windows
Read pipe

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x5b0], rbx
mov rax, qword [0x1401d5e90]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r15, rdx
mov r14, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rdx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], ebx
jl 0x140054a44
lea rdx, str.chrome
call fcn.1400d805c
test rax, rax
je 0x140054a44
mov rcx, qword [r15]
sub rax, rcx
sar rax, 1
test eax, eax
jle 0x140054a44
lea edx, [rbx + 0x5c]
call fcn.1400d9b88
test rax, rax
je 0x140054a44
sub rax, qword [r15]
sar rax, 1
test eax, eax
jle 0x140054a44
lea r8d, [rax + 1]
lea rdx, [rsp + 0x58]
mov rcx, r15
call fcn.14001c230
nop
mov r8d, dword [0x1401ddd80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 6
jne 0x14005469d
inc r8d
mov dword [0x1401ddd80], r8d
lea r8, str.VisualElementsManifest.xml
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.14001c2d0
nop
mov rcx, qword [rsp + 0x48]
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
or eax, edx
jge 0x1400546d9
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140002860
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rbx
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 r12, rax
test rax, rax
je 0x1400549b7
mov ecx, dword [0x1401ddd80]
imul ecx, ecx
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0xa
jne 0x140054756
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x60], eax
lea ecx, [rax + 0xa]
call fcn.1400d7dd4
mov r13, rax
mov r11d, dword [0x1401ddd80]
lea esi, [r11 + 1]
lea ecx, [r11 + 2]
imul ecx, esi
imul ecx, r11d
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub ecx, eax
cmp ecx, 8
jne 0x1400547d2
mov r8d, ebx
lea r9, [rbp + 0x70]
mov r10d, r11d
nop word [rax + rax]
lea ecx, [r11 + r8]
mov eax, r10d
cdq
idiv ecx
mov dword [r9], edx
inc r8d
dec r10d
lea r9, [r9 + 4]
movsxd rax, r8d
cmp rax, 0xf8
jb 0x1400547b0
imul esi, r11d
mov eax, 0x30c30c31
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub esi, edx
cmp esi, 0xb
jne 0x140054820
mov r8d, ebx
lea r9, [rbp + 0x50]
mov r10d, r11d
nop dword [rax + rax]
lea ecx, [r11 + r8]
mov eax, r10d
cdq
idiv ecx
mov dword [r9], edx
inc r8d
dec r10d
lea r9, [r9 + 4]
movsxd rax, r8d
cmp rax, 6
jb 0x140054800
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1401ddd80]
mov ecx, eax
imul ecx, eax
imul ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0x14
jne 0x14005488a
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov eax, dword [rsp + 0x50]
mov byte [rax + r13], 0
lea rdx, str.SplashScreen_Image
mov rcx, r13
call fcn.1400dad20
mov rsi, rax
mov r9d, dword [0x1401ddd80]
mov ecx, r9d
imul ecx, r9d
imul ecx, r9d
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 7
sub ecx, edx
cmp ecx, 5
jne 0x1400548e5
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov r9d, dword [0x1401ddd80]
test rsi, rsi
je 0x1400549be
mov edx, 0x5c
lea rcx, [rsi + 0x14]
call fcn.1400da9a4
test rax, rax
je 0x1400549b7
mov byte [rax], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x68], 0
or rdi, 0xffffffffffffffff
cmp byte [rsi + 0x14], 0
je 0x14005493b
mov rbx, rdi
inc rbx
cmp byte [rsi + rbx + 0x14], 0
jne 0x140054931
mov r8, rbx
lea rdx, [rsi + 0x14]
lea rcx, [rsp + 0x68]
call fcn.1400013f0
nop
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140023e70
mov dword [rsp + 0x40], 1
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005497c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140054996
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140054ab9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x140054ab9
mov r9d, dword [0x1401ddd80]
lea r8d, [r9 + 2]
lea ecx, [r9 + 1]
imul r8d, ecx
imul r8d, r9d
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0xa
jne 0x140054a11
lea ecx, [r8 - 6]
call fcn.1400d7a58
mov rbx, rax
call fcn.1400d7b94
mov dword [rbx], eax
mov dword [0x1401ddd80], eax
mov rcx, rbx
call fcn.1400d7280
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140054a2b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140054a44
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [0x1401d59a8]
mov rax, qword [0x1401d59a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rdx, [0x140165f68]
test rdx, 0xffffffffffff0000
jne 0x140054a8b
movzx ebx, dx
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140054a9a
mov r8d, ebx
mov rdx, rax
mov rcx, r14
call fcn.140002a60
jmp 0x140054a9a
mov r8d, 3
mov rcx, r14
call fcn.140002770
nop
mov dword [rsp + 0x40], 1
mov rdx, qword [r15]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140054ab9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r14
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1400d72a0
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x560
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret