Function at 0x140048570
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rsi, rcx
xor r15d, r15d
mov qword [rbp + 0x180], r15
mov dword [rbp + 0x1c8], r15d
call fcn.140037b50
test al, al
jne 0x14004905d
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceLinktoMyASUS
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x14004905d
mov byte [rbp + 0x190], al
xor edx, edx
lea rcx, [rbp + 0x198]
call fcn.14001fb30
nop
mov byte [rsp + 0x60], r15b
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.14001fb30
nop
mov byte [rbp + 0x20], r15b
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.14001fb30
nop
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x210], r15
mov qword [rbp + 0x218], 7
mov word [rbp + 0x200], r15w
lea r8, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
xor edx, edx
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegDeleteKeyValueW]
mov rcx, qword [rsi + 0x20]
mov r8, qword [rsi + 0x18]
mov rax, rcx
sub rax, r8
sar rax, 5
test rax, rax
je 0x140048817
mov r14d, r15d
mov edx, r15d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
sub rcx, r8
sar rcx, 5
cmp rcx, rdx
jbe 0x1400490ee
lfence
shl rdx, 5
add rdx, qword [rsi + 0x18]
lea rcx, [rbp + 0xc8]
call fcn.140097cf0
mov rbx, rax
xor eax, eax
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x70], 3
lfence
lea ecx, [rax + 0x20]
call fcn.1400c2704
mov qword [rax], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rbp - 0x68], rax
lea rdx, str.path
lea rcx, [rbp + 0x20]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x70]
mov byte [rax], cl
mov byte [rbp - 0x70], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x68]
mov qword [rax + 8], rdx
mov qword [rbp - 0x68], rcx
movzx edx, byte [rbp - 0x70]
lea rcx, [rbp - 0x68]
call fcn.14001f060
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x140048790
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004878b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004908f
call fcn.1400c2470
movzx edi, byte [rsp + 0x60]
test dil, dil
je 0x1400487ab
cmp dil, 2
jne 0x140049095
mov rbx, qword [rsp + 0x68]
jmp 0x1400487c9
mov dil, 2
mov byte [rsp + 0x60], dil
movzx edx, dil
lea rcx, [rbp + 0x30]
call fcn.14001fb30
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x68], rbx
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1400487e6
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.14001ce10
add qword [rbx + 8], 0x10
jmp 0x1400487f5
lea r8, [rbp + 0x20]
mov rdx, rax
mov rcx, rbx
call fcn.14004d750
inc r14d
mov rcx, qword [rsi + 0x20]
mov r8, qword [rsi + 0x18]
mov rax, rcx
sub rax, r8
sar rax, 5
movsxd rdx, r14d
cmp rdx, rax
jae 0x140048821
jmp 0x1400486a0
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x60]
movzx ecx, dil
mov edx, ecx
test dil, dil
je 0x140048a5e
sub edx, 1
je 0x140048847
cmp edx, 1
jne 0x140048854
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
sar rax, 4
jmp 0x14004884b
mov rax, qword [rbx + 8]
test rax, rax
je 0x140048a5e
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
test dil, dil
je 0x140048886
sub ecx, 1
je 0x140048880
cmp ecx, 1
je 0x140048873
mov eax, 1
jmp 0x140048889
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
sar rax, 4
jmp 0x140048889
mov rax, qword [rbx + 8]
jmp 0x140048889
mov rax, r15
mov byte [rbp - 0x60], 6
mov qword [rbp - 0x58], rax
lea rdx, str.numoffolders
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x60]
mov byte [rax], cl
mov byte [rbp - 0x60], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x58]
mov qword [rax + 8], rdx
mov qword [rbp - 0x58], rcx
movzx edx, byte [rbp - 0x60]
lea rcx, [rbp - 0x58]
call fcn.14001f060
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsi + 0x150]
mov byte [rbp - 0x50], 4
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x48], rax
lea rdx, str.enabled
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x50]
mov byte [rax], cl
mov byte [rbp - 0x50], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x48]
mov qword [rax + 8], rdx
mov qword [rbp - 0x48], rcx
movzx edx, byte [rbp - 0x50]
lea rcx, [rbp - 0x48]
call fcn.14001f060
lea rax, [rbp + 0x98]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x98]
call fcn.14001ce10
mov rbx, rax
lea rdx, str.folders
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbx]
mov byte [rax], cl
mov byte [rbx], dl
lea rcx, [rbx + 8]
mov rdx, qword [rax + 8]
mov r8, qword [rcx]
mov qword [rax + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rbx]
call fcn.14001f060
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
lea rdx, [rsi + 0x30]
lea rcx, [rbp + 0x78]
call fcn.140097cf0
mov rbx, rax
xor eax, eax
mov qword [rbp - 0x38], rax
mov byte [rbp - 0x40], 3
lfence
lea ecx, [rax + 0x20]
call fcn.1400c2704
mov qword [rax], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rbp - 0x38], rax
lea rdx, str.mDNSDownloadPath
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x40]
mov byte [rax], cl
mov byte [rbp - 0x40], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x38]
mov qword [rax + 8], rdx
mov qword [rbp - 0x38], rcx
movzx edx, byte [rbp - 0x40]
lea rcx, [rbp - 0x38]
call fcn.14001f060
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140048a5a
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048a55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400490f4
call fcn.1400c2470
mov byte [rbp + 0x78], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsi + 0xb0]
mov byte [rbp - 0x30], 4
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x28], rax
lea rdx, str.glidexad
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x30]
mov byte [rax], cl
mov byte [rbp - 0x30], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x28]
mov qword [rax + 8], rdx
mov qword [rbp - 0x28], rcx
movzx edx, byte [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.14001f060
lea rax, [rbp - 0x20]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsi + 0xb1]
mov byte [rbp - 0x20], 4
mov byte [rsp + 0x58], al
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x18], rax
lea rdx, str.glidexadfinish
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x20]
mov byte [rax], cl
mov byte [rbp - 0x20], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x18]
mov qword [rax + 8], rdx
mov qword [rbp - 0x18], rcx
movzx edx, byte [rbp - 0x20]
lea rcx, [rbp - 0x18]
call fcn.14001f060
lea rax, [rbp - 0x10]
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x90]
mov byte [rbp - 0x10], 6
mov qword [rbp - 8], rax
lea rdx, str.uwpversion
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x10]
mov byte [rax], cl
mov byte [rbp - 0x10], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 8]
mov qword [rax + 8], rdx
mov qword [rbp - 8], rcx
movzx edx, byte [rbp - 0x10]
lea rcx, [rbp - 8]
call fcn.14001f060
lea rax, [rbp]
mov qword [rsp + 0x50], rax
lea rdx, [rsi + 0xc0]
lea rcx, [rbp + 0x58]
call fcn.140097cf0
mov rbx, rax
xor eax, eax
mov qword [rbp + 8], rax
mov byte [rbp], 3
lfence
lea ecx, [rax + 0x20]
call fcn.1400c2704
mov qword [rax], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rbp + 8], rax
lea rdx, str.cusid
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp]
mov byte [rax], cl
mov byte [rbp], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 8]
mov qword [rax + 8], rdx
mov qword [rbp + 8], rcx
movzx edx, byte [rbp]
lea rcx, [rbp + 8]
call fcn.14001f060
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x140048c45
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048c40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400490fa
call fcn.1400c2470
mov byte [rbp + 0x58], 0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
lea rdx, [rsi + 0xe0]
lea rcx, [rbp + 0xa8]
call fcn.140097cf0
mov rbx, rax
xor eax, eax
mov qword [rbp + 0x18], rax
mov byte [rbp + 0x10], 3
lfence
lea ecx, [rax + 0x20]
call fcn.1400c2704
mov qword [rax], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rbp + 0x18], rax
lea rdx, str.applanguage
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp + 0x10]
mov byte [rax], cl
mov byte [rbp + 0x10], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 0x18]
mov qword [rax + 8], rdx
mov qword [rbp + 0x18], rcx
movzx edx, byte [rbp + 0x10]
lea rcx, [rbp + 0x18]
call fcn.14001f060
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140048d28
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048d23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049100
call fcn.1400c2470
mov byte [rbp + 0xa8], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rdx, [rsi + 0x100]
lea rcx, [rbp + 0xe8]
call fcn.140097cf0
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x70], 3
lfence
lea ecx, [rax + 0x20]
call fcn.1400c2704
mov qword [rax], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov qword [rsp + 0x78], rax
lea rdx, str.region
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x70]
mov byte [rax], cl
mov byte [rsp + 0x70], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x78]
mov qword [rax + 8], rdx
mov qword [rsp + 0x78], rcx
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.14001f060
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x140048e18
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048e13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049106
call fcn.1400c2470
mov rax, qword [rsi + 0x130]
test rax, rax
je 0x140048e78
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x50], rcx
mov eax, dword [rax + 0xe98]
mov byte [rbp - 0x80], 6
mov qword [rbp - 0x78], rax
lea rdx, str.mDNSServiceBitmask
lea rcx, [rbp + 0x190]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x80]
mov byte [rax], cl
mov byte [rbp - 0x80], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x78]
mov qword [rax + 8], rdx
mov qword [rbp - 0x78], rcx
movzx edx, byte [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.14001f060
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x190]
call fcn.14001cad0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140048e93
mov rax, qword [rax]
mov qword [rbp + 0x1a8], r15
mov qword [rbp + 0x1b8], r15
mov qword [rbp + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a8], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140048ec0
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.140028190
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140048f15
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048f10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004910c
call fcn.1400c2470
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
lea rdx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
cmovae rdx, qword [rbp + 0x1a8]
lea rcx, str._AsusSync_CommMgr__SaveConfig____s_n
call fcn.1400959a0
mov r11d, dword [rbp + 0x1b8]
lea r10, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 0x10
jb 0x140048f6c
mov r10, qword [rbp + 0x1a8]
test r10, r10
je 0x140048fa1
mov r9d, r15d
test r11d, r11d
je 0x140048fa1
test r9b, 1
je 0x140048f99
mov edx, r9d
movzx r8d, byte [rdx + r10]
lea eax, [r9 - 1]
mov ecx, eax
movzx eax, byte [rax + r10]
mov byte [rdx + r10], al
lea eax, [r8 + r9]
mov byte [rcx + r10], al
inc r9d
cmp r9d, r11d
jb 0x140048f74
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], r10
mov r9d, 3
xor r8d, r8d
lea rdx, str.c707b2ef_22fc_4e7f_b155_b23f0fc2498a
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x1c0]
cmp rdx, 0x10
jb 0x140049013
inc rdx
mov rcx, qword [rbp + 0x1a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004900e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049089
call fcn.1400c2470
mov qword [rbp + 0x1b8], r15
mov qword [rbp + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1a8], 0
movzx edx, byte [rbp + 0x20]
lea rcx, [rbp + 0x28]
call fcn.14001f060
nop
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14001f060
nop
movzx edx, byte [rbp + 0x190]
lea rcx, [rbp + 0x198]
call fcn.14001f060
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400c8b64
nop
call fcn.1400c8b64
int3
lea rcx, [rsp + 0x60]
call fcn.14001f2a0
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.14001da20
nop
mov r8, rax
lea rdx, str.cannot_use_push_back___with
lea rcx, [rbp + 0x160]
call fcn.140024f50
nop
mov r8, rax
mov edx, 0x134
lea rcx, [rbp + 0x108]
call fcn.140018ad0
lea rdx, [0x14015fe98]
lea rcx, [rbp + 0x108]
call fcn.1400c4980
nop
call fcn.14000a150
int3
call fcn.1400c8b64
int3
call fcn.1400c8b64
int3
call fcn.1400c8b64
int3
call fcn.1400c8b64
nop
call fcn.1400c8b64
int3