Function at 0x140023210
Capabilities:
Delete file
Get common file path
Get file size
Read file on windows

Disassembly:
sub rsp, 0x298
mov rax, qword [0x140066018]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.140029b90
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8014
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x1400233dd
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xd0]
call fcn.140019180
nop
movzx r8d, byte [rsp + 0x43]
lea rdx, [0x140050fd8]
lea rcx, [rsp + 0xf0]
call fcn.140012210
mov rcx, rax
call fcn.1400209d0
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14001f2e0
lea rcx, [rsp + 0xd0]
call fcn.14001f680
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x1400233ce
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400233c2
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400233af
call fcn.14001b210
mov ecx, dword [rsp + 0x48]
mov r8, rax
mov edx, ecx
mov rcx, qword [rsp + 0x50]
call fcn.140016ad0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x80769fc1
jne 0x140023399
mov byte [rsp + 0x40], 1
jmp 0x1400233af
lea rcx, [rsp + 0xd0]
call fcn.14001f680
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xd0]
call fcn.140019f70
jmp 0x1400233e4
xor al, al
jmp 0x140023565
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x140023563
lea rcx, [0x140050ab4]
call fcn.1400337c0
movzx r8d, byte [rsp + 0x44]
lea rdx, str.Doing_initial_setup__please_wait...
lea rcx, [rsp + 0x140]
call fcn.14000d2f0
mov rcx, rax
call fcn.1400210b0
mov rdx, rax
lea rcx, [0x140067ad0]
call fcn.140016700
lea rdx, [0x140018ad0]
mov rcx, rax
call fcn.14001a750
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xb0]
call fcn.140019180
nop
movzx r8d, byte [rsp + 0x45]
lea rdx, str.Roboto_Medium.ttf
lea rcx, [rsp + 0x108]
call fcn.1400124e0
mov rcx, rax
call fcn.1400209d0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14001f2e0
lea rcx, [rsp + 0x78]
call fcn.1400194f0
nop
movzx r8d, byte [rsp + 0x46]
lea rdx, str._loader_Roboto_Medium.ttf
lea rcx, [rsp + 0x120]
call fcn.14000f8b0
mov rcx, rax
call fcn.140020cf0
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.14001b0f0
movzx eax, al
test eax, eax
jne 0x1400234ed
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x78]
call fcn.14001a0c0
nop
lea rcx, [rsp + 0xb0]
call fcn.140019f70
movzx eax, byte [rsp + 0x41]
jmp 0x140023565
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
call fcn.140019110
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.1400242c0
movzx eax, al
test eax, eax
jne 0x14002354b
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x78]
call fcn.14001a0c0
nop
lea rcx, [rsp + 0xb0]
call fcn.140019f70
movzx eax, byte [rsp + 0x42]
jmp 0x140023565
lea rcx, [rsp + 0x78]
call fcn.14001a0c0
nop
lea rcx, [rsp + 0xb0]
call fcn.140019f70
mov al, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140025cc0
add rsp, 0x298
ret