Function at 0x140003740
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rcx
mov qword [rbp - 0x21], rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
mov r14d, r12d
mov qword [rbp + 0x1f], r12
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x27], r13
mov byte [rbp + 0xf], r12b
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 0x140003a0b
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 0x14000393b
xorps xmm0, xmm0
mov esi, dword [rbp - 0x19]
movdqu xmmword [rbp - 0x11], xmm0
mov edi, r12d
mov qword [rbp - 1], r12
mov ebx, r12d
test rsi, rsi
je 0x140003871
cmp rsi, 0x1000
jb 0x140003844
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140003abc
call fcn.1400e9d8c
test rax, rax
je 0x140003ac2
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14000384f
mov rcx, rsi
call fcn.1400e9d8c
mov rbx, rax
mov r12, rbx
mov qword [rbp - 0x11], rbx
lea rdi, [rbx + rsi]
mov qword [rbp - 1], rdi
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.1400ec680
mov qword [rbp - 9], rdi
jmp 0x140003875
mov r12, qword [rbp - 0x11]
test rbx, rbx
je 0x140003900
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 0x140003900
mov r8d, dword [rbp - 0x19]
mov rdx, r12
lea rcx, [rbp - 0x41]
call fcn.140003490
mov rsi, rax
lea rax, [rbp + 0xf]
cmp rax, rsi
je 0x1400038f6
lea rcx, [rbp + 0xf]
call fcn.140008a50
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov r13, qword [rbp + 0x27]
mov r14, qword [rbp + 0x1f]
lea rcx, [rbp - 0x41]
call fcn.140008a50
nop
test rbx, rbx
je 0x140003938
sub rdi, rbx
cmp rdi, 0x1000
jb 0x14000392d
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140003ac2
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1400e9d84
xor r12d, r12d
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14, r14
je 0x140003a0b
lea rdi, [rbp + 0xf]
cmp r13, 0x10
cmovae rdi, qword [rbp + 0xf]
cmp r14, 0x10
jae 0x140003982
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp + 7], reloc.WS2_32.dll_ntohs
mov qword [rbp - 1], r14
lea rax, [rbp - 0x11]
mov ebx, 2
jmp 0x140003a3a
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400039d6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003ac8
mov rcx, rax
call fcn.1400e9d8c
mov rcx, rax
test rax, rax
je 0x140003ab6
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400039e5
test rcx, rcx
je 0x1400039e2
call fcn.1400e9d8c
jmp 0x1400039e5
mov rax, r12
mov qword [rbp - 0x11], rax
lea r8, [r14 + 1]
mov rdx, rdi
mov rcx, rax
call fcn.1400ec270
mov qword [rbp + 7], rbx
mov qword [rbp - 1], r14
lea rax, [rbp - 0x11]
mov ebx, 2
jmp 0x140003a3a
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x41], 0
mov r8d, 7
lea rdx, str.UNKNOWN
lea rcx, [rbp - 0x41]
call fcn.140008ab0
lea rax, [rbp - 0x41]
mov ebx, 1
movups xmm0, xmmword [rax]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 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 0x140003a6e
and ebx, 0xfffffffd
lea rcx, [rbp - 0x11]
call fcn.140008a50
nop
test bl, 1
je 0x140003a7d
lea rcx, [rbp - 0x41]
call fcn.140008a50
nop
lea rcx, [rbp + 0xf]
call fcn.140008a50
mov rax, r15
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e9d60
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400f35b0
nop
call fcn.1400012d0
int3
call fcn.1400f35b0
int3
call fcn.1400012d0
int3