Function at 0x1400038c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
mov qword [rbp - 0x21], rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
mov qword [rbp + 0xf], r12
mov esi, r12d
mov qword [rbp + 0x1f], r12
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x27], r15
mov byte [rbp + 0xf], sil
mov qword [rbp - 0x21], r12
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003b79
mov dword [rbp - 0x19], r12d
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProductId
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003aa9
xorps xmm0, xmm0
mov edi, dword [rbp - 0x19]
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r12
test rdi, rdi
je 0x1400039e4
cmp rdi, 0x1000
jb 0x1400039bf
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140003c2a
call fcn.1400f9588
mov rcx, rax
test rax, rax
je 0x140003c30
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400039c7
mov rcx, rdi
call fcn.1400f9588
mov qword [rbp - 0x11], rax
lea rbx, [rax + rdi]
mov qword [rbp - 1], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1400fc160
mov qword [rbp - 9], rbx
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140003a73
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProductId
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003a6f
mov r8d, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x41]
call fcn.140003610
mov rbx, rax
lea rax, [rbp + 0xf]
cmp rax, rbx
je 0x140003a66
lea rcx, [rbp + 0xf]
call fcn.140009080
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov r15, qword [rbp + 0x27]
mov rsi, qword [rbp + 0x1f]
lea rcx, [rbp - 0x41]
call fcn.140009080
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140003aa9
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003aa4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003c30
call fcn.1400f9580
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x140003b79
lea rbx, [rbp + 0xf]
cmp r15, 0x10
cmovae rbx, qword [rbp + 0xf]
cmp rsi, 0x10
jae 0x140003af0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov qword [rbp - 1], rsi
lea rax, [rbp - 0x11]
mov ebx, 2
jmp 0x140003bad
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140003b44
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003c36
mov rcx, rax
call fcn.1400f9588
mov rcx, rax
test rax, rax
je 0x140003c24
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140003b53
test rcx, rcx
je 0x140003b50
call fcn.1400f9588
jmp 0x140003b53
mov rax, r12
mov qword [rbp - 0x11], rax
lea r8, [rsi + 1]
mov rdx, rbx
mov rcx, rax
call fcn.1400fbab0
mov qword [rbp + 7], rdi
mov qword [rbp - 1], rsi
lea rax, [rbp - 0x11]
mov ebx, 2
jmp 0x140003bad
mov qword [rbp - 0x41], r12
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x41], 0
mov r8d, 7
lea rdx, str.UNKNOWN
lea rcx, [rbp - 0x41]
call fcn.1400090e0
lea rax, [rbp - 0x41]
mov ebx, 1
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 4
test bl, 2
je 0x140003be1
and ebx, 0xfffffffd
lea rcx, [rbp - 0x11]
call fcn.140009080
nop
test bl, 1
je 0x140003bf0
lea rcx, [rbp - 0x41]
call fcn.140009080
nop
lea rcx, [rbp + 0xf]
call fcn.140009080
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14010402c
nop
call fcn.1400012e0
int3
call fcn.14010402c
int3
call fcn.1400012e0
int3