Function at 0x140008130
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rdi, qword [0x140234888]
lea rcx, [0x14013c000]
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor r15d, r15d
mov qword [rbp + 0x27], recv
mov r12d, recv
mov word [rbp + 0x25], r15w
mov qword [rbp + 0x2f], r12
mov byte [rbp + 0x25], r15b
test ax, ax
jne 0x140008376
movsd xmm0, qword [0x14013c008]
movsd qword [rbp + 0x17], xmm0
mov eax, dword [0x14013c010]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x14013c014]
mov word [rbp + 0x23], ax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 4
mov qword [rbp + 0xf], r12
mov eax, dword [0x14013c018]
mov dword [rbp - 9], eax
mov byte [rbp - 5], r15b
lea rcx, [rbp - 0x29]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea r14, [rdi + 8]
movzx eax, byte [rbp - 0x1a]
movzx ecx, byte [rbp - 0x1b]
movzx edx, byte [rbp - 0x1c]
movzx r8d, byte [rbp - 0x1d]
movzx r9d, byte [rbp - 0x1e]
movzx r10d, byte [rbp - 0x1f]
movzx r11d, byte [rbp - 0x20]
movzx ebx, byte [rbp - 0x21]
movzx edi, word [rbp - 0x23]
movzx esi, word [rbp - 0x25]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
mov r9d, dword [rbp - 0x29]
lea r8, str._08lX__04hX__04hX__02hhX_02hhX__02hhX_02hhX_02hhX_02hhX_02hhX_02hhX
lea edx, [r15 + 0x27]
mov rcx, r14
call fcn.140007ee0
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], r12
cmova rdx, qword [rbp + 0x17]
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x67]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400082e7
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], r12
cmova rdx, qword [rbp - 9]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], 0
jne 0x1400082a4
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400082dd
lea rcx, [0x14013c068]
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140008325
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008320
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008320
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011888c
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r12
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140008501
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400084fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movsd xmm0, qword [str.SOFTWARECPUID]
movsd qword [rbp + 0x17], xmm0
mov eax, dword [0x14013c078]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x14013c07c]
mov word [rbp + 0x23], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], 4
mov qword [rbp - 0x11], r12
mov eax, dword [str.UUID]
mov dword [rbp - 0x29], eax
mov byte [rbp - 0x25], 0
lea rdx, [rbp + 0x17]
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140008479
mov dword [rbp + 0x67], r15d
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000846e
mov ecx, dword [rbp + 0x67]
call fcn.1401188d0
mov rbx, rax
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140008466
lea rcx, [rdi + 8]
lea r8d, [rax + 0x26]
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rdi + 0x2e], 0
mov rcx, rbx
call fcn.14011888c
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400084b7
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400084b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011888c
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r12
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140008501
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400084fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400084fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011888c
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret