Function at 0x140018cb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
mov eax, 0x17f0
call fcn.1400208c0
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x1800], rbx
mov qword [rsp + 0x1808], rsi
mov rax, qword [0x14006a080]
xor rax, rsp
mov qword [rsp + 0x17e0], rax
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__Begin.
call fcn.140005c50
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x7a0]
call fcn.140022630
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x9b0]
call fcn.140022630
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x590]
call fcn.140022630
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xdd0]
call fcn.140022630
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea r9, str.AsusROGLSLServiceAsZip.exe
lea rdx, str.ProgramFiles_x86_
lea rcx, [rsp + 0x7a0]
call fcn.140019e60
test al, al
je 0x140018da8
lea r9, str.AsusROGLSLServiceAsZip.dll
lea rdx, str.ProgramFiles_x86_
lea rcx, [rsp + 0x9b0]
call fcn.140019e60
test al, al
jne 0x140018dce
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__getWorkingPath_AsZip__failed.
call fcn.140005c50
lea rax, str.ROGLSLoader
mov qword [rsp + 0x20], rax
lea rsi, [0x14006dab0]
mov r9, rsi
lea r8, str._s_s.zip
mov edx, 0x104
lea rcx, [rsp + 0x590]
call fcn.1400011b0
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rax, [rsp + 0x590]
mov qword [rsp + 0x20], rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__ZipPath:__ls
call fcn.140005c50
lea rcx, [rsp + 0x590]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001916a
test al, 0x10
jne 0x14001916a
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdi, [0x14006ded0]
mov qword [rsp + 0x20], rdi
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__To_check_dirExists___ls__...
call fcn.140005c50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140018ed5
test al, 0x10
je 0x140018ed5
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__To_delete_the_directory.
call fcn.140005c50
mov byte [rsp + 0x40], bl
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xdd0]
mov rcx, rdi
call fcn.1400155d0
lea rcx, [rsp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140019026
test al, 0x10
jne 0x140019026
lea rcx, [rsp + 0x9b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140019026
test al, 0x10
jne 0x140019026
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0xfe0]
call fcn.140022630
xor edx, edx
mov r8d, 0x540
lea rcx, [rsp + 0x50]
call fcn.140022630
lea rcx, [rsp + 0x50]
call fcn.1400170c0
nop
mov dword [rsp + 0x44], ebx
lea rax, [rsp + 0x590]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7a0]
lea r8, str.__ls____ls_
mov edx, 0x400
lea rcx, [rsp + 0xfe0]
call fcn.14001b6e0
lea r9, [rsp + 0x44]
lea rdx, [rsp + 0xfe0]
lea rcx, [rsp + 0x50]
call fcn.140014060
test al, al
je 0x140018fd8
cmp dword [rsp + 0x44], 0
jne 0x140018fd8
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__AsZip_succeeded.
mov rcx, rax
call fcn.140005c50
mov ebx, 1
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x50]
call fcn.1400145c0
nop
jmp 0x1400191a4
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov ecx, dword [rsp + 0x44]
mov dword [rsp + 0x20], ecx
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__AsZip_unzip_failed___lu_.
mov rcx, rax
call fcn.140005c50
nop
lea rcx, [rsp + 0x50]
call fcn.1400145c0
nop
jmp 0x140019026
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__COM_unzip...
call fcn.140005c50
nop
lea rcx, [rsp + 0x590]
call fcn.1400188f0
xor edx, edx
xor ecx, ecx
test al, al
je 0x140019092
call fcn.140003ed0
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__ComUnzip_succeeded.
mov rcx, rax
call fcn.140005c50
mov ebx, 1
mov dword [rsp + 0x30], ebx
jmp 0x1400191a4
call fcn.140003ed0
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__ComUnzip_failed.
mov rcx, rax
call fcn.140005c50
nop
jmp 0x1400190c9
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__PS_unzip...
call fcn.140005c50
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xbc0]
call fcn.140022630
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x590]
lea r8, str.PowerShell__WindowStyle_Hidden__Expand_Archive__LiteralPath__s__DestinationPath__s__Force
mov edx, 0x104
lea rcx, [rsp + 0xbc0]
call fcn.1400011b0
lea rcx, [rsp + 0xbc0]
call fcn.14002ba80
test eax, eax
je 0x140019163
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__PS_unzip_fail.
call fcn.140005c50
jmp 0x1400191a4
mov ebx, 1
jmp 0x1400191a4
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rax, [rsp + 0x590]
mov qword [rsp + 0x20], rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs___ls_does_not_exist
call fcn.140005c50
lea rdi, [0x14006ded0]
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__To_check_dirExists___ls___again...
call fcn.140005c50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140019207
test al, 0x10
je 0x140019207
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__The_target_directory_exists.
call fcn.140005c50
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
mov dword [rsp + 0x20], ebx
lea r9, str.unZipSetup
lea r8, str.Download
lea rdx, str.__ls___hs__End.___d_
call fcn.140005c50
mov eax, ebx
mov rcx, qword [rsp + 0x17e0]
xor rcx, rsp
call fcn.14001fab0
lea r11, [rsp + 0x17f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret