Function at 0x140015a50
Capabilities:
Create thread
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1040]
mov eax, 0x1140
call fcn.140031df0
sub rsp, rax
mov rax, qword [0x140047008]
xor rax, rsp
mov qword [rbp + 0x1030], rax
xor r13d, r13d
lea rax, [rsp + 0x78]
mov r12d, ecx
mov qword [rsp + 0x60], r13
xorps xmm0, xmm0
mov dword [rsp + 0x68], r13d
xorps xmm1, xmm1
mov qword [rsp + 0x78], r13
lea r9d, [r13 + 9]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelSystemAppData
mov rcx, 0xffffffff80000001
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
lea rbx, str.B9ECED6F.ASUSBatteryHealthCharging_qmba6cd70vzyy
lea r14d, [r13 + 1]
test eax, eax
jne 0x140015c42
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x208
mov esi, r13d
call fcn.14001c070
mov rcx, qword [rsp + 0x78]
lea r9, [rbp - 0x6c]
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x50]
mov qword [rsp + 0x30], r13
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rbp - 0x6c], 0x104
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x140015c37
lea r15, [0x140000000]
mov r8d, 9
lea rdx, str.B9ECED6F.
lea rcx, [rbp - 0x50]
call fcn.140026754
test eax, eax
jne 0x140015be5
mov rcx, qword [0x14004ebd8]
mov ebx, r13d
mov rdi, r13
lea r13, str.B9ECED6F.ASUSBatteryHealthCharging_qmba6cd70vzyy
cmp dword [rdi + r15 + 0x414b0], 0
je 0x140015bd7
cmp dword [rsp + rdi + 0x40], 0
jne 0x140015bd7
movsxd rax, ebx
imul r9, rax, 0x208
lea rax, [rbp - 0x50]
add r9, r13
sub r9, rax
nop dword [rax + rax]
movzx r8d, word [rax]
movzx edx, word [rax + r9]
sub r8d, edx
jne 0x140015bb6
add rax, 2
test edx, edx
jne 0x140015ba0
test r8d, r8d
jne 0x140015bd7
mov dword [rsp + rdi + 0x40], r14d
cmp ebx, 0xa
jne 0x140015bd7
test rcx, rcx
je 0x140015bd7
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [0x14004ebd8]
inc ebx
add rdi, 4
cmp ebx, 0xb
jl 0x140015b72
xor r13d, r13d
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x208
call fcn.14001c070
mov rcx, qword [rsp + 0x78]
lea r9, [rbp - 0x6c]
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x50]
mov qword [rsp + 0x30], r13
inc esi
mov qword [rsp + 0x28], r13
mov edx, esi
mov qword [rsp + 0x20], r13
mov dword [rbp - 0x6c], 0x104
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x140015b40
lea rbx, str.B9ECED6F.ASUSBatteryHealthCharging_qmba6cd70vzyy
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rdi, rbx
lea r15, [0x140000000]
mov rbx, r13
mov r14d, r13d
mov esi, 0xb
nop word [rax + rax]
cmp dword [rsp + rbx + 0x40], 0
je 0x140015d98
cmp dword [rbx + r15 + 0x4e990], 0
jne 0x140015da0
cmp dword [rbx + r15 + 0x414e0], 0
je 0x140015c9c
mov dword [rbx + r15 + 0x4e990], 2
mov r14d, 1
jmp 0x140015da0
xor edx, edx
mov dword [rbx + r15 + 0x4e990], 1
mov r8d, 0x208
mov qword [rbp - 0x80], r13
lea rcx, [rbp + 0x5e0]
call fcn.14001c070
lea r9, str.SOFTWAREClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelSystemAppData
mov qword [rsp + 0x20], rdi
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rbp + 0x5e0]
call fcn.14000afd0
lea rax, [rbp - 0x80]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x5e0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015da0
mov rcx, qword [rbp - 0x80]
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
lea rdx, str.WasEverActivated
lea rax, [rbp - 0x78]
mov dword [rbp - 0x74], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140015d4b
cmp dword [rbp - 0x78], eax
jne 0x140015d8c
mov rdx, rdi
lea rcx, str.Write_UAP__WasEverActivated__registry
call fcn.14001a180
mov rcx, qword [rbp - 0x80]
lea rax, [rbp - 0x74]
mov dword [rsp + 0x28], 4
lea rdx, str.WasEverActivated
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x74], 1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140015da0
mov dword [rbx + r15 + 0x4e990], r13d
add rdi, 0x208
add rbx, 4
sub rsi, 1
jne 0x140015c60
mov r15d, dword [rsp + 0x68]
test r14d, r14d
je 0x140015e1b
mov rcx, qword [0x14004ebe8]
test rcx, rcx
je 0x140015dd3
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140015e1b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [0x14004ebe8], rax
test rax, rax
je 0x140015e1b
mov qword [rsp + 0x28], r13
lea r8, [0x140016490]
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140015e1b
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test r12d, r12d
je 0x14001639b
xor edx, edx
lea rcx, [rbp + 0x7f0]
mov r8d, 0x208
call fcn.14001c070
lea r8, str.B9ECED6F.ProArtCreatorCenter_qmba6cd70vzyy
mov edx, 0x104
lea rcx, [rbp + 0x7f0]
call fcn.14001f62c
lea r9, [rbp - 0x78]
mov dword [rbp - 0x70], r13d
xor r8d, r8d
mov dword [rbp - 0x78], r13d
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x20], r13
lea rcx, [rbp + 0x7f0]
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackagesByPackageFamily]
cmp eax, 0x7a
jne 0x140015e91
cmp dword [rbp - 0x70], 0
je 0x140015e91
cmp dword [rbp - 0x78], 0
je 0x140015e91
mov r14d, 1
mov eax, r14d
jmp 0x140015e9a
mov r14d, 1
mov eax, r13d
cmp dword [0x140047964], 0
mov dword [0x14004e9bc], eax
je 0x140015ee6
xor edx, edx
lea r8, str.GlobalASUS_ASLDRSrv_ProArt_App_Event
lea ecx, [rdx + 2]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x140015ee6
cmp dword [0x14004e9bc], 0
mov rcx, rax
je 0x140015ed7
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140015edd
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp dword [0x14004e9bc], 0
jne 0x140015f95
mov qword [rsp + 0x28], r13
lea r8, [0x140016950]
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140015f1f
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], r13
mov ebx, r13d
call fcn.14000fc40
test eax, eax
je 0x140015f95
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x74]
mov qword [rsp + 0x28], rax
lea rdx, str.QuietFan
lea rax, [rbp - 0x78]
mov dword [rbp - 0x74], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140015f72
cmp dword [rbp - 0x78], 3
cmovbe ebx, dword [rbp - 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp ebx, 3
jne 0x140015f95
xor edx, edx
mov qword [rsp + 0x28], r13
lea ecx, [rbx + 0xa]
lea r8d, [rbx - 1]
call fcn.14000e470
lea r9, [rbp - 0x74]
mov dword [rbp - 0x78], r13d
xor r8d, r8d
mov dword [rbp - 0x74], r13d
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x20], r13
lea rcx, str.B9ECED6F.ASUSBatteryHealthCharging_qmba6cd70vzyy
call qword [sym.imp.api_ms_win_appmodel_runtime_l1_1_0.dll_GetPackagesByPackageFamily]
cmp eax, 0x7a
jne 0x140015fdd
cmp dword [rbp - 0x78], 0
je 0x140015fdd
cmp dword [rbp - 0x74], 0
je 0x140015fdd
mov r8d, r14d
mov qword [rsp + 0x28], r13
xor edx, edx
lea ecx, [rax - 0x6f]
call fcn.14000e470
test r15d, r15d
jne 0x1400163a4
xor edx, edx
lea rcx, [rbp + 0x3d0]
mov r8d, 0x208
call fcn.14001c070
xor edx, edx
lea rcx, [rbp + 0xa00]
mov r8d, 0x208
call fcn.14001c070
lea r8, str.B9ECED6F.ASUSPCAssistant_
mov edx, 0x104
lea rcx, [rbp + 0x3d0]
call fcn.14001f62c
lea r8, str._x64__qmba6cd70vzyy
mov edx, 0x104
lea rcx, [rbp + 0xa00]
call fcn.14001f62c
xor edx, edx
lea rcx, [rbp + 0xe20]
mov r8d, 0x208
call fcn.14001c070
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], r13
lea r9d, [r15 + 8]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelPackageRepositoryPackages
mov rcx, 0xffffffff80000002
mov edi, r13d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400161e0
mov edx, 0x104
lea rcx, [rbp + 0x3d0]
call fcn.14001fb98
xor edx, edx
lea rcx, [rbp + 0x1c0]
mov r8d, 0x208
mov rsi, rax
mov ebx, r13d
call fcn.14001c070
mov dword [rbp - 0x70], 0x104
nop dword [rax]
mov rcx, qword [rsp + 0x70]
lea r9, [rbp - 0x70]
mov qword [rsp + 0x38], r13
lea r8, [rbp + 0x1c0]
mov qword [rsp + 0x30], r13
mov edx, ebx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400161e0
cmp esi, dword [rbp - 0x70]
ja 0x1400161cf
mov r8d, esi
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x3d0]
call fcn.14001fd60
test eax, eax
jne 0x1400161cf
lea rdx, [rbp + 0xa00]
lea rcx, [rbp + 0x1c0]
call fcn.14001b900
test rax, rax
je 0x1400161cf
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x60]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400161cf
xor edx, edx
lea rcx, [rbp + 0xc10]
mov r8d, 0x208
call fcn.14001c070
mov rcx, qword [rbp - 0x60]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.Path
lea rax, [rbp + 0xc10]
mov dword [rbp - 0x68], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400161c5
lea r8, [rbp + 0xc10]
mov edx, 0x104
lea rcx, [rbp + 0xe20]
call fcn.14001f62c
mov edi, r14d
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
inc ebx
mov dword [rbp - 0x70], 0x104
test edi, edi
je 0x1400160c0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14001638f
lea rax, [rsp + 0x70]
mov qword [rbp - 0x60], r13
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x70], r13
lea rdx, str.SOFTWAREMicrosoftUserDataUninstallTimes
mov rcx, 0xffffffff80000001
mov edi, r13d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001628b
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.B9ECED6F.ASUSPCAssistant_qmba6cd70vzyy
lea rax, [rbp - 0x60]
mov dword [rbp - 0x68], 8
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov ebx, r13d
test eax, eax
jne 0x140016267
mov edi, r14d
jmp 0x140016270
cmp eax, 0xea
cmove ebx, r14d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jne 0x14001638f
test ebx, ebx
jne 0x14001638f
lea r8, [0x140016820]
mov qword [rsp + 0x28], r13
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r13d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x1400162b7
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp dword [0x1400479ec], 1
jne 0x14001630a
mov rcx, qword [0x14004d840]
mov dword [0x1400479ec], r13d
test rcx, rcx
je 0x1400162f8
mov rax, qword [0x14004f1c8]
test rax, rax
je 0x1400162f8
mov edx, dword [0x14004e764]
test edx, edx
je 0x1400162f8
mov r9d, 0x10
mov r8, rcx
call qword [0x1400335f0]
mov rcx, qword [0x14004e9c8]
test rcx, rcx
je 0x14001630a
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test r12d, r12d
je 0x14001635f
lea rcx, [0x14004e9d0]
call fcn.140019740
mov dword [0x14004e76c], eax
test eax, eax
je 0x14001635f
cmp dword [0x1400479ec], 1
je 0x14001635f
mov rcx, qword [0x14004d840]
test rcx, rcx
je 0x14001635f
mov rax, qword [0x14004f1c8]
test rax, rax
je 0x14001635f
mov edx, dword [0x14004e764]
test edx, edx
je 0x14001635f
mov r9d, 0x12
mov r8, rcx
call qword [0x1400335f0]
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.14001a990
lea r11, [rsp + 0x1140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [0x140018970]
jmp 0x140016292
test r15d, r15d
je 0x1400162b7
cmp dword [0x1400479ec], 1
je 0x14001635f
mov eax, 1
mov dword [0x1400479ec], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov rcx, qword [0x14004d840]
mov qword [0x14004e9c0], rax
test rcx, rcx
je 0x1400163f6
mov rax, qword [0x14004f1c8]
test rax, rax
je 0x1400163f6
mov edx, dword [0x14004e764]
test edx, edx
je 0x1400163f6
mov r9d, 0x11
mov r8, rcx
call qword [0x1400335f0]
cmp qword [0x14004e9c8], 0
jne 0x14001642c
mov qword [rsp + 0x28], r13
lea r8, [0x1400192d0]
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x14001642c
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea r8, str.GlobalASUS_ASLDRSrv_Smart_Antenna_App_Event
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x14001635f
mov qword [rsp + 0x28], r13
lea r8, [0x1400191c0]
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test rax, rax
je 0x140016478
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
jmp 0x14001635f