Function at 0x180076310
Capabilities:
Get common file path
Get file size
Get startup folder
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x300], rbx
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, r8
mov r14, rdx
xor r15d, r15d
mov word [rbp - 0x50], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x4e]
call fcn.18008c480
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r15
mov word [rsp + 0x30], r15w
lea rdx, str.MacromedFlashVersion.dll
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1800763b0
lea rcx, [rsp + 0x30]
call fcn.180003940
nop
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp word [rbp - 0x50], 0
jne 0x1800763ef
mov r8, r15
jmp 0x18007640b
lea rax, [rbp - 0x50]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180076400
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.180003940
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.180009980
nop
cmp qword [rsp + 0x68], 8
jb 0x180076440
mov rcx, qword [rsp + 0x50]
call fcn.18008861c
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp qword [rsp + 0x48], 8
jb 0x180076466
mov rcx, qword [rsp + 0x30]
call fcn.18008861c
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r15
mov word [rsp + 0x30], r15w
lea rcx, [rbp - 0x70]
call fcn.1800103b0
mov byte [rbx], al
test al, al
jne 0x180076491
xor dil, dil
jmp 0x18007662f
mov ecx, 8
call fcn.180088680
mov rbx, rax
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1800764b0
mov qword [rax], 0xffffffffffffffff
jmp 0x1800764b3
mov rbx, r15
mov qword [rbp - 0x80], rbx
test rbx, rbx
je 0x180076605
mov r9d, 0x80
lea r8d, [r9 - 0x7d]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.1800122b0
mov rbx, qword [rbp - 0x80]
test al, al
je 0x180076605
xor dil, dil
test rbx, rbx
je 0x180076608
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1800765e9
lea rdx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x18007651b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800765e9
mov ecx, dword [rbp - 0x78]
shl rcx, 0x20
add rcx, rsi
cmp rcx, 8
jb 0x1800765e9
add rcx, 0xfffffffffffffff8
cmp qword [rbx], 0xffffffffffffffff
je 0x1800765e9
mov qword [rbp - 0x78], rcx
xor r9d, r9d
lea r8, [rbp - 0x74]
mov edx, ecx
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp - 0x78], eax
cmp eax, 0xffffffff
jne 0x180076569
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1800765e9
mov dword [rsp + 0x7c], r15d
mov dword [rsp + 0x78], r15d
cmp qword [rbx], 0xffffffffffffffff
je 0x1800765e9
mov dword [rsp + 0x78], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x78]
mov r8d, 4
lea rdx, [rsp + 0x7c]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800765e9
cmp dword [rsp + 0x7c], 0xff2144
jne 0x1800765e9
mov dword [rsp + 0x78], r15d
test r14, r14
je 0x1800765e9
cmp qword [rbx], 0xffffffffffffffff
je 0x1800765e9
mov dword [rsp + 0x78], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x78]
mov r8d, 4
mov rdx, r14
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movzx edi, dil
mov ecx, 1
test eax, eax
cmovne edi, ecx
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x180076608
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x180076608
mov qword [rbx], 0xffffffffffffffff
jmp 0x180076608
xor dil, dil
test rbx, rbx
je 0x18007662f
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x180076623
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov rcx, rbx
call fcn.18008861c
mov qword [rbp - 0x80], r15
cmp qword [rbp - 0x58], 8
jb 0x18007663f
mov rcx, qword [rbp - 0x70]
call fcn.18008861c
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r15
mov word [rbp - 0x70], r15w
movzx eax, dil
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.180087ea0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret