Function at 0x1400192d0
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.140017470
call fcn.140017f10
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.1400220d0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1400220d0
lea r14, str.ROGLSLoader
mov edx, 0x104
lea rsi, [0x14006dcc0]
mov r9, r14
mov rcx, rsi
lea r8, [0x14005dad8]
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, [0x14005dad8]
call fcn.1400011b0
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.14002172c
mov rbx, rax
test rax, rax
jne 0x1400193b5
lea rbx, [rsp + 0x40]
jmp 0x1400193b9
add rbx, 2
mov edx, 0x2e
mov rcx, rbx
call fcn.14002172c
sub rax, rbx
lea rcx, [rbp + 0x150]
sar rax, 1
mov r8, rbx
mov r9, rax
mov edx, 0x104
call fcn.14002a86c
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.1400220d0
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.1400220d0
lea r8, str.ProgramFiles_x86_
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14002bb00
test eax, eax
jne 0x1400194b3
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.140029d98
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.140019a30
lea rcx, [0x14006e0e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor r15d, r15d
cmp eax, 0xffffffff
je 0x1400197c0
test al, 0x10
jne 0x1400197c0
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 0x14001953f
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14001953f
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14001953f
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140019520
inc r8
lea rdx, [rsp + 0x30]
call fcn.140021c30
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1400220d0
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.14001f818
xor edx, edx
mov qword [rsp + 0x38], rax
mov r8d, 0x540
mov rcx, rax
mov rbx, rax
call fcn.1400220d0
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 0x1400199b1
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 0x140019619
mov rcx, rbx
call fcn.1400145c0
mov edx, 0x540
mov rcx, rbx
call fcn.14001f574
call fcn.140019240
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.1400220d0
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.1400220d0
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.1400220d0
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.1400220d0
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 0x14001974d
test al, 0x10
jne 0x14001974d
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 0x140019770
test al, 0x10
jne 0x140019770
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 0x140019793
test al, 0x10
jne 0x140019793
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 0x1400197b6
test al, 0x10
jne 0x1400197b6
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
jmp 0x1400199fe
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.1400220d0
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 0x14001982b
test al, 0x10
jne 0x14001982b
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140017ab0
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rax, [0x140017820]
mov qword [rbx + 0x8a8], rax
mov qword [rbx + 0x8b0], rdi
cmp dword [rbx + 0x860], r15d
jne 0x14001986b
lea rax, [0x140017930]
mov qword [rbx + 0x8d0], rdi
mov qword [rbx + 0x8c8], rax
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.1400220d0
mov eax, dword [rbx + 0x860]
test eax, eax
jne 0x14001989b
mov qword [rbx + 0x888], r15
mov qword [rbx + 0x890], 0xa
cmp eax, 1
jne 0x1400198ba
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.file_is_already_has_used
call fcn.140005c50
jmp 0x1400198c4
mov dword [rbx + 0x8dc], 0x3e8
cmp dword [rbx + 0x860], 1
jne 0x1400198e7
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.file_is_already_has_used
call fcn.140005c50
jmp 0x1400198f1
mov dword [rbx + 0x8e0], 0x3e8
mov rdx, rbx
call fcn.14000ffa0
movzx esi, al
cmp al, 1
jne 0x140019914
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 0x140019939
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.Download_Fail
jmp 0x1400199f4
call fcn.140018ca0
test eax, eax
jne 0x140019957
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.First_UnZip_Fail
jmp 0x1400199f4
call fcn.140019240
call fcn.140018540
test eax, eax
jne 0x140019977
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.DecodeZip_Fail
jmp 0x1400199f4
call fcn.140017fe0
test eax, eax
jne 0x140019992
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.MergeZip_Fail
jmp 0x1400199f4
call fcn.140018ca0
test eax, eax
jne 0x1400194f4
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea rdx, str.Second_UnZip_Fail
jmp 0x1400199f4
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 0x1400199e4
mov rcx, rbx
call fcn.1400145c0
mov edx, 0x540
mov rcx, rbx
call fcn.14001f574
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.14001f550
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