Function at 0x10000f17c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x100090120]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, rdx
mov qword [rsp + 0x58], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
mov rax, qword [0x100091250]
mov qword [rdx], rax
lea ebp, [r15 + 1]
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x30], r15d
mov dil, r15b
mov ebx, 0x11c
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, r15d
je 0x10000f28f
mov ebp, dword [rsp + 0x64]
mov r12d, dword [rsp + 0x68]
movzx r13d, word [rsp + 0x174]
movzx r14d, word [rsp + 0x176]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
cmp rax, r15
je 0x1000216ea
lea rdx, str.GetProductInfo
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
cmp rax, r15
je 0x1000216de
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, r14d
mov r8d, r13d
mov edx, r12d
mov ecx, ebp
call rax
movzx edi, r15b
lea ebp, [r15 + 1]
cmp eax, ebp
cmove edi, ebp
jmp 0x10000f27e
mov rcx, rbx
call sub.KERNEL32.dll_FreeLibrary
cmp dil, r15b
je 0x1000216e8
mov edi, dword [rsp + 0x30]
mov rbx, qword [0x100090150]
cmp rbx, r15
jne 0x10000f33a
lea rcx, [rsp + 0x48]
call fcn.10000ee6c
lea r8, [rsp + 0x40]
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, r15d
sete bl
lea rcx, [rsp + 0x48]
call fcn.1000012a0
cmp bl, r15b
je 0x100021743
mov dword [rsp + 0x38], 0x40
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rbx, [0x100092ac0]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.ClientName
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
cmp eax, r15d
jne 0x1000216fc
cmp dword [rsp + 0x3c], ebp
jne 0x1000216fc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10000f333
mov qword [0x100090150], rbx
mov r9d, edi
mov r8, rbx
lea rdx, str._s._d
mov rcx, rsi
call fcn.10000f38c
mov rax, rsi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.100001100
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ebp, 1
jmp 0x10000f27e
jmp 0x1000216ef
mov ebp, 1
mov edi, r15d
mov dword [rsp + 0x30], r15d
jmp 0x10000f293
mov ecx, 0x20
mov rdx, rbx
lea r8, str.WIN700
sub r8, rbx
lea rax, [rcx + 0x7fffffde]
cmp rax, r15
je 0x100021731
movzx eax, word [r8 + rdx]
cmp ax, r15w
je 0x100021731
mov word [rdx], ax
add rdx, 2
sub rcx, rbp
jne 0x10002170e
cmp rcx, r15
jne 0x10002173a
sub rdx, 2
mov word [rdx], r15w
jmp 0x10000f326
mov ecx, 0x20
lea rbx, [0x100092ac0]
mov rdx, rbx
lea r8, str.WIN700
sub r8, rbx
lea rax, [rcx + 0x7fffffde]
cmp rax, r15
je 0x10002177f
movzx eax, word [r8 + rdx]
cmp ax, r15w
je 0x10002177f
mov word [rdx], ax
add rdx, 2
sub rcx, rbp
jne 0x10002175c
cmp rcx, r15
jne 0x100021788
sub rdx, 2
mov word [rdx], r15w
jmp 0x10000f333