Function at 0x140010bf0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0xf8], rax
mov r13, rcx
lea rsi, str.Unknown_error
xor r15d, r15d
mov qword [rbp + 0xa0], r15
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc8], r15
mov dword [rbp + 0xd0], r15d
mov dword [rbp + 0xd4], 0x3c
lea rdx, str.RunOmahaUpdateTask_Begin
call fcn.14000f4e0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov edi, eax
test eax, eax
jns 0x140010c91
lea rsi, str.Failed_to_initial_COM_Object
jmp 0x140011286
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400bc1a8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400bc1b8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x140010cc9
lea rsi, str.Failed_to_create_instance_of_Task_Scheduler
jmp 0x140011286
lea rcx, [rbp - 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rbp - 0x48]
movsd qword [rbp], xmm1
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm1, qword [rbp - 0x60]
movsd qword [rbp + 0x20], xmm1
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp + 0x40], xmm1
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x50], xmm0
movsd xmm1, qword [rsp + 0x70]
movsd qword [rbp + 0x60], xmm1
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x10]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x50]
call qword [rax + 0x50]
mov edi, eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
jns 0x140010da3
lea rsi, str.Failed_to_connect_to_Task_Scheduler
jmp 0x140011286
mov ecx, 0x18
call fcn.14003d970
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140010de9
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.ASUS
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140011337
jmp 0x140010dec
mov rbx, r15
mov qword [rbp - 0x20], rbx
test rbx, rbx
je 0x14001132c
mov rcx, qword [rbp + 0xa0]
mov rax, qword [rcx]
lea r8, [rbp + 0xc0]
mov rdx, qword [rbx]
call qword [rax + 0x38]
mov edi, eax
mov r14d, 0xffffffff
mov eax, r14d
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140010e55
mov rcx, qword [rbx]
test rcx, rcx
je 0x140010e36
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140010e48
call fcn.14003dc60
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14003dc60
test edi, edi
jns 0x140010e65
lea rsi, str.Failed_to_get_ASUS_Folder
jmp 0x140011286
lea rdx, str.ASUSUpdateTaskMachineUA
lea rcx, [rsp + 0x58]
call fcn.14000a690
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x140010e84
mov rdx, qword [rcx]
jmp 0x140010e87
mov rdx, r15
mov rcx, qword [rbp + 0xc0]
mov rax, qword [rcx]
lea r8, [rbp + 0xb8]
call qword [rax + 0x68]
mov edi, eax
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140010ee8
lock xadd dword [rbx + 0x10], r14d
cmp r14d, 1
jne 0x140010ee8
test rbx, rbx
je 0x140010ee8
mov rcx, qword [rbx]
test rcx, rcx
je 0x140010ec9
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140010edb
call fcn.14003dc60
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14003dc60
test edi, edi
jns 0x140010ef8
lea rsi, str.Failed_to_get_task
jmp 0x140011286
mov ebx, r15d
mov dword [rbp + 0xd8], 4
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x20010
lea r8, str.DisableUpdateAppsHourlyJitter
lea rdx, str.SOFTWAREASUSUpdateDev
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov r12d, r15d
test eax, eax
sete r12b
test eax, eax
jne 0x140010f5c
cmp dword [rbp + 0xd0], ebx
jne 0x140010ff4
mov qword [rbp + 0xa8], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x202
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREASUSUpdateDev
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x140010ff4
mov dword [rbp + 0xdc], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xdc]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableUpdateAppsHourlyJitter
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, r15d
test eax, eax
sete bl
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r14d, r15d
mov dword [rbp + 0xe0], 4
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xd4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x20010
lea r8, str.LastCheckPeriodSec
lea rdx, str.SOFTWAREASUSUpdateDev
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
sete r15b
test eax, eax
jne 0x140011056
cmp dword [rbp + 0xd4], 0x3c
je 0x1400110eb
xor edi, edi
mov qword [rbp + 0xb0], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x202
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREASUSUpdateDev
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400110eb
mov dword [rbp + 0xe4], 0x3c
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xe4]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.LastCheckPeriodSec
mov rcx, qword [rbp + 0xb0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
sete r14b
mov rcx, qword [rbp + 0xb0]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x70], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rbp + 0x80], xmm1
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rcx]
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0x70]
call qword [rax + 0x60]
mov edi, eax
lea rcx, [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
jns 0x14001113f
lea rsi, str.Failed_to_run_task
jmp 0x140011286
test ebx, ebx
jne 0x14001114c
test r14d, r14d
je 0x140011286
mov ecx, 0x7d0
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
test ebx, ebx
je 0x1400111ee
mov eax, dword [rbp + 0xd0]
mov dword [rbp + 0xe8], eax
mov qword [rbp + 0x90], 0
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x202
xor r8d, r8d
lea rdx, str.SOFTWAREASUSUpdateDev
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400111ee
lea rdx, str.DisableUpdateAppsHourlyJitter
mov rcx, qword [rbp + 0x90]
test r12d, r12d
jne 0x1400111be
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
jmp 0x1400111e1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test r14d, r14d
je 0x140011286
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 0xf0], eax
mov qword [rbp + 0x98], 0
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x202
xor r8d, r8d
lea rdx, str.SOFTWAREASUSUpdateDev
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140011286
lea rdx, str.LastCheckPeriodSec
mov rcx, qword [rbp + 0x98]
test r15d, r15d
jne 0x140011256
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
jmp 0x140011279
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x140011298
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x1400112aa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x1400112bc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x1400112ce
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
test edi, edi
jns 0x1400112ed
mov r9d, edi
mov r8, rsi
lea rdx, str.RunOmahaUpdateTask_Error:__s:__X
mov rcx, r13
call fcn.14000f4e0
lea rdx, str.RunOmahaUpdateTask_End
mov rcx, r13
call fcn.14000f4e0
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.14003d6b0
lea r11, [rsp + 0x200]
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
mov ecx, 0x8007000e
call fcn.14007f470
nop
mov ecx, 0x8007000e
call fcn.14007f470
int3