Function at 0x140142010
Capabilities:
Create thread
Modify service
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x840]
sub rsp, 0x940
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rbp + 0x838], rax
mov r14, rcx
mov qword [rsp + 0x70], rcx
lea rax, [rbp + 0x198]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x40], rax
xor esi, esi
mov qword [rbp + 0x198], rsi
mov qword [rbp + 0x1a8], rsi
mov qword [rbp + 0x1b0], 7
lea r8d, [rsi + 1]
lea rdx, [0x140269678]
lea rcx, [rbp + 0x198]
call fcn.1400cf720
nop
mov qword [rbp + 0x1b8], rsi
mov qword [rbp + 0x1c8], rsi
mov qword [rbp + 0x1d0], 7
lea r8d, [rsi + 0xa]
lea rdx, str.DoingJ0Job
lea rcx, [rbp + 0x1b8]
call fcn.1400cf720
nop
mov qword [rbp + 0x1d8], rsi
mov qword [rbp + 0x1e8], rsi
mov qword [rbp + 0x1f0], 7
lea r8d, [rsi + 0x3e]
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x1d8]
call fcn.1400cf720
nop
lea r9, [rbp + 0x198]
lea r8, [rbp + 0x1b8]
lea rdx, [rbp + 0x1d8]
mov rcx, 0xffffffff80000002
call fcn.14019ec00
mov qword [rsp + 0x48], 1
mov dword [rbp + 0x4f8], 0x15180
mov qword [rbp + 0x508], rsi
mov qword [rbp + 0x500], rsi
mov dword [rbp + 0x510], 1
lea rax, [rsp + 0x48]
mov qword [rbp + 0x518], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x1401421cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
lea rcx, [0x140000000]
lea rdx, [rcx + 0x278130]
lea rdx, [rdx + rax*2]
mov qword [rbp + 0x1f8], rsi
mov qword [rbp + 0x208], rsi
mov qword [rbp + 0x210], 7
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401421a5
lea rcx, [rbp + 0x1f8]
call fcn.1400cf720
lea rcx, [rbp + 0x1f8]
call fcn.140162a30
jmp 0x1401422f4
mov r8d, 0xf003f
lea rdx, str.ASUSSystemAnalysis
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x14014224d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
lea rcx, [0x140000000]
lea rdx, [rcx + 0x278160]
lea rdx, [rdx + rax*2]
mov qword [rbp + 0x218], rsi
mov qword [rbp + 0x228], rsi
mov qword [rbp + 0x230], 7
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140142225
lea rcx, [rbp + 0x218]
call fcn.1400cf720
lea rcx, [rbp + 0x218]
call fcn.140162a30
jmp 0x1401422eb
lea r8, [rbp + 0x4f8]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x1401422a4
mov qword [rbp + 0x238], rsi
mov qword [rbp + 0x248], rsi
mov qword [rbp + 0x250], 7
lea r8d, [rax + 0x1c]
lea rdx, str.ChangeServiceConfig2_failed_n
lea rcx, [rbp + 0x238]
call fcn.1400cf720
lea rcx, [rbp + 0x238]
call fcn.140162a30
jmp 0x1401422e2
mov qword [rbp + 0x258], rsi
mov qword [rbp + 0x268], rsi
mov qword [rbp + 0x270], 7
mov r8d, 0x2a
lea rdx, str.Service_description_updated_successfully._n
lea rcx, [rbp + 0x258]
call fcn.1400cf720
lea rcx, [rbp + 0x258]
call fcn.140162490
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [rsp + 0x58]
call fcn.140164400
nop
lea rcx, [rsp + 0x58]
call fcn.140165ae0
mov ebx, eax
mov edx, eax
lea rcx, [rbp + 0x770]
call fcn.1400dab80
nop
mov r8, rax
lea rdx, str._AsusSystemAnalysisService__is_s_mode_
lea rcx, [rbp + 0x530]
call fcn.1400b8710
mov rcx, rax
call fcn.1401626a0
nop
mov rdx, qword [rbp + 0x788]
cmp rdx, 0x10
jb 0x14014237a
inc rdx
mov rcx, qword [rbp + 0x770]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140142375
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401439bf
call fcn.1401bfb10
mov byte [rbp + 0x770], 0
cmp ebx, 1
jne 0x140142427
lea rdx, str.C:RecoveryOEMAsusWinREMainAsusWinRE_S.exe
lea rcx, str.C:RecoveryOEMAsusWinREMainAsusWinRE.exe
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1401424bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x790]
call fcn.1400f2fc0
nop
mov r8, rax
lea rdx, str._MoveFile__Error_has_occurred:
lea rcx, [rbp + 0x550]
call fcn.1400b8710
mov rcx, rax
call fcn.1401626a0
nop
mov rdx, qword [rbp + 0x7a8]
cmp rdx, 0x10
jb 0x14014241b
inc rdx
mov rcx, qword [rbp + 0x790]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140142416
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401439c5
call fcn.1401bfb10
mov byte [rbp + 0x790], 0
jmp 0x1401424bb
lea rdx, str.C:RecoveryOEMAsusWinREMainAsusWinRE.exe
lea rcx, str.C:RecoveryOEMAsusWinREMainAsusWinRE_S.exe
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1401424bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x7b0]
call fcn.1400f2fc0
nop
mov r8, rax
lea rdx, str._MoveFile__Error_has_occurred:
lea rcx, [rbp + 0x570]
call fcn.1400b8710
mov rcx, rax
call fcn.1401626a0
nop
mov rdx, qword [rbp + 0x7c8]
cmp rdx, 0x10
jb 0x1401424b4
inc rdx
mov rcx, qword [rbp + 0x7b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401424af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401439cb
call fcn.1401bfb10
mov byte [rbp + 0x7b0], 0
lea rax, [rbp + 0x278]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x278], rsi
mov qword [rbp + 0x288], rsi
mov qword [rbp + 0x290], 7
mov r8d, 7
lea rdx, str.EcFwRev
lea rcx, [rbp + 0x278]
call fcn.1400cf720
nop
mov qword [rbp + 0x298], rsi
mov qword [rbp + 0x2a8], rsi
mov qword [rbp + 0x2b0], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x298]
call fcn.1400cf720
nop
lea r8, [rbp + 0x278]
lea rdx, [rbp + 0x298]
mov rcx, 0xffffffff80000002
call fcn.14019e2e0
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x2b8], rsi
mov qword [rbp + 0x2c8], rsi
mov qword [rbp + 0x2d0], 7
mov r8d, SafeArrayGetLBound
lea rdx, str.SERVICEVERSION
lea rcx, [rbp + 0x2b8]
call fcn.1400cf720
nop
mov qword [rbp + 0x2d8], rsi
mov qword [rbp + 0x2e8], rsi
mov qword [rbp + 0x2f0], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x2d8]
call fcn.1400cf720
nop
lea r9, [rbp + 0x2b8]
lea r8, [rbp + 0x2d8]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x670]
call fcn.14019e680
nop
lea rcx, [rbp + 0x630]
call fcn.1401a6ec0
nop
lea r8, [rbp + 0x670]
mov r10, qword [rbp + 0x670]
mov r11, qword [rbp + 0x688]
cmp r11, 8
cmovae r8, r10
mov r9, qword [rbp + 0x680]
mov rdx, r9
mov eax, 0xd
cmp r9, rax
cmova rdx, rax
lea rdi, str.ERROR_READREG
mov rcx, rdi
test rdx, rdx
je 0x140142644
sub r8, rdi
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14014264e
add rcx, 2
sub rdx, 1
jne 0x140142630
cmp r9, 0xd
je 0x1401427c7
lea rcx, [rbp + 0x630]
cmp qword [rbp + 0x648], 8
cmovae rcx, qword [rbp + 0x630]
lea r8, [rbp + 0x670]
cmp r11, 8
cmovae r8, r10
mov rdx, r9
mov r10, qword [rbp + 0x640]
cmp r10, r9
cmovb rdx, r10
test rdx, rdx
je 0x1401426a4
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1401426af
add rcx, 2
sub rdx, 1
jne 0x140142690
cmp r9, r10
jb 0x1401426af
jbe 0x140142843
mov qword [rbp - 8], rsi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], SafeArrayLock
mov ecx, 0x30
call fcn.1400b88d0
mov rdx, rax
mov qword [rbp + 8], 0x2f
mov qword [rbp + 0x10], 0x2f
movups xmm0, xmmword [str._AsusSystemAnalysisService__Service_is_updated.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140276878]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140276888]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x140276890]
mov dword [rax + 0x28], ecx
movzx ecx, word [0x140276894]
mov word [rax + 0x2c], cx
movzx eax, byte [0x140276896]
mov byte [rdx + 0x2e], al
mov byte [rdx + 0x2f], 0
mov qword [rbp - 8], rdx
lea rcx, [rbp - 8]
call fcn.1401626a0
mov ecx, SafeArrayLock
call fcn.1401bfad4
test rax, rax
je 0x14014274c
mov qword [rax], r14
lea rcx, [0x1401446a0]
mov qword [rax + 8], rcx
jmp 0x14014274f
mov rax, rsi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14013da30]
xor edx, edx
xor ecx, ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401439f2
mov qword [rsp + 0x40], rsi
cmp dword [rsp + 0x68], 0
je 0x1401439d1
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x68], eax
je 0x1401439dc
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x520], xmm0
xor edx, edx
lea rcx, [rbp + 0x520]
call fcn.1401c3144
test eax, eax
jne 0x1401439e7
jmp 0x140142843
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], SafeArrayLock
mov ecx, 0x40
call fcn.1400b88d0
mov rdx, rax
mov qword [rbp - 0x38], 0x37
mov qword [rbp - 0x30], 0x3f
movups xmm0, xmmword [str._AsusSystemAnalysisService__Install_service_first_time.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140276840]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140276850]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x140276860]
mov dword [rax + 0x30], ecx
movzx ecx, word [0x140276864]
mov word [rax + 0x34], cx
movzx eax, byte [0x140276866]
mov byte [rdx + 0x36], al
mov byte [rdx + 0x37], 0
mov qword [rbp - 0x48], rdx
lea rcx, [rbp - 0x48]
call fcn.140162100
lea rax, [rbp + 0x590]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x2f8]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x630]
lea rcx, [rbp + 0x590]
call fcn.1400c19b0
mov rbx, rax
mov qword [rbp + 0x2f8], rsi
mov qword [rbp + 0x308], rsi
mov qword [rbp + 0x310], 7
mov r8d, SafeArrayGetLBound
lea rdx, str.SERVICEVERSION
lea rcx, [rbp + 0x2f8]
call fcn.1400cf720
nop
mov qword [rbp + 0x318], rsi
mov qword [rbp + 0x328], rsi
mov qword [rbp + 0x330], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x318]
call fcn.1400cf720
nop
mov r9, rbx
lea r8, [rbp + 0x2f8]
lea rdx, [rbp + 0x318]
mov rcx, 0xffffffff80000002
call fcn.14019ec00
lea rax, [rbp + 0x338]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x358]
mov qword [rsp + 0x40], rax
mov qword [rbp + 0x338], rsi
mov qword [rbp + 0x348], rsi
mov qword [rbp + 0x350], 7
mov r8d, 1
lea rdx, [0x1402696d0]
lea rcx, [rbp + 0x338]
call fcn.1400cf720
nop
mov qword [rbp + 0x358], rsi
mov qword [rbp + 0x368], rsi
mov qword [rbp + 0x370], 7
mov r8d, SafeArrayLock
lea rdx, str.ISSERVICERUNNING
lea rcx, [rbp + 0x358]
call fcn.1400cf720
nop
mov qword [rbp + 0x378], rsi
mov qword [rbp + 0x388], rsi
mov qword [rbp + 0x390], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x378]
call fcn.1400cf720
nop
lea r9, [rbp + 0x338]
lea r8, [rbp + 0x358]
lea rdx, [rbp + 0x378]
mov rcx, 0xffffffff80000002
call fcn.14019ec00
lea rax, [rbp + 0x398]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x3b8]
mov qword [rsp + 0x40], rax
mov qword [rbp + 0x398], rsi
mov qword [rbp + 0x3a8], rsi
mov qword [rbp + 0x3b0], 7
mov r8d, 7
lea rdx, str.2.1.5.0
lea rcx, [rbp + 0x398]
call fcn.1400cf720
nop
mov qword [rbp + 0x3b8], rsi
mov qword [rbp + 0x3c8], rsi
mov qword [rbp + 0x3d0], 7
mov r8d, SafeArrayLock
lea rdx, str.SETTINGFILEVERSION
lea rcx, [rbp + 0x3b8]
call fcn.1400cf720
nop
mov qword [rbp + 0x3d8], rsi
mov qword [rbp + 0x3e8], rsi
mov qword [rbp + 0x3f0], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x3d8]
call fcn.1400cf720
nop
lea r9, [rbp + 0x398]
lea r8, [rbp + 0x3b8]
lea rdx, [rbp + 0x3d8]
mov rcx, 0xffffffff80000002
call fcn.14019ec00
lea rcx, str.SYSTEMCurrentControlSetEnumACPIASUS1000
call fcn.1401673c0
movzx edx, al
lea rcx, [rbp + 0x7d0]
call fcn.1400dad00
nop
mov r8, rax
lea rdx, str._AsusSystemAnalysisService__HWID_is_V1:
lea rcx, [rbp + 0x5b0]
call fcn.1401178f0
mov rcx, rax
call fcn.140162a30
nop
mov rdx, qword [rbp + 0x7e8]
cmp rdx, 8
jb 0x140142b19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x7d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140142b14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140143a01
call fcn.1401bfb10
mov r12, qword [rbp + 0x640]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 0x29
jb 0x140143a07
lea r13, [rbp + 0x630]
cmp qword [rbp + 0x648], 8
cmovae r13, qword [rbp + 0x630]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea r15, [r12 + 0x29]
mov ebx, 7
lea rsi, [rbp - 0x68]
movabs rax, 0x7fffffffffffffff
cmp r15, rbx
jbe 0x140142ba2
mov rbx, r15
or rbx, 7
cmp rbx, rcx
jbe 0x140142eaf
mov rbx, rcx
mov rcx, rax
lfence
add rcx, rcx
call fcn.1400b88d0
mov rsi, rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rbx
movaps xmm0, xmmword [str._AsusSystemAnalysisService__SCI_inf_ver:]
movups xmmword [rsi], xmm0
movaps xmm1, xmmword [0x140276960]
movups xmmword [rsi + 0x10], xmm1
movaps xmm0, xmmword [0x140276970]
movups xmmword [rsi + 0x20], xmm0
movaps xmm1, xmmword [0x140276980]
movups xmmword [rsi + 0x30], xmm1
movaps xmm0, xmmword [0x140276990]
movups xmmword [rsi + 0x40], xmm0
movzx eax, word [0x1402769a0]
mov word [rsi + 0x50], ax
lea rcx, [rsi + 0x52]
lea r8, [r12 + r12]
mov rdx, r13
call fcn.1401f7750
xor r13d, r13d
mov word [rsi + r15*2], r13w
lea rcx, [rbp - 0x68]
call fcn.140162a30
xor r15d, r15d
mov qword [rbp + 0x6d0], r15
mov qword [rbp + 0x6e0], r15
mov qword [rbp + 0x6e8], 7
mov word [rbp + 0x6d0], r15w
lea r8d, [r13 + 8]
lea rdx, [0x1402769a8]
lea rcx, [rbp + 0x6d0]
call fcn.1400cf720
nop
lea r8, [rbp + 0x6d0]
lea rdx, str._AsusSystemAnalysisService__Service_ver:
lea rcx, [rbp + 0x5d0]
call fcn.1401178f0
mov rcx, rax
call fcn.140162a30
nop
mov rdx, qword [rbp + 0x6e8]
cmp rdx, 8
jb 0x140142cb1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x6d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140142cac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140143a0d
call fcn.1401bfb10
mov qword [rbp + 0x6f0], r15
mov qword [rbp + 0x700], r15
mov qword [rbp + 0x708], 7
mov word [rbp + 0x6f0], r15w
mov r8d, 7
lea rdx, str.2.1.5.0
lea rcx, [rbp + 0x6f0]
call fcn.1400cf720
nop
lea r8, [rbp + 0x6f0]
lea rdx, str._AsusSystemAnalysisService__Setting_file_ver:
lea rcx, [rbp + 0x5f0]
call fcn.1401178f0
mov rcx, rax
call fcn.140162a30
nop
mov rdx, qword [rbp + 0x708]
cmp rdx, 8
jb 0x140142d55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x6f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140142d50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140143a13
call fcn.1401bfb10
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x30], rax
mov qword [rbp + 0x3f8], r15
mov qword [rbp + 0x408], r15
mov qword [rbp + 0x410], 7
mov ebx, 0xd
mov r8d, ebx
lea rdx, str.FirstBootTime
lea rcx, [rbp + 0x3f8]
call fcn.1400cf720
nop
mov qword [rbp + 0x418], r15
mov qword [rbp + 0x428], r15
mov qword [rbp + 0x430], 7
lea r8d, [rbx + 0x31]
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x418]
call fcn.1400cf720
nop
lea r9, [rbp + 0x3f8]
lea r8, [rbp + 0x418]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x6b0]
call fcn.14019e680
nop
lea r8, [rbp + 0x6b0]
cmp qword [rbp + 0x6c8], 8
cmovae r8, qword [rbp + 0x6b0]
mov r9, qword [rbp + 0x6c0]
mov rdx, r9
cmp r9, rbx
cmova rdx, rbx
mov rcx, rdi
test rdx, rdx
je 0x140142e38
sub r8, rdi
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140143218
add rcx, 2
sub rdx, 1
jne 0x140142e20
cmp r9, 0xd
jne 0x140143218
xor ecx, ecx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov rbx, rax
lea r9, [rbp + 0x832]
mov r8, rax
movabs rsi, 0xcccccccccccccccd
test rax, rax
jns 0x140142ed0
neg r8
nop dword [rax + rax]
sub r9, 2
mov rax, rsi
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x140142e70
add r9, 0xfffffffffffffffe
mov eax, 0x2d
mov word [r9], ax
jmp 0x140142f00
cmp rbx, 0xa
mov ecx, 0xa
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x1401439b9
jmp 0x140142b90
sub r9, 2
mov rax, rsi
mul r8
shr rdx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8, rdx
test rdx, rdx
jne 0x140142ed0
mov qword [rbp + 0x650], r15
mov qword [rbp + 0x660], r15
mov r12d, 7
mov qword [rbp + 0x668], r12
xor r13d, r13d
mov word [rbp + 0x650], r13w
lea rax, [rbp + 0x832]
cmp r9, rax
je 0x140142f5c
lea r8, [rbp + 0x832]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp + 0x650]
call fcn.1400cf720
mov r12, qword [rbp + 0x668]
mov r15, qword [rbp + 0x660]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x438]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
lea rax, [rbp + 0x650]
mov r13, qword [rbp + 0x650]
cmp r12, 8
cmovae rax, r13
mov qword [rsp + 0x30], rax
cmp r15, 8
jae 0x140142fb0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
mov r14d, 7
jmp 0x140143019
mov r14, r15
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rcx, [r14 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140143a19
lfence
add rcx, rcx
call fcn.1400b88d0
mov qword [rsp + 0x78], rax
mov r15, qword [rbp + 0x660]
lea r8, [r15*2 + 2]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.1401f7750
mov r12, qword [rbp + 0x668]
mov r13, qword [rbp + 0x650]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r14
xor r15d, r15d
mov qword [rbp + 0x438], r15
mov qword [rbp + 0x448], r15
mov qword [rbp + 0x450], 7
lea r8d, [r15 + 0xd]
lea rdx, str.FirstBootTime
lea rcx, [rbp + 0x438]
call fcn.1400cf720
nop
mov qword [rbp + 0x458], r15
mov qword [rbp + 0x468], r15
mov qword [rbp + 0x470], 7
lea r8d, [r15 + 0x3e]
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x458]
call fcn.1400cf720
nop
lea r9, [rsp + 0x78]
lea r8, [rbp + 0x438]
lea rdx, [rbp + 0x458]
mov rcx, 0xffffffff80000002
call fcn.14019ec00
lea r9, [rbp + 0x805]
test rbx, rbx
jns 0x140143100
neg rbx
nop dword [rax]
nop dword [rax + rax]
dec r9
mov rax, rsi
mul rbx
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov rbx, rdx
test rdx, rdx
jne 0x1401430c0
dec r9
mov byte [r9], 0x2d
jmp 0x140143128
dec r9
mov rax, rsi
mul rbx
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov rbx, rdx
test rdx, rdx
jne 0x140143100
mov qword [rbp + 0x710], r15
mov qword [rbp + 0x720], r15
mov qword [rbp + 0x728], SafeArrayLock
mov byte [rbp + 0x710], 0
lea rax, [rbp + 0x805]
cmp r9, rax
je 0x14014316e
lea r8, [rbp + 0x805]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x710]
call fcn.1400cf610
nop
lea r8, [rbp + 0x710]
lea rdx, str._AsusSystemAnalysisService__Set_the_first_boot_time:
lea rcx, [rbp + 0x610]
call fcn.1400b8710
mov rcx, rax
call fcn.140162100
nop
mov rdx, qword [rbp + 0x728]
cmp rdx, 0x10
jb 0x1401431d3
inc rdx
mov rcx, qword [rbp + 0x710]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401431cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140143a1f
call fcn.1401bfb10
nop
cmp r12, 8
jb 0x14014320e
lea rdx, [r12*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x140143206
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401439b3
mov rcx, r13
call fcn.1401bfb10
mov ebx, 0xd
mov r14, qword [rsp + 0x70]
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], SafeArrayLock
mov ecx, 0x30
call fcn.1400b88d0
mov qword [rbp - 0x18], 0x2b
mov qword [rbp - 0x10], 0x2f
movups xmm0, xmmword [str._AsusSystemAnalysisService__Set_active_date]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140276ae8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140276af8]
movsd qword [rax + 0x20], xmm0
movzx ecx, word [0x140276b00]
mov word [rax + 0x28], cx
movzx ecx, byte [0x140276b02]
mov byte [rax + 0x2a], cl
mov byte [rax + 0x2b], 0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140162100
call fcn.1401aacb0
lea rcx, [rbp + 0x750]
call fcn.1401af2d0
nop
mov qword [rbp + 0x478], r15
mov qword [rbp + 0x488], r15
mov qword [rbp + 0x490], SafeArrayLock
mov r8d, 0x28
lea rdx, str._AsusSystemAnalysisService__RandomUUID:
lea rcx, [rbp + 0x478]
call fcn.1400cf610
lea rcx, [rbp + 0x478]
call fcn.140162100
call fcn.1401b3430
test al, al
je 0x14014359a
mov qword [rbp + 0x498], r15
mov qword [rbp + 0x4a8], r15
mov qword [rbp + 0x4b0], SafeArrayLock
mov r8d, 0x2f
lea rdx, str._AsusSystemAnalysisService__OnStart____________
lea rcx, [rbp + 0x498]
call fcn.1400cf610
lea rcx, [rbp + 0x498]
call fcn.140162100
lea rax, [rbp + 0x4b8]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x4b8], r15
mov qword [rbp + 0x4c8], r15
mov qword [rbp + 0x4d0], 7
mov esi, 0xa
mov r8d, esi
lea rdx, str.MainSwitch
lea rcx, [rbp + 0x4b8]
call fcn.1400cf720
nop
mov qword [rbp + 0x4d8], r15
mov qword [rbp + 0x4e8], r15
mov qword [rbp + 0x4f0], 7
lea r8d, [rsi + 0x34]
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x4d8]
call fcn.1400cf720
nop
lea r9, [rbp + 0x4b8]
lea r8, [rbp + 0x4d8]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x730]
call fcn.14019e680
nop
lea rdx, [rbp + 0x730]
cmp qword [rbp + 0x748], 8
cmovae rdx, qword [rbp + 0x730]
mov r8, qword [rbp + 0x740]
mov rcx, r8
cmp r8, 0xd
cmova rcx, rbx
test rcx, rcx
je 0x140143407
sub rdx, rdi
nop word [rax + rax]
movzx eax, word [rdi]
cmp word [rdi + rdx], ax
jne 0x1401434e2
add rdi, 2
sub rcx, 1
jne 0x1401433f0
cmp r8, 0xd
jne 0x1401434e2
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], SafeArrayLock
mov r8d, 0x36
lea rdx, str._AsusSystemAnalysisService__set_main_switch_to_enable.
lea rcx, [rbp + 0x18]
call fcn.1400cf610
lea rcx, [rbp + 0x18]
call fcn.140162100
lea rax, [rbp + 0x38]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x50], rax
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], 7
mov r8d, 1
lea rdx, [0x1402696d0]
lea rcx, [rbp + 0x38]
call fcn.1400cf720
nop
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], 7
mov r8, rsi
lea rdx, str.MainSwitch
lea rcx, [rbp + 0x58]
call fcn.1400cf720
nop
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x78]
call fcn.1400cf720
nop
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x78]
mov rcx, 0xffffffff80000002
call fcn.14019ec00
lea rax, [rbp + 0x98]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x98], r15
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xb0], 7
mov r8d, SafeArrayLock
lea rdx, str.SKIP_ONPOWEREVENT
lea rcx, [rbp + 0x98]
call fcn.1400cf720
nop
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0xb8]
call fcn.1400cf720
nop
mov r9d, 1
lea r8, [rbp + 0x98]
lea rdx, [rbp + 0xb8]
mov rcx, 0xffffffff80000002
call fcn.14019eaf0
nop
mov r8, qword [rbp + 0x748]
cmp r8, 8
jb 0x14014359f
inc r8
mov rdx, qword [rbp + 0x730]
lea rcx, [rbp + 0x730]
call fcn.1400d0d60
jmp 0x14014359f
mov esi, 0xa
mov qword [rbp + 0xd8], r15
mov qword [rbp + 0xe8], r15
mov qword [rbp + SafeArrayLock0], 0xf
mov r8d, 0x3c
lea rdx, str._AsusSystemAnalysisService__call_RPC_service.__Thread__Start
lea rcx, [rbp + 0xd8]
call fcn.1400cf610
lea rcx, [rbp + 0xd8]
call fcn.140162100
xor r8d, r8d
mov rdx, r14
lea rcx, [0x140143b50]
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
test rax, rax
je 0x1401435fe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]
mov qword [rbp + 0xf8], r15
mov qword [rbp + 0x108], r15
mov qword [rbp + 0x110], SafeArrayLock
mov r8d, 0x3a
lea rdx, str._AsusSystemAnalysisService__call_RPC_service.__Thread__End
lea rcx, [rbp + 0xf8]
call fcn.1400cf610
lea rcx, [rbp + 0xf8]
call fcn.140162100
xor edx, edx
mov rcx, r14
call fcn.14013f420
mov edx, 1
mov rcx, r14
call fcn.14013f420
mov edx, 2
mov rcx, r14
call fcn.14013f420
mov edx, 8
mov rcx, r14
call fcn.14013f420
mov edx, esi
mov rcx, r14
call fcn.14013f420
mov edx, VariantTimeToDosDateTime
mov rcx, r14
call fcn.14013f420
lea rax, [rbp + 0x118]
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x118], r15
mov qword [rbp + 0x128], r15
mov qword [rbp + 0x130], 7
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, str.FinishedDate
lea rcx, [rbp + 0x118]
call fcn.1400cf720
nop
mov qword [rbp + 0x138], r15
mov qword [rbp + 0x148], r15
mov qword [rbp + 0x150], 7
mov r8d, 0x43
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysisAPRP
lea rcx, [rbp + 0x138]
call fcn.1400cf720
nop
lea r9, [rbp + 0x118]
lea r8, [rbp + 0x138]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x690]
call fcn.14019e680
nop
lea r8, [rbp + 0x690]
cmp qword [rbp + 0x6a8], 8
cmovae r8, qword [rbp + 0x690]
mov r9, qword [rbp + 0x6a0]
mov rdx, r9
cmp r9, 0x12
mov eax, SafeArrayLock
cmova rdx, rax
lea rcx, str.Retry_Over_90_Days
test rdx, rdx
je 0x140143769
sub r8, rcx
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14014376f
add rcx, 2
sub rdx, 1
jne 0x140143755
cmp r9, 0x12
je 0x14014377e
mov edx, 3
mov rcx, r14
call fcn.14013f420
jmp 0x1401437bc
mov qword [rbp + 0x158], r15
mov qword [rbp + 0x168], r15
mov qword [rbp + 0x170], SafeArrayLock
mov r8d, 0x5f
lea rdx, str._AsusSystemAnalysisService__OnStart__APRP_retry_over_90_days__does_not_create_aprp_timer_thread
lea rcx, [rbp + 0x158]
call fcn.1400cf610
lea rcx, [rbp + 0x158]
call fcn.1401626a0
mov edx, 4
mov rcx, r14
call fcn.14013f420
mov edx, 5
mov rcx, r14
call fcn.14013f420
mov edx, 6
mov rcx, r14
call fcn.14013f420
mov edx, 7
mov rcx, r14
call fcn.14013f420
mov edx, 9
mov rcx, r14
call fcn.14013f420
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, r14
call fcn.14013f420
mov qword [rbp + 0x178], r15
mov qword [rbp + 0x188], r15
mov qword [rbp + 0x190], SafeArrayLock
mov r8d, 0x43
lea rdx, str._AsusSystemAnalysisService__OnStart_End____________________________
lea rcx, [rbp + 0x178]
call fcn.1400cf610
lea rcx, [rbp + 0x178]
call fcn.1401626a0
nop
mov r8, qword [rbp + 0x6a8]
cmp r8, 8
jb 0x14014386c
inc r8
mov rdx, qword [rbp + 0x690]
lea rcx, [rbp + 0x690]
call fcn.1400d0d60
mov qword [rbp + 0x6a0], r15
mov qword [rbp + 0x6a8], 7
mov word [rbp + 0x690], r15w
mov r8, qword [rbp + 0x768]
cmp r8, 0x10
jb 0x1401438a9
inc r8
mov rdx, qword [rbp + 0x750]
lea rcx, [rbp + 0x750]
call fcn.1400d0d20
mov qword [rbp + 0x760], r15
mov qword [rbp + 0x768], SafeArrayLock
mov byte [rbp + 0x750], 0
mov r8, qword [rbp + 0x6c8]
cmp r8, 8
jb 0x1401438e5
inc r8
mov rdx, qword [rbp + 0x6b0]
lea rcx, [rbp + 0x6b0]
call fcn.1400d0d60
mov qword [rbp + 0x6c0], r15
mov qword [rbp + 0x6c8], 7
mov word [rbp + 0x6b0], r15w
mov r8, qword [rbp + 0x648]
cmp r8, 8
jb 0x140143922
inc r8
mov rdx, qword [rbp + 0x630]
lea rcx, [rbp + 0x630]
call fcn.1400d0d60
mov qword [rbp + 0x640], r15
mov qword [rbp + 0x648], 7
mov word [rbp + 0x630], r15w
mov r8, qword [rbp + 0x688]
cmp r8, 8
jb 0x14014395f
inc r8
mov rdx, qword [rbp + 0x670]
lea rcx, [rbp + 0x670]
call fcn.1400d0d60
mov qword [rbp + 0x680], r15
mov qword [rbp + 0x688], 7
mov word [rbp + 0x670], r15w
lea rcx, [rsp + 0x58]
call fcn.140164430
mov rcx, qword [rbp + 0x838]
xor rcx, rsp
call fcn.1401c0070
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call fcn.1400cf010
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
mov ecx, 1
call fcn.1401ca5bc
int3
mov ecx, 5
call fcn.1401ca5bc
int3
mov ecx, 2
call fcn.1401ca5bc
nop
mov dword [rsp + 0x68], esi
mov ecx, 6
call fcn.1401ca5bc
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call fcn.1400cf1a0
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call fcn.1400cf010
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3