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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov rax, qword [0x180123100]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, qword [0x1801277f0]
lea rcx, [0x1800c4f68]
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor r15d, r15d
xorps xmm0, xmm0
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r15
lea r8d, [r15 + 0xe]
lea rdx, str.SOFTWARECPUID
lea rcx, [rbp - 9]
movups xmmword [rbp - 9], xmm0
test ax, ax
jne 0x1800020de
call fcn.180002a0c
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
lea r8d, [r15 + 4]
lea rdx, str.UUID
lea rcx, [rbp + 0x17]
call fcn.180002a0c
lea rcx, [rbp - 0x29]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea r14, [rsi + 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.180001728
lea rdx, [rbp - 9]
lea ebx, [r15 + 0xf]
cmp qword [rbp + 0xf], rbx
cmova rdx, qword [rbp - 9]
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x31]
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 0x180002059
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], rbx
cmova rdx, qword [rbp + 0x17]
or rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], r15b
jne 0x180002016
mov r9d, 1
add eax, r9d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x18000204f
lea rcx, [0x1800c4f68]
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x1000
mov rdx, qword [rbp + 0x2f]
cmp rdx, rbx
jbe 0x180002094
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, rdi
jb 0x18000208f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002281
call fcn.18007ff20
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], rbx
mov byte [rbp + 0x17], r15b
mov rdx, qword [rbp + 0xf]
cmp rdx, rbx
jbe 0x18000224c
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, rdi
jb 0x180002247
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000227b
jmp 0x180002247
call fcn.180002a0c
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov r8d, 4
lea rdx, str.UUID
lea rcx, [rbp - 0x29]
call fcn.180002a0c
nop
lea rdx, [rbp - 9]
mov ebx, send
cmp qword [rbp + 0xf], rbx
cmova rdx, qword [rbp - 9]
lea rax, [rbp - 0x31]
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 0x1800021d7
mov dword [rbp - 0x39], r15d
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], rbx
cmova rdx, qword [rbp - 0x29]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800021cc
mov ecx, dword [rbp - 0x39]
call fcn.18007ff64
mov rdi, rax
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], rbx
cmova rdx, qword [rbp - 0x29]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800021c4
lea rcx, [rsi + 8]
lea r8d, [rbx + 0x17]
mov rdx, rdi
call fcn.180087090
mov byte [rsi + 0x2e], r15b
mov rcx, rdi
call fcn.18007ff20
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x11]
cmp rdx, rbx
jbe 0x18000220e
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, rdi
jb 0x180002209
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002287
call fcn.18007ff20
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], rbx
mov byte [rbp - 0x29], r15b
mov rdx, qword [rbp + 0xf]
cmp rdx, rbx
jbe 0x18000224c
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, rdi
jb 0x180002247
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002275
call fcn.18007ff20
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18007ff00
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18008a8b4
int3
call fcn.18008a8b4
nop
call fcn.18008a8b4
nop
call fcn.18008a8b4
int3