Function at 0x140014790
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1408f0280]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x6c]
call fcn.140153440
mov dword [rbp - 0x70], 0x114
lea rcx, [rbp - 0x70]
call qword [sym.imp.ntdll.dll_RtlGetVersion]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
lea r8d, [rbx + 0xa]
lea rdx, str.Windows_NT
mov rcx, rdi
call fcn.140012170
nop
lea rcx, [rdi + 0x20]
call fcn.140014140
nop
mov eax, dword [rbp - 0x6c]
mov dword [rdi + 0x40], eax
mov eax, dword [rbp - 0x68]
mov dword [rdi + 0x44], eax
mov eax, dword [rbp - 0x64]
mov dword [rdi + 0x48], eax
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140014959
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x6c], 4
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14017f6fc]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001489e
mov ebx, dword [rsp + 0x68]
jmp 0x140014959
mov dword [rsp + 0x50], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140014959
mov edx, dword [rsp + 0x50]
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.140014b60
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140014983
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140014959
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014a10
call fcn.140117d3c
mov dword [rdi + 0x4c], ebx
mov rax, rdi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140117aa0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x60]
lea rdx, reloc.WLDAP32.dll_Ordinal_46
call fcn.140127aa8
lea r8, [rsp + 0x60]
lea rdx, reloc.WLDAP32.dll_Ordinal_46
xor ecx, ecx
call fcn.140127aa8
test rax, rax
je 0x1400149d1
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, rax
call fcn.140128ad8
mov ebx, eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140014959
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140014954
call fcn.140127908
int3