Function at 0x14005f470
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rcx
xor esi, esi
mov qword [rbp - 0x38], rsi
mov dword [rbp + 8], esi
lea rax, [rbp + 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
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 0x14005f868
mov byte [rbp - 0x28], al
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14001fb30
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x10]
mov byte [rsp + 0x60], 6
mov qword [rsp + 0x68], rax
lea rdx, str.lastadtime
lea rcx, [rbp - 0x28]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x60]
mov byte [rax], cl
mov byte [rsp + 0x60], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x68]
mov qword [rax + 8], rdx
mov qword [rsp + 0x68], rcx
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14001f060
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + 0x18]
mov byte [rsp + 0x70], 6
mov qword [rsp + 0x78], rax
lea rdx, str.finishtime
lea rcx, [rbp - 0x28]
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
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
mov byte [rbp - 0x80], 5
mov eax, dword [rdi + 0x20]
mov qword [rbp - 0x78], rax
lea rdx, str.adtype
lea rcx, [rbp - 0x28]
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 rax, [rbp - 0x70]
mov qword [rbp - 0x60], rax
movzx eax, byte [rdi + 1]
mov byte [rbp - 0x70], 4
mov byte [rsp + 0x50], al
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x68], rax
lea rdx, str.glidexinstalled
lea rcx, [rbp - 0x28]
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
lea rax, [rsp + 0x50]
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x50], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
lfence
lea ecx, [rsi + 0x20]
call fcn.1400c2704
mov rbx, rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rbx
lea rdx, [rdi + 0x28]
mov rcx, rbx
call fcn.14001da60
nop
mov qword [rsp + 0x58], rbx
lea rdx, [0x140117c30]
lea rcx, [rbp - 0x28]
call fcn.140025520
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x50]
mov byte [rax], cl
mov byte [rsp + 0x50], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov qword [rax + 8], rdx
mov qword [rsp + 0x58], rcx
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14001f060
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x28]
call fcn.14001cad0
nop
cmp qword [rax + 0x18], 0x10
jb 0x14005f6ef
mov rax, qword [rax]
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005f710
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140028190
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14005f762
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f75d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f893
call fcn.1400c2470
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rdx, qword [rbp - 0x18]
lea rcx, str._AsusSync_CommMgr__SaveConfig____s_n
call fcn.1400959a0
mov r11d, dword [rbp - 8]
lea r10, [rbp - 0x18]
cmp qword [rbp], 0x10
jb 0x14005f7a4
mov r10, qword [rbp - 0x18]
test r10, r10
je 0x14005f7d9
mov eax, esi
test r11d, r11d
je 0x14005f7d9
nop dword [rax + rax]
test al, 1
je 0x14005f7d2
mov r8d, eax
movzx r9d, byte [r8 + r10]
lea ecx, [rax - 1]
mov edx, ecx
movzx ecx, byte [rcx + r10]
mov byte [r8 + r10], cl
lea ecx, [r9 + rax]
mov byte [rdx + r10], cl
inc eax
cmp eax, r11d
jb 0x14005f7b0
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], r10
mov r9d, 3
xor r8d, r8d
lea rdx, str.470E8A83_7A0D_4C0E_BFCD_F975974472AA
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rcx, str._AsusSync_GlidexAdvertisingHandler__SaveConfig_n
call fcn.140095ab0
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14005f84b
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f846
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f88d
call fcn.1400c2470
mov qword [rbp - 8], rsi
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], 0
movzx edx, byte [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.14001f060
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400c8b64
nop
call fcn.1400c8b64
int3