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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov r14, rdx
mov r15, rcx
and dword [rbp - 0x40], 0
mov rcx, qword [rdx]
or rsi, 0xffffffffffffffff
cmp dword [rcx - 0x10], 0
jl 0x14003893a
lea rdx, str.chrome
call fcn.1400b1a54
test rax, rax
je 0x14003893a
sub rax, qword [r14]
sar rax, 1
test eax, eax
jle 0x14003893a
lea edx, [rsi + 0x5d]
mov rcx, qword [r14]
call fcn.1400b3578
test rax, rax
je 0x14003893a
sub rax, qword [r14]
sar rax, 1
test eax, eax
jle 0x14003893a
lea r8d, [rax + 1]
lea rdx, [rbp - 0x38]
mov rcx, r14
call fcn.1400169b0
nop
lea r8, str.VisualElementsManifest.xml
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x58]
call fcn.140016a58
nop
mov rcx, qword [rbp + 0x58]
lea edx, [rsi + 2]
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
or eax, edx
jge 0x14003873c
xor edx, edx
lea rcx, [rbp + 0x58]
call fcn.140001f54
mov rcx, qword [rbp + 0x58]
and 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 r12, rax
test rax, rax
je 0x1400388fd
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [rax + 0xa]
call fcn.1400b17cc
mov rdi, rax
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x50]
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbp + 0x50]
mov byte [rcx + rdi], 0
lea rdx, str.SplashScreen_Image
mov rcx, rdi
call fcn.1400b4710
mov rbx, rax
test rax, rax
je 0x1400388fd
mov edx, 0x5c
lea rcx, [rax + 0x14]
call fcn.1400b4394
test rax, rax
je 0x14003887f
mov byte [rax], 0
lea rax, [rbp - 0x20]
mov qword [rbp - 0x28], rax
mov qword [rbp - 8], 0xf
and qword [rbp - 0x10], 0
mov byte [rbp - 0x20], 0
or rsi, 0xffffffffffffffff
cmp byte [rbx + 0x14], 0
jne 0x14003880d
xor r8d, r8d
jmp 0x14003881b
mov r8, rsi
inc r8
cmp byte [rbx + r8 + 0x14], 0
jne 0x140038810
lea rdx, [rbx + 0x14]
lea rcx, [rbp - 0x20]
call fcn.1400013c8
nop
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.14001a528
mov dword [rbp - 0x40], 1
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14003885b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14003887a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140038950
mov r9d, dword [0x14018cd80]
lea ecx, [r9 + 2]
lea eax, [r9 + 1]
imul ecx, eax
imul ecx, r9d
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 0x1400388fd
xor ecx, ecx
mov r10d, 0x87
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov edi, eax
test edi, edi
jle 0x1400388f6
mov eax, r9d
cdq
and edx, 3
add eax, edx
sar eax, 2
xor r8d, r8d
mov rbx, rdi
test eax, eax
jle 0x1400388ee
mov edx, r8d
mov r11d, eax
add r10d, edx
dec edx
dec r11
jne 0x1400388e4
add r8d, ecx
dec rbx
jne 0x1400388da
inc ecx
cmp ecx, r10d
jl 0x1400388c4
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14003891c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14003893a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [0x140120238]
mov rcx, r15
call fcn.140001cb0
mov dword [rbp - 0x40], 1
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14003896d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r15
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret