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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5a8]
sub rsp, 0x6a8
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rbp + 0x590], rax
movzx edi, r9b
mov ebx, r8d
mov dword [rsp + 0x30], edi
lea r9, str.onHandleUiCheckLicense
mov r14, rdx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
lea r8, str.ServiceControl
mov rsi, rcx
lea rdx, str.__hs___hs__Begin.____ls____u___d_
lea rcx, [0x140077e88]
call fcn.1400042c0
lea r8, [0x140065ae0]
call fcn.140013ac0
lea r8, [0x140065b30]
mov r12d, eax
call fcn.140013ac0
xor edx, edx
mov dword [rsp + 0x44], eax
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140026cc0
xor edx, edx
lea rcx, [rbp + 0x170]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rbp + 0x380]
mov r8d, 0x208
call fcn.140026cc0
test r14, r14
je 0x14001e15b
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rcx, [0x140077e88]
cmp ebx, 1
jne 0x14001e0c9
lea rdx, str.__hs___hs__projectStyle__ROG
call fcn.1400042c0
mov r8, r14
lea rdx, str._s__asus2357start__win_grid
lea rcx, [rsp + 0x60]
call fcn.140001d70
mov r8, r14
lea rdx, str._s__asus2357start__hide__win_grid
lea rcx, [rbp + 0x170]
call fcn.140001d70
lea rdx, str.__barstyle_rog
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rbp + 0x380]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x14001e15b
cmp ebx, 2
jne 0x14001e125
test dil, dil
je 0x14001e0fc
lea rdx, str.__hs___hs__projectStyle__AC__needPreInstallDriver__true
call fcn.1400042c0
mov r8, r14
lea rdx, str._s__asus2357start__win_armourycrate__driver
lea rcx, [rsp + 0x60]
call fcn.140001d70
lea rdx, str._s__asus2357start__hide__win_armourycrate__driver
jmp 0x14001e14c
lea rdx, str.__hs___hs__projectStyle__AC__needPreInstallDriver__false
call fcn.1400042c0
mov r8, r14
lea rdx, str._s__asus2357start__win_armourycrate
lea rcx, [rsp + 0x60]
call fcn.140001d70
lea rdx, str._s__asus2357start__hide__win_armourycrate
jmp 0x14001e14c
lea rdx, str.__hs___hs__projectStyle___ELSE_
call fcn.1400042c0
mov r8, r14
lea rdx, str._s__asus2357start
lea rcx, [rsp + 0x60]
call fcn.140001d70
lea rdx, str._s__asus2357start__hide
mov r8, r14
lea rcx, [rbp + 0x170]
call fcn.140001d70
lea rcx, [rsp + 0x48]
xor r13b, r13b
call fcn.140012320
movzx r15d, al
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
mov dword [rsp + 0x20], r15d
lea rdx, str.__hs___hs__isAllowUI_frist__d
mov byte [rsp + 0x41], r13b
lea rcx, [0x140077e88]
mov byte [rsp + 0x40], r13b
call fcn.1400042c0
mov edi, dword [rsp + 0x44]
test r15b, r15b
je 0x14001e1dc
cmp edi, 1
je 0x14001e1dc
call fcn.14001de40
test eax, eax
je 0x14001e1dc
xor r15b, r15b
mov byte [rsp + 0x41], 1
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__firstRunning_true
lea rcx, [0x140077e88]
call fcn.1400042c0
cmp dword [rsi + 0x270], 0
jne 0x14001e770
nop dword [rax]
test r15b, r15b
je 0x14001e1fe
test r13b, r13b
je 0x14001e311
mov edx, 1
mov rcx, rsi
call fcn.14001dd20
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__before_postshell_WaitForSingleObject
lea rcx, [0x140077e88]
call fcn.1400042c0
mov rcx, qword [rsi + 0x250]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r9, str.onHandleUiCheckLicense
mov ebx, eax
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__after_postshell_WaitForSingleObject
lea rcx, [0x140077e88]
call fcn.1400042c0
test ebx, ebx
je 0x14001e271
cmp ebx, 0x102
jne 0x14001e5f8
cmp edi, 1
je 0x14001e2c3
mov edx, 1
lea rcx, [0x140065b30]
call fcn.14001dbd0
mov dword [rsp + 0x44], 1
call fcn.14001de40
test eax, eax
je 0x14001e2c3
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__isDefaultUser__true
lea rcx, [0x140077e88]
call fcn.1400042c0
mov byte [rsp + 0x41], 1
jmp 0x14001e5e2
cmp dword [rsi + 0x270], 0
jne 0x14001e770
lea rcx, [rsp + 0x48]
call fcn.140012320
movzx r15d, al
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
mov dword [rsp + 0x20], r15d
lea rdx, str.__hs___hs__isAllowUI___d.
lea rcx, [0x140077e88]
call fcn.1400042c0
cmp r15b, 1
jne 0x14001e5e2
xor r13b, r13b
test r14, r14
je 0x14001e737
mov r8, r14
lea rdx, [0x140065f48]
mov ecx, 0x12c
call fcn.140010650
mov rcx, r14
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001e6ec
test al, 0x10
jne 0x14001e6ec
mov ecx, 0x540
call fcn.140024108
xor edx, edx
mov qword [rsp + 0x50], rax
mov r8d, 0x540
mov rcx, rax
mov rbx, rax
call fcn.140026cc0
mov rcx, rbx
call fcn.1400185a0
mov rcx, qword [rsi + 0x248]
mov rdi, rax
mov dword [rsp + 0x58], 0xffffffff
test rcx, rcx
jne 0x14001e3b1
lea r9, str.FinishEvent
xor r8d, r8d
lea edx, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x248], rax
mov rcx, rax
test rax, rax
je 0x14001e6bc
lea r9, str.onHandleUiCheckLicense
mov dword [rsp + 0x20], r12d
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__isUiHasShow__d
lea rcx, [0x140077e88]
call fcn.1400042c0
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rcx, [0x140077e88]
cmp r12d, 1
jne 0x14001e407
lea rdx, str.__hs___hs__show_minimal_ui
call fcn.1400042c0
lea rbx, [rbp + 0x170]
jmp 0x14001e460
movzx eax, byte [rsp + 0x41]
lea rdx, str.__hs___hs__show_normal_ui_isFirst_d
mov dword [rsp + 0x20], eax
call fcn.1400042c0
cmp byte [rsp + 0x41], 0
lea rbx, [rsp + 0x60]
je 0x14001e460
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__firstRunning__true.
lea rcx, [0x140077e88]
call fcn.1400042c0
lea rdx, str.__first
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov byte [rsp + 0x41], 0
lea r9, [rsp + 0x58]
mov r8b, 1
mov rdx, rbx
mov rcx, rdi
call fcn.140012430
test al, al
je 0x14001e69b
cmp r12d, 1
je 0x14001e4c1
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__isUiHasShow___UI_HAS_RUN_FIRST
lea rcx, [0x140077e88]
call fcn.1400042c0
mov edx, 1
lea rcx, [0x140065ae0]
call fcn.14001dbd0
test eax, eax
je 0x14001e628
mov r12d, 1
mov eax, dword [rsp + 0x58]
lea r9, str.onHandleUiCheckLicense
mov dword [rsp + 0x28], r12d
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__exitCode_lu__isUiHasShow_d
mov dword [rsp + 0x20], eax
lea rcx, [0x140077e88]
call fcn.1400042c0
test rdi, rdi
je 0x14001e4fc
mov rcx, rdi
call fcn.1400192c0
mov eax, dword [rsp + 0x58]
cmp eax, 0x5557
jne 0x14001e549
mov bl, 1
lea rcx, str.adnr
mov edx, eax
mov byte [rsp + 0x40], bl
call fcn.14001dbd0
test eax, eax
jne 0x14001e5d5
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__write_UI_INSTALL_faile
lea rcx, [0x140077e88]
call fcn.1400042c0
jmp 0x14001e5d5
cmp eax, 0x5555
jne 0x14001e580
mov edx, eax
lea rcx, str.adll
call fcn.14001dbd0
test eax, eax
jne 0x14001e5d0
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__write_UI_INSTALL_faile
lea rcx, [0x140077e88]
jmp 0x14001e5cb
lea r9, str.onHandleUiCheckLicense
mov r13b, 1
lea r8, str.ServiceControl
lea rcx, [0x140077e88]
cmp eax, 0x5556
jne 0x14001e5a8
lea rdx, str.__hs___hs__next_login_check
jmp 0x14001e5cb
cmp eax, 0x40010004
jne 0x14001e5b8
lea rdx, str.__hs___hs__system_kill_process
jmp 0x14001e5cb
lea rdx, str.__hs___hs__task_manager_kill_process
cmp eax, 1
je 0x14001e5cb
lea rdx, str.__hs___hs__other_code
call fcn.1400042c0
movzx ebx, byte [rsp + 0x40]
mov rcx, rsi
call fcn.14001dce0
test r13b, r13b
je 0x14001e656
cmp dword [rsi + 0x270], 0
jne 0x14001e770
mov edi, dword [rsp + 0x44]
jmp 0x14001e1f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.onHandleUiCheckLicense
mov dword [rsp + 0x20], eax
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__wait_postshell_Error__lu
lea rcx, [0x140077e88]
call fcn.1400042c0
jmp 0x14001e791
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__dont_write_reg_table
lea rcx, [0x140077e88]
call fcn.1400042c0
mov rcx, rsi
call fcn.14001dce0
jmp 0x14001e791
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rcx, [0x140077e88]
test bl, bl
je 0x14001e685
lea rdx, str.__hs___hs__NEVER_SETUP
call fcn.1400042c0
mov eax, 0x5557
jmp 0x14001e793
lea rdx, str.__hs___hs__AGREE_INSTALL
call fcn.1400042c0
mov eax, 0x5555
jmp 0x14001e793
test rdi, rdi
je 0x14001e6a8
mov rcx, rdi
call fcn.1400192c0
mov rcx, rsi
call fcn.14001dce0
lea rdx, str.__hs___hs__startNormalUi_fail
jmp 0x14001e777
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.onHandleUiCheckLicense
mov dword [rsp + 0x20], eax
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__m_hFinishEvent_create_fail__ld
lea rcx, [0x140077e88]
call fcn.1400042c0
jmp 0x14001e791
lea r9, str.onHandleUiCheckLicense
mov qword [rsp + 0x20], r14
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__file_not_found__S
lea rcx, [0x140077e88]
call fcn.1400042c0
mov r8d, ebx
mov rcx, rsi
call fcn.140011870
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.file_not_found
mov rcx, rsi
mov r8d, eax
call fcn.1400117a0
jmp 0x14001e791
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rdx, str.__hs___hs__dont_show_ui_run_next
lea rcx, [0x140077e88]
call fcn.1400042c0
mov edx, 1
lea rcx, [0x140065ae0]
call fcn.14001dbd0
mov eax, 0x5555
jmp 0x14001e793
lea rdx, str.__hs___hs__Stop_and_return_0.
lea r9, str.onHandleUiCheckLicense
lea r8, str.ServiceControl
lea rcx, [0x140077e88]
call fcn.1400042c0
xor eax, eax
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140023e40
add rsp, 0x6a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret