Function at 0x1400192f0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x14006a080]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
call fcn.140017480
call fcn.140017f20
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.140022630
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140022630
lea r14, str.ROGLSLoader
mov edx, 0x104
lea rsi, [0x14006dcc0]
mov r9, r14
mov rcx, rsi
lea r8, [0x14005db08]
call fcn.1400011b0
mov r9, rsi
lea r8, str._s.zip
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400011b0
lea r15, [0x14006e400]
mov edx, 0x104
mov rcx, r15
lea r9, str.ROGLSLoader.exe
lea r8, [0x14005db08]
call fcn.1400011b0
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.140021c8c
mov rbx, rax
test rax, rax
jne 0x1400193d5
lea rbx, [rsp + 0x40]
jmp 0x1400193d9
add rbx, 2
mov edx, 0x2e
mov rcx, rbx
call fcn.140021c8c
sub rax, rbx
lea rcx, [rbp + 0x150]
sar rax, 1
mov r8, rbx
mov r9, rax
mov edx, 0x104
call fcn.14002adcc
lea r9, [0x14006dab0]
mov qword [rsp + 0x20], rsi
lea r8, str._s_s
mov edx, 0x104
lea rcx, [0x14006ded0]
call fcn.1400011b0
lea r9, [0x14006ded0]
mov qword [rsp + 0x20], r15
lea r8, str._s_s
mov edx, 0x104
lea rcx, [0x14006e0e0]
call fcn.1400011b0
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.140022630
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.140022630
lea r8, str.ProgramFiles_x86_
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14002c060
test eax, eax
jne 0x1400194d3
mov r9, qword [rsp + 0x30]
lea r8, str._sASUS
mov edx, 0x104
lea rcx, [rbp + 0x150]
call fcn.1400011b0
mov rcx, qword [rsp + 0x30]
call fcn.14002a2f8
lea r9, [rbp + 0x150]
mov edx, 0x104
lea r8, str._sAsusROGLSLServiceArmoury_Crate_Installer.exe
lea rcx, [rbp + 0x780]
call fcn.1400011b0
mov rcx, rdi
call fcn.140019a50
lea rcx, [0x14006e0e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor r15d, r15d
cmp eax, 0xffffffff
je 0x1400197e0
test al, 0x10
jne 0x1400197e0
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.ROGLSLoader_Already_Exist
call fcn.140005c50
mov dword [rsp + 0x30], 0x646e65
cmp qword [rdi], r15
je 0x14001955f
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14001955f
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14001955f
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140019540
inc r8
lea rdx, [rsp + 0x30]
call fcn.140022190
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140022630
lea r9, [0x14006e0e0]
mov dword [rsp + 0x30], r15d
lea r8, str.__ls_
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400011b0
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea r8, [rsp + 0x40]
lea rdx, str.runServiceLoader__securedPath___ls
call fcn.140005c50
mov ecx, 0x540
call fcn.14001fd78
xor edx, edx
mov qword [rsp + 0x38], rax
mov r8d, 0x540
mov rcx, rax
mov rbx, rax
call fcn.140022630
mov rcx, rbx
call fcn.1400170c0
lea r9, [rsp + 0x30]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov rbx, rax
call fcn.140014060
xor edx, edx
xor ecx, ecx
test al, al
je 0x1400199d1
call fcn.140003ed0
mov r8d, dword [rsp + 0x30]
lea rdx, str.runServiceLoader__exitCode___d
mov rcx, rax
call fcn.140005c50
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140019639
mov rcx, rbx
call fcn.1400145c0
mov edx, 0x540
mov rcx, rbx
call fcn.14001fad4
call fcn.140019260
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.DeleteDat_
call fcn.140005c50
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140022630
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.140022630
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.140022630
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.140022630
lea rax, str.ROGLSLoader1.enc
mov edx, 0x104
lea r9, [0x14006dab0]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rsp + 0x40]
call fcn.1400011b0
lea rax, str.ROGLSLoader1.tmp
mov edx, 0x104
lea r9, [0x14006dab0]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x360]
call fcn.1400011b0
lea rax, str.ROGLSLoader1.dat
mov edx, 0x104
lea r9, [0x14006dab0]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x570]
call fcn.1400011b0
lea rax, str.ROGLSLoader2.dat
mov edx, 0x104
lea r9, [0x14006dab0]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [rbp + 0x150]
call fcn.1400011b0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001976d
test al, 0x10
jne 0x14001976d
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140019790
test al, 0x10
jne 0x140019790
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x570]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400197b3
test al, 0x10
jne 0x1400197b3
lea rcx, [rbp + 0x570]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400197d6
test al, 0x10
jne 0x1400197d6
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
jmp 0x140019a1e
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.Ready_to_Download_ROGLSLoader
call fcn.140005c50
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140022630
lea r9, [0x14006dab0]
mov qword [rsp + 0x20], r14
lea r8, str._s_s.zip
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400011b0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001984b
test al, 0x10
jne 0x14001984b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140017ac0
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rax, [0x140017830]
mov qword [rbx + 0x8a8], rax
mov qword [rbx + 0x8b0], rdi
cmp dword [rbx + 0x860], r15d
jne 0x14001988b
lea rax, [0x140017940]
mov qword [rbx + 0x8d0], rdi
mov qword [rbx + 0x8c8], rax
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.140022630
mov eax, dword [rbx + 0x860]
test eax, eax
jne 0x1400198bb
mov qword [rbx + 0x888], r15
mov qword [rbx + 0x890], 0xa
cmp eax, 1
jne 0x1400198da
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.file_is_already_has_used
call fcn.140005c50
jmp 0x1400198e4
mov dword [rbx + 0x8dc], 0x3e8
cmp dword [rbx + 0x860], 1
jne 0x140019907
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.file_is_already_has_used
call fcn.140005c50
jmp 0x140019911
mov dword [rbx + 0x8e0], 0x3e8
mov rdx, rbx
call fcn.14000ffa0
movzx esi, al
cmp al, 1
jne 0x140019934
lea r9, [rbp + 0x150]
mov rdx, rbx
lea r8, [rsp + 0x38]
call fcn.14000f010
lea rdx, [rsp + 0x30]
call fcn.14000fcc0
cmp sil, 1
je 0x140019959
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.Download_Fail
jmp 0x140019a14
call fcn.140018cb0
test eax, eax
jne 0x140019977
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.First_UnZip_Fail
jmp 0x140019a14
call fcn.140019260
call fcn.140018550
test eax, eax
jne 0x140019997
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.DecodeZip_Fail
jmp 0x140019a14
call fcn.140017ff0
test eax, eax
jne 0x1400199b2
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.MergeZip_Fail
jmp 0x140019a14
call fcn.140018cb0
test eax, eax
jne 0x140019514
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.Second_UnZip_Fail
jmp 0x140019a14
call fcn.140003ed0
mov r8d, dword [rsp + 0x30]
lea rdx, str.Run_Download_ROGLSLoader_Cmd_Fail__exitCode___d
mov rcx, rax
call fcn.140005c50
test rbx, rbx
je 0x140019a04
mov rcx, rbx
call fcn.1400145c0
mov edx, 0x540
mov rcx, rbx
call fcn.14001fad4
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.Run_ROGLSLoader_Fail
mov rcx, rax
call fcn.140005c50
xor eax, eax
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.14001fab0
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret