Function at 0x14002c2b4
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2918]
mov eax, 0x2a18
call fcn.14005ba50
sub rsp, rax
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x2900], rax
movzx eax, byte [rdx + 5]
mov r15, rcx
movzx ecx, byte [rdx + 4]
movzx ebx, byte [r15 + 5]
movzx edi, byte [r15 + 4]
movzx esi, byte [r15 + 3]
movzx r12d, byte [r15 + 2]
movzx r13d, byte [r15 + 1]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x68], ecx
mov r14, r9
mov r9, rdx
movzx r10d, byte [r9 + 1]
movzx r11d, byte [r9]
mov qword [rbp - 0x78], rdx
movzx edx, byte [rdx + 3]
mov qword [rbp - 0x68], r8
movzx r8d, byte [r9 + 2]
movzx r9d, byte [r15]
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
lea r8, str.SoftwareWIDCOMMBTConfigLinkKeys
lea rdx, str._s_02x:_02x:_02x:_02x:_02x:_02x_02x:_02x:_02x:_02x:_02x:_02x
lea rcx, [rbp + 0x24e0]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
call fcn.14002d41c
mov ebx, 0x20006
call fcn.140018004
xor edi, edi
mov ecx, 0x20106
test eax, eax
lea rax, [rbp - 0x70]
lea rdx, [rbp + 0x24e0]
mov qword [rsp + 0x40], rax
cmovne ebx, ecx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002c501
mov rbx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x80]
lea esi, [rdi + 3]
lea rdx, str.LinkKey
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], socket
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14002c41b
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x78]
mov rcx, r15
call fcn.14002af34
jmp 0x14002c501
test r14, r14
je 0x14002c452
cmp word [r14], di
je 0x14002c452
mov rcx, r14
call fcn.14005d25c
lea rdx, str.PairedUserName
mov r9d, esi
lea ecx, [rax + rax + 2]
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [r15 + 3]
movzx r11d, byte [r15 + 5]
movzx eax, byte [r15 + 4]
movzx r10d, byte [r15 + 2]
movzx r9d, byte [r15 + 1]
movzx r8d, byte [r15]
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rdx, str._02x:_02x:_02x:_02x:_02x:_02x
lea rcx, [rbp + 0x26f0]
mov dword [rsp + 0x20], r10d
call fcn.14002d41c
lea rdx, [rbp + 0x26f0]
lea rcx, [rbp - 0x60]
call fcn.140027124
lea rcx, [rbp - 0x60]
call fcn.140022d94
lea rcx, [rbp + 0x4c9]
mov r8d, 8
mov rdx, rbx
call fcn.14005bdf0
test r14, r14
je 0x14002c4e7
lea rcx, [rbp + 0x8f8]
mov r8, r14
mov edx, 0x101
call fcn.14005fbe4
jmp 0x14002c4ee
mov word [rbp + 0x8f8], di
lea rcx, [rbp - 0x60]
mov dword [rbp + 0x4dc], 1
call fcn.14002aea4
mov rcx, qword [rbp + 0x2900]
xor rcx, rsp
call fcn.14005ba20
add rsp, 0x2a18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret